Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Linux][lamachin] Black screen when launching L.A. Machineguns #153

Open
WebSiteFurbo opened this issue May 26, 2024 · 11 comments
Open

[Linux][lamachin] Black screen when launching L.A. Machineguns #153

WebSiteFurbo opened this issue May 26, 2024 · 11 comments

Comments

@WebSiteFurbo
Copy link

WebSiteFurbo commented May 26, 2024

Hello to everybody,

L.A. Machineguns is correctly booted, but all I can see is a black screen. This bug has not already been posted on Github. There is no trace of it neither in the FAQ (https://www.supermodel3.com/FAQ.html) nor in the forum (https://www.supermodel3.com/Forum/). This problem is always occurring, it is not an intermittent bug.

This is the output of my Linux shell, there are no errors:

./supermodel lamachin.zip
Supermodel: A Sega Model 3 Arcade Emulator (Version 0.3a-WIP)
Copyright 2003-2023 by The Supermodel Team
GPU info: 4.6 (Core Profile) Mesa 24.0.5-1ubuntu1 (core profile)

Title:          L.A. Machineguns: Rage of the Machines (Japan)
ROM Set:        lamachin
Developer:      Sega
Year:           1998
Stepping:       2.1
Extra Hardware: Security Board

I am using Ubuntu 24.04 LTS, with gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0 and libglu1-mesa-dev installed. Ocean Hunter, Star Wars Trilogy, The Lost World and Fighting Vipers 2 do not have this problem. Any help is greatly appreciated. I am available for any additional information.

@ioamero
Copy link

ioamero commented May 27, 2024

Are you giving up already?
supermodel -print-gl-info

#install sdl2
sudo apt install libsdl2-dev libsdl2-2.0-0 -y;

#install sdl image - if you want to display images
sudo apt install libjpeg-dev libwebp-dev libtiff5-dev libsdl2-image-dev libsdl2-image-2.0-0 -y;

#install sdl mixer - if you want sound
sudo apt install libmikmod-dev libfishsound1-dev libsmpeg-dev liboggz2-dev libflac-dev libfluidsynth-dev libsdl2-mixer-dev libsdl2-mixer-2.0-0 -y;

#install sdl true type fonts - if you want to use text
sudo apt install libfreetype6-dev libsdl2-ttf-dev libsdl2-ttf-2.0-0 -y;

@WebSiteFurbo
Copy link
Author

WebSiteFurbo commented May 27, 2024

Hello ioamero, thanks for the information.

I executed ./supermodel -print-gl-info, here are my graphical specifications:

Supermodel: A Sega Model 3 Arcade Emulator (Version 0.3a-WIP)
Copyright 2003-2023 by The Supermodel Team
GPU info: 4.6 (Compatibility Profile) Mesa 24.0.5-1ubuntu1 (compatability profile)

OpenGL information:

Vendor : Intel
Renderer : Mesa Intel(R) Graphics (ADL GT2)
Version : 4.6 (Compatibility Profile) Mesa 24.0.5-1ubuntu1
Shading Language Version : 4.60
Maximum Vertex Array Size: 3000 vertices
Maximum Texture Size : 16384 texels
Maximum Vertex Attributes: 16
Maximum Vertex Uniforms : 16384
Maximum Texture Img Units: 32

My Shading Language Version is 4.60, so it's ok to run the emulator https://www.supermodel3.com/FAQ.html.

I tried ./supermodel lamachin.zip -frag-shader=Fragment_NoSpotlight.glsl as well, but nothing happens https://www.supermodel3.com/AdvancedUsage.html#Shaders

libsdl2-dev and libsdl2-2.0-0 were already installed. I installed your sdl image package list (libjpeg-dev, libwebp-dev, libtiff5-dev, libsdl2-image-dev, libsdl2-image-2.0-0) but there is always the black screen instead of the game's attract mode.

@ioamero
Copy link

ioamero commented May 28, 2024

Try with this two options ./supermodel -new3d -quad-rendering lamachin.zip
also your rom might be outdated.

@WebSiteFurbo
Copy link
Author

Hi ioamero,

I tried your command, as well as ./supermodel -legacy3d -quad-rendering lamachin.zip, but we should find another solution. I think it's really a bug because I have this problem only with L.A. Machineguns. I will test my rom on a Windows system, then I will let you know the result ;)

@WebSiteFurbo
Copy link
Author

Ok, I can confirm to you that my rom is working in Windows 11, so it's just a problem related to the Linux version of the emulator.
Capture d’écran 2024-05-28 212759

@dukeeeey
Copy link
Collaborator

Try reducing the resolution to something extremely small 256x256 windowed mode for example. See if it boots

@ioamero
Copy link

ioamero commented May 28, 2024

Could you be able to build it yourself, I suggest to rebuild it.

@WebSiteFurbo
Copy link
Author

Thanks, maybe one day I will try it :)

@ioamero
Copy link

ioamero commented Jun 1, 2024

I forgot to mention about the corrupted NVRAM of the game.

@WebSiteFurbo
Copy link
Author

WebSiteFurbo commented Jun 2, 2024

Thanks for the suggestion. Although I erased the NVRAM file before booting, the game gave me the same black screen. Even the low resolution boot did not work.

@WebSiteFurbo
Copy link
Author

Hello to everybody! I have just installed the new 0.3a-WIP version and LA Machineguns is working :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants