I’ve been trying to fix an external monitor issue I’ve been having for some months, and decided to take a stab at it again with Kernel 5.16. After a couple hours of debugging I’ve fixed a few mistakes I made in the past, but the one glaring issue now is the Nvidia drivers appear to be corrupted. I’ve removed all other kernels to ensure there was no conflict between them (5.10 and 5.14), mhwd installs 470xx but anytime I try to use optimus-manager to go into nvidia-only mode I get an all black screen. Attempting clean-up gives a stern warning that Nvidia is not behaving properly.
Any additional information I could share that might illuminate the root of this error?
sudo optimus-manager --cleanup
WARNING: hybrid mode is set but Nvidia card does not seem to be available for offloading.
glxinfo | grep 'renderer string'
OpenGL renderer string: AMD RENOIR (DRM 3.44.0, 5.16.2-1-MANJARO, LLVM 13.0.0)
prime-run glxinfo | grep 'renderer string'
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 152 (GLX)
Minor opcode of failed request: 24 (X_GLXCreateNewContext)
Value in failed request: 0x0
Serial number of failed request: 50
Current serial number in output stream: 51
prime-run nvidia-settings
ERROR: An internal driver error occurred
ERROR: Unable to load info from any available system
inxi -G
Graphics:
Device-1: NVIDIA GA104M [GeForce RTX 3080 Mobile / Max-Q 8GB/16GB]
driver: nvidia v: 470.86
Device-2: AMD Cezanne driver: amdgpu v: kernel
Device-3: Chicony HD Webcam type: USB driver: uvcvideo
Display: x11 server: X.Org 1.21.1.3 driver: loaded: modesetting
failed: nvidia resolution: 2560x1440~165Hz
OpenGL: renderer: AMD RENOIR (DRM 3.44.0 5.16.2-1-MANJARO LLVM 13.0.0)
v: 4.6 Mesa 21.3.4
mhwd -l -d --pci
PCI Device: /devices/pci0000:00/0000:00:01.1/0000:01:00.0 (0300:10de:249c)
Display controller nVidia Corporation GA104M [GeForce RTX 3080 Mobile / Max-Q 8GB/16GB]
INSTALLED:
NAME: video-hybrid-amd-nvidia-470xx-prime
ATTACHED: PCI
VERSION: 2021.12.18
INFO: Hybrid prime solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source amd driver.
PRIORITY: 7
FREEDRIVER: false
DEPENDS: video-linux
CONFLICTS: video*nvidia*
CLASSIDS: 0300 0302 0300
VENDORIDS: 10de 1002
NAME: video-linux
ATTACHED: PCI
VERSION: 2018.05.04
INFO: Standard open source drivers.
PRIORITY: 2
FREEDRIVER: true
DEPENDS: -
CONFLICTS: -
CLASSIDS: 0300 0380 0302
VENDORIDS: 1002 8086 10de
NAME: video-modesetting
ATTACHED: PCI
VERSION: 2020.01.13
INFO: X.org modesetting video driver.
PRIORITY: 1
FREEDRIVER: true
DEPENDS: -
CONFLICTS: -
CLASSIDS: 0300
VENDORIDS: *
PCI Device: /devices/pci0000:00/0000:00:08.1/0000:06:00.0 (0300:1002:1638)
Display controller ATI Technologies Inc Cezanne
INSTALLED:
NAME: video-hybrid-amd-nvidia-470xx-prime
ATTACHED: PCI
VERSION: 2021.12.18
INFO: Hybrid prime solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source amd driver.
PRIORITY: 7
FREEDRIVER: false
DEPENDS: video-linux
CONFLICTS: video*nvidia*
CLASSIDS: 0300 0302 0300
VENDORIDS: 10de 1002
NAME: video-linux
ATTACHED: PCI
VERSION: 2018.05.04
INFO: Standard open source drivers.
PRIORITY: 2
FREEDRIVER: true
DEPENDS: -
CONFLICTS: -
CLASSIDS: 0300 0380 0302
VENDORIDS: 1002 8086 10de
NAME: video-modesetting
ATTACHED: PCI
VERSION: 2020.01.13
INFO: X.org modesetting video driver.
PRIORITY: 1
FREEDRIVER: true
DEPENDS: -
CONFLICTS: -
CLASSIDS: 0300
VENDORIDS: *