Bugzilla – Bug 1189524
SuperTuxKart libGLEW issues on NVIDIA
Last modified: 2024-05-15 12:40:14 UTC
Ever since Request 909622 got accepted into Tumbleweed, games like Supertuxkart no longer launch with NVIDIA Drivers: [info ] [FileManager]: Data files will be fetched from: '/usr/share/supertuxkart/data/' [info ] [FileManager]: User directory is '/home/plasma/.config/supertuxkart/config-0.10/'. [info ] [FileManager]: Addons files will be stored in '/home/plasma/.local/share/supertuxkart/addons/'. [info ] [FileManager]: Screenshots will be stored in '/home/plasma/.local/share/supertuxkart/screenshots/'. [info ] [FileManager]: User-defined grand prix will be stored in '/home/plasma/.local/share/supertuxkart/grandprix/'. [info ] [FileManager]: Asset 0 will be loaded from '/usr/share/supertuxkart/data/challenges/'. [info ] [FileManager]: Asset 1 will be loaded from '/usr/share/supertuxkart/data/gfx/'. [info ] [FileManager]: Asset 2 will be loaded from '/usr/share/supertuxkart/data/grandprix/'. [info ] [FileManager]: Asset 3 will be loaded from '/usr/share/supertuxkart/data/gui/icons/'. [info ] [FileManager]: Asset 4 will be loaded from '/usr/share/supertuxkart/data/gui/screens/'. [info ] [FileManager]: Asset 5 will be loaded from '/usr/share/supertuxkart/data/gui/dialogs/'. [info ] [FileManager]: Asset 6 will be loaded from '/usr/share/supertuxkart/data/replay/'. [info ] [FileManager]: Asset 7 will be loaded from '/usr/share/supertuxkart/data/shaders/'. [info ] [FileManager]: Asset 8 will be loaded from '/usr/share/supertuxkart/data/skins/'. [info ] [FileManager]: Asset 9 will be loaded from '/usr/share/supertuxkart/data/ttf/'. [info ] [FileManager]: Asset 10 will be loaded from '/usr/share/supertuxkart/data/po/'. [info ] [FileManager]: Asset 11 will be loaded from '/usr/share/supertuxkart/data/library/'. [info ] [FileManager]: Asset 12 will be loaded from '/usr/share/supertuxkart/data/models/'. [info ] [FileManager]: Asset 13 will be loaded from '/usr/share/supertuxkart/data/music/'. [info ] [FileManager]: Asset 14 will be loaded from '/usr/share/supertuxkart/data/sfx/'. [info ] [FileManager]: Asset 15 will be loaded from '/usr/share/supertuxkart/data/textures/'. [info ] [FileManager]: Asset 16 will be loaded from '/usr/share/supertuxkart/data/tracks/'. ..:: Antarctica Rendering Engine 2.0 ::.. [info ] IrrDriver: OpenGL version: 4.3 [info ] IrrDriver: OpenGL vendor: NVIDIA Corporation [info ] IrrDriver: OpenGL renderer: NVIDIA GeForce RTX 2070 SUPER/PCIe/SSE2 [info ] IrrDriver: OpenGL version string: 4.3.0 NVIDIA 470.57.02 [info ] IrrDriver: OpenGL total memory: 8192 [fatal ] GLEW: Glew initialization failed with error Missing GL version When building GLEW without the SYSTEM=linux-egl flag, supertuxkart works fine again, but other stuff like hugin crashes, and I haven't found a way to make both work with the same GLEW library and WxWidgets 3.1.X. Any idea how this can be solved? On Fedora hugin seems to work without GLEW being built with the SYSTEM=linux-egl flag and WxWidgets 3.1.4, however, I failed to find out why so far.
wxWidgets 3.1.4 had no EGL support, so it was fine without glew being built with EGL. However, with wxWidgets updated to 3.1.5 on TW, which supports (forces?) EGL, it needs glew to be built with EGL to avoid crashes in apps like hugin. Building glew with EGL support now is the right thing to do, but we need to see how to fix issues like this on specific configurations. Is there any chance you can test if supertuxkart also crashes on any other graphics driver/${XDG_SESSION_TYPE} apart from nVidia+x11 where we see this issue? Thanks.
Oh okay, now it working on Arch/Fedora makes sense since both haven't updated to wxWidgets 3.1.5 :) NVIDIA + Plasma Wayland session crashes with the same error, however, I suspect supertuxkart to run as an xwayland app and therefore of course having the same issues. I'll maybe do some testing with nouveau/Intel iGPU later, I'll have to see if I've got time.
Reported upstream as glew's own `visualinfo` program fails on NVIDIA as well.
I can confirm this GLEW error and I'm using an AMD graphics card. I will attach my terminal output.
Created attachment 851960 [details] GLEW error
We'll have to revert building glew with EGL support, while also disabling EGL support in wxWidgets to avoid boo#1188519. I am working on both of these fixes. When glew properly support EGL again, we shall revisit this.
This should do it: * https://build.opensuse.org/request/show/913481 * https://build.opensuse.org/request/show/913482
*** Bug 1189657 has been marked as a duplicate of this bug. ***
*** Bug 1189303 has been marked as a duplicate of this bug. ***
Fixes accepted into Factory.
*** Bug 1189196 has been marked as a duplicate of this bug. ***