No Nvidia driver loaded though installed

I’m not quite sure if I have the same/a similiar problem or a different one:

I like many other had problems while updating Nvidia drivers (440 -> 450) but with a little searching and a lot of reading I managed to solve it (at least I thought so) by updating kernel, removing Cuda, updating system and reinstalling Cuda.
But now I noticed there is no Nvidia driver loaded (Blender doesn’t detect my GTX1060 and keeps crashing, Nvidia-settings doesn’t start saying “ERROR: NVIDIA driver is not loaded” and “ERROR: Unable to load info from any available system”) though Manjaro Settings Manager tells me it is installed.

Well, I’m no Linux noob (about 8 years Xubuntu and now about 2 years Manjaro) but this is beyond my knowledge. So can someone please help me to fix this?

settings

My system.
OS: Manjaro 20.1.1 Mikah
Kernel: x86_64 Linux 5.8.11-1-MANJARO
Uptime: 2m
Packages: 1239
Shell: bash 5.0.18
Resolution: 1920x1080
DE: Xfce4
WM: Xfwm4
WM Theme: Matcha-sea
GTK Theme: Shades-of-gray-Arch [GTK2]
Icon Theme: Arc
Font: Noto Sans 10
Disk: 363G / 461G (83%)
CPU: Intel Core i7-2600K @ 8x 3.8GHz [37.0°C]
GPU: NVIDIA Corporation GP106 [GeForce GTX 1060 6GB] (rev a1)
RAM: 1893MiB / 7943MiB

Hmm, it’s strange that prime doesn’t show up at all. How did you install Manjaro, as in which drivers did you pick? Free or non-free?

Hello

Have you also installed modesetting and optimus-prime? Prime is used for laptop with intel-nvidia hybrid graphics.

sudo mhwd -i pci video-modesetting

Optimus helped me getting the nvidia driver 450xx to work, but before you install it you need to check the documentations at Manjaro Wiki and Github page

Installation was done using non-free drivers. But it is about 18 months old and everything was fine until that f**** Nvidia update :frowning_face:

Please post the output of inxi -Fazy.

Not quite sure - how can I test this?
But probably not since this is a desktop, no laptop.
I still try to find out wether my system has a hybrid graphic system.

