No Nvidia Device Found for OpenGL (RTX 5000 Quaddro)

I’ve been trouble-shooting an RTX 5000 Quaddro card most of the day and I believe I’ve narrowed down the issue. MHWD reports a conflict between the prime and 470 drivers.

The rub is, I removed the prime driver and installed the 470 driver. However I believe some conf file is still pointing to the prime driver in name only.

Here’s my evidence so far:

 $sudo mhwd -a pci nonfree 0300                                                                       
> Using config 'video-hybrid-intel-nvidia-prime' for device: 0000:01:00.0 (0300:10de:1eb5) Display controller nVidia Corporation TU104GLM [Quadro RTX 5000 Mobile / Max-Q]
> Using config 'video-hybrid-intel-nvidia-prime' for device: 0000:00:02.0 (0300:8086:9bf6) Display controller Intel Corporation 
Error: config 'video-hybrid-intel-nvidia-prime' conflicts with config(s): video-hybrid-intel-nvidia-470xx-prime
 mhwd --listinstalled                                                                       
> Installed PCI configs:
                  NAME               VERSION          FREEDRIVER           TYPE
video-hybrid-intel-nvidia-470xx-prime            2021.11.04               false            PCI
     video-modesetting            2020.01.13                true            PCI

Warning: No installed USB configs!
inxi -F                                                                                          INT ✘ 
System:    Host: p15 Kernel: 5.15.6-2-MANJARO x86_64 bits: 64 Desktop: KDE Plasma 5.23.4 Distro: Manjaro Linux
Machine:   Type: Laptop System: LENOVO product: 20SUS2E900 v: ThinkPad P15 Gen 1 serial: <superuser required>
           Mobo: LENOVO model: 20SUS2E900 v: SDK0T76457 WIN serial: <superuser required> UEFI: LENOVO
           v: N30ET40W (1.23 ) date: 08/03/2021
Battery:   ID-1: BAT0 charge: 52.2 Wh (54.4%) condition: 95.9/94.0 Wh (102.0%) volts: 11.5 min: 11.5
CPU:       Info: 6-Core model: Intel Xeon W-10855M bits: 64 type: MT MCP cache: L2: 1.5 MiB
           Speed: 800 MHz min/max: 800/5100 MHz Core speeds (MHz): 1: 849 2: 800 3: 800 4: 802 5: 800 6: 804
           7: 843 8: 806 9: 801 10: 801 11: 801 12: 854
Graphics:  Device-1: Intel driver: i915 v: kernel
           Device-2: NVIDIA TU104GLM [Quadro RTX 5000 Mobile / Max-Q] driver: nvidia v: 470.86
           Device-3: Acer Integrated Camera type: USB driver: uvcvideo
           Display: x11 server: driver: loaded: modesetting resolution: <missing: xdpyinfo>
           OpenGL: renderer: Mesa Intel UHD Graphics P630 (CML GT2) v: 4.6 Mesa 21.2.5
Audio:     Device-1: Intel Comet Lake PCH cAVS driver: snd_hda_intel
           Device-2: NVIDIA TU104 HD Audio driver: snd_hda_intel
           Sound Server-1: ALSA v: k5.15.6-2-MANJARO running: yes
           Sound Server-2: PulseAudio v: 15.0 running: yes
           Sound Server-3: PipeWire v: 0.3.40 running: yes
Network:   Device-1: Intel Comet Lake PCH CNVi WiFi driver: iwlwifi
           IF: wlp0s20f3 state: up mac: 80:b6:55:3b:69:2e
           Device-2: Intel Ethernet I219-LM driver: e1000e
           IF: enp0s31f6 state: down mac: 90:2e:16:cd:48:a1
Bluetooth: Device-1: Intel AX201 Bluetooth type: USB driver: btusb
           Report: rfkill ID: hci0 state: up address: see --recommends
Drives:    Local Storage: total: 476.94 GiB used: 12.73 GiB (2.7%)
           ID-1: /dev/nvme0n1 vendor: Toshiba model: N/A size: 476.94 GiB
Partition: ID-1: / size: 400.48 GiB used: 12.73 GiB (3.2%) fs: ext4 dev: /dev/nvme0n1p2
           ID-2: /boot/efi size: 299.4 MiB used: 288 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p1
Swap:      ID-1: swap-1 type: partition size: 68.68 GiB used: 0 KiB (0.0%) dev: /dev/nvme0n1p3
Sensors:   System Temperatures: cpu: 41.0 C pch: 42.0 C mobo: N/A
           Fan Speeds (RPM): fan-1: 0 fan-2: 0
Info:      Processes: 300 Uptime: 57m Memory: 62.44 GiB used: 4.51 GiB (7.2%) Shell: Zsh inxi: 3.3.09

Anyone have an idea where this rogue conf file could be?

Remove the version you don’t want (assuming 495?):

sudo mhwd -r video-hybrid-intel-nvidia-prime
1 Like

We’re on the same page, I tried explicitly removing prime as well here’s the output.

sudo mhwd -r pci vidia-hybrid-intel-nvidia-prime                                                                                                                                                                          
Error: config 'vidia-hybrid-intel-nvidia-prime' is not installed!

Also P.S. I don’t believe that the RTX 5000 Quaddro supports 495 yet, it lists 470 as being the latest driver.

1 Like
sudo mhwd-gpu --status                                                                                                                                                                                                      
:: status
warning: could not find '/etc/X11/xorg.conf.d/90-mhwd.conf'!

