Newbie trying to get Star Wars Trilogy to work on Ubuntu

Linux geeks and Mac OS hipsters unite! A board for discussion of Supermodel on non-Windows platforms.
Forum rules
Keep it classy!

  • No ROM requests or links.
  • Do not ask to be a play tester.
  • Do not ask about release dates.
  • No drama!

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

Postby Bart » Wed Aug 26, 2020 12:15 am

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?
User avatar
Bart
Site Admin
 
Posts: 3086
Joined: Thu Sep 01, 2011 2:13 pm
Location: Reno, Nevada

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

Postby pup975 » Wed Aug 26, 2020 6:15 pm

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 %
pup975
 
Posts: 13
Joined: Thu Aug 20, 2020 5:09 pm

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

Postby zuppa_di_pesce » Thu Aug 27, 2020 12:23 am

When you issue -config-inputs, the window that opens up, needs to be on top and on focus while setting your desired inputs
"Did you surfcast that fish?" - "Kinda... But... That wasn't a fish... It was a GNU!"
User avatar
zuppa_di_pesce
 
Posts: 120
Joined: Fri Jun 12, 2020 1:51 pm
Location: surfCASTING on a beach

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

Postby pup975 » Thu Aug 27, 2020 6:29 pm

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.
pup975
 
Posts: 13
Joined: Thu Aug 20, 2020 5:09 pm

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

Postby zuppa_di_pesce » Fri Aug 28, 2020 7:45 am

isn't recognized by SuperModel3 or by Ubuntu?
"Did you surfcast that fish?" - "Kinda... But... That wasn't a fish... It was a GNU!"
User avatar
zuppa_di_pesce
 
Posts: 120
Joined: Fri Jun 12, 2020 1:51 pm
Location: surfCASTING on a beach

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

Postby TheOldDragon » Fri Aug 28, 2020 4:44 pm

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...
TheOldDragon
 
Posts: 62
Joined: Sat May 30, 2020 5:39 am

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

Postby pup975 » Sat Aug 29, 2020 11:25 am

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?
pup975
 
Posts: 13
Joined: Thu Aug 20, 2020 5:09 pm

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

Postby pup975 » Sat Aug 29, 2020 11:46 am

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.
pup975
 
Posts: 13
Joined: Thu Aug 20, 2020 5:09 pm

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

Postby Bart » Sat Aug 29, 2020 12:42 pm

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.
User avatar
Bart
Site Admin
 
Posts: 3086
Joined: Thu Sep 01, 2011 2:13 pm
Location: Reno, Nevada

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

Postby zuppa_di_pesce » Sun Aug 30, 2020 5:48 am

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?
"Did you surfcast that fish?" - "Kinda... But... That wasn't a fish... It was a GNU!"
User avatar
zuppa_di_pesce
 
Posts: 120
Joined: Fri Jun 12, 2020 1:51 pm
Location: surfCASTING on a beach

PreviousNext

Return to Alternative Fashion

Who is online

Users browsing this forum: No registered users and 0 guests

cron