NVIDIA Driver loading Problem

Hi folks,

i am currently trying to set up my laptop for some GPU processing.
when i try to call the nvidia settings i get the following error:

some info:

inxi -Fxzc0

System:    Host: chwinb Kernel: 5.6.15-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.1.0 Desktop: KDE Plasma 5.18.5 
           Distro: Manjaro Linux 
Machine:   Type: Laptop System: Micro-Star product: GS66 Stealth 10SE v: REV:1.0 serial: <filter> 
           Mobo: Micro-Star model: MS-16V1 v: REV:1.0 serial: <filter> UEFI: American Megatrends v: E16V1IMS.106 
           date: 03/11/2020 
Battery:   ID-1: BAT1 charge: 96.5 Wh condition: 98.4/95.0 Wh (104%) model: MSI BIF0_9 status: Discharging 
CPU:       Topology: 6-Core model: Intel Core i7-10750H bits: 64 type: MT MCP arch: N/A L2 cache: 12.0 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 62431 
           Speed: 1500 MHz min/max: 800/2600 MHz Core speeds (MHz): 1: 1500 2: 1500 3: 1500 4: 1500 5: 1501 6: 1500 7: 1500 
           8: 1500 9: 1365 10: 1492 11: 1500 12: 1500 
Graphics:  Device-1: Intel vendor: Micro-Star MSI driver: i915 v: kernel bus ID: 00:02.0 
           Device-2: NVIDIA vendor: Micro-Star MSI driver: N/A bus ID: 01:00.0 
           Display: x11 server: X.Org 1.20.8 driver: modesetting unloaded: intel resolution: 1920x1080~240Hz 
           OpenGL: renderer: Mesa Intel UHD Graphics (CML GT2) v: 4.6 Mesa 20.0.7 direct render: Yes 
Audio:     Device-1: Intel vendor: Micro-Star MSI driver: snd_hda_intel v: kernel bus ID: 00:1f.3 
           Device-2: NVIDIA TU106 High Definition Audio vendor: Micro-Star MSI driver: snd_hda_intel v: kernel bus ID: 01:00.1 
           Sound Server: ALSA v: k5.6.15-1-MANJARO 
Network:   Device-1: Intel driver: iwlwifi v: kernel port: 4000 bus ID: 00:14.3 
           IF: wlo1 state: up mac: <filter> 
           Device-2: Intel driver: igc v: 0.0.1-k port: 3000 bus ID: 3c:00.0 
           IF: enp60s0 state: down mac: <filter> 
Drives:    Local Storage: total: 953.87 GiB used: 28.80 GiB (3.0%) 
           ID-1: /dev/nvme0n1 vendor: Western Digital model: PC SN730 SDBPNTY-1T00-1032 size: 953.87 GiB 
Partition: ID-1: / size: 383.49 GiB used: 28.77 GiB (7.5%) fs: ext4 dev: /dev/nvme0n1p6 
Sensors:   System Temperatures: cpu: 45.0 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Info:      Processes: 293 Uptime: 3m Memory: 15.46 GiB used: 1.09 GiB (7.1%) Init: systemd Compilers: gcc: 10.1.0 
           clang: 10.0.0 Shell: bash v: 5.0.17 inxi: 3.0.37

sudo nvidia-settings


(process:9636): Gtk-WARNING **: 15:19:18.587: Locale not supported by C library.
        Using the fallback 'C' locale.

ERROR: NVIDIA driver is not loaded


ERROR: Unable to load info from any available system

trying mhwd -a pci nonfree 0300 returns this:

> Skipping already installed config 'video-linux' for device: 0000:01:00.0 (0300:10de:1f15) Display controller nVidia Corporation TU106M [GeForce RTX 2060 Mobile]
> Skipping already installed config 'video-linux' for device: 0000:00:02.0 (0300:8086:9bc4) Display controller Intel Corporation UHD Graphics

mhwd -li

> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2018.05.04                true            PCI

I tried to follow this tutorial: [HowTo] Set up PRIME (output offload) with NVIDIA proprietary driver but got stuck when it comes to the installation of the nonfree driver version.

The funny thing is, my Hardware Configuration just offers to "Auto Install Open-Source Driver".

So right now i am quite clueless what i should try next, installing external downloaded drivers was not recommended in some threads.

Is there by the way a tool that monitors the GPU activity? Found a Plasmawidget, but that thingy didnt work for me.

i am thankfull for any kind of help,
so cheers and kind regards,

stryz

What's the output of mhwd -l?

1 Like

Output of mhwd -l:

> 0000:01:00.0 (0300:10de:1f15) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI


> 0000:00:02.0 (0300:8086:9bc4) Display controller Intel Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI

The RTX 2070 Super Max-Q ID might not be yet in the MHWD database list, hence MHWD is not showing an option for it. Try to force the install:
sudo mhwd -f -i pci video-hybrid-intel-nvidia-440xx-prime
And then follow the tutorial you mentioned to make sure the system reboots fine.

1 Like

great thanks, gonna try this, i actually use a 2060 mobile, but i heard nvidia did probably i silent refresh, hence it may be not in the DB list of MHWD right now.

This helped, tensorflow now detects the GPU, thanks a lot!

to conclude what solved my Problem:

Forcing the driver install:
sudo mhwd -f -i pci video-hybrid-intel-nvidia-440xx-prime

following this tutorial:

2 Likes

I'm having the same problem, but forcing the driver install did not fix my setup. Should I start a new thread? I've been working on it for a week without effective guidance.

Generally yes... taking over a topic is not a nice thing to do.

1 Like

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

Forum kindly sponsored by