Supermodel icon indicating copy to clipboard operation
Supermodel copied to clipboard

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

Open WebSiteFurbo opened this issue 1 year ago • 11 comments

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.

WebSiteFurbo avatar May 26 '24 12:05 WebSiteFurbo

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;

ioamero avatar May 27 '24 05:05 ioamero

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.

WebSiteFurbo avatar May 27 '24 17:05 WebSiteFurbo

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

ioamero avatar May 28 '24 16:05 ioamero

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 avatar May 28 '24 20:05 WebSiteFurbo

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

WebSiteFurbo avatar May 28 '24 21:05 WebSiteFurbo

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

dukeeeey avatar May 28 '24 21:05 dukeeeey

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

ioamero avatar May 28 '24 22:05 ioamero

Thanks, maybe one day I will try it :)

WebSiteFurbo avatar May 31 '24 19:05 WebSiteFurbo

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

ioamero avatar Jun 01 '24 05:06 ioamero

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 avatar Jun 02 '24 12:06 WebSiteFurbo

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

WebSiteFurbo avatar Nov 30 '24 21:11 WebSiteFurbo