getsolus / packages

Solus Package Monorepo & Issue Tracker
65 stars 81 forks source link

No login screen when monitor plugged to the GPU #1474

Closed acmarkes closed 7 months ago

acmarkes commented 9 months ago

Summary

When I boot with the HDMI cable plugged to the motherboard, everything boots fine. If I boot with it plugged on the GPU (NVIDIA 3060), I either get stuck on the motherboard logo or a blackscreen with a blinking cursor, but I do have access to TTY. linux-driver-management status.txt inxi Ga.txt dmesg grep nvidia.txt

Steps to reproduce

  1. With the computer turned off, plug the HDMI cable from the monitor to the GPU
  2. Start the computer

Expected result

After boot, reach the login screen

Actual result

Black screen with blinking cursor or just the motherboard logo. TTY is available.

Environment

Repo

Shannon (stable)

Desktop Environment

Budgie

System details

System: Host: acm Kernel: 6.6.11-270.current arch: x86_64 bits: 64 Desktop: Budgie v: 10.8.2 Distro: Solus 4.5 resilience Machine: Type: Desktop System: ASUS product: N/A v: N/A serial: Mobo: ASUSTeK model: PRIME H610M-E D4 v: Rev 1.xx serial: UEFI: American Megatrends v: 2801 date: 09/09/2023 CPU: Info: 6-core 12th Gen Intel Core i5-12400 [MT MCP] speed (MHz): avg: 1255 min/max: 800/4400 Graphics: Device-1: Intel Alder Lake-S GT1 [UHD Graphics 730] driver: i915 v: kernel Device-2: NVIDIA GA104 [GeForce RTX 3060] driver: nvidia v: 535.146.02 Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.4 driver: X: loaded: nvidia gpu: i915,nvidia,nvidia-nvswitch resolution: 2560x1080 API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 535.146.02 renderer: NVIDIA GeForce RTX 3060/PCIe/SSE2 Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169 Drives: Local Storage: total: 1.82 TiB used: 876.09 GiB (47.0%) Info: Processes: 381 Uptime: 4d 14h 35m Memory: total: 16 GiB note: est. available: 15.38 GiB used: 5.02 GiB (32.6%) Shell: Bash inxi: 3.3.31

Other comments

If I boot with the cable on the motherboard then change to the GPU, everything works as expected. The GPU is also working fine regardless, no issues gaming or doing CUDA stuff. The monitor also seems to be receiving signal as it doesn't turn off. I already tried to set the dGPU as the only display on the BIOS but had no changes. I also tried using the nvidia-settings xorg.conf file. That did change something but only so I straight up couldn't boot if plugged on the motherboard (no TTY). Had to plug into the gpu and delete the config then.

acmarkes commented 7 months ago

I've tracked the problem to lightdm.

Following this guide solved my issue.