Skip to main content
Topic: [OpenRC / Linux Kernel 6.1+] X11 is crashing after suspend. (Read 349 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[OpenRC / Linux Kernel 6.1+] X11 is crashing after suspend.

Heyo,

I have a little issue with my Xfce / X11. After the suspend, it crashes & showing a weird backtrace log <log in the attachments>.

I have no idea, how to fix. I've tried looking for a solution, but mostly those was referring to Nvidia drivers.

Re: [OpenRC / Linux Kernel 6.1+] X11 is crashing after suspend.

Reply #1
Very hard to troubleshoot and fix, save for trying a different kernel version or/and nvidia driver.

 

Re: [OpenRC / Linux Kernel 6.1+] X11 is crashing after suspend.

Reply #2
According to your log file, I suspect the error is related to elogind. Actually I'm facing possible system hangs with linux 6.1 or above, after I logout to an Xorg session.
Code: [Select]
[sddm-helper] pam_unix(sddm:session): session opened for user MyUser(uid=1000) by (uid=0)
[sddm-helper] pam_unix(sddm-greeter:session): session closed for user sddm
[kernel] [   20.065944] elogind[1435]: New session 1 of user MyUser.
[kernel] [   20.067858] elogind[1435]: Removed session c1.
[dbus-daemon] [session uid=1000 pid=3142] Activating service name='org.a11y.Bus' requested by ':1.0' (uid=1000 pid=3131 comm="emacs %F")
[dbus-daemon] [session uid=1000 pid=3142] Successfully activated service 'org.a11y.Bus'
[dbus-daemon] [session uid=1000 pid=3142] Activating service name='org.gtk.vfs.Daemon' requested by ':1.2' (uid=1000 pid=3131 comm="emacs %F")
[dbus-daemon] [session uid=1000 pid=3142] Successfully activated service 'org.gtk.vfs.Daemon'
[sddm-helper] pam_unix(sddm:session): session closed for user MyUser
[kernel] [  234.447428] elogind[1435]: Removed session 1.
[sddm-helper] pam_unix(sddm-greeter:session): session opened for user sddm(uid=994) by (uid=0)
[kernel] [  237.655886] elogind[1435]: New session c2 of user sddm.
[kernel] [  237.955871] elogind[1435]: Sleep mode "hibernate" is disabled by configuration.
[kernel] [  237.957015] elogind[1435]: Sleep mode "hybrid-sleep" is disabled by configuration.
[sddm-helper] pam_unix(sddm:session): session opened for user MyUser(uid=1000) by (uid=0)
[kernel] [  246.392577] elogind[1435]: New session 2 of user MyUser.
[sddm-helper] pam_unix(sddm-greeter:session): session closed for user sddm
[kernel] [  246.404114] elogind[1435]: Removed session c2.
[dbus-daemon] [session uid=1000 pid=3772] Activating service name='org.a11y.Bus' requested by ':1.0' (uid=1000 pid=3761 comm="emacs %F")
[dbus-daemon] [session uid=1000 pid=3772] Successfully activated service 'org.a11y.Bus'
[dbus-daemon] [session uid=1000 pid=3772] Activating service name='org.gtk.vfs.Daemon' requested by ':1.2' (uid=1000 pid=3761 comm="emacs %F")
[dbus-daemon] [session uid=1000 pid=3772] Successfully activated service 'org.gtk.vfs.Daemon'
[sddm-helper] pam_unix(sddm:session): session closed for user MyUser
[kernel] [  255.250897] elogind[1435]: Removed session 2.
After session 1 was removed in the above log, everything works fine, while after session2 was removed, system hung. I tried to switch to seatd-openrc which should take over elogind-openrc, but elogind-daemon also runs and creates sessions.

Just realized that the lastest elogind was released several years ago, so there is no wonder that it does not work with newer kernels.