Open Talon1024 opened 3 years ago
I can't reproduce this:
flatpak run com.realm667.Wolfenstein_Blade_of_Agony
GZDoom <unknown version> - - SDL version
Compiled on Apr 28 2021
OS: Freedesktop.org 20.08.14 (Flatpak runtime), Linux 5.12.13-300.fc34.x86_64 on x86_64
M_LoadDefaults: Load system defaults.
W_Init: Init WADfiles.
adding /app/share/games/doom/gzdoom.pk3, 632 lumps
adding /app/share/games/doom/game_support.pk3, 2514 lumps
adding /app/share/games/doom/wolf_boa.ipk3, 28820 lumps
adding /app/share/games/doom/game_widescreen_gfx.pk3, 38 lumps
I_Init: Setting up machine state.
CPU Vendor ID: GenuineIntel
Name: Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz
Family 6, Model 142, Stepping 11
Features: SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX AVX2 F16C FMA3 BMI1 BMI2 HyperThreading
V_Init: allocate screen.
S_Init: Setting up sound.
I_InitSound: Initializing OpenAL
Opened device Internes Audio Analog Stereo
EFX enabled
No GENMIDI lump found. OPL playback not available.
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 667.81 ms
R_Init: Init BoA refresh subsystem.
DecalLibrary: Load decals.
M_Init: Init menus.
P_Init: Init Playloop state.
ParseSBarInfo: Loading default status bar definition.
ParseSBarInfo: Loading custom status bar definition.
a Realm667 project
D_CheckNetGame: Checking network game status.
player 1 of 1 (1 nodes)
Using video driver x11
MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0
Vulkan device: Intel(R) UHD Graphics 620 (WHL GT2)
Vulkan device type: integrated gpu
Vulkan version: 1.2.168 (api) 21.1.4 (driver)
Max. texture size: 16384
Max. uniform buffer range: 134217728
Min. uniform buffer offset alignment: 64
Resolution: 640 x 480
----------------------------------------
TITLEMAP - Wolfenstein: Blade of Agony
----------------------------------------
C2M1 - Ausbruch
----------------------------------------
Press <use> to continue
<E> or <Space>
----------------------------------------
You're using the Vulkan backend. I was trying to use the OpenGL backend.
I think I know why this issue is happening. GZDoom tries to create an OpenGL 4.6 context, but my laptop's GPU only supports up to OpenGL 4.2. To fix the problem, I have to add -glversion 4.2
to the command line arguments.
Can this issue be closed or should we try to automatically work around this?
I think it would be sufficient to just grep
for the error message if the game returns an error code, and display a helpful message if the player has this kind of problem.
If I try to launch the game using the OpenGL renderer, the x11 video driver, and the Mesa3D drivers on a laptop with an Intel Ivy Bridge CPU (Intelgrated GPU), I get this error at the end of the log when I try to start the game:
X connection to :99.0 broken (explicit kill or server shutdown).
The game starts and runs fine if I use the Vulkan renderer, but the OpenGL renderer gives better performance on my laptop compared to the Vulkan renderer.