Open VortexAcherontic opened 6 months ago
GPU: NVIDIA GeForce RTX 3080 Lite Hash Rate (Driver: 550.67)
Post the output of glxinfo
here, because it doesn't make any sense.
Or could be related to me running this game on Wayland and thus it might run with XWayland and this might cause issues?
Running it in a non-flatpak environment (openSUSE Tumbleweed distrobox which is what MicroOS is based off here) does in fact work with the default OpenGL renderer.
warzone2100
info |13:44:56: [wzChangeFullscreenDisplayMode:2168] Changing fullscreen mode to [0] 0x0
info |13:44:56: [wzChangeFullscreenDisplayMode:2207] Getting desktop display mode
info |13:44:56: [createGLContext:185] Requested OpenGL 3.3 context
info |13:44:56: [initGLContext:3422] OpenGL Vendor: NVIDIA Corporation
info |13:44:56: [initGLContext:3425] OpenGL Renderer: NVIDIA GeForce RTX 3080/PCIe/SSE2
info |13:44:56: [initGLContext:3428] OpenGL Version: 3.3.0 NVIDIA 550.67
info |13:44:56: [initGLContext:3641] Success
info |13:44:56: [_initialize:3232] * Instanced rendering support was detected
info |13:44:56: [initTerrainShaderType:2527] Defaulting terrain quality to: High
info |13:44:56: [rebuildSearchPath:794] Loaded terrain overrides from: /usr/share/warzone2100/
The glxinfo can be found here. It was captured form within the Tumbleweed distrobox container. As the distrobox shares the driver with the host OS it should be identical.
Is there a way of running glxinfo inside the flatpak environment of WZ2100?
Running it from an X11 session as flatpak does in fact work as well. Switching back to Wayland after the successful launch using X11 it results again in the reported errors above.
Found the issue I think. By default WZ2100 is allowed to run on Wayland or XWayland and will favor native Wayland. Which seems not to work with the default OpenGL renderer. Restricting access to Wayland using flatseal in order to force it to run on XWayland works.
Forced Wayland:
flatpak run net.wz2100.wz2100
info |13:57:56: [rebuildSearchPath:836] Failed to load expected terrain quality overrides: terrain_overrides/high
info |13:57:56: [rebuildSearchPath:794] Loaded terrain overrides from: /app/share/warzone2100/
info |13:57:57: [wzChangeFullscreenDisplayMode:2168] Changing fullscreen mode to [0] 2560x1440
info |13:57:57: [createGLContext:185] Requested OpenGL 3.3 context
fatal |13:57:57: [createGLContext:192] OpenGL initialization did not give double buffering! (0)
fatal |13:57:58: [createGLContext:193] Double buffering is required for this game!
error |13:57:58: [_initialize:3218] Failed to create OpenGL context
fatal |13:57:58: [wzMainScreenSetup:3251] gfx_api::context::get().initialize failed for backend: opengl
Forced XWayland:
flatpak run net.wz2100.wz2100
info |13:58:02: [rebuildSearchPath:836] Failed to load expected terrain quality overrides: terrain_overrides/high
info |13:58:02: [rebuildSearchPath:794] Loaded terrain overrides from: /app/share/warzone2100/
info |13:58:02: [wzChangeFullscreenDisplayMode:2168] Changing fullscreen mode to [0] 2560x1440
info |13:58:02: [createGLContext:185] Requested OpenGL 3.3 context
info |13:58:02: [initGLContext:3422] OpenGL Vendor: NVIDIA Corporation
info |13:58:02: [initGLContext:3425] OpenGL Renderer: NVIDIA GeForce RTX 3080/PCIe/SSE2
info |13:58:02: [initGLContext:3428] OpenGL Version: 3.3.0 NVIDIA 550.67
info |13:58:02: [initGLContext:3641] Success
info |13:58:02: [_initialize:3232] * Instanced rendering support was detected
sh: line 1: xdg-mime: command not found
Hello there, I am not sure when it stopped working as it played fine some time ago. But as I wanted to launch the game today it gave me the following errors:
My system specs are as follows:
Some random ideas I hade is, that since a few weeks I have 2 GPUs in my system which wasn't the case before. My discrete GPU is the nVidia GPU while my CPU also has a Radeon GPU build-in and thus the wrong GPU might be choosen?
Or could be related to me running this game on Wayland and thus it might run with XWayland and this might cause issues?
Thing I tired to solve this issue:
~/.var/app/net.wz2100.wz2100
to no availflatpak run net.wz2100.wz2100 --gfxbackend=vulkan
worked so farAt this point I am not sure if this is a general issue or just related to my system setup.