System:
Kernel: 5.4.67-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0
parameters: BOOT_IMAGE=/boot/vmlinuz-5.4-x86_64
root=UUID=d9b7264e-ffff-4b30-a168-78236dfafda4 rw quiet udev.log_priority=3
Desktop: Xfce 4.14.2 tk: Gtk 3.24.20 info: xfce4-panel wm: xfwm4
dm: LightDM 1.30.0 Distro: Manjaro Linux
Machine:
Type: Desktop Mobo: Gigabyte model: H67A-USB3-B3 v: x.x serial:
BIOS: Award v: F7 date: 03/27/2012
CPU:
Topology: Quad Core model: Intel Core i7-2600K bits: 64 type: MT MCP
arch: Sandy Bridge family: 6 model-id: 2A (42) stepping: 7 microcode: 2F
L2 cache: 8192 KiB
flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 54296
Speed: 1602 MHz min/max: 1600/3800 MHz Core speeds (MHz): 1: 1596 2: 1596
3: 1596 4: 1595 5: 1596 6: 1595 7: 1596 8: 1596
Vulnerabilities: Type: itlb_multihit status: KVM: Split huge pages
Type: l1tf
mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
Type: mds mitigation: Clear CPU buffers; SMT vulnerable
Type: meltdown mitigation: PTI
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl and seccomp
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional,
IBRS_FW, STIBP: conditional, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: NVIDIA GP106 [GeForce GTX 1060 6GB] vendor: Micro-Star MSI
driver: nouveau v: kernel alternate: nvidia_drm,nvidia bus ID: 01:00.0
chip ID: 10de:1c03
Display: x11 server: X.Org 1.20.9 driver: modesetting
alternate: fbdev,nouveau,nv,vesa display ID: :0.0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2")
s-diag: 582mm (22.9")
Monitor-1: HDMI-1 res: 1920x1080 hz: 60 dpi: 82 size: 598x336mm (23.5x13.2")
diag: 686mm (27")
OpenGL: renderer: NV136 v: 4.3 Mesa 20.1.8 direct render: Yes
Audio:
Device-1: Intel 6 Series/C200 Series Family High Definition Audio
vendor: Gigabyte driver: snd_hda_intel v: kernel bus ID: 00:1b.0
chip ID: 8086:1c20
Device-2: NVIDIA GP106 High Definition Audio vendor: Micro-Star MSI
driver: snd_hda_intel v: kernel bus ID: 01:00.1 chip ID: 10de:10f1
Device-3: Logitech Webcam C270 type: USB driver: snd-usb-audio,uvcvideo
bus ID: 2-2:6 chip ID: 046d:0825 serial:
Sound Server: ALSA v: k5.4.67-1-MANJARO
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Gigabyte driver: r8169 v: kernel port: de00 bus ID: 03:00.0
chip ID: 10ec:8168
IF: enp3s0 state: up speed: 1000 Mbps duplex: full mac:
Device-2: Microsoft Xbox 360 Wireless Adapter type: USB driver: xpad
bus ID: 1-1.3:3 chip ID: 045e:0719 serial:
Drives:
Local Storage: total: 2.27 TiB used: 362.70 GiB (15.6%)
SMART Message: Required tool smartctl not installed. Check --recommends
ID-1: /dev/sda vendor: Crucial model: CT1000MX500SSD1 size: 931.51 GiB
block size: physical: 512 B logical: 512 B speed: 6.0 Gb/s serial:
rev: 023 scheme: MBR
ID-2: /dev/sdb vendor: Samsung model: SSD 850 EVO 500GB size: 465.76 GiB
block size: physical: 512 B logical: 512 B speed: 6.0 Gb/s serial:
rev: 2B6Q scheme: MBR
ID-3: /dev/sdc vendor: Western Digital model: WD10EARS-00Y5B1
size: 931.51 GiB block size: physical: 512 B logical: 512 B speed: 3.0 Gb/s
serial: rev: 0A80 scheme: MBR
Partition:
ID-1: / raw size: 465.26 GiB size: 456.96 GiB (98.22%)
used: 362.70 GiB (79.4%) fs: ext4 dev: /dev/sdb2
Swap:
Kernel: swappiness: 60 (default) cache pressure: 100 (default)
ID-1: swap-1 type: file size: 7.76 GiB used: 0 KiB (0.0%) priority: -2
file: /swapfile
Sensors:
System Temperatures: cpu: 48.0 C mobo: N/A gpu: nouveau temp: 63 C
Fan Speeds (RPM): N/A gpu: nouveau fan: 0
Info:
Processes: 236 Uptime: 1h 53m Memory: 7.76 GiB used: 3.16 GiB (40.7%)
Init: systemd v: 246 Compilers: gcc: 10.2.0 alt: 9 clang: 10.0.1 Packages:
pacman: 1239 lib: 348 flatpak: 0 Shell: Bash v: 5.0.18
running in: xfce4-terminal inxi: 3.1.05

acc. to inxi nouveau driver is installed. :thinking:

What’s the ouput of

lspci -v

Please run sudo mhwd -f -i pci video-nvidia-450xx.

3 Likes

[rico@H67A-MJRO ~]$ lspci -v
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
Flags: bus master, fast devsel, latency 0
Capabilities:
Kernel driver in use: snb_uncore

00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 24
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 0000e000-0000efff [size=4K]
Memory behind bridge: f9000000-faffffff [size=32M]
Prefetchable memory behind bridge: 00000000d0000000-00000000efffffff [size=512M]
Capabilities:
Kernel driver in use: pcieport

00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
Subsystem: Gigabyte Technology Co., Ltd Device 1c3a
Flags: bus master, fast devsel, latency 0, IRQ 38
Memory at fbfff000 (64-bit, non-prefetchable) [size=16]
Capabilities:
Kernel driver in use: mei_me
Kernel modules: mei_me

00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05) (prog-if 20 [EHCI])
Subsystem: Gigabyte Technology Co., Ltd Device 5006
Flags: bus master, medium devsel, latency 0, IRQ 18
Memory at fbffe000 (32-bit, non-prefetchable) [size=1K]
Capabilities:
Kernel driver in use: ehci-pci
Kernel modules: ehci_pci

00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
Subsystem: Gigabyte Technology Co., Ltd Device a102
Flags: bus master, fast devsel, latency 0, IRQ 40
Memory at fbff4000 (64-bit, non-prefetchable) [size=16K]
Capabilities:
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel

00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 25
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: 00002000-00002fff [size=4K]
Memory behind bridge: f0000000-f01fffff [size=2M]
Prefetchable memory behind bridge: 00000000f0200000-00000000f03fffff [size=2M]
Capabilities:
Kernel driver in use: pcieport

00:1c.5 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 6 (rev b5) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 26
Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
I/O behind bridge: 0000d000-0000dfff [size=4K]
Memory behind bridge: [disabled]
Prefetchable memory behind bridge: 00000000fbd00000-00000000fbdfffff [size=1M]
Capabilities:
Kernel driver in use: pcieport

00:1c.6 PCI bridge: Intel Corporation 82801 PCI Bridge (rev b5) (prog-if 01 [Subtractive decode])
Flags: bus master, fast devsel, latency 0, IRQ 27
Bus: primary=00, secondary=04, subordinate=05, sec-latency=0
I/O behind bridge: [disabled]
Memory behind bridge: [disabled]
Prefetchable memory behind bridge: [disabled]
Capabilities:
Kernel driver in use: pcieport

00:1c.7 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 8 (rev b5) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 28
Bus: primary=00, secondary=06, subordinate=06, sec-latency=0
I/O behind bridge: [disabled]
Memory behind bridge: fbe00000-fbefffff [size=1M]
Prefetchable memory behind bridge: [disabled]
Capabilities:
Kernel driver in use: pcieport

00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05) (prog-if 20 [EHCI])
Subsystem: Gigabyte Technology Co., Ltd Device 5006
Flags: bus master, medium devsel, latency 0, IRQ 23
Memory at fbffd000 (32-bit, non-prefetchable) [size=1K]
Capabilities:
Kernel driver in use: ehci-pci
Kernel modules: ehci_pci

00:1f.0 ISA bridge: Intel Corporation H67 Express Chipset LPC Controller (rev 05)
Subsystem: Gigabyte Technology Co., Ltd Device 5001
Flags: bus master, medium devsel, latency 0
Capabilities:
Kernel driver in use: lpc_ich
Kernel modules: lpc_ich

00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port Desktop SATA AHCI Controller (rev 05) (prog-if 01 [AHCI 1.0])
Subsystem: Gigabyte Technology Co., Ltd Device b005
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 37
I/O ports at ff00 [size=8]
I/O ports at fe00 [size=4]
I/O ports at fd00 [size=8]
I/O ports at fc00 [size=4]
I/O ports at fb00 [size=32]
Memory at fbffc000 (32-bit, non-prefetchable) [size=2K]
Capabilities:
Kernel driver in use: ahci
Kernel modules: ahci

00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
Subsystem: Gigabyte Technology Co., Ltd Device 5001
Flags: medium devsel, IRQ 18
Memory at fbffb000 (64-bit, non-prefetchable) [size=256]
I/O ports at 0500 [size=32]
Kernel driver in use: i801_smbus
Kernel modules: i2c_i801

01:00.0 VGA compatible controller: NVIDIA Corporation GP106 [GeForce GTX 1060 6GB] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Micro-Star International Co., Ltd. [MSI] Device 3281
Flags: bus master, fast devsel, latency 0, IRQ 41
Memory at f9000000 (32-bit, non-prefetchable) [size=16M]
Memory at d0000000 (64-bit, prefetchable) [size=256M]
Memory at ee000000 (64-bit, prefetchable) [size=32M]
I/O ports at ef00 [size=128]
Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
Capabilities:
Kernel driver in use: nouveau
Kernel modules: nouveau, nvidia_drm, nvidia

01:00.1 Audio device: NVIDIA Corporation GP106 High Definition Audio Controller (rev a1)
Subsystem: Micro-Star International Co., Ltd. [MSI] Device 3281
Flags: bus master, fast devsel, latency 0, IRQ 17
Memory at faffc000 (32-bit, non-prefetchable) [size=16K]
Capabilities:
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel

03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
Subsystem: Gigabyte Technology Co., Ltd Onboard Ethernet
Flags: bus master, fast devsel, latency 0, IRQ 17
I/O ports at de00 [size=256]
Memory at fbdff000 (64-bit, prefetchable) [size=4K]
Memory at fbdf8000 (64-bit, prefetchable) [size=16K]
Capabilities:
Kernel driver in use: r8169
Kernel modules: r8169

04:00.0 PCI bridge: Integrated Technology Express, Inc. IT8892E PCIe to PCI Bridge (rev 10) (prog-if 01 [Subtractive decode])
Flags: fast devsel, IRQ 7
Bus: primary=04, secondary=05, subordinate=05, sec-latency=32
I/O behind bridge: [disabled]
Memory behind bridge: [disabled]
Prefetchable memory behind bridge: [disabled]
Capabilities:

06:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 04) (prog-if 30 [XHCI])
Subsystem: Gigabyte Technology Co., Ltd Device 5007
Flags: bus master, fast devsel, latency 0, IRQ 19
Memory at fbefe000 (64-bit, non-prefetchable) [size=8K]
Capabilities:
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci

