GDM frozen wayland if nvidia-drm.modeset=1
Previously, I used the nouveau driver with wayland. But nvenc is not working in this case.
I installed nvidia driver that only works in X11 for me. Then I followed instruction https://wiki.archlinux.org/title/NVIDIA … de_setting and added nvidia-drm.modeset=1 to /etc/default/grub. And GDM stopped loading. Just an underscore blinking in the left top corner. I should note, it worked a couple of times yesterday. But it broken today again.
I added MODULES=(intel_agp i915 nvidia nvidia_modeset nvidia_uvm nvidia_drm)
to early loading but it doesn't help me.
Can you please advise this? Thank you!
/etc/gdm/custom.conf
# GDM configuration storage
[daemon]
# Uncomment the line below to force the login screen to use Xorg
#WaylandEnable=true
[security]
[xdmcp]
[chooser]
[debug]
# Uncomment the line below to turn on debugging
Enable=true
systemctl status gdm.service
● gdm.service - GNOME Display Manager
Loaded: loaded (/usr/lib/systemd/system/gdm.service; enabled; preset: disabled)
Active: active (running) since Tue 2022-09-27 10:39:35 MSK; 1min 14s ago
Main PID: 1874 (gdm)
Tasks: 3 (limit: 18954)
Memory: 1.4M
CPU: 19ms
CGroup: /system.slice/gdm.service
└─1874 /usr/bin/gdm
сен 27 10:39:43 dev gdm[1874]: Gdm: GdmLocalDisplayFactory: System supports graphics
сен 27 10:39:43 dev gdm[1874]: Gdm: GdmLocalDisplayFactory: Getting session type (prefers xorg, falling back: yes)
сен 27 10:39:43 dev gdm[1874]: Gdm: GdmLocalDisplayFactory: Both Wayland and Xorg are unavailable
сен 27 10:39:43 dev gdm[1874]: Gdm: GdmLocalDisplayFactory: seat0 doesn't yet support graphics. Waiting 10 seconds to try again.
сен 27 10:39:44 dev gdm[1874]: Gdm: GdmLocalDisplayFactory: received VT change event
сен 27 10:39:44 dev gdm[1874]: Gdm: GdmLocalDisplayFactory: VT changed from 1 to 2
сен 27 10:39:44 dev gdm[1874]: Gdm: GdmLocalDisplayFactory: active VT is not initial VT, so ignoring
сен 27 10:39:45 dev gdm[1874]: Gdm: GdmLocalDisplayFactory: received VT change event
сен 27 10:39:45 dev gdm[1874]: Gdm: GdmLocalDisplayFactory: VT changed from 2 to 3
сен 27 10:39:45 dev gdm[1874]: Gdm: GdmLocalDisplayFactory: active VT is not initial VT, so ignoring