No graphic card driver seems to work

Hello everyone,

after the latest stable update there was some problem with my graphic card driver and my system booted into a black screen. I was using video-linux and changed to video-modesetting which solved the problem.

(base) david-ssd% mhwd -li
> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
     video-modesetting            2020.01.13                true            PCI



However, the system freezes from time to time with this driver.
Now, I am really not sure which driver to use. The available drivers are:

(base) david-ssd% mhwd -l
> 0000:01:00.0 (0300:10de:11c6) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
    video-nvidia-470xx            2021.11.04               false            PCI
    video-nvidia-390xx            2021.11.04               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI


> 0000:04:00.0 (0200:10ec:8168) Network controller Realtek Semiconductor Co., Ltd.:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
         network-r8168            2016.04.20                true            PCI


> 0000:00:02.0 (0380:8086:0152) Display controller Intel Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2018.05.04                true            PCI

I read that video-vesa is only for really old hardware, video-linux is not working, video-nvidia-470xx can not be installed (the error message is error: target not found: linux512-nvidia-470xx) and video-nvidia-390xx is not supported since the latest stable update.

Here is some information about my system:

(base) david-ssd% inxi -Fazy
System:
  Kernel: 5.15.2-2-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64
  root=UUID=220113d4-7c42-4307-b854-540214ec07d1 rw quiet splash apparmor=1
  security=apparmor udev.log_priority=3
  Desktop: GNOME 41.1 tk: GTK 3.24.30 wm: gnome-shell dm: GDM 41.0
  Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: ASUSTeK model: P8B75-M LX PLUS v: Rev X.0x
  serial: <superuser required> UEFI: American Megatrends v: 0501
  date: 10/10/2012
CPU:
  Info: Quad Core model: Intel Core i5-3330 bits: 64 type: MCP
  arch: Ivy Bridge family: 6 model-id: 3A (58) stepping: 9 microcode: 21
  cache: L1: 256 KiB L2: 1024 KiB L3: 6 MiB
  flags: avx ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 bogomips: 23955
  Speed: 2438 MHz min/max: 1600/3200 MHz Core speeds (MHz): 1: 2053 2: 1664
  3: 1710 4: 1780
  Vulnerabilities: Type: itlb_multihit status: KVM: VMX unsupported
  Type: l1tf mitigation: PTE Inversion
  Type: mds mitigation: Clear CPU buffers; SMT disabled
  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: disabled, RSB filling
  Type: srbds status: Vulnerable: No microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel Xeon E3-1200 v2/3rd Gen Core processor Graphics
  vendor: ASUSTeK P8H77-I driver: i915 v: kernel bus-ID: 00:02.0
  chip-ID: 8086:0152 class-ID: 0380
  Device-2: NVIDIA GK106 [GeForce GTX 650 Ti] vendor: Gigabyte driver: nouveau
  v: kernel bus-ID: 01:00.0 chip-ID: 10de:11c6 class-ID: 0300
  Device-3: Microdia Webcam Vitade AF type: USB driver: snd-usb-audio,uvcvideo
  bus-ID: 2-1.5:3 chip-ID: 0c45:6366 class-ID: 0102 serial: <filter>
  Display: wayland server: X.org 1.21.1.1 compositor: gnome-shell driver:
  loaded: modesetting alternate: fbdev,vesa display-ID: 0
  resolution: <missing: xdpyinfo>
  OpenGL: renderer: NVE6 v: 4.3 Mesa 21.2.5 direct render: Yes
Audio:
  Device-1: Intel 7 Series/C216 Family High Definition Audio
  vendor: ASUSTeK P8Z77-V LX driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
  chip-ID: 8086:1e20 class-ID: 0403
  Device-2: NVIDIA GK106 HDMI Audio vendor: Gigabyte driver: snd_hda_intel
  v: kernel bus-ID: 01:00.1 chip-ID: 10de:0e0b class-ID: 0403
  Device-3: Microdia Webcam Vitade AF type: USB driver: snd-usb-audio,uvcvideo
  bus-ID: 2-1.5:3 chip-ID: 0c45:6366 class-ID: 0102 serial: <filter>
  Sound Server-1: ALSA v: k5.15.2-2-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.19 running: no
  Sound Server-3: PulseAudio v: 15.0 running: yes
  Sound Server-4: PipeWire v: 0.3.40 running: yes
Network:
  Device-1: Realtek RTL8192CE PCIe Wireless Network Adapter vendor: ASUSTeK
  driver: rtl8192ce v: kernel port: d000 bus-ID: 03:00.0 chip-ID: 10ec:8178
  class-ID: 0280
  IF: wlp3s0 state: up mac: <filter>
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
  vendor: ASUSTeK P8 series driver: r8169 v: kernel port: c000 bus-ID: 04:00.0
  chip-ID: 10ec:8168 class-ID: 0200
  IF: enp4s0 state: down mac: <filter>
