Black screen with Nvidia drivers

Today I installed Manjaro on the main machine, configured, updated. And what to play decided to roll PortProton. When starting Half-Life 2, everything lagged like crazy and it was impossible to play. And I realized that I need to install the Nvidia drivers. I didn’t steam through the terminal and installed the driver through the Manjaro settings. But after installation, a black screen appeared, and the TV wrote that there was no image. Already tried Deepin, Ubuntu, Kali, Alt, Mint. And even Windowsfx, But there is also such a problem.

Help me understand what the problem is. If anything I can boot from the integrated graphics

since it happens with other OS too, maybe there is some incompability with the nvidia driver, and your hardware (cable, TV…)
post system info:
inxi -zav7
mhwd -l -li

Are you on a laptop connected to a TV?

no, i have a pc

inxi -zav7                                                       ✔ 
System:
  Kernel: 6.1.29-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-6.1-x86_64
    root=UUID=4a9ee43d-b299-4bf0-916c-3ce12b276af4 rw rootflags=subvol=@
    quiet splash apparmor=1 security=apparmor udev.log_priority=3
  Desktop: GNOME v: 43.5 tk: GTK v: 3.24.37 wm: gnome-shell dm: GDM v: 44.0
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: MSI model: Z77IA-E53 (MS-7733) v: 2.0
    serial: <superuser required> UEFI: American Megatrends v: 10.5
    date: 10/30/2013
Battery:
  Message: No system battery data found. Is one present?
