Boot sequence does not reach SDDM after install Nvidia drivers

After installing Nvidia’s driver (using “Auto Install” feature) and a reboot, my machine won’t load SDDM as long as the GPU is connected. I can’t even switch to TTY and the only way forward is to turn off the machine and disconnect the GPU.

I appreciate any help I could get. I’m not really that proficient with kernel stuff, but I can do a nano.

$inxi -Fazy

System:
  Kernel: 6.0.19-4-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.0-x86_64
    root=UUID=5c9ed198-4f9b-43fa-bdae-bb546e3c8ad1 rw nvidia-drm.modeset=1
    quiet apparmor=1 security=apparmor
    resume=UUID=fd6d4a07-bba1-459b-a166-3779bdc1ae0e udev.log_priority=3
  Desktop: KDE Plasma v: 5.26.5 tk: Qt v: 5.15.8 wm: kwin_x11 vt: 1 dm: SDDM
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required>
  Mobo: ASUSTeK model: ROG STRIX Z590-I GAMING WIFI v: Rev 1.xx
    serial: <superuser required> UEFI: American Megatrends v: 1007
    date: 07/13/2021
Battery:
  Device-1: hidpp_battery_0 model: Logitech MX Keys Wireless Keyboard
    serial: <filter> charge: 55% (should be ignored) rechargeable: yes
    status: discharging
  Device-2: hidpp_battery_1 model: Logitech MX Vertical Advanced Ergonomic
    Mouse serial: <filter> charge: 55% (should be ignored) rechargeable: yes
    status: discharging
