Hi,
I’m currently looking into an issue in which glxgears -srgb returns
Error: couldn’t get an RGB, Double-buffered, sRGB visual
I’m using a new install of Fedora 41 that was created via the Fedora Media Writer. My CPU is a 13900KF with no iGPU. My GPU is an Nvidia 4090 FE and I’ve installed drivers using the newer method released with Fedora 41 (akmod via Software Centre) - Secure Boot is enabled, the MOK was enrolled and the drivers all seem to be functioning as expected.
The output of glxinfo is here (I tried to attach the txt file here but it’s not permitted): name of display: :0display: :0 screen: 0direct rendering: Yesserver glx v - Pastebin.com
If I first set __GLX_VENDOR_LIBRARY_NAME=mesa then glxgears -srgb does work
__GLX_VENDOR_LIBRARY_NAME=mesa glxgears -srgb
The reason I’m looking into this is because X-Plane 11 doesn’t boot without sRGB. It will, however, boot with the aforementioned change by setting __GLX_VENDOR_LIBRARY_NAME=mesa prior to launching X-Plane 11 in the same terminal. Setting this variable with a value of nvidia does not work, only mesa works.
I’ve done some digging on the glxgears -srgb error and am mainly finding 10+ year old threads. One answer on StackExchange mentioned the __GLX_VENDOR_LIBRARY_NAME fix.
I use Fedora on my laptop for productivity tasks where I develop .NET and Rust apps and am now looking at it on my gaming PC. Unfortunately, I don’t know a great deal about graphics and graphic drivers so I thought I’d pop a thread here with the hopes somebody could point me in the right direction. Is this a Wayland issue, an Nvidia/OpenGL issue or a compatibility issue between Wayland and Nvidia?