Memory:
  System RAM: available: 15.5 GiB used: 2.38 GiB (15.3%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges
    required.
CPU:
  Info: model: Intel Core i7-2600 bits: 64 type: MT MCP arch: Sandy Bridge
    gen: core 2 level: v2 built: 2010-12 process: Intel 32nm family: 6
    model-id: 0x2A (42) stepping: 7 microcode: 0x2F
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
    L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
    L3: 8 MiB desc: 1x8 MiB
  Speed (MHz): avg: 1600 min/max: 1600/3800 scaling: driver: intel_cpufreq
    governor: schedutil cores: 1: 1600 2: 1600 3: 1600 4: 1600 5: 1600 6: 1600
    7: 1600 8: 1600 bogomips: 54417
  Flags: acpi aes aperfmperf apic arat arch_perfmon avx bts clflush cmov
    constant_tsc cpuid cx16 cx8 de ds_cpl dtes64 dtherm dts epb ept est
    flexpriority flush_l1d fpu fxsr ht ibpb ibrs ida lahf_lm lm mca mce
    md_clear mmx monitor msr mtrr nonstop_tsc nopl nx pae pat pbe pcid
    pclmulqdq pdcm pebs pge pln pni popcnt pse pse36 pti pts rdtscp rep_good
    sep smx ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow
    tsc tsc_deadline_timer vme vmx vnmi vpid x2apic xsave xsaveopt xtopology
    xtpr
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT
    vulnerable
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data status: Unknown: No mitigations
  Type: retbleed status: Not affected
  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, IBRS_FW,
    STIBP: conditional, RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics
    vendor: Micro-Star MSI driver: i915 v: kernel arch: Gen-6 code: Sandybridge
    process: Intel 32nm built: 2011 ports: active: HDMI-A-1 empty: DP-1,VGA-1
    bus-ID: 00:02.0 chip-ID: 8086:0102 class-ID: 0300
  Device-2: NVIDIA TU104 [GeForce RTX 2060] vendor: eVga.com. driver: nvidia
    v: 470.182.03 alternate: nouveau,nvidia_drm non-free: 530.xx+
    status: current (as of 2023-05) arch: Turing code: TUxxx
    process: TSMC 12nm FF built: 2018-22 pcie: gen: 1 speed: 2.5 GT/s
    lanes: 16 link-max: gen: 2 speed: 5 GT/s bus-ID: 01:00.0
    chip-ID: 10de:1e89 class-ID: 0300
  Display: x11 server: X.org v: 1.21.1.8 with: Xwayland v: 23.1.1
    compositor: gnome-shell driver: X: loaded: modesetting,nvidia
    unloaded: nouveau alternate: fbdev,nv,vesa dri: crocus gpu: i915
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-size: <missing: xdpyinfo>
  Monitor-1: HDMI-A-1 mapped: HDMI-1 model: KIVI TV serial: <filter>
    built: 2019 res: 1920x1080 hz: 60 dpi: 69 gamma: 1.2
    size: 708x398mm (27.87x15.67") diag: 1388mm (54.6") ratio: 16:9 modes:
    max: 1920x1080 min: 720x400
  API: OpenGL v: 3.3 Mesa 23.0.3 renderer: Mesa Intel HD Graphics 2000 (SNB
    GT1) direct-render: Yes
Audio:
  Device-1: Intel 7 Series/C216 Family High Definition Audio
    vendor: Micro-Star MSI driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
    chip-ID: 8086:1e20 class-ID: 0403
  Device-2: NVIDIA TU104 HD Audio vendor: eVga.com. driver: snd_hda_intel
    v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 16 link-max: gen: 2
    speed: 5 GT/s bus-ID: 01:00.1 chip-ID: 10de:10f8 class-ID: 0403
  API: ALSA v: k6.1.29-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: 0.3.70 status: off tools: pw-cli
  Server-3: PulseAudio v: 16.1 status: active with: pulseaudio-alsa
    type: plugin tools: pacat,pactl
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Micro-Star MSI driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: d000 bus-ID: 03:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp3s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: global
  IP v6: <filter> type: noprefixroute scope: global
  IP v6: <filter> type: noprefixroute scope: link
  Device-2: Qualcomm Atheros AR9271 802.11n driver: ath9k_htc type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-1.4:3
    chip-ID: 0cf3:9271 class-ID: ff00 serial: <filter>
  IF: wlp0s26u1u4 state: down mac: <filter>
  WAN IP: <filter>
Bluetooth:
  Device-1: Qualcomm Atheros AR3011 Bluetooth driver: N/A type: USB rev: 1.1
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-1.5:5 chip-ID: 0cf3:3002
    class-ID: e001
  Report: This feature requires one of these tools: hciconfig/bt-adapter
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 715.41 GiB used: 19.72 GiB (2.8%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/sda maj-min: 8:0 vendor: TeamGroup model: T253512GB
    size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 0.2 scheme: GPT
  ID-2: /dev/sdb maj-min: 8:16 vendor: Toshiba model: THNSNJ256WMCU
    size: 238.47 GiB block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 0101 scheme: GPT
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 238.17 GiB size: 238.17 GiB (100.00%)
    used: 19.72 GiB (8.3%) fs: btrfs dev: /dev/sdb2 maj-min: 8:18 label: N/A
    uuid: 4a9ee43d-b299-4bf0-916c-3ce12b276af4
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 576 KiB (0.2%) fs: vfat dev: /dev/sdb1 maj-min: 8:17 label: N/A
    uuid: F695-79F1
  ID-3: /home raw-size: 238.17 GiB size: 238.17 GiB (100.00%)
    used: 19.72 GiB (8.3%) fs: btrfs dev: /dev/sdb2 maj-min: 8:18 label: N/A
    uuid: 4a9ee43d-b299-4bf0-916c-3ce12b276af4
  ID-4: /var/cache raw-size: 238.17 GiB size: 238.17 GiB (100.00%)
    used: 19.72 GiB (8.3%) fs: btrfs dev: /dev/sdb2 maj-min: 8:18 label: N/A
    uuid: 4a9ee43d-b299-4bf0-916c-3ce12b276af4
  ID-5: /var/log raw-size: 238.17 GiB size: 238.17 GiB (100.00%)
    used: 19.72 GiB (8.3%) fs: btrfs dev: /dev/sdb2 maj-min: 8:18 label: N/A
    uuid: 4a9ee43d-b299-4bf0-916c-3ce12b276af4
Swap:
  Alert: No swap data was found.
Unmounted:
  ID-1: /dev/sda1 maj-min: 8:1 size: 100 MiB fs: vfat label: N/A
    uuid: 14A6-CB98
  ID-2: /dev/sda2 maj-min: 8:2 size: 294.92 GiB fs: ntfs label: System
    uuid: 01D97A63C1D59010
  ID-3: /dev/sda3 maj-min: 8:3 size: 181.91 GiB fs: ntfs label: N/A
    uuid: 18A4618DA4616DE6
USB:
  Hub-1: 1-0:1 info: full speed or root hub ports: 2 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-2: 1-1:2 info: Intel Integrated Rate Matching Hub ports: 6 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 8087:0024
    class-ID: 0900
  Device-1: 1-1.4:3 info: Qualcomm Atheros AR9271 802.11n type: Network
    driver: ath9k_htc interfaces: 1 rev: 2.0 speed: 480 Mb/s (57.2 MiB/s)
    lanes: 1 mode: 2.0 power: 500mA chip-ID: 0cf3:9271 class-ID: ff00
    serial: <filter>
  Device-2: 1-1.5:5 info: Qualcomm Atheros AR3011 Bluetooth type: bluetooth
    driver: N/A interfaces: 2 rev: 1.1 speed: 12 Mb/s (1.4 MiB/s) lanes: 1
    mode: 1.1 power: 100mA chip-ID: 0cf3:3002 class-ID: e001
  Hub-3: 2-0:1 info: full speed or root hub ports: 2 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-4: 2-1:2 info: Intel Integrated Rate Matching Hub ports: 8 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 8087:0024
    class-ID: 0900
  Hub-5: 2-1.8:3 info: Terminus Hub ports: 4 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 100mA
    chip-ID: 1a40:0101 class-ID: 0900
  Device-1: 2-1.8.3:4 info: Logitech G102/G203 LIGHTSYNC Gaming Mouse
    type: mouse,HID driver: hid-generic,usbhid interfaces: 2 rev: 2.0
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 300mA
    chip-ID: 046d:c092 class-ID: 0300 serial: <filter>
  Device-2: 2-1.8.4:5 info: China Resource Semico USB Keyboard
    type: keyboard,HID driver: hid-generic,usbhid interfaces: 2 rev: 1.1
    speed: 1.5 Mb/s (183 KiB/s) lanes: 1 mode: 1.0 power: 98mA
    chip-ID: 1a2c:2c27 class-ID: 0300
  Hub-6: 3-0:1 info: hi-speed hub with single TT ports: 4 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-7: 4-0:1 info: super-speed hub ports: 4 rev: 3.0
    speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1 chip-ID: 1d6b:0003
    class-ID: 0900
Sensors:
  System Temperatures: cpu: 42.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 287 Uptime: 3m wakeups: 0 Init: systemd v: 252 default: graphical
  tool: systemctl Compilers: gcc: 12.2.1 clang: 15.0.7 Packages: 1287
  pm: pacman pkgs: 1279 libs: 375 tools: gnome-software,pamac pm: flatpak
  pkgs: 8 Shell: Zsh v: 5.9 running-in: gnome-terminal inxi: 3.3.27
    ~  mhwd -l -li                                                      ✔ 
> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
video-hybrid-intel-nvidia-470xx-prime            2023.03.23               false            PCI


Warning: No installed USB configs!
> 0000:03:00.0 (0200:10ec:8168) Network controller Realtek Semiconductor Co., Ltd.:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
         network-r8168            2016.04.20                true            PCI


> 0000:01:00.0 (0300:10de:1e89) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-prime            2023.03.23               false            PCI
video-hybrid-intel-nvidia-470xx-prime            2023.03.23               false            PCI
          video-nvidia            2023.03.23               false            PCI
    video-nvidia-470xx            2023.03.23               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI


> 0000:00:02.0 (0300:8086:0102) Display controller Intel Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-prime            2023.03.23               false            PCI
video-hybrid-intel-nvidia-470xx-prime            2023.03.23               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI

why do you have this older version installed, instead of the latest?

if theres no reason uninstall it:

sudo mhwd -r pci video-hybrid-intel-nvidia-470xx-prime

and install the latest:

sudo mhwd -a pci nonfree 0300

if no errors, reboot and test

gray screen

Your TV is connected to your Intel GPU and the nvidia driver is installed. Switch GLX by adding prime-run to the command. In steam it would be (startup options): prime-run %command%

Just for testing, run this in a terminal:

glxinfo | grep "OpenGL renderer"
prime-run glxinfo | grep "OpenGL renderer"

:notebook: It is normal that the Outputs for the nvidia are not available when the Intel GPU is active as primary. You need to switch completely: Search for optimus-manager or envycontrol.

glxinfo | grep "OpenGL renderer"                                 ✔ 
prime-run glxinfo | grep "OpenGL renderer"
OpenGL renderer string: Mesa Intel(R) HD Graphics 2000 (SNB GT1)
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  150 (GLX)
  Minor opcode of failed request:  24 (X_GLXCreateNewContext)
  Value in failed request:  0x0
  Serial number of failed request:  50
  Current serial number in output stream:  51

9 posts were merged into an existing topic: Not being able to Connect external Display