You are not logged in.
After I made a fresh install of archlinux, my graphics interface refuse to load after a screen lock (showing complete black) Pressing Ctrl+Alt+F1 will get back the login screen. Sometimes the screen blinks.
I am using Gnome on Wayland. nvidia-drm.modeset=1 has be added to /etc/default/grub to enable KMS.
This a laptop with intel graphics and NVIDIA GeForce GTX 1060 mobile
I found these lines that are probably related to the issue in the journal:
Apr 01 09:10:16 DESKTOP-857C gnome-shell[1020]: Failed to post KMS update: drmModeAtomicCommit: Invalid argument
Apr 01 09:10:16 DESKTOP-857C gnome-shell[1020]: Page flip discarded: drmModeAtomicCommit: Invalid argument
Apr 01 09:10:16 DESKTOP-857C gnome-shell[1020]: Failed to post KMS update: drmModeAtomicCommit: Invalid argument
Apr 01 09:10:16 DESKTOP-857C gnome-shell[1020]: Page flip discarded: drmModeAtomicCommit: Invalid argument
Apr 01 09:10:16 DESKTOP-857C gnome-shell[1020]: Failed to post KMS update: drmModeAtomicCommit: Invalid argument
Apr 01 09:10:16 DESKTOP-857C gnome-shell[1020]: Page flip discarded: drmModeAtomicCommit: Invalid argument
Apr 01 09:10:16 DESKTOP-857C gnome-shell[1020]: Failed to post KMS update: drmModeAtomicCommit: Invalid argumentLast edited by Sffred (2022-04-01 04:14:40)
Offline
The solution may sounds ridiculous, but that is what I figured out:
after you lock your screen, click your mouse once to activate it. Then the problem will never show up again.
Offline
I had experienced same problem after a fresh install, and now it disappeared strangely.
I tried same thing but I can't remember if it really solved the problem.
There's intel graphics and nvidia 960m with my laptop.
Offline