Heads-up - nVidia driver and dracut

The new nVidia driver (525.78.01-1) does not play well with dracut, after install it doesn’t load the correct renderer.

Created a file in /etc/dracut.conf.d containing:

omit_drivers+=" nvidia nvidia-drm nvidia-modeset nvidia-uvm "

Then rebuilt dracut. Rebooted and all working. My Machine is a Lenovo Legion:

System:
  Host: xircon-legion Kernel: 6.1.3-zen1-1-zen arch: x86_64 bits: 64
    compiler: gcc v: 12.2.0 Desktop: KDE Plasma v: 5.26.5 tk: Qt v: 5.15.8
    wm: kwin_wayland dm: 1: GDM note: stopped 2: SDDM Distro: EndeavourOS
    base: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 82JY v: Legion 5 17ACH6H
    serial: <superuser required> Chassis: type: 10 v: Legion 5 17ACH6H
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: SDK0R32862 WIN
    serial: <superuser required> UEFI: LENOVO v: GKCN58WW date: 09/15/2022
Battery:
  ID-1: BAT0 charge: 79.5 Wh (94.1%) condition: 84.5/80.0 Wh (105.7%)
    volts: 16.3 min: 15.4 model: Celxpert L20C4PC2 serial: 135
    status: not charging
CPU:
  Info: 8-core model: AMD Ryzen 7 5800H with Radeon Graphics bits: 64
    type: MT MCP arch: Zen 3 rev: 0 cache: L1: 512 KiB L2: 4 MiB L3: 16 MiB
  Speed (MHz): avg: 1884 high: 4442 min/max: 1200/4462 boost: enabled cores:
    1: 3200 2: 1200 3: 1200 4: 1200 5: 4442 6: 1200 7: 1200 8: 3200 9: 2607
    10: 1200 11: 1507 12: 1200 13: 1200 14: 3200 15: 1200 16: 1200
    bogomips: 102210
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: NVIDIA GA104M [GeForce RTX 3070 Mobile / Max-Q] vendor: Lenovo
    driver: nvidia v: 525.78.01 arch: Ampere pcie: speed: 5 GT/s lanes: 8 ports:
    active: none off: eDP-1 empty: DP-1,DP-2,HDMI-A-1 bus-ID: 01:00.0
    chip-ID: 10de:24dd
  Device-2: Acer Integrated Camera type: USB driver: uvcvideo bus-ID: 1-3:3
    chip-ID: 5986:2137
  Display: wayland server: X.org v: 1.21.1.6 with: Xwayland v: 22.1.7
    compositor: kwin_wayland driver: X: loaded: nvidia unloaded: modesetting
    alternate: fbdev,nouveau,nv,vesa gpu: nvidia,nvidia-nvswitch display-ID: 0
  Monitor-1: eDP-1 model: AU Optronics 0x449d res: 1920x1080 dpi: 128
    diag: 438mm (17.3")
  API: OpenGL v: 4.6.0 NVIDIA 525.78.01 renderer: NVIDIA GeForce RTX 3070
    Laptop GPU/PCIe/SSE2 direct render: Yes
1 Like

That probably makes you initrds much smaller too.

2 Likes