CPU:
  Info: model: 11th Gen Intel Core i9-11900 bits: 64 type: MT MCP
    arch: Rocket Lake gen: core 11 level: v4 note: check built: 2021+
    process: Intel 14nm family: 6 model-id: 0xA7 (167) stepping: 1
    microcode: 0x56
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
    L1: 640 KiB desc: d-8x48 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB L3: 16 MiB
    desc: 1x16 MiB
  Speed (MHz): avg: 4148 high: 5002 min/max: 800/5000:5200 scaling:
    driver: intel_pstate governor: powersave cores: 1: 4913 2: 2500 3: 2500
    4: 4835 5: 2500 6: 4886 7: 4857 8: 2500 9: 5002 10: 4772 11: 4990 12: 5000
    13: 4947 14: 2500 15: 4866 16: 4813 bogomips: 79888
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  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 mitigation: Clear CPU buffers; SMT vulnerable
  Type: retbleed mitigation: Enhanced IBRS
  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: Enhanced IBRS, IBPB: conditional, RSB
    filling, PBRSB-eIBRS: SW sequence
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel RocketLake-S GT1 [UHD Graphics 750] vendor: ASUSTeK
    driver: i915 v: kernel arch: Gen-12.1 process: Intel 10nm built: 2020-21
    ports: active: DP-3 empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2, HDMI-A-3
    bus-ID: 00:02.0 chip-ID: 8086:4c8a class-ID: 0300
  Display: x11 server: X.Org v: 21.1.7 with: Xwayland v: 22.1.8
    compositor: kwin_x11 driver: X: loaded: modesetting unloaded: vesa
    alternate: fbdev dri: iris gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 2560x1440 s-dpi: 96 s-size: 677x381mm (26.65x15.00")
    s-diag: 777mm (30.58")
  Monitor-1: DP-3 model: Asus PB258 serial: <filter> built: 2018
    res: 2560x1440 hz: 60 dpi: 118 gamma: 1.2 size: 553x311mm (21.77x12.24")
    diag: 634mm (25") ratio: 16:9 modes: max: 2560x1440 min: 720x400
  API: OpenGL v: 4.6 Mesa 22.3.5 renderer: Mesa Intel Graphics (RKL GT1)
    direct-render: Yes
Audio:
  Device-1: Intel Tiger Lake-H HD Audio vendor: ASUSTeK driver: snd_hda_intel
    v: kernel bus-ID: 1-10:4 alternate: snd_sof_pci_intel_tgl chip-ID: 0b05:1998
    bus-ID: 00:1f.3 class-ID: 0300 chip-ID: 8086:43c8 class-ID: 0403
  Device-2: ASUSTek USB Audio type: USB
    driver: hid-generic,snd-usb-audio,usbhid
  Sound API: ALSA v: k6.0.19-4-MANJARO running: yes
  Sound Interface: sndio v: N/A running: no
  Sound Server-1: JACK v: 1.9.22 running: no
  Sound Server-2: PulseAudio v: 16.1 running: yes
  Sound Server-3: PipeWire v: 0.3.65 running: no
Network:
  Device-1: Intel Ethernet I225-V vendor: ASUSTeK driver: igc v: kernel pcie:
    gen: 2 speed: 5 GT/s lanes: 1 port: N/A bus-ID: 6e:00.0 chip-ID: 8086:15f3
    class-ID: 0200
  IF: enp110s0 state: up speed: 2500 Mbps duplex: full mac: <filter>
  Device-2: Intel Wi-Fi 6 AX210/AX211/AX411 160MHz driver: iwlwifi v: kernel
    pcie: gen: 2 speed: 5 GT/s lanes: 1 bus-ID: 6f:00.0 chip-ID: 8086:2725
    class-ID: 0280
  IF: wlp111s0 state: down mac: <filter>
  IF-ID-1: br-2930e8fdd5ef state: up speed: 10000 Mbps duplex: unknown
    mac: <filter>
  IF-ID-2: br-7506bc417bdd state: down mac: <filter>
  IF-ID-3: br-d5d5d0f4affe state: up speed: 10000 Mbps duplex: unknown
    mac: <filter>
  IF-ID-4: docker0 state: down mac: <filter>
  IF-ID-5: veth458a968 state: up speed: 10000 Mbps duplex: full mac: <filter>
  IF-ID-6: veth642dbf1 state: up speed: 10000 Mbps duplex: full mac: <filter>
  IF-ID-7: virbr1 state: down mac: <filter>
  IF-ID-8: vmnet0 state: unknown speed: N/A duplex: N/A mac: <filter>
  IF-ID-9: vmnet1 state: unknown speed: N/A duplex: N/A mac: <filter>
  IF-ID-10: vmnet8 state: unknown speed: N/A duplex: N/A mac: <filter>
Bluetooth:
  Device-1: Intel AX210 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 1-2:2
    chip-ID: 8087:0032 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends
Drives:
  Local Storage: total: 931.51 GiB used: 459.8 GiB (49.4%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Sabrent model: Rocket 4.0 Plus
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
    lanes: 4 type: SSD serial: <filter> rev: RKT4P1.2 temp: 40.9 C scheme: GPT
Partition:
  ID-1: / raw-size: 922.42 GiB size: 906.86 GiB (98.31%)
    used: 459.8 GiB (50.7%) fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 288 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 8.8 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/nvme0n1p3 maj-min: 259:3
Sensors:
  System Temperatures: cpu: 37.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 504 Uptime: 3m wakeups: 4 Memory: 62.56 GiB
  used: 22.08 GiB (35.3%) Init: systemd v: 252 default: graphical
  tool: systemctl Compilers: gcc: 12.2.1 alt: 11 clang: 15.0.7 Packages:
  pm: pacman pkgs: 2389 libs: 457 tools: pamac,yay pm: flatpak pkgs: 0
  Shell: Zsh v: 5.9 default: Bash v: 5.1.16 running-in: konsole inxi: 3.3.25
$ mhwd -l && mhwd -li

> 0000:00:02.0 (0300:8086:4c8a) Display controller Intel Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI


> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
     video-modesetting            2020.01.13                true            PCI
video-hybrid-intel-nvidia-prime            2021.11.04               false            PCI


Warning: No installed USB configs!

Of course, these commands are executed while there was no GPU inserted. If you are going to provide instructions, please make it clear. If you ask me to add a kernel option, I might not know how to do it. Thanks.

I’ve uninstalled video-hybrid-intel-nvidia-prime and installed video-nvidia and nothing changed. The system still does not boot:

$ sudo mhwd -li

--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
     video-modesetting            2020.01.13                true            PCI
          video-nvidia            2021.11.04               false            PCI


Warning: No installed USB configs!

I’ve tested all the combinations I could think of. Like kernel 6.1.12-1, 6.0.19-4, and 5.15.94-1. In all cases, once I install the Nvidia driver, the SDDM fails to show. Right now, I settled on 6.1. I appreciate any help.

More info. I’ve tried to follow the ArchWiki without any success. In there, it says I should install the driver and then remove kms from the HOOKS array in /etc/mkinitcpio.conf. And then restart. First of all, I have no kms in that file and when I restart, the system does not get to sddm. So I’m stuck.

For the sake of completeness, I connected the device while there was no driver installed (so the OS would boot) and then installed the video-hybrid-intel-nvidia-prime driver. Then I ran the following command to capture the info on the GPU as well:

$ inxi -Fazy

System:
  Kernel: 6.1.12-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.1-x86_64
    root=UUID=5c9ed198-4f9b-43fa-bdae-bb546e3c8ad1 rw nvidia-drm.modeset=1
    quiet apparmor=1 security=apparmor
    resume=UUID=fd6d4a07-bba1-459b-a166-3779bdc1ae0e udev.log_priority=3
  Desktop: KDE Plasma v: 5.26.5 tk: Qt v: 5.15.8 wm: kwin_x11 vt: 1 dm: SDDM
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required>
  Mobo: ASUSTeK model: ROG STRIX Z590-I GAMING WIFI v: Rev 1.xx
    serial: <superuser required> UEFI: American Megatrends v: 1007
    date: 07/13/2021
Battery:
  Device-1: hidpp_battery_0 model: Logitech MX Keys Wireless Keyboard
    serial: <filter> charge: 55% (should be ignored) rechargeable: yes
    status: discharging
  Device-2: hidpp_battery_1 model: Logitech MX Vertical Advanced Ergonomic
    Mouse serial: <filter> charge: 55% (should be ignored) rechargeable: yes
    status: discharging
CPU:
  Info: model: 11th Gen Intel Core i9-11900 bits: 64 type: MT MCP
    arch: Rocket Lake gen: core 11 level: v4 note: check built: 2021+
    process: Intel 14nm family: 6 model-id: 0xA7 (167) stepping: 1
    microcode: 0x56
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
    L1: 640 KiB desc: d-8x48 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB L3: 16 MiB
    desc: 1x16 MiB
  Speed (MHz): avg: 3598 high: 5161 min/max: 800/5000:5200 scaling:
    driver: intel_pstate governor: powersave cores: 1: 4995 2: 2500 3: 5000
    4: 2500 5: 2500 6: 4872 7: 5161 8: 5061 9: 2500 10: 4987 11: 2500 12: 2500
    13: 2500 14: 4994 15: 2500 16: 2500 bogomips: 79888
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  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 mitigation: Clear CPU buffers; SMT vulnerable
  Type: retbleed mitigation: Enhanced IBRS
  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: Enhanced IBRS, IBPB: conditional, RSB
    filling, PBRSB-eIBRS: SW sequence
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel RocketLake-S GT1 [UHD Graphics 750] vendor: ASUSTeK
    driver: i915 v: kernel arch: Gen-12.1 process: Intel 10nm built: 2020-21
    ports: active: DP-3 empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2, HDMI-A-3
    bus-ID: 00:02.0 chip-ID: 8086:4c8a class-ID: 0300
  Device-2: NVIDIA GA102 [GeForce RTX 3090] vendor: PNY driver: nouveau
    v: kernel alternate: nvidia_drm,nvidia non-free: 525.xx+
    status: current (as of 2023-02) arch: Ampere code: GAxxx
    process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s ports: active: none empty: DP-4, DP-5,
    DP-6, HDMI-A-4 bus-ID: 01:00.0 chip-ID: 10de:2204 class-ID: 0300
  Display: x11 server: X.Org v: 21.1.7 with: Xwayland v: 22.1.8
    compositor: kwin_x11 driver: X: loaded: modesetting unloaded: vesa
    alternate: fbdev dri: iris gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 2560x1440 s-dpi: 96 s-size: 677x381mm (26.65x15.00")
    s-diag: 777mm (30.58")
  Monitor-1: DP-3 model: Asus PB258 serial: <filter> built: 2018
    res: 2560x1440 hz: 60 dpi: 118 gamma: 1.2 size: 553x311mm (21.77x12.24")
    diag: 634mm (25") ratio: 16:9 modes: max: 2560x1440 min: 720x400
  API: OpenGL v: 4.6 Mesa 22.3.5 renderer: Mesa Intel Graphics (RKL GT1)
    direct-render: Yes
Audio:
  Device-1: Intel Tiger Lake-H HD Audio vendor: ASUSTeK driver: snd_hda_intel
    v: kernel bus-ID: 1-10:4 chip-ID: 0b05:1998 alternate: snd_sof_pci_intel_tgl
    class-ID: 0300 bus-ID: 00:1f.3 chip-ID: 8086:43c8 class-ID: 0403
  Device-2: NVIDIA GA102 High Definition Audio vendor: PNY
    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: 01:00.1 chip-ID: 10de:1aef
    class-ID: 0403
  Device-3: ASUSTek USB Audio type: USB
    driver: hid-generic,snd-usb-audio,usbhid
  Sound API: ALSA v: k6.1.12-1-MANJARO running: yes
  Sound Interface: sndio v: N/A running: no
  Sound Server-1: JACK v: 1.9.22 running: no
  Sound Server-2: PulseAudio v: 16.1 running: yes
  Sound Server-3: PipeWire v: 0.3.65 running: no
Network:
  Device-1: Intel Ethernet I225-V vendor: ASUSTeK driver: igc v: kernel pcie:
    gen: 2 speed: 5 GT/s lanes: 1 port: N/A bus-ID: 6f:00.0 chip-ID: 8086:15f3
    class-ID: 0200
  IF: enp111s0 state: up speed: 2500 Mbps duplex: full mac: <filter>
  Device-2: Intel Wi-Fi 6 AX210/AX211/AX411 160MHz driver: iwlwifi v: kernel
    pcie: gen: 2 speed: 5 GT/s lanes: 1 bus-ID: 70:00.0 chip-ID: 8086:2725
    class-ID: 0280
  IF: wlp112s0 state: down mac: <filter>
  IF-ID-1: br-2930e8fdd5ef state: up speed: 10000 Mbps duplex: unknown
    mac: <filter>
  IF-ID-2: br-7506bc417bdd state: down mac: <filter>
  IF-ID-3: br-d5d5d0f4affe state: up speed: 10000 Mbps duplex: unknown
    mac: <filter>
  IF-ID-4: docker0 state: down mac: <filter>
  IF-ID-5: veth53f577c state: up speed: 10000 Mbps duplex: full mac: <filter>
  IF-ID-6: vethcc08baf state: up speed: 10000 Mbps duplex: full mac: <filter>
  IF-ID-7: virbr1 state: down mac: <filter>
Bluetooth:
  Device-1: Intel AX210 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 1-2:2
    chip-ID: 8087:0032 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends
Drives:
  Local Storage: total: 931.51 GiB used: 454.67 GiB (48.8%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Sabrent model: Rocket 4.0 Plus
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
    lanes: 4 type: SSD serial: <filter> rev: RKT4P1.2 temp: 42.9 C scheme: GPT
Partition:
  ID-1: / raw-size: 922.42 GiB size: 906.86 GiB (98.31%)
    used: 454.67 GiB (50.1%) fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 288 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 8.8 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/nvme0n1p3 maj-min: 259:3
Sensors:
  System Temperatures: cpu: 37.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 470 Uptime: 10m wakeups: 4 Memory: 62.56 GiB
  used: 22.34 GiB (35.7%) Init: systemd v: 252 default: graphical
  tool: systemctl Compilers: gcc: 12.2.1 alt: 11 clang: 15.0.7 Packages:
  pm: pacman pkgs: 2388 libs: 457 tools: pamac,yay pm: flatpak pkgs: 0
  Shell: Zsh v: 5.9 default: Bash v: 5.1.16 running-in: konsole inxi: 3.3.25

Of course, I have to remove the driver before I restart or I cannot log in.

first things first: you’re running wayland instead of x11. that does not work properly. switch to x11 otherwise you’ll be stuck whatever you try.
second, you installed the nouveu driver instead of the propietary nvidia-driver. that is the second mistake in this installation. nouveau doesn’t play that well as it should.

Can you please tell me how? I tried uninstalling the Wayland. First, it complained about dependencies, then when I tried to uninstall it with all its dependencies, it listed almost all the software I have on my machine to be uninstalled. How can I uninstall the Wayland and keep my computer?

please check your software manager if a package “plasma-wayland-session” is installed. if not, please install it and give a reply for further ongoing.

Well, I uninstalled the plasma-wayland-session package. But still, when the device is connected and its driver is installed, the SDDM does not load.

Here’s the latest config (and it still shows Wayland!):

$ inxi -Fazy

System:
  Kernel: 6.1.12-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.1-x86_64
    root=UUID=5c9ed198-4f9b-43fa-bdae-bb546e3c8ad1 rw nvidia-drm.modeset=1
    quiet apparmor=1 security=apparmor
    resume=UUID=fd6d4a07-bba1-459b-a166-3779bdc1ae0e udev.log_priority=3
  Desktop: KDE Plasma v: 5.26.5 tk: Qt v: 5.15.8 wm: kwin_x11 vt: 1 dm: SDDM
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required>
  Mobo: ASUSTeK model: ROG STRIX Z590-I GAMING WIFI v: Rev 1.xx
    serial: <superuser required> UEFI: American Megatrends v: 1007
    date: 07/13/2021
Battery:
  Device-1: hidpp_battery_0 model: Logitech MX Keys Wireless Keyboard
    serial: <filter> charge: 55% (should be ignored) rechargeable: yes
    status: discharging
  Device-2: hidpp_battery_1 model: Logitech MX Vertical Advanced Ergonomic
    Mouse serial: <filter> charge: 55% (should be ignored) rechargeable: yes
    status: discharging
CPU:
  Info: model: 11th Gen Intel Core i9-11900 bits: 64 type: MT MCP
    arch: Rocket Lake gen: core 11 level: v4 note: check built: 2021+
    process: Intel 14nm family: 6 model-id: 0xA7 (167) stepping: 1
    microcode: 0x56
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
    L1: 640 KiB desc: d-8x48 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB L3: 16 MiB
    desc: 1x16 MiB
  Speed (MHz): avg: 1225 high: 2500 min/max: 800/5000:5200 scaling:
    driver: intel_pstate governor: powersave cores: 1: 800 2: 2500 3: 800 4: 800
    5: 800 6: 2500 7: 800 8: 800 9: 800 10: 800 11: 800 12: 2500 13: 800
    14: 801 15: 800 16: 2500 bogomips: 79888
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  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 mitigation: Clear CPU buffers; SMT vulnerable
  Type: retbleed mitigation: Enhanced IBRS
  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: Enhanced IBRS, IBPB: conditional, RSB
    filling, PBRSB-eIBRS: SW sequence
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel RocketLake-S GT1 [UHD Graphics 750] vendor: ASUSTeK
    driver: i915 v: kernel arch: Gen-12.1 process: Intel 10nm built: 2020-21
    ports: active: DP-3 empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2, HDMI-A-3
    bus-ID: 00:02.0 chip-ID: 8086:4c8a class-ID: 0300
  Display: x11 server: X.Org v: 21.1.7 with: Xwayland v: 22.1.8
    compositor: kwin_x11 driver: X: loaded: modesetting unloaded: vesa
    alternate: fbdev dri: iris gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 2560x1440 s-dpi: 96 s-size: 677x381mm (26.65x15.00")
    s-diag: 777mm (30.58")
  Monitor-1: DP-3 model: Asus PB258 serial: <filter> built: 2018
    res: 2560x1440 hz: 60 dpi: 118 gamma: 1.2 size: 553x311mm (21.77x12.24")
    diag: 634mm (25") ratio: 16:9 modes: max: 2560x1440 min: 720x400
  API: OpenGL v: 4.6 Mesa 22.3.5 renderer: Mesa Intel Graphics (RKL GT1)
    direct-render: Yes
Audio:
  Device-1: Intel Tiger Lake-H HD Audio vendor: ASUSTeK driver: snd_hda_intel
    v: kernel bus-ID: 1-10:4 chip-ID: 0b05:1998 alternate: snd_sof_pci_intel_tgl
    bus-ID: 00:1f.3 class-ID: 0300 chip-ID: 8086:43c8 class-ID: 0403
  Device-2: ASUSTek USB Audio type: USB
    driver: hid-generic,snd-usb-audio,usbhid
  Sound API: ALSA v: k6.1.12-1-MANJARO running: yes
  Sound Interface: sndio v: N/A running: no
  Sound Server-1: JACK v: 1.9.22 running: no
  Sound Server-2: PulseAudio v: 16.1 running: yes
  Sound Server-3: PipeWire v: 0.3.65 running: no
Network:
  Device-1: Intel Ethernet I225-V vendor: ASUSTeK driver: igc v: kernel pcie:
    gen: 2 speed: 5 GT/s lanes: 1 port: N/A bus-ID: 6e:00.0 chip-ID: 8086:15f3
    class-ID: 0200
  IF: enp110s0 state: up speed: 2500 Mbps duplex: full mac: <filter>
  Device-2: Intel Wi-Fi 6 AX210/AX211/AX411 160MHz driver: iwlwifi v: kernel
    pcie: gen: 2 speed: 5 GT/s lanes: 1 bus-ID: 6f:00.0 chip-ID: 8086:2725
    class-ID: 0280
  IF: wlp111s0 state: down mac: <filter>
  IF-ID-1: br-2930e8fdd5ef state: up speed: 10000 Mbps duplex: unknown
    mac: <filter>
  IF-ID-2: br-7506bc417bdd state: down mac: <filter>
  IF-ID-3: br-d5d5d0f4affe state: up speed: 10000 Mbps duplex: unknown
    mac: <filter>
  IF-ID-4: docker0 state: down mac: <filter>
  IF-ID-5: veth0f9933d state: up speed: 10000 Mbps duplex: full mac: <filter>
  IF-ID-6: veth8e5c8bd state: up speed: 10000 Mbps duplex: full mac: <filter>
  IF-ID-7: virbr1 state: down mac: <filter>
Bluetooth:
  Device-1: Intel AX210 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 1-2:2
    chip-ID: 8087:0032 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends
Drives:
  Local Storage: total: 931.51 GiB used: 454.64 GiB (48.8%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Sabrent model: Rocket 4.0 Plus
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
    lanes: 4 type: SSD serial: <filter> rev: RKT4P1.2 temp: 42.9 C scheme: GPT
Partition:
  ID-1: / raw-size: 922.42 GiB size: 906.86 GiB (98.31%)
    used: 454.64 GiB (50.1%) fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 288 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 8.8 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/nvme0n1p3 maj-min: 259:3
Sensors:
  System Temperatures: cpu: 35.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 491 Uptime: 1m wakeups: 4 Memory: 62.56 GiB used: 22 GiB (35.2%)
  Init: systemd v: 252 default: graphical tool: systemctl Compilers:
  gcc: 12.2.1 alt: 11 clang: 15.0.7 Packages: pm: pacman pkgs: 2387 libs: 457
  tools: pamac,yay pm: flatpak pkgs: 0 Shell: Zsh v: 5.9 default: Bash
  v: 5.1.16 running-in: konsole inxi: 3.3.25

is this a fresh installation ? if so i would recommend to do a complete new installation and use the option to install it with the non-free driver. this is a weird combination with wayland and nouveau that will not work with your nvidia and also dual-gpu combination. there is too much to change manually now and i expect that a fresh install is the faster and better solution.

I’ve had this Manjaro for 18 months now and it’s not so easy for me to do a fresh re-installation. I’ll give it a couple of more days and if I couldn’t find a way to make it work, then I’ll consider a fresh installation. Thanks.

Hello,

Nowhere in the inxi output is showing wayland running.
First post:

Second post:

And is the same on last post. The output

is present in all systems now even if running Xorg, some applications depend on that.
In all the cases, your monitor is still connected to the iGPU, so even when the GPU is connected and with the drivers installed, the iGPU will not remain the primary one, hence fail to show any UI. That is my take on it, since is a Desktop PC.

Check if the BIOS is capable to have both GPU’s active at the same time, or, what i would do, is disable the iGPU from BIOS, connect the monitor to the dGPU, boot by using nomodeset kernel boot parameter and then install the video-nvidia driver.

I disconnected the HDMI from iGPU and only left the DisplayPort connected to the dGPU. Then booted to BIOS and there, I selected PEG (apparently it stands for "PCI E GPU). The other two options were Auto and iGPU.

After a restart, since I have no driver installed yet, the SDDM loads and I can log in using the dGPU. This time, when I use the “Auto Install” feature, it installs video-nvidia instead of the hybrid one. In fact, the hybrid one is not even listed as an option. Anyways, after installing the driver and a reboot, the process halts exactly before loading SDDM, just like before.

BTW, even though right now I’m trying to make sure everything works but my long-term plan is to use the iGPU for the display and dGPU for CUDA. I thought I should mention this.

@bogdancovaciu I didn’t know what to do with nomodeset. Please let me know how to set it.

you need the ibt parameter since you are on intel+nvidia system… and the hybrid is not detected, since you disabled the intel gpu in bios, and you will now run only on nvidia…

and remove the nvidia parameter:

Since you managed to boot only with the dGPU, no need for it then. Next step, in order to make use od the dGPU, just installing the video-nvidia should work.

On a desktop PC there is no advantage on using the iGPU and dGPU, unless you have so many Monitors that you need all those ports. Also, with the video-hybrid-intel-nvidia-prime driver on a desktop PC you lose some of the options in Nvidia X Settings, and if i’m not mistaken, also the performance is affected.

I think there’s been a misunderstand and you missed one of sentences. Even though I managed to used the dGPU to boot and use the OS before I install the driver, as soon as I installed the driver and restarted, the exact same problem happened. Basically, I’m stuck again.

Did you try removing the video-nvidia and use the video-nvidia-470xx instead? Does your system behave the same? Have you tried different port to connect your monitor?
If you look at my past comments and suggestions regarding Nvidia and drivers/config i usually mention to enable early kms and pay attention to the config and where is saved, and never create a separate xorg.conf file. Other than that, if you want to test the nomodeset before or after installing the proprietary driver, simply at Grub boot menu press e to enter edit mode and replace the quiet with nomodeset and then press F10 to save and continue booting. If that works you can add permanently that parameter the same way by editing /etc/default/grub and then run
sudo update-grub

I use GRUB_CMDLINE_LINUX="nvidia-drm.modeset=1" on my end, and in /etc/mkinitcpio.conf i use:

HOOKS=(base systemd autodetect modconf kms keyboard keymap block filesystems)

When you modify it it requires you to run from terminal:
sudo mkinitcpio -P
and then
sudo update-grub

In principle there should be no issues, as Nvidia latest driver should have sorted out all the issues with some of the previous 5xx series drivers, but like i said, maybe you can use successfully the video-nvidia-470xx

I’ll be testing your suggestions in a bit but before that, some info that I hadn’t shared before:

When the system halts, it’s showing the text mode and is about to switch to the graphical mode which does not happen. What I mean by that is that the display port is connected to the correct port and working. It’s the driver that crashes the system as soon as it’s about to be loaded (at least that’s my feeling). And I would like to call it a crash since I cannot even go to TTY (alt+ctrl+F2 does not work).

I’ll be testing some more in a short while.

After lots of hassle and testing with different OSs, including Manjaro, Fedora, and (god please forgive me) Windows 11, the same behavior (more or less) was observed. As soon as I installed the driver all the OSs failed to load. Then I had no choice but to assume it was a hardware issue. And it was. I had to remove the dGPU riser to fix it.

Thanks, everyone for their help. Sorry, I wasted your time.