Black screen on boot, tty allows boot (Nvidia drivers?)

Good evening!
Because I changed to a new laptop, I made a fresh new install of Manjaro. However, when trying to boot, it gets stuck (removing quiet splash reveals it gets stuck at some service). The strange thing is, I can change to another tty by ctrl+alt+f..., then return to ctrl+alt+F1 and GDM starts if nothing had happened.
The output of inxi -Fazy is as follows (Both free and nonfree drivers installed):

System:
  Kernel: 5.9.16-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.1 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.9-x86_64 
  root=UUID=0a3aed21-cc4e-4f90-82c4-64af1f254502 ro acpi_backlight=vendor 
  apparmor=1 security=apparmor 
  resume=UUID=808b4ce1-2059-46e4-b2c3-b30200226c55 udev.log_priority=3 
  Desktop: GNOME 3.38.3 tk: GTK 3.24.24 wm: gnome-shell dm: GDM 3.38.2.1 
  Distro: Manjaro Linux 
Machine:
  Type: Laptop System: HP product: HP Pavilion Gaming Laptop 15-ec1xxx v: N/A 
  serial: <filter> Chassis: type: 10 serial: <filter> 
  Mobo: HP model: 87B2 v: 31.21 serial: <filter> UEFI: AMI v: F.20 
  date: 11/04/2020 
Battery:
  ID-1: BAT0 charge: 51.4 Wh condition: 51.4/51.4 Wh (100%) volts: 13.1/11.6 
  model: Hewlett-Packard Primary type: Li-ion serial: N/A status: Full 
  cycles: 462 
CPU:
  Info: 8-Core model: AMD Ryzen 7 4800H with Radeon Graphics bits: 64 
  type: MT MCP arch: Zen 2 family: 17 (23) model-id: 60 (96) stepping: 1 
  microcode: 8600106 L2 cache: 4 MiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm 
  bogomips: 92661 
  Speed: 1397 MHz min/max: 1400/2900 MHz boost: enabled Core speeds (MHz): 
  1: 1397 2: 1397 3: 1397 4: 1397 5: 1397 6: 1396 7: 1397 8: 1396 9: 1397 
  10: 1397 11: 1397 12: 1397 13: 1396 14: 1396 15: 1397 16: 1396 
  Vulnerabilities: Type: itlb_multihit status: Not affected 
  Type: l1tf status: Not affected 
  Type: mds status: Not affected 
  Type: meltdown 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: Full AMD retpoline, IBPB: conditional, IBRS_FW, 
  STIBP: conditional, RSB filling 
  Type: srbds status: Not affected 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: NVIDIA TU117M [GeForce GTX 1650 Ti Mobile] vendor: Hewlett-Packard 
  driver: nvidia v: 460.32.03 alternate: nouveau,nvidia_drm bus ID: 01:00.0 
  chip ID: 10de:1f95 
  Device-2: AMD Renoir vendor: Hewlett-Packard driver: amdgpu v: kernel 
  bus ID: 05:00.0 chip ID: 1002:1636 
  Device-3: Luxvisions Innotech Limited HP TrueVision HD Camera type: USB 
  driver: uvcvideo bus ID: 3-3:3 chip ID: 30c9:0013 serial: <filter> 
  Display: x11 server: X.org 1.20.10 compositor: gnome-shell driver: 
  loaded: amdgpu,nvidia unloaded: modesetting,nouveau failed: ati 
  alternate: fbdev,nv,vesa resolution: <missing: xdpyinfo> 
  OpenGL: renderer: AMD RENOIR (DRM 3.39.0 5.9.16-1-MANJARO LLVM 11.0.1) 
  v: 4.6 Mesa 20.3.3 direct render: Yes 
Audio:
  Device-1: AMD Raven/Raven2/FireFlight/Renoir Audio Processor 
  vendor: Hewlett-Packard driver: N/A 
  alternate: snd_pci_acp3x, snd_rn_pci_acp3x bus ID: 05:00.5 
  chip ID: 1022:15e2 
  Device-2: AMD Family 17h HD Audio vendor: Hewlett-Packard 
  driver: snd_hda_intel v: kernel bus ID: 05:00.6 chip ID: 1022:15e3 
  Sound Server: ALSA v: k5.9.16-1-MANJARO 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Hewlett-Packard driver: r8169 v: kernel port: e000 bus ID: 02:00.0 
  chip ID: 10ec:8168 
  IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter> 
  Device-2: Realtek RTL8822CE 802.11ac PCIe Wireless Network Adapter 
  vendor: Hewlett-Packard driver: rtw_8822ce v: N/A modules: rtw88_8822ce 
  port: d000 bus ID: 03:00.0 chip ID: 10ec:c822 
  IF: wlo1 state: up mac: <filter> 
Drives:
  Local Storage: total: 476.94 GiB used: 109.25 GiB (22.9%) 
  SMART Message: Required tool smartctl not installed. Check --recommends 
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: MZVLQ512HALU-000H1 
  size: 476.94 GiB block size: physical: 512 B logical: 512 B speed: 31.6 Gb/s 
  lanes: 4 serial: <filter> rev: HPS4NFXV temp: 33.9 C 