You can use the Manjaro Harware Detection utility to install your Nvidia driver:

sudo mhwd -a pci nonfree 0300

Reference:
https://wiki.manjaro.org/index.php?title=Configure_NVIDIA_(non-free)_settings_and_load_them_on_Startup

[rico@H67A-MJRO ~]$ sudo mhwd -a pci nonfree 0300
[sudo] Passwort für rico:

Skipping already installed config ‘video-nvidia-450xx’ for device: 0000:01:00.0 (0300:10de:1c03) Display controller nVidia Corporation GP106 [GeForce GTX 1060 6GB]

Strange… :confused:

Maybe try the command @pobrn recommended. This will force a reinstall.

1 Like

[rico@H67A-MJRO ~]$ sudo mhwd -f -i pci video-nvidia-450xx

Removing video-nvidia-450xx…
Using default
Has lib32 support: true
Sourcing /var/lib/mhwd/local/pci/video-nvidia-450xx/MHWDCONFIG
Processing classid: 0300
Sourcing /var/lib/mhwd/scripts/include/0300
Processing classid: 0302
Prüfe Abhängigkeiten…
Fehler: Konnte den Vorgang nicht vorbereiten (Kann Abhängigkeiten nicht erfüllen)
:: Entfernen von nvidia-450xx-utils verletzt Abhängigkeit ‘nvidia-utils>=450.51.06’, benötigt von cuda
Error: pacman failed!
Error: script failed!

