Bug ID 1209081
Summary [SDDM] SDDM black screen
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component X11 3rd Party Driver
Assignee gfx-bugs@suse.de
Reporter socvirnyl.estela@gmail.com
QA Contact sndirsch@suse.com
Found By ---
Blocker ---

Created attachment 865395 [details]
Log for everything from boot to sddm greeter.

=== SETUP ===

I have installed the NVIDIA driver `nvidia-driver-G06-kmp-default`. My grub
config contains the following line

```
GRUB_CMDLINE_LINUX_DEFAULT="splash=silent
resume=/dev/disk/by-uuid/03f59f3a-97c3-4f83-b63b-53898f15585e mitigations=off
quiet security=apparmor nouveau.modeset=0 modprobe.blacklist=nouveau
rd.driver.blacklist=nouveau nvidia_drm.modeset=1 nosimplefb=1"
```

So I enabled the nvidia modesetting here.

I have a custom xorg config at `/etc/X11/xorg.conf.d` with a file named as
`10-nvidia-drm-outputclass.conf`

```
 Section "OutputClass"
   Identifier "intel"
   MatchDriver "i915"
   Driver "modesetting"
 EndSection
 Section "OutputClass"
   Identifier "nvidia"
   MatchDriver "nvidia-drm"
   Driver "nvidia"
   Option "AllowEmptyInitialConfiguration"
   Option "PrimaryGPU" "yes"
   ModulePath "/usr/lib/nvidia/xorg"
   ModulePath "/usr/lib/xorg/modules"
 EndSection

```

My laptop is an Acer Nitro 5:

```
CPU: Intel(R) Core(TM) i5-10300H (8) @ 4.5 GHz
GPU 1: Intel UHD Graphics
GPU 2: NVIDIA GeForce RTX 3060 Mobile / Max-Q
```

=== ISSUE ===

Recent updates of SDDM has some issues. I am not sure if this is caused by
NVIDIA modesetting on or even SDDM itself. Before I installed NVIDIA since this
is a fresh install, there were no issues with blackscreen sddm.

=== Workaround ===

Running `systemctl restart --now display-manager.service` enables sddm to run
successfully. However, there are still known issues. Sometimes, when switching
between ttys, the greeter is full black, **BUT YOU CAN STILL LOGIN IF YOU KNOW
WHERE THE PASSWORD PROMPT IS**.

=== LOGS ===

I have logs attached below `journalctl-final-2.log


You are receiving this mail because: