Black screen with non-free nvidia driver

Hello. I decided to install Garuda . The installation is completed and a reboot is underway. The password entry screen is completely normal. After entering the password, a black screen instead of the desktop + incorrect screen resolution (everything is greatly increased). The problem is only with the non-free nvidia driver. With a free driver, everything starts and works well. As soon as I install a non-free driver, reboot, the login screen is normal, but instead of the desktop there is a black screen and the screen resolution is not determined. I’ve tried Manjaro and EndeavourOS. The problem is the same in Manjaro as in Garuda linux. In Endeavors, the non-free driver works well and there are no problems.

Machine:
  Type: Desktop System: Gigabyte product: B450M DS3H v: N/A
    serial: <superuser required>
  Mobo: Gigabyte model: B450M DS3H-CF v: x.x serial: <superuser required>
    UEFI-[Legacy]: American Megatrends v: F50 date: 11/27/2019
CPU:
  Info: model: AMD Ryzen 5 3600 bits: 64 type: MT MCP arch: Zen 2 gen: 3
    level: v3 note: check built: 2020-22 process: TSMC n7 (7nm) family: 0x17 (23)
    model-id: 0x71 (113) stepping: 0 microcode: 0x8701013
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
    L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB L3: 32 MiB
    desc: 2x16 MiB
  Speed (MHz): avg: 3015 high: 4191 min/max: 2200/4208 boost: enabled
    scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 4191 2: 4134
    3: 4175 4: 2200 5: 2200 6: 2200 7: 4185 8: 4109 9: 2200 10: 2192 11: 2200
    12: 2200 bogomips: 86278
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed mitigation: untrained return thunk; SMT enabled with STIBP
    protection
  Type: spec_rstack_overflow mitigation: Safe RET
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, STIBP:
    always-on, RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA TU106 [GeForce RTX 2060 SUPER] driver: nouveau v: kernel
    non-free: 545.xx+ status: current (as of 2023-11; EOL~2026-12-xx)
    arch: Turing code: TUxxx process: TSMC 12nm FF built: 2018-2022 pcie:
    gen: 1 speed: 2.5 GT/s lanes: 16 link-max: gen: 3 speed: 8 GT/s ports:
    active: HDMI-A-1 empty: DP-1,DVI-D-1 bus-ID: 06:00.0 chip-ID: 10de:1f06
    class-ID: 0300 temp: 36.0 C
  Display: x11 server: X.Org v: 21.1.10 with: Xwayland v: 23.2.3
    compositor: kwin_x11 driver: X: loaded: modesetting alternate: fbdev,vesa
    dri: nouveau gpu: nouveau display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
    s-diag: 582mm (22.93") monitors: <missing: xrandr>
  Monitor-1: HDMI-A-1 model: Philips 24M1N3200V serial: <filter> built: 2022
    res: 1920x1080 dpi: 93 gamma: 1.2 size: 527x296mm (20.75x11.65")
    diag: 604mm (23.8") ratio: 16:9 modes: max: 1920x1080 min: 720x400
  API: EGL v: 1.5 hw: drv: nvidia nouveau platforms: device: 0 drv: nouveau
    device: 1 drv: swrast gbm: drv: nouveau surfaceless: drv: nouveau x11:
    drv: nouveau inactive: wayland
  API: OpenGL v: 4.5 compat-v: 4.3 vendor: mesa v: 23.3.3-manjaro1.1
    glx-v: 1.4 direct-render: yes renderer: NV166 device-ID: 10de:1f06
    memory: 7.79 GiB unified: no
  API: Vulkan Message: No Vulkan data available.
Audio:
  Device-1: NVIDIA TU106 High Definition Audio driver: snd_hda_intel v: kernel
    pcie: gen: 1 speed: 2.5 GT/s lanes: 16 link-max: gen: 3 speed: 8 GT/s
    bus-ID: 06:00.1 chip-ID: 10de:10f9 class-ID: 0403
  Device-2: AMD Starship/Matisse HD Audio vendor: Gigabyte
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 08:00.4 chip-ID: 1022:1487 class-ID: 0403
  API: ALSA v: k6.6.10-1-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 1.0.0 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Gigabyte driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: f000 bus-ID: 04:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:
  Local Storage: total: 454.43 GiB used: 7.68 GiB (1.7%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Crucial model: CT480BX500SSD1
    size: 447.13 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 052 scheme: MBR
  ID-2: /dev/sdb maj-min: 8:16 vendor: Silicon Power model: UFD 2.0 8G
    size: 7.3 GiB block-size: physical: 512 B logical: 512 B type: USB rev: 2.0
    spd: 480 Mb/s lanes: 1 mode: 2.0 tech: N/A serial: <filter> fw-rev: 1.00
    scheme: MBR
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
  ID-1: / raw-size: 447.13 GiB size: 447.13 GiB (100.00%) used: 7.68 GiB (1.7%)
    fs: btrfs dev: /dev/sda1 maj-min: 8:1
  ID-2: /home raw-size: 447.13 GiB size: 447.13 GiB (100.00%)
    used: 7.68 GiB (1.7%) fs: btrfs dev: /dev/sda1 maj-min: 8:1
  ID-3: /var/log raw-size: 447.13 GiB size: 447.13 GiB (100.00%)
    used: 7.68 GiB (1.7%) fs: btrfs dev: /dev/sda1 maj-min: 8:1
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 48.8 C mobo: 31.0 C gpu: nouveau temp: 35.0 C
  Fan Speeds (rpm): N/A gpu: nouveau fan: 500
1 Like

Can you provide a full copy of your

garuda-inxi

4 Likes
System:
Kernel: 6.5.9-zen2-1-zen arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
clocksource: tsc available: kvm-clock,acpi_pm
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=af767ec7-9fb7-4a59-91b3-d3a9bba487e6 rw rootflags=subvol=@
quiet loglevel=3 ibt=off
Desktop: KDE Plasma v: 5.27.9 tk: Qt v: 5.15.11 wm: kwin_x11 vt: 2
dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Desktop System: Gigabyte product: B450M DS3H v: N/A
    serial: <superuser required>
  Mobo: Gigabyte model: B450M DS3H-CF v: x.x serial: <superuser required>
    UEFI-[Legacy]: American Megatrends v: F50 date: 11/27/2019
CPU:
  Info: model: AMD Ryzen 5 3600 bits: 64 type: MT MCP arch: Zen 2 gen: 3
    level: v3 note: check built: 2020-22 process: TSMC n7 (7nm) family: 0x17 (23)
    model-id: 0x71 (113) stepping: 0 microcode: 0x8701013
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
    L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB L3: 32 MiB
    desc: 2x16 MiB
  Speed (MHz): avg: 3015 high: 4191 min/max: 2200/4208 boost: enabled
    scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 4191 2: 4134
    3: 4175 4: 2200 5: 2200 6: 2200 7: 4185 8: 4109 9: 2200 10: 2192 11: 2200
    12: 2200 bogomips: 86278
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed mitigation: untrained return thunk; SMT enabled with STIBP
    protection
  Type: spec_rstack_overflow mitigation: Safe RET
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, STIBP:
    always-on, RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA TU106 [GeForce RTX 2060 SUPER] driver: nouveau v: kernel
    non-free: 545.xx+ status: current (as of 2023-11; EOL~2026-12-xx)
    arch: Turing code: TUxxx process: TSMC 12nm FF built: 2018-2022 pcie:
    gen: 1 speed: 2.5 GT/s lanes: 16 link-max: gen: 3 speed: 8 GT/s ports:
    active: HDMI-A-1 empty: DP-1,DVI-D-1 bus-ID: 06:00.0 chip-ID: 10de:1f06
    class-ID: 0300 temp: 36.0 C
  Display: x11 server: X.Org v: 21.1.10 with: Xwayland v: 23.2.3
    compositor: kwin_x11 driver: X: loaded: modesetting alternate: fbdev,vesa
    dri: nouveau gpu: nouveau display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
    s-diag: 582mm (22.93") monitors: <missing: xrandr>
  Monitor-1: HDMI-A-1 model: Philips 24M1N3200V serial: <filter> built: 2022
    res: 1920x1080 dpi: 93 gamma: 1.2 size: 527x296mm (20.75x11.65")
    diag: 604mm (23.8") ratio: 16:9 modes: max: 1920x1080 min: 720x400
  API: EGL v: 1.5 hw: drv: nvidia nouveau platforms: device: 0 drv: nouveau
    device: 1 drv: swrast gbm: drv: nouveau surfaceless: drv: nouveau x11:
    drv: nouveau inactive: wayland
  API: OpenGL v: 4.5 compat-v: 4.3 vendor: mesa v: 23.3.3-manjaro1.1
    glx-v: 1.4 direct-render: yes renderer: NV166 device-ID: 10de:1f06
    memory: 7.79 GiB unified: no
  API: Vulkan Message: No Vulkan data available.
Audio:
  Device-1: NVIDIA TU106 High Definition Audio driver: snd_hda_intel v: kernel
    pcie: gen: 1 speed: 2.5 GT/s lanes: 16 link-max: gen: 3 speed: 8 GT/s
    bus-ID: 06:00.1 chip-ID: 10de:10f9 class-ID: 0403
  Device-2: AMD Starship/Matisse HD Audio vendor: Gigabyte
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 08:00.4 chip-ID: 1022:1487 class-ID: 0403
  API: ALSA v: k6.6.10-1-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 1.0.0 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Gigabyte driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: f000 bus-ID: 04:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:
  Local Storage: total: 454.43 GiB used: 7.68 GiB (1.7%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Crucial model: CT480BX500SSD1
    size: 447.13 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 052 scheme: MBR
  ID-2: /dev/sdb maj-min: 8:16 vendor: Silicon Power model: UFD 2.0 8G
    size: 7.3 GiB block-size: physical: 512 B logical: 512 B type: USB rev: 2.0
    spd: 480 Mb/s lanes: 1 mode: 2.0 tech: N/A serial: <filter> fw-rev: 1.00
    scheme: MBR
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
  ID-1: / raw-size: 447.13 GiB size: 447.13 GiB (100.00%) used: 7.68 GiB (1.7%)
    fs: btrfs dev: /dev/sda1 maj-min: 8:1
  ID-2: /home raw-size: 447.13 GiB size: 447.13 GiB (100.00%)
    used: 7.68 GiB (1.7%) fs: btrfs dev: /dev/sda1 maj-min: 8:1
  ID-3: /var/log raw-size: 447.13 GiB size: 447.13 GiB (100.00%)
    used: 7.68 GiB (1.7%) fs: btrfs dev: /dev/sda1 maj-min: 8:1
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 48.8 C mobo: 31.0 C gpu: nouveau temp: 35.0 C
  Fan Speeds (rpm): N/A gpu: nouveau fan: 500
Info:
Processes: 213 Uptime: 0m wakeups: 9 Memory: total: 4.38 GiB
available: 16 GiB used: 1.16 GiB (7.25%) Init: systemd v: 254
default: graphical tool: systemctl Compilers: gcc: 13.2.1 Packages:
pm: pacman pkgs: 1189 libs: 344 tools: octopi,paru Shell: fish v: 3.6.1
running-in: konsole inxi: 3.3.30
Garuda (2.6.17-1):
System install date:     2024-02-20
Last full system update: 2024-02-20
Is partially upgraded:   Yes
Relevant software:       snapper NetworkManager dracut
Windows dual boot:       <superuser required>
Failed units:

Did you try other nvidia driver? Which one use EnOS?
Did you try other kernel?
Did you search in the forum about your GPU?
On black screen you can use TTY?

3 Likes

I tried using your application to install drivers. The old and new driver versions. The application installs the driver, but does not allow it to switch to it, and after restarting, only a black screen again. The driver version 545.29.06 is installed in EOS. I cannot use the terminal in the black screen. No keyboard shortcuts work. Everything is very much enlarged. I have not tried to install another kernel. This problem is only in Garuda linux and Manjaro. I suspect that the driver manager is somehow involved.

Why this? Are you holding back a package for some reason?
If not, this should be fixed with a:

garuda-update

and reboot.

3 Likes

It doesn’t help. When installing a proprietary driver, a black screen appears again and the system has to be reinstalled.

OK, avoiding the partial upgrade was more of a best practice, not necessarily a solution.
Another probably unrelated issue that I would look into is this:

Does it change anything if you set the BIOS to UEFI mode (not legacy)?
If you have to reinstall, maybe try doing it in UEFI mode (not legacy).
And since you’re there, maybe check for a BIOS update.
Speaking of reinstalls, just a hint: in cases like this, if it is likely that the problem is “only” with graphical drivers, it is always worth trying to boot to a TTY and from there install, remove, etc. what you need.
Or perhaps, boot into the latest working snapshot and restore it with the btrfs-assistant and reboot.

3 Likes

Basics: NVIDIA - ArchWiki

Test by completing the installation with open source drivers, reboot, bring it fully up to date, then install the Nvidia drivers separately with Pacman according to these instructions:

sudo pacman -S nvidia-dkms
3 Likes

Thanks! I have completed the download with a free driver. The system automatically updated the kernel, and then installed a proprietary driver and everything worked. I think the point was that a non-new kernel version is being installed from the ISO image and a new version of the proprietary driver is being installed. Because of this, such an error occurs. There was no conflict in EOS because I was using an online installation and therefore the installer was installing a new version of the kernel and driver initially.

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