Should I remove Cuda first?

Yes, you can reinstall it afterwards.

1 Like

Alright, give me a minute :wink:

Successfully installed video-nvidia-450xx

And now reboot?

No, not yet!

First let’s check your /etc/mkinitcpio.conf. Post result of:

cat /etc/mkinitcpio.conf

Please - be patient, give me some time to answer. :sweat_smile:

1 Like

Ok, but what next?

Btw: Thank you very much, I really appreciate your efforts!

Sure :rofl:

[rico@H67A-MJRO ~]$ cat /etc/mkinitcpio.conf
# vim:set ft=sh
# MODULES
# The following modules are loaded before any boot hooks are
# run.  Advanced users may wish to specify all system modules
# in this array.  For instance:
#     MODULES=(piix ide_disk reiserfs)
MODULES=()

# BINARIES
# This setting includes any additional binaries a given user may
# wish into the CPIO image.  This is run last, so it may be used to
# override the actual binaries included by a given hook
# BINARIES are dependency parsed, so you may safely ignore libraries
BINARIES=()

# FILES
# This setting is similar to BINARIES above, however, files are added
# as-is and are not parsed in any way.  This is useful for config files.
FILES=()

# HOOKS
# This is the most important setting in this file.  The HOOKS control the
# modules and scripts added to the image, and what happens at boot time.
# Order is important, and it is recommended that you do not change the
# order in which HOOKS are added.  Run 'mkinitcpio -H <hook name>' for
# help on a given hook.
# 'base' is _required_ unless you know precisely what you are doing.
# 'udev' is _required_ in order to automatically load modules
# 'filesystems' is _required_ unless you specify your fs modules in MODULES
# Examples:
##   This setup specifies all modules in the MODULES setting above.
##   No raid, lvm2, or encrypted root is needed.
#    HOOKS=(base)
#
##   This setup will autodetect all modules for your system and should
##   work as a sane default
#    HOOKS=(base udev autodetect block filesystems)
#
##   This setup will generate a 'full' image which supports most systems.
##   No autodetection is done.
#    HOOKS=(base udev block filesystems)
#
##   This setup assembles a pata mdadm array with an encrypted root FS.
##   Note: See 'mkinitcpio -H mdadm' for more information on raid devices.
#    HOOKS=(base udev block mdadm encrypt filesystems)
#
##   This setup loads an lvm2 volume group on a usb device.
#    HOOKS=(base udev block lvm2 filesystems)
#
##   NOTE: If you have /usr on a separate partition, you MUST include the
#    usr, fsck and shutdown hooks.
HOOKS=(base udev autodetect modconf block filesystems keyboard fsck)

# COMPRESSION
# Use this to compress the initramfs image. By default, gzip compression
# is used. Use 'cat' to create an uncompressed image.
#COMPRESSION="gzip"
#COMPRESSION="bzip2"
#COMPRESSION="lzma"
#COMPRESSION="xz"
#COMPRESSION="lzop"
#COMPRESSION="lz4"

# COMPRESSION_OPTIONS
# Additional options for the compressor
#COMPRESSION_OPTIONS=()