We’re getting closer, the 90-mhwd.conf is missing.

Forcing a re-install of 470 drivers with mhwd did not replace it either.

Which is? You still haven’t told us.

Indeed. Only one can be installed at a time. You already have the 470 drivers installed, so using mhwd -a wants to install the default config which is video-hybrid-intel-nvidia-prime (495).

That is odd, it should have already been generated.

Sorry I posted the issue in the title:

No Nvidia Device Found for OpenGL (RTX 5000 Quaddro)

I’ve resorted to re-installing with free drivers, then installing 470 such that prime never gets installed to attempt to avoid the conflict. I’ll report back if it works.

That’s not the issue, that’s a symptom. Where did you see that error message?


1 Like

Sorry I’ll try to be more explicit:

The issue is I want to use Optimus-Manager hybrid mode to pass X11 through to a Docker container like I’m already doing on another laptop (AMD Ryzen 5900HX, Nvidia GTX 3080) with this new laptop (Intel Xeon 10855, Nvidia RTX 5000).

Upon a fresh install and choosing proprietary drivers then removing prime and installing 470 this was not possible because OpenGL was only recognizing the integrated graphics.

To get around the conflict between prime and 470 as detailed above I’ve re-installed with free drivers then installed 470 and optimus-manager. However this also did not resolve the RTX 5000 series not being recognized by OpenGL (as shown below).

glxinfo | grep "OpenGL renderer"                                                                                                                    
OpenGL renderer string: Mesa Intel(R) UHD Graphics P630 (CML GT2)

What’s worse is even though I’ve avoided prime all together this time, there appears to still be a rogue reference to it somewhere.

 sudo mhwd -a pci nonfree 0300                                                                                                                      
[sudo] password for bamu: 
> Using config 'video-hybrid-intel-nvidia-prime' for device: 0000:01:00.0 (0300:10de:1eb5) Display controller nVidia Corporation TU104GLM [Quadro RTX 5000 Mobile / Max-Q]
> Using config 'video-hybrid-intel-nvidia-prime' for device: 0000:00:02.0 (0300:8086:9bf6) Display controller Intel Corporation 
Error: config 'video-hybrid-intel-nvidia-prime' conflicts with config(s): video-hybrid-intel-nvidia-470xx-prime
 sudo mhwd -r pci vidia-hybrid-intel-nvidia-prime                                                                                                                                        
Error: config 'vidia-hybrid-intel-nvidia-prime' is not installed!

:point_down: :point_right: PRIME - ArchWiki

prime-run glxinfo | grep "OpenGL renderer"

No, there isn’t. I already explained that above.

Thank you for clarifying, I see my misunderstanding now. Prime-run does show the RTX card when grepping for OpenGL.

prime-run glxinfo | grep "OpenGL renderer"                                                                                                                                                    
OpenGL renderer string: Quadro RTX 5000 with Max-Q Design/PCIe/SSE2

Also I think optimus-manager may be the culprit for the missing 90-mhwd-conf file.

optimus-manager --switch hybrid                                                                                                                                                                  ✔ 
ERROR: a GPU setup was initiated but Xorg post-start hook did not run.
Log at /var/log/optimus-manager/switch/switch-20211214T182331.log
If your login manager is GDM, make sure to follow those instructions:
If your display manager is neither GDM, SDDM nor LightDM, or if you don't use one, read the wiki:,-common-issues,-troubleshooting
Cannot execute command because of previous errors.

cat /var/log/optimus-manager/switch/switch-20211214T182331.log                                                                                                                                 1 ✘ 
[14] INFO: # Xorg pre-start hook
[14] INFO: Previous state was: {'type': 'pending_pre_xorg_start', 'requested_mode': 'integrated', 'current_mode': None}
[14] INFO: Requested mode is: integrated
[794] INFO: Available modules: ['nouveau', 'nvidia', 'nvidia_drm', 'nvidia_modeset', 'nvidia_uvm']
[794] INFO: Unloading modules ['nvidia_drm', 'nvidia_modeset', 'nvidia_uvm', 'nvidia'] (if loaded)
[798] INFO: switching=none, nothing to do
841] INFO: Found MHWD-generated Xorg config file at /etc/X11/xorg.conf.d/90-mhwd.conf. Removing.
[841] INFO: Writing to /etc/X11/xorg.conf.d/10-optimus-manager.conf
[841] INFO: Writing state {'type': 'pending_post_xorg_start', 'switch_id': '20211214T182331', 'requested_mode': 'integrated'}
[841] INFO: Xorg pre-start hook completed successfully.

I’m currently reviewing this thread for more details on hybrid mode: Guide: Install and configure optimus-manager for hybrid GPU setups (Intel/NVIDIA) - Tutorials - Manjaro Linux Forum

Thank you for your help, the issue is now resolved.

I missed this step in my recollection on how to configure optimus-manager hybrid mode for KDE.

6. For Manjaro KDE users (others ignore at this point):

Edit the file /etc/sddm.conf and simply put a # before the line starting with DisplayCommand and the one starting with DisplayStopCommand.

To edit the sddm.conf in terminal:

sudo nano /etc/sddm.conf

The reason for that is that Manjaro ships with a default configuration for SDDM (the default login manager for KDE) which overrides some keys needed by optimus-manager.

Weirdly enough, it’s possible that you may not have lines:


In such a case you are fine and you have nothing to do. It’s possible some recent Manjaro updates deleted those additional lines (they are not present in non-Manjaro systems anyway).

Marking as resolved.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.