Drives:
  Local Storage: total: 1.36 TiB used: 165.39 GiB (11.8%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/sda maj-min: 8:0 vendor: SanDisk model: SDSSDH3 500G
  size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
  type: SSD serial: <filter> rev: 00RL scheme: GPT
  ID-2: /dev/sdb maj-min: 8:16 vendor: Hitachi model: HDS721010DLE630
  size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 3.0 Gb/s
  type: HDD rpm: 7200 serial: <filter> rev: A650 scheme: GPT
Partition:
  ID-1: / raw-size: 57.74 GiB size: 56.53 GiB (97.91%) used: 36.01 GiB (63.7%)
  fs: ext4 dev: /dev/sda3 maj-min: 8:3
  ID-2: /boot/efi raw-size: 513 MiB size: 512 MiB (99.80%)
  used: 312 KiB (0.1%) fs: vfat dev: /dev/sda4 maj-min: 8:4
  ID-3: /home raw-size: 372.53 GiB size: 365.62 GiB (98.14%)
  used: 129.38 GiB (35.4%) fs: ext4 dev: /dev/sda1 maj-min: 8:1
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 7.45 GiB used: 0 KiB (0.0%) priority: -2
  dev: /dev/sda2 maj-min: 8:2
Sensors:
  System Temperatures: cpu: 29.8 C mobo: 27.8 C gpu: nouveau temp: 28.0 C
  Fan Speeds (RPM): N/A gpu: nouveau fan: 1380
Info:
  Processes: 230 Uptime: 15m wakeups: 0 Memory: 7.63 GiB
  used: 2.08 GiB (27.2%) Init: systemd v: 249 tool: systemctl Compilers:
  gcc: 11.1.0 Packages: pacman: 1560 lib: 387 flatpak: 0 Shell: Zsh v: 5.8
  running-in: gnome-terminal inxi: 3.3.09

Referring to update on 2021-11-19 :
"Especially Nvidia Fermi and Keppler users should read the Troubleshoot post to avoid non-loading desktops … "
…yours is a Kepler card.

Nvidia 495xx driver series drops Keppler support.

With the new 495xx driver series a lot of Wayland adjustments got added. Also Nvidia decided to remove Keppler support . Therefore you may want to switch drivers to 470xx series, which still supports those graphic cards:

sudo mhwd -r pci video-nvidia
sudo mhwd -i pci video-nvidia-470xx

…all this is in the first post from last update.

Given their dual-graphics … I think they actually want
video-hybrid-intel-nvidia-470xx-prime

1 Like

Thank you, I had a typo in my post above. I did try to install video-nvidia-470xx (I wrote video-nvidia-720xx), but the installation failed with the error message error: target not found: linux512-nvidia-470xx.

For some reason, the installation fails:

(base) david-ssd% sudo mhwd -i pci video-hybrid-intel-nvidia-470xx-prime
Warning: no matching device for config 'video-hybrid-intel-nvidia-470xx-prime' found!
> Installing video-hybrid-intel-nvidia-470xx-prime...
Sourcing /etc/mhwd-x86_64.conf
Has lib32 support: true
Sourcing /var/lib/mhwd/db/pci/graphic_drivers/hybrid-intel-nvidia-470xx-prime/MHWDCONFIG
Processing classid: 0300
Sourcing /var/lib/mhwd/scripts/include/0300
:: Synchronizing package databases...
 core downloading...
 extra downloading...
 community downloading...
 multilib downloading...
error: target not found: linux512-nvidia-470xx
Error: pacman failed!
Error: script failed!

You have an EOL kernel. please fix … as in install another kernel, probably an LTS (like 5.10), boot into it and remove this 5.12, and try again.

1 Like

I am still getting the same error:

(base) david-ssd% mhwd-kernel -li
Currently running: 5.10.79-1-MANJARO (linux510)
The following kernels are installed in your system:
   * linux414
   * linux419
   * linux510
   * linux512
   * linux515
   * linux54
(base) david-ssd% sudo mhwd -i pci video-hybrid-intel-nvidia-470xx-prime
Warning: no matching device for config 'video-hybrid-intel-nvidia-470xx-prime' found!
> Installing video-hybrid-intel-nvidia-470xx-prime...
Sourcing /etc/mhwd-x86_64.conf
Has lib32 support: true
Sourcing /var/lib/mhwd/db/pci/graphic_drivers/hybrid-intel-nvidia-470xx-prime/MHWDCONFIG
Processing classid: 0300
Sourcing /var/lib/mhwd/scripts/include/0300
:: Synchronizing package databases...
 core downloading...
 extra downloading...
 community downloading...
 multilib downloading...
error: target not found: linux512-nvidia-470xx
Error: pacman failed!
Error: script failed!

The same is the case for video-nvidia-470xx.

Remove 512 as well … modules cannot be processed or it because it no longer exists …

Once you are sure to have booted into a different kernel (uname -a) then you may delete it:

sudo mhwd-kernel -r linux512
1 Like

Thank you, that worked!

Is this driver being used automatically after the installation?

(base) david-ssd% mhwd -li -d
   NAME:	video-hybrid-intel-nvidia-470xx-prime
   ATTACHED:	PCI
   VERSION:	2021.11.04
   INFO:	Hybrid prime solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source intel driver.
   PRIORITY:	7
   FREEDRIVER:	false
   DEPENDS:	video-modesetting 
   CONFLICTS:	video*nvidia* 
   CLASSIDS:	0300 0302 0300 
   VENDORIDS:	10de 8086 

   NAME:	video-modesetting
   ATTACHED:	PCI
   VERSION:	2020.01.13
   INFO:	X.org modesetting video driver.
   PRIORITY:	1
   FREEDRIVER:	true
   DEPENDS:	-
   CONFLICTS:	-
   CLASSIDS:	0300 
   VENDORIDS:	* 

Can you post mhwd -li on console ?

You are welcome,
But no … please grasp how PRIME functions:

https://wiki.manjaro.org/index.php/Configure_Graphics_Cards#nvidia-prime

Ex:

glxinfo | grep 'renderer string'
prime-run glxinfo | grep 'renderer string'
1 Like
(base) david-ssd% mhwd -li
> 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!

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