GZDoom crash (Opengl 3.3 needed)
-
On a 4b with original psu. Running a premade image of retropie 4.8.7. wich was directly installed with raspberry imager.
Just updated, i wanted to try GZDoom to play custom wads.
Since my last post, source still fails, so i had to instal it trough binary.Doom crashes on start unless i put lzdoom as the emulator.
Log says "Unsupported OpenGL version.
At least OpenGL 3.3 is required to run GZDoom." (i'm putting the full log in the replies).I tried updating the driver in raspiconfig but the only Gl is the emulated one. Idk if i am missing something as most other forums just straight up say that 3.3 is not supported.
Any ideas ?
-
@MrMasch FULL RUNCOMMAND :
Parameters:
Executing: DOOMWADDIR=/home/arcade/RetroPie/roms/ports/doom /opt/retropie/ports/gzdoom/gzdoom -iwad "/home/arcade/RetroPie/roms/ports/doom/doom1.wad" -fullscreen +set snd_mididevice -3 -width 720 -height 576
GZDoom g4.8.0 - 2022-06-06 17:14:47 +0200 - SDL version
Compiled on Mar 19 2024OS: Raspbian GNU/Linux 10 (buster), Linux 5.10.103-v7l+ on armv7l
M_LoadDefaults: Load system defaults.
W_Init: Init WADfiles.
adding /opt/retropie/ports/gzdoom/gzdoom.pk3, 668 lumps
adding /opt/retropie/ports/gzdoom/game_support.pk3, 2514 lumps
adding /home/arcade/RetroPie/roms/ports/doom/doom1.wad, 1264 lumps
S_Init: Setting up sound.
I_InitSound: Initializing OpenAL
Opened device ALSA Default
EFX enabled
usage: set <variable> <value>
I_Init: Setting up machine state.
V_Init: allocate screen.
ST_Init: Init startup screen.
Checking cmd-line parameters...
S_InitData: Load sound definitions.
G_ParseMapInfo: Load map definitions.
Texman.Init: Init texture manager.
ParseTeamInfo: Load team definitions.
LoadActors: Load actor definitions.
script parsing took 499.29 ms
R_Init: Init Doom refresh subsystem.
DecalLibrary: Load decals.
M_Init: Init menus.
P_Init: Init Playloop state.
ParseSBarInfo: Loading custom status bar definition.
D_CheckNetGame: Checking network game status.
player 1 of 1 (1 nodes)
Using video driver KMSDRMUnsupported OpenGL version.
At least OpenGL 3.3 is required to run GZDoom. -
Both
lzdoom
ordsda-doom
can play custom wads, use one of them on the Pi4. -
@mitu i'm trying to play myhouse.wad wich needs gzdoom to run
-
Yes, unfortunately it does and it's not supported in the other Doom source ports.
-
@MrMasch said in GZDoom crash (Opengl 3.3 needed):
@mitu i'm trying to play myhouse.wad wich needs gzdoom to run
This Mod, along with others, is playable in LZDoom with a few tweaks//removals to a few files.
You can attempt to run it with LZDoom then view the Log to see what errors, then tweak files as needed, rinse repeat./dev/shm/runcommand.log
If you're not an avid user of SLADE, PK3's are basically ZIP files, you can then use a text editor as needed (recommend 7z, notepad++).
Keep in mind that tweaking//removing certain features of the Mod(s) can really take away from the experience in some cases, or may not work at all.Also, if you are using a certain Doom Themed Image, there may or may not already be file in ports/doom/mods called myh0use.pk3 (with a zero instead of O) that is playable in LZDoom.
But don't get your hopes up, it's barley playable on RPi5, and even less on RPi4 (if at all).
Even if playable on RPi, it really slows down once you get in the thick of it.@mitu apologies if this strays from RetroPie focused areas, feel free to remove if so inclined.
-
@RapidEdwin08 yeah don't worry i'm not expecting a miracle out of the rpi4, even overcloacked lol
seems like it's still worth a shot so i'm going to try tweaking on lzdoom, tho is there really no solution to make gz work ? I think i saw some ppl on rasp4 with it fully working. Is there something i could try to make it work or ami just out of luck ?
-
@MrMasch said in GZDoom crash (Opengl 3.3 needed):
I think i saw some ppl on rasp4 with it fully working. Is there something i could try to make it work or ami just out of luck ?
Try adding
+vid_preferbackend 3
to the command line ofgzdoom
, this should force the GLES renderer instead of OpenGL. It may work withmyhouse.wad
, but I'm not so optimistic. -
@mitu said in GZDoom crash (Opengl 3.3 needed):
+vid_preferbackend 3
Yes that will make it work. Now will it work for that wad. I don't know.
My hang up when I had a script in my collection. Was it was a unsupported version for certain wads.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.