Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
I am on a fresh install of Debian 12 with kernel 6.5 from Debian backports. Sometimes when I boot the machine, the graphical login prompt does not appear. The screen goes black and the monitor goes into sleep because of no signal. My gfx card is a Radeon RX6600. I need kernel 6.5 for my USB WIFI stick to work. So now I can chose between a system without Internet (Kernel 6.1) and one that sometimes does not boot up properly (kernel 6.5).
The CPU has integrated gfx and I tried disabling that in the BIOS but it does not solve the problem.
How can I debug this further. So far what I have is following logs:
journalctl -u gdm --since "1 hour ago"
First a failed boot, then a good one:
-- Boot bc941149a87b456c9bb01bd2a3957bf2 --
Mar 02 16:30:24 debian systemd[1]: Starting gdm.service - GNOME Display Manager...
Mar 02 16:30:24 debian systemd[1]: Started gdm.service - GNOME Display Manager.
Mar 02 16:30:24 debian gdm-launch-environment][981]: pam_unix(gdm-launch-environment:session): session opened for user Debian-gdm(uid=112) by (uid=0)
Mar 02 16:30:24 debian gdm-launch-environment][981]: pam_unix(gdm-launch-environment:session): session closed for user Debian-gdm
Mar 02 16:30:24 debian gdm-launch-environment][981]: GLib-GObject: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Mar 02 16:30:24 debian gdm3[964]: Gdm: GdmDisplay: Session never registered, failing
Mar 02 16:30:24 debian gdm3[964]: Gdm: Child process -1069 was already dead.
Mar 02 16:30:24 debian gdm3[964]: Gdm: GdmDisplay: Session never registered, failing
Mar 02 16:30:24 debian gdm3[964]: Gdm: Child process -1069 was already dead.
Mar 02 16:30:24 debian gdm-launch-environment][1446]: pam_unix(gdm-launch-environment:session): session opened for user Debian-gdm(uid=112) by (uid=0)
-- Boot 55f4a77fe6ec43c6bbdedfa0c431d993 --
Mar 02 16:31:22 debian systemd[1]: Starting gdm.service - GNOME Display Manager...
Mar 02 16:31:22 debian systemd[1]: Started gdm.service - GNOME Display Manager.
Mar 02 16:31:22 debian gdm-launch-environment][1023]: pam_unix(gdm-launch-environment:session): session opened for user Debian-gdm(uid=112) by (uid=0)
Mar 02 16:31:30 debian gdm-password][2776]: gkr-pam: unable to locate daemon control file
Mar 02 16:31:30 debian gdm-password][2776]: gkr-pam: stashed password to try later in open session
Mar 02 16:31:30 debian gdm-password][2776]: pam_unix(gdm-password:session): session opened for user puck(uid=1000) by (uid=0)
Mar 02 16:31:30 debian gdm-password][2776]: gkr-pam: unlocked login keyring
Mar 02 16:31:33 debian gdm3[1004]: Gdm: Child process -1120 was already dead.
Mar 02 16:30:24 debian wireplumber[1067]: Failed to set scheduler settings: Operation not permitted
Mar 02 16:30:24 debian wireplumber[1067]: SPA handle 'api.libcamera.enum.manager' could not be loaded; is it installed?
Mar 02 16:30:24 debian wireplumber[1067]: PipeWire's libcamera SPA missing or broken. libcamera not supported.
Mar 02 16:30:24 debian gnome-shell[1200]: Running GNOME Shell (using mutter 43.8) as a Wayland display server
Mar 02 16:30:24 debian gnome-shell[1200]: Device '/dev/dri/card0' prefers shadow buffer
Mar 02 16:30:24 debian gnome-shell[1200]: Added device '/dev/dri/card0' (amdgpu) using atomic mode setting.
Mar 02 16:30:24 debian gnome-shell[1200]: Device '/dev/dri/card1' prefers shadow buffer
Mar 02 16:30:24 debian gnome-shell[1200]: Added device '/dev/dri/card1' (amdgpu) using atomic mode setting.
Mar 02 16:30:24 debian org.gnome.Shell.desktop[1200]: Failed to setup: No GPUs with outputs found
Mar 02 16:30:24 debian gnome-session[1119]: gnome-session-binary[1119]: WARNING: App 'org.gnome.Shell.desktop' exited with code 1
Mar 02 16:30:24 debian gnome-session-binary[1119]: WARNING: App 'org.gnome.Shell.desktop' exited with code 1
Mar 02 16:30:24 debian gnome-session-binary[1119]: Unrecoverable failure in required component org.gnome.Shell.desktop
Mar 02 16:30:24 debian /usr/libexec/gdm-wayland-session[1110]: dbus-daemon[1110]: [session uid=112 pid=1110] Activating service name='ca.desrt.dconf' requested by ':1.2' (uid=112 pid=1119 comm="/usr/libexec/gnome-session-binary --autostart /usr")
Mar 02 16:30:24 debian /usr/libexec/gdm-wayland-session[1110]: dbus-daemon[1110]: [session uid=112 pid=1110] Successfully activated service 'ca.desrt.dconf'
Mar 02 16:30:24 debian gdm-launch-environment][981]: pam_unix(gdm-launch-environment:session): session closed for user Debian-gdm
Mar 02 16:30:24 debian gdm-launch-environment][981]: GLib-GObject: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Mar 02 16:30:24 debian gdm3[964]: Gdm: GdmDisplay: Session never registered, failing
Mar 02 16:30:24 debian systemd[1]: session-c1.scope: Deactivated successfully.
Mar 02 16:30:24 debian systemd-logind[849]: Session c1 logged out. Waiting for processes to exit.
Mar 02 16:30:24 debian systemd-logind[849]: Removed session c1.
Mar 02 16:30:24 debian gdm3[964]: Gdm: Child process -1069 was already dead.
Mar 02 16:30:24 debian gdm3[964]: Gdm: GdmDisplay: Session never registered, failing
Mar 02 16:30:24 debian gdm3[964]: Gdm: Child process -1069 was already dead.
Mar 02 16:30:24 debian gdm-launch-environment][1446]: pam_unix(gdm-launch-environment:session): session opened for user Debian-gdm(uid=112) by (uid=0)
Mar 02 16:30:24 debian systemd-logind[849]: New session c2 of user Debian-gdm.
What follows then looks like a startup of X11, but ends in a black screen.
Mar 08 19:50:31 debian gnome-shell[1237]: Running GNOME Shell (using mutter 43.8) as a Wayland display server
Mar 08 19:50:31 debian wireplumber[1104]: Failed to set scheduler settings: Operation not permitted
Mar 08 19:50:31 debian wireplumber[1104]: SPA handle 'api.libcamera.enum.manager' could not be loaded; is it installed?
Mar 08 19:50:31 debian wireplumber[1104]: PipeWire's libcamera SPA missing or broken. libcamera not supported.
Mar 08 19:50:32 debian gnome-shell[1237]: Device '/dev/dri/card0' prefers shadow buffer
Mar 08 19:50:32 debian gnome-shell[1237]: Added device '/dev/dri/card0' (amdgpu) using atomic mode setting.
Mar 08 19:50:32 debian gnome-shell[1237]: Device '/dev/dri/card1' prefers shadow buffer
Mar 08 19:50:32 debian gnome-shell[1237]: Added device '/dev/dri/card1' (amdgpu) using atomic mode setting.
Mar 08 19:50:32 debian gnome-shell[1237]: Created gbm renderer for '/dev/dri/card0'
Mar 08 19:50:32 debian gnome-shell[1237]: Created gbm renderer for '/dev/dri/card1'
Mar 08 19:50:32 debian gnome-shell[1237]: Boot VGA GPU /dev/dri/card0 selected as primary
I still cannot see what is going wrong. Searched the web but what I found was related to NVidia cards; mine is AMD.
Now I cannot reproduce the problem any more. All I did was to try different kernel parameters such as "amdgpu.dc=0" dynamically from the grub boot screen. The problem still occurred with this parameter. But now, booted many times without it and the problem is gone. Weird.
Radeon is unloaded, so IMHO it means, that it was loaded.
But I do not say, that it was cause for sure, it was my opinion only.
As it is not used, I would try to disable it.