Partition:
  ID-1: / raw size: 70 GiB size: 68.4 GiB (97.72%) used: 12.73 GiB (18.6%) 
  fs: ext4 dev: /dev/nvme0n1p7 maj-min: 259:7 
  ID-2: /boot/efi raw size: 100 MiB size: 96 MiB (96.00%) 
  used: 43.8 MiB (45.6%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1 
  ID-3: /home raw size: 120 GiB size: 117.61 GiB (98.01%) 
  used: 617.6 MiB (0.5%) fs: ext4 dev: /dev/nvme0n1p6 maj-min: 259:6 
Swap:
  Kernel: swappiness: 60 (default) cache pressure: 100 (default) 
  ID-1: swap-1 type: partition size: 10 GiB used: 0 KiB (0.0%) priority: -2 
  dev: /dev/nvme0n1p5 maj-min: 259:5 
Sensors:
  System Temperatures: cpu: 62.2 C mobo: N/A gpu: amdgpu temp: 49.0 C 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 340 Uptime: 44m wakeups: 1 Memory: 15.07 GiB 
  used: 2.51 GiB (16.7%) Init: systemd v: 247 Compilers: gcc: 10.2.0 Packages: 
  pacman: 1323 lib: 396 flatpak: 0 Shell: Zsh v: 5.8 
  running in: gnome-terminal inxi: 3.2.02 

and journalctl -b | grep EE

Feb 01 20:34:04 manjaro kernel: Linux version 5.9.16-1-MANJARO (builduser@LEGION) (gcc (GCC) 10.2.0, GNU ld (GNU Binutils) 2.35.1) #1 SMP PREEMPT Mon Dec 21 22:00:46 UTC 2020
Feb 01 20:34:05 manjaro /usr/lib/gdm-x-session[1131]: Current Operating System: Linux manjaro 5.9.16-1-MANJARO #1 SMP PREEMPT Mon Dec 21 22:00:46 UTC 2020 x86_64
Feb 01 20:34:05 manjaro /usr/lib/gdm-x-session[1131]:         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
Feb 01 20:34:05 manjaro /usr/lib/gdm-x-session[1131]: (EE) Failed to load module "nv" (module does not exist, 0)
Feb 01 20:34:05 manjaro /usr/lib/gdm-x-session[1131]: (EE) Failed to load module "fbdev" (module does not exist, 0)
Feb 01 20:34:05 manjaro /usr/lib/gdm-x-session[1131]: (EE) Failed to load module "vesa" (module does not exist, 0)
Feb 01 20:34:05 manjaro /usr/lib/gdm-x-session[1131]: (EE) Screen 0 deleted because of no matching config section.
Feb 01 20:34:05 manjaro /usr/lib/gdm-x-session[1131]: (EE) Device(s) detected, but none match those in the config file.
Feb 01 20:34:05 manjaro /usr/lib/gdm-x-session[1131]: (EE)
Feb 01 20:34:05 manjaro /usr/lib/gdm-x-session[1131]: (EE) no screens found(EE)
Feb 01 20:34:05 manjaro /usr/lib/gdm-x-session[1131]: (EE)
Feb 01 20:34:05 manjaro /usr/lib/gdm-x-session[1131]: (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
Feb 01 20:34:05 manjaro /usr/lib/gdm-x-session[1131]: (EE)
Feb 01 20:34:05 manjaro /usr/lib/gdm-x-session[1131]: (EE) Server terminated with error (1). Closing log file.
Feb 01 20:34:21 manjaro /usr/lib/gdm-x-session[6247]: Current Operating System: Linux manjaro 5.9.16-1-MANJARO #1 SMP PREEMPT Mon Dec 21 22:00:46 UTC 2020 x86_64
Feb 01 20:34:21 manjaro /usr/lib/gdm-x-session[6247]:         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
Feb 01 20:34:22 manjaro /usr/lib/gdm-x-session[6247]: (EE) Failed to load module "nv" (module does not exist, 0)
Feb 01 20:34:22 manjaro /usr/lib/gdm-x-session[6247]: (EE) Failed to load module "fbdev" (module does not exist, 0)
Feb 01 20:34:22 manjaro /usr/lib/gdm-x-session[6247]: (EE) Failed to load module "vesa" (module does not exist, 0)
Feb 01 20:34:23 manjaro /usr/lib/gdm-x-session[6247]: (II) Initializing extension MIT-SCREEN-SAVER
Feb 01 20:34:33 manjaro /usr/lib/gdm-x-session[10768]: Current Operating System: Linux manjaro 5.9.16-1-MANJARO #1 SMP PREEMPT Mon Dec 21 22:00:46 UTC 2020 x86_64
Feb 01 20:34:33 manjaro /usr/lib/gdm-x-session[10768]:         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
Feb 01 20:34:33 manjaro /usr/lib/gdm-x-session[10768]: (EE) Failed to load module "nv" (module does not exist, 0)
Feb 01 20:34:33 manjaro /usr/lib/gdm-x-session[10768]: (EE) Failed to load module "fbdev" (module does not exist, 0)
Feb 01 20:34:33 manjaro /usr/lib/gdm-x-session[10768]: (EE) Failed to load module "vesa" (module does not exist, 0)
Feb 01 20:34:33 manjaro /usr/lib/gdm-x-session[6247]: (EE) AMDGPU(0): failed to set mode: Permission denied

/var/log/Xorg.0.log | grep EE gives this:

[    19.279] Current Operating System: Linux manjaro 5.9.16-1-MANJARO #1 SMP PREEMPT Mon Dec 21 22:00:46 UTC 2020 x86_64
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    19.606] (EE) Failed to load module "nv" (module does not exist, 0)
[    19.607] (EE) Failed to load module "fbdev" (module does not exist, 0)
[    19.607] (EE) Failed to load module "vesa" (module does not exist, 0)
[    21.219] (II) Initializing extension MIT-SCREEN-SAVER
[    31.528] (EE) AMDGPU(0): failed to set mode: Permission denied

I’m not sure if this is caused by Nvidia or AMD drivers or some sort of misconfiguration at the Xorg. If somebody had a clue, it’d be appreciated. Thanks!

For those with NVIDIA optimus GPUs, optimus-manager is a must-have. Everything was solved by downloading it (available at the repos) and following the instructions on its Github page. I also recommend setting the startup_mode to hybrid.

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