Page 2 of 4

Re: Newbie trying to get Star Wars Trilogy to work on Ubuntu

PostPosted: Wed Aug 26, 2020 12:15 am
by Bart
Hmmm... I feel like your system should work. I have a 3 or 4 year old HP laptop with Intel integrated graphics and it runs just fine in Windows. What happens when you try running with the legacy engine (add -legacy3d on the command line)?

Also, can you paste the contents of error.log here?

Re: Newbie trying to get Star Wars Trilogy to work on Ubuntu

PostPosted: Wed Aug 26, 2020 6:15 pm
by pup975
Thanks! The -legacy3d worked. So what does that exactly mean? Is there something I need to do or do I just run everything in -legacy3d each time?

Also, now that I can run it, how exactly do I map my joystick and buttons on my arcade1up machine? I've run the -config-inputs program but can't get it to recognize any of the buttons on the arcade that are hooked up to the computer. The joystick is recognizable.

These are my inputs:
Input System: SDL

Keyboards:
System Keyboard
Mice:
System Mouse
Joysticks:
1: DragonRise Inc. Generic USB Joystick

Common Keyboard Settings:
Sensitivity = 25 %
Decay Speed = 50 %
Common Mouse Settings:
X-Axis Dead Zone = 0 %
Y-Axis Dead Zone = 0 %
Z-Axis Dead Zone = 0 %
Joystick 1 Settings:
X-Axis Min Value = -32768
X-Axis Center/Off Value = 0
X-Axis Max Value = 32767
X-Axis Dead Zone = 3 %
X-Axis Saturation = 100 %
Y-Axis Min Value = -32768
Y-Axis Center/Off Value = 0
Y-Axis Max Value = 32767
Y-Axis Dead Zone = 3 %
Y-Axis Saturation = 100 %
Z-Axis Min Value = -32768
Z-Axis Center/Off Value = 0
Z-Axis Max Value = 32767
Z-Axis Dead Zone = 3 %
Z-Axis Saturation = 100 %
RX-Axis Min Value = -32768
RX-Axis Center/Off Value = 0
RX-Axis Max Value = 32767
RX-Axis Dead Zone = 3 %
RX-Axis Saturation = 100 %
RY-Axis Min Value = -32768
RY-Axis Center/Off Value = 0
RY-Axis Max Value = 32767
RY-Axis Dead Zone = 3 %
RY-Axis Saturation = 100 %

Re: Newbie trying to get Star Wars Trilogy to work on Ubuntu

PostPosted: Thu Aug 27, 2020 12:23 am
by zuppa_di_pesce
When you issue -config-inputs, the window that opens up, needs to be on top and on focus while setting your desired inputs

Re: Newbie trying to get Star Wars Trilogy to work on Ubuntu

PostPosted: Thu Aug 27, 2020 6:29 pm
by pup975
I do have the window on top. Just won't recognize any buttons on the arcade machine. It'll recognize the joystick movements when I do the 4 way joystick but not when I try the analog. Doesn't recognize buttons on any of the settings.

Re: Newbie trying to get Star Wars Trilogy to work on Ubuntu

PostPosted: Fri Aug 28, 2020 7:45 am
by zuppa_di_pesce
isn't recognized by SuperModel3 or by Ubuntu?

Re: Newbie trying to get Star Wars Trilogy to work on Ubuntu

PostPosted: Fri Aug 28, 2020 4:44 pm
by TheOldDragon
pup975 wrote:Thanks! The -legacy3d worked. So what does that exactly mean? Is there something I need to do or do I just run everything in -legacy3d each time?


Based on my experience [messing around with multiple linux installations I've tested Supermodel on], then you have outdated or missing gfx/OpenGL drivers...

To find out exactly what drivers you're running, do the following:
From the command line [in the Supermodel directory you created previously), run:
Code: Select all
./supermodel -print-gl-info


What does the information to the right of "Vendor" and "Renderer" information say?

If "Renderer" says "llvmpipe (LLVM 10.0.0, 128 bits)", or something similar, then your system is running OpenGL via software [on the CPU], not via the GPU hardware...

Re: Newbie trying to get Star Wars Trilogy to work on Ubuntu

PostPosted: Sat Aug 29, 2020 11:25 am
by pup975
zuppa_di_pesce wrote:isn't recognized by SuperModel3 or by Ubuntu?

When I'm in the config-inputs and push a button, it isn't registering. I've got Retropie running on my Ubuntu and the joystick and buttons work. Is there something I have to do on Ubuntu to add the joysticks/buttons as a device so SuperModel3 can see it as an input device?

Re: Newbie trying to get Star Wars Trilogy to work on Ubuntu

PostPosted: Sat Aug 29, 2020 11:46 am
by pup975
TheOldDragon wrote:Based on my experience [messing around with multiple linux installations I've tested Supermodel on], then you have outdated or missing gfx/OpenGL drivers...

To find out exactly what drivers you're running, do the following:
From the command line [in the Supermodel directory you created previously), run:
Code: Select all
./supermodel -print-gl-info


What does the information to the right of "Vendor" and "Renderer" information say?

If "Renderer" says "llvmpipe (LLVM 10.0.0, 128 bits)", or something similar, then your system is running OpenGL via software [on the CPU], not via the GPU hardware...


Here's what I get:
Vendor : Intel Open Source Technology Center
Renderer : Mesa DRI Intel(R) HD Graphics 4600 (HSW GT2)
Version : 3.0 Mesa 20.0.8
Shading Language Version : 1.30
Maximum Vertex Array Size: 3000 vertices
Maximum Texture Size : 16384 texels
Maximum Vertex Attributes: 16
Maximum Vertex Uniforms : 16384
Maximum Texture Img Units: 32

So it seems like I'm using my GPU.

Re: Newbie trying to get Star Wars Trilogy to work on Ubuntu

PostPosted: Sat Aug 29, 2020 12:42 pm
by Bart
pup975 wrote:
zuppa_di_pesce wrote:isn't recognized by SuperModel3 or by Ubuntu?

When I'm in the config-inputs and push a button, it isn't registering. I've got Retropie running on my Ubuntu and the joystick and buttons work. Is there something I have to do on Ubuntu to add the joysticks/buttons as a device so SuperModel3 can see it as an input device?


So just to be clear, this is what is happening?

1. You launch 'supermodel -config-inputs'
2. You click on the blank Supermodel window.
3. You press the down and up arrows on the keyboard and can scroll through the different inputs (printed in the un-focused terminal window).
4. You press Enter and are prompted in the terminal window to set the input.
5. You press a joystick axis or button and nothing happens.

Re: Newbie trying to get Star Wars Trilogy to work on Ubuntu

PostPosted: Sun Aug 30, 2020 5:48 am
by zuppa_di_pesce
pup975 wrote:
zuppa_di_pesce wrote:isn't recognized by SuperModel3 or by Ubuntu?

When I'm in the config-inputs and push a button, it isn't registering. I've got Retropie running on my Ubuntu and the joystick and buttons work. Is there something I have to do on Ubuntu to add the joysticks/buttons as a device so SuperModel3 can see it as an input device?
For what I'm aware, nothing should be done if Ubuntu recognizes correctly all of your inputs from the joystick. Are you sure you're running SuperMdoel3 only? Maybe if you have RetroArch running in background, it could has exclusive control over your joystock's inputs.
Compilation on Linux went all good?
Did you try re-compile starting from a clean build dir?