Hey folks, pretty much the title. I foolishly rebooted too soon after a command-line update, and interrupted my nvidia module build (from what I can tell). After the reboot it noted there was no “dkms module found” or something similar - it flew by pretty fast.
One of the major symptoms is I am now getting the infamous Minecraft error “GLFW error 65542: GLX: No GLXFBConfigs returned.”
I would normally get this after an nvidia driver upgrade in the past, where I would have to remove and reinstall the driver to fix it - specifically to rebuild the dkms modules. To be fair this was a while ago and on Ubuntu.
I have tried the following, which all worked in terms of commands, but I cannot get my minecraft working (yes I know I am somewhat conflating two issues here bear with me)
sudo dnf remove nvidia* --allowerasing
sudo dnf install akmod-nvidia
sudo dnf install nvidia-gpu-firmware
dkms status returns does not list any nvidia driver modules. Should it?
I would appreciate any help diagnosing what’s going on - P&TY. I recognize this might look like a Minecraft issue, and perhaps it ultimately is. How would I test if my nvidia drivers are loaded, and working?
Other info:
sudo lsmod | grep nvidia
nvidia_drm 135168 33
nvidia_modeset 1617920 10 nvidia_drm
nvidia_uvm 6815744 0
nvidia 61018112 246 nvidia_uvm,nvidia_modeset
video 81920 2 amdgpu,nvidia_modeset
lspci -n -n -k | grep -A 2 -e VGA -e 3D
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA102 [GeForce RTX 3090 Ti] [10de:2203] (rev a1)
Subsystem: ASUSTeK Computer Inc. Device [1043:8870]
Kernel driver in use: nvidia
--
5c:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Raphael [1002:164e] (rev ca)
Subsystem: ASRock Incorporation Device [1849:364e]
Kernel driver in use: amdgpu
glxinfo | grep -e OpenGL.vendor -e OpenGL.renderer
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce RTX 3090 Ti/PCIe/SSE2
switcherooctl list
Device: 0
Name: NVIDIA Corporation GA102 [GeForce RTX 3090 Ti]
Default: yes
Environment: __GLX_VENDOR_LIBRARY_NAME=nvidia __NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only
Device: 1
Name: Advanced Micro Devices, Inc. [AMD®/ATI] Raphael
Default: no
Environment: DRI_PRIME=pci-0000_5c_00_0