Black screen after nvidia drivers instalation

Hi,

I tried to install the GPU driver from nvidia for my GPU (GeForce RTX3080 Mobile). Unfortunately after the installation, I have a black screen when I boot, I can have a terminal (with ctrl+alt+F# ).

I don’t know how to search because I tried some tutorials without success. This is the information I have.
I did a mhwd command an this is the result:

Network controller Realtek Semiconductor Co., Ltd.:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
         network-r8168            2016.04.20                true            PCI


Display controller nVidia Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-amd-nvidia-prime            2021.11.04               false            PCI
video-hybrid-amd-nvidia-470xx-prime            2021.11.04               false            PCI
          video-nvidia            2021.11.04               false            PCI
    video-nvidia-470xx            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


Display controller ATI Technologies Inc:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-amd-nvidia-prime            2021.11.04               false            PCI
video-hybrid-amd-nvidia-470xx-prime            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

now, the result of the inxi --admin --verbosity=7 --filter --no-host --width command:

System:
  Kernel: 5.15.85-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64
    root=UUID=c421fc16-2fab-4155-8c73-648621bf8218 rw nouveau.modeset=0 quiet
    apparmor=1 security=apparmor udev.log_priority=3
  Console: tty 5 DM: SDDM Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: ASUSTeK product: ROG Strix G533QS_G533QS v: 1.0
    serial: <filter>
  Mobo: ASUSTeK model: G533QS v: 1.0 serial: <filter> UEFI: American
    Megatrends LLC. v: G533QS.329 date: 06/30/2022
Battery:
  ID-1: BAT0 charge: 43.5 Wh (58.0%) condition: 75.0/90.0 Wh (83.4%)
    volts: 14.3 min: 15.9 model: AS3GWAF3KC GA50358 type: Li-ion serial: <filter>
    status: discharging
Memory:
  RAM: total: 30.78 GiB used: 1.18 GiB (3.8%)
  Array-1: capacity: 32 GiB slots: 2 EC: None max-module-size: 16 GiB
    note: est.
  Device-1: DIMM 0 type: DDR4 detail: synchronous unbuffered (unregistered)
    size: 16 GiB speed: 3200 MT/s volts: curr: 1.2 min: 1.2 max: 1.2
    width (bits): data: 64 total: 64 manufacturer: Samsung
    part-no: M471A2G43AB2-CWE serial: <filter>
  Device-2: DIMM 0 type: DDR4 detail: synchronous unbuffered (unregistered)
    size: 16 GiB speed: 3200 MT/s volts: curr: 1.2 min: 1.2 max: 1.2
    width (bits): data: 64 total: 64 manufacturer: Samsung
    part-no: M471A2G43AB2-CWE serial: <filter>
CPU:
  Info: model: AMD Ryzen 9 5900HX with Radeon Graphics socket: FP6 bits: 64
    type: MT MCP arch: Zen 3 gen: 4 level: v3 note: check built: 2021-22
    process: TSMC n7 (7nm) family: 0x19 (25) model-id: 0x50 (80) stepping: 0
    microcode: 0xA50000B
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
    L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB L3: 16 MiB
    desc: 1x16 MiB
  Speed (MHz): avg: 1331 high: 3300 min/max: 1200/4889 boost: enabled
    base/boost: 3300/4650 scaling: driver: acpi-cpufreq governor: schedutil
    volts: 1.2 V ext-clock: 100 MHz cores: 1: 1200 2: 1200 3: 1200 4: 3300
    5: 1200 6: 1200 7: 1200 8: 1200 9: 1200 10: 1200 11: 1200 12: 1200 13: 1200
    14: 1200 15: 1200 16: 1200 bogomips: 105443
  Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1
    bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero cmov cmp_legacy
    constant_tsc cpb cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total
    cqm_occup_llc cr8_legacy cx16 cx8 de decodeassists erms extapic
    extd_apicid f16c flushbyasid fma fpu fsgsbase fsrm fxsr fxsr_opt ht
    hw_pstate ibpb ibrs ibs invpcid irperf lahf_lm lbrv lm mba mca mce
    misalignsse mmx mmxext monitor movbe msr mtrr mwaitx nonstop_tsc nopl npt
    nrip_save nx ospke osvw overflow_recov pae pat pausefilter pclmulqdq
    pdpe1gb perfctr_core perfctr_llc perfctr_nb pfthreshold pge pku pni popcnt
    pse pse36 rapl rdpid rdpru rdrand rdseed rdt_a rdtscp rep_good sep sha_ni
    skinit smap smca smep ssbd sse sse2 sse4_1 sse4_2 sse4a ssse3 stibp succor
    svm svm_lock syscall tce topoext tsc tsc_scale umip v_spec_ctrl
    v_vmsave_vmload vaes vgif vmcb_clean vme vmmcall vpclmulqdq wbnoinvd wdt
    xgetbv1 xsave xsavec xsaveerptr xsaveopt xsaves
  Vulnerabilities:
  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 status: Not affected
  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: Retpolines, IBPB: conditional, IBRS_FW,
    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 GA104M [GeForce RTX 3080 Mobile / Max-Q 8GB/16GB]
    vendor: ASUSTeK driver: nvidia v: 525.78.01 alternate: nouveau,nvidia_drm
    non-free: 525.xx+ status: current (as of 2022-12) arch: Ampere code: GAxxx
    process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 1 speed: 2.5 GT/s lanes: 8
    link-max: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 01:00.0
    chip-ID: 10de:249c class-ID: 0300
  Device-2: AMD Cezanne [Radeon Vega Series / Radeon Mobile Series]
    vendor: ASUSTeK driver: amdgpu v: kernel arch: GCN-5.1 code: Vega-2
    process: TSMC n7 (7nm) built: 2018-21 pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s ports: active: eDP-1 empty: HDMI-A-1
    bus-ID: 05:00.0 chip-ID: 1002:1638 class-ID: 0300 temp: 36.0 C
  Display: x11 server: X.org v: 1.21.1.6 driver: X: loaded: nvidia
    gpu: amdgpu tty: 240x67
  Monitor-1: eDP-1 model: Sharp LQ156M1JW25 built: 2020 res: 1920x1080
    dpi: 142 gamma: 1.2 size: 344x194mm (13.54x7.64") diag: 395mm (15.5")
    ratio: 16:9 modes: max: 1920x1080 min: 640x480
  API: OpenGL Message: GL data unavailable in console for root.
Audio:
  Device-1: NVIDIA GA104 High Definition Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 8
    link-max: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 01:00.1
    chip-ID: 10de:228b class-ID: 0403
  Device-2: AMD Renoir Radeon High Definition Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s bus-ID: 05:00.1 chip-ID: 1002:1637
    class-ID: 0403
  Device-3: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: ASUSTeK driver: N/A
    alternate: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x pcie: gen: 3
    speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s bus-ID: 05:00.5
    chip-ID: 1022:15e2 class-ID: 0480
  Device-4: AMD Family 17h/19h HD Audio vendor: ASUSTeK driver: snd_hda_intel
    v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4
    speed: 16 GT/s bus-ID: 05:00.6 chip-ID: 1022:15e3 class-ID: 0403
  Sound API: ALSA v: k5.15.85-1-MANJARO running: yes
  Sound Server-1: JACK v: 1.9.21 running: no
  Sound Server-2: PulseAudio v: 16.1 running: no
  Sound Server-3: PipeWire v: 0.3.63 running: no
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: ASUSTeK driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1
    port: e000 bus-ID: 02:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp2s0 state: down mac: <filter>
  Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel pcie: gen: 2
    speed: 5 GT/s lanes: 1 bus-ID: 03:00.0 chip-ID: 8086:2723 class-ID: 0280
  IF: wlp3s0 state: down mac: <filter>
  WAN IP: No WAN IP found. Connected to web? SSL issues? Try enabling dig
Bluetooth:
  Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 3-4:2
    chip-ID: 8087:0029 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 982.78 GiB used: 160.08 GiB (16.3%)
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: SK Hynix model: HFM001TD3JX013N
    size: 953.87 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 type: SSD serial: <filter> rev: 41000C20 temp: 32.9 C scheme: GPT
  SMART: yes health: PASSED on: 283d 23h cycles: 3,448
    read-units: 26,459,872 [13.5 TB] written-units: 76,567,222 [39.2 TB]
  ID-2: /dev/sda maj-min: 8:0 type: USB vendor: Lexar model: USB Flash Drive
    size: 28.91 GiB block-size: physical: 512 B logical: 512 B type: SSD
    serial: <filter> rev: PMAP scheme: GPT
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 315.42 GiB size: 309.4 GiB (98.09%)
    used: 160.04 GiB (51.7%) fs: ext4 block-size: 4096 B dev: /dev/nvme0n1p5
    maj-min: 259:5 label: N/A uuid: c421fc16-2fab-4155-8c73-648621bf8218
  ID-2: /boot/efi raw-size: 260 MiB size: 256 MiB (98.46%)
    used: 42.4 MiB (16.6%) fs: vfat block-size: 512 B dev: /dev/nvme0n1p1
    maj-min: 259:1 label: N/A uuid: 00E6-E906
Swap:
  Alert: No swap data was found.
Unmounted:
  ID-1: /dev/nvme0n1p2 maj-min: 259:2 size: 16 MiB fs: N/A label: N/A uuid: N/A
  ID-2: /dev/nvme0n1p3 maj-min: 259:3 size: 491.1 GiB fs: ntfs label: OS
    uuid: 12301F96301F8041
  ID-3: /dev/nvme0n1p4 maj-min: 259:4 size: 126.95 GiB fs: ntfs label: DATA
    uuid: 440AC9B00AC99EF4
  ID-4: /dev/nvme0n1p6 maj-min: 259:6 size: 650 MiB fs: ntfs label: RECOVERY
    uuid: B4A4F540A4F50620
  ID-5: /dev/nvme0n1p7 maj-min: 259:7 size: 19.5 GiB fs: ntfs label: RESTORE
    uuid: 727C97877C97452F
  ID-6: /dev/sda1 maj-min: 8:1 size: 28.9 GiB fs: ntfs label: WINDOWSCLEF
    uuid: FC24050C2404CC18
  ID-7: /dev/sda2 maj-min: 8:2 size: 1024 KiB fs: vfat label: UEFI_NTFS
    uuid: 09BA-0F01
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 4 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 1-3:2 info: ASUSTek N-KEY Device type: Keyboard
    driver: asus,usbhid interfaces: 1 rev: 2.0 speed: 12 Mb/s power: 100mA
    chip-ID: 0b05:1866 class-ID: 0301
  Device-2: 1-4:3 info: ASUSTek N-KEY Device type: Keyboard
    driver: hid-generic,usbhid interfaces: 1 rev: 2.0 speed: 12 Mb/s power: 100mA
    chip-ID: 0b05:18c6 class-ID: 0301
  Hub-2: 2-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
  Device-1: 2-2:2 info: Lexar USB Flash Drive type: Mass Storage
    driver: usb-storage interfaces: 1 rev: 3.2 speed: 5 Gb/s power: 504mA
    chip-ID: 21c4:0cd1 class-ID: 0806 serial: <filter>
  Hub-3: 3-0:1 info: Hi-speed hub with single TT ports: 4 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 3-4:2 info: Intel AX200 Bluetooth type: Bluetooth driver: btusb
    interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 100mA chip-ID: 8087:0029
    class-ID: e001
  Hub-4: 4-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
  System Temperatures: cpu: 40.6 C mobo: N/A
  Fan Speeds (RPM): cpu: 0
  GPU: device: nvidia screen: :0.0 temp: 36 C device: amdgpu temp: 37.0 C
Info:
  Processes: 319 Uptime: 10m wakeups: 4 Init: systemd v: 252 default: graphical
  tool: systemctl Compilers: gcc: 12.2.0 alt: 10/11 clang: 14.0.6
  Packages: 1855 pm: pacman pkgs: 1836 libs: 446 tools: pamac,yay pm: rpm
  pkgs: 0 pm: flatpak pkgs: 0 pm: snap pkgs: 19 Shell: Bash (su) v: 5.1.16
  running-in: tty 5 inxi: 3.3.24

I think, unlike other topics I found, I have a conflict between two drivers for my GPU but I don’t know how to force the system to use only one. Additionally I want to use the nvidia driver because I installed it to be able to use CUDA technology for my work. So I think my problem can be resolved blacklisting the open source driver but I tried some commands without success.

Feel free to ask some other results from commands to help me :slight_smile:

post output from:
mhwd -li
ls /etc/modprobe.d
find /etc/X11/ -name "*.conf"

mhwd -li command:

Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2018.05.04                true            PCI
video-hybrid-amd-nvidia-prime            2021.12.18               false            PCI


Warning: No installed USB configs!

ls /etc/modprobe.d command:

mhwd-gpu.conf

/etc/X11/ -name "*.conf" command:

/etc/X11/xorg.conf
/etc/X11/xorg.conf.d/00-keyboard.conf
/etc/X11/xorg.conf.d/30-touchpad.conf
/etc/X11/mhwd.d/nvidia.conf

I did two others commands, I think it can help you:

cat /etc/modprobe.d/mhwd-gpu.conf command:

##
## Generated by mhwd - Manjaro Hardware Detection
##
 
blacklist nouveau
blacklist ttm
blacklist drm_kms_helper
blacklist drm
options nvidia "NVreg_DynamicPowerManagement=0x02"

cat /etc/X11/mhwd.d/nvidia.conf command:

##
## Generated by mhwd - Manjaro Hardware Detection
##
 
 

you have installed the proper drivers, so how did you got into the system if you ended up with a black screen?
the one conf that should not be there is the xorg one, so remove it:
sudo rm /etc/X11/xorg.conf
reboot

1 Like

Thanks a lot, it works now :slight_smile:

To answer you, I could run a tty terminal, and for the commands’ results, I used a USB key (so little manipulation with lsblk => mount => copy res => umount ahah)

Honestly I don’t understand why with the official documentation from NVIDIA I had this issue …

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