I've been having X server related crashing / freezing on a variety of distros for a few months now. A month ago i was still on Manjaro, then i tried out Fedora and now i'm back to where i started with Debian XFCE simply because i wanted to have the most stable thing i'm aware of. On the previous distros i was getting errors about my NVIDIA drivers, which does not seem to be the problem this time around, having followed the official guide on how to install proprietary drivers.
The persisting problem seems to be browser related. Whenever i have any given browser open for some time, there is a chance that my system freezes/crashes to login. The other distros were doing both freezing and crashing, but Debian has only been crashing to the login screen about twice a day. I have tried Firefox, Chromium, and Falkon. All of them had problems at seemingly random times.
Note: i favor using the terminal over file managers, so those should not be the culprit. Moreover, i am able to play 3D games like 0ad for hours on end without any problems. I also have windows 10 on dual boot and it runs completely fine with no crashing whatsoever.
Today i tried to catch concrete examples of crashing to login and succeeded with two different browsers:
-crash1(Firefox): I was coding some stuff on desktop2 with some API guide open in Firefox on desktop1 (Only plugin installed is NoScript as suggested on stack exchange to make the browser more stable)
-crash2(Chromium): Watching YouTube with hardware acceleration disabled to try to rule out any NVIDIA related issues (No plugins installed at all, Chromium package downloaded from debian stable repo)
On top of these crashes to login screen, i have also managed to get zombie "Web Content" processes on all distros that eat up 100% or processor and preventing my system from shutting down.
Basic specs (can give more if needed):
Ryzen 5 + NVIDIA GTX 1660
NVIDIA driver version: 418.152.00
Looking through the journal for the timing of the Chromium+YouTube crash (10:49) gives the following:
Code: Select all
Aug 22 10:30:49 joakim-main systemd[1]: anacron.service: Succeeded.
Aug 22 10:49:28 joakim-main pulseaudio[2767]: XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"
Aug 22 10:49:28 joakim-main pulseaudio[2767]: after 17 requests (17 known processed) with 0 events remaining.
Aug 22 10:49:28 joakim-main xfce4-notifyd[2989]: xfce4-notifyd: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Aug 22 10:49:28 joakim-main systemd[1101]: xfce4-notifyd.service: Main process exited, code=exited, status=1/FAILURE
Aug 22 10:49:28 joakim-main systemd[1101]: xfce4-notifyd.service: Failed with result 'exit-code'.
Aug 22 10:49:28 joakim-main at-spi-bus-launcher[1220]: XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
Aug 22 10:49:28 joakim-main at-spi-bus-launcher[1220]: after 3275 requests (3275 known processed) with 0 events remaining.
Aug 22 10:49:28 joakim-main sudo[4195]: pam_unix(sudo:session): session closed for user root
Aug 22 10:49:28 joakim-main polkitd(authority=local)[674]: Unregistered Authentication Agent for unix-session:8 (system bus name :1.77
Aug 22 10:49:28 joakim-main lightdm[2825]: pam_unix(lightdm:session): session closed for user joakim
Aug 22 10:49:28 joakim-main systemd[1101]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
Aug 22 10:49:28 joakim-main systemd[1101]: pulseaudio.service: Failed with result 'exit-code'.
Aug 22 10:49:28 joakim-main systemd-logind[645]: Session 8 logged out. Waiting for processes to exit.
Aug 22 10:49:28 joakim-main systemd[1101]: pulseaudio.service: Service RestartSec=100ms expired, scheduling restart.
Aug 22 10:49:28 joakim-main systemd[1101]: pulseaudio.service: Scheduled restart job, restart counter is at 2.
Aug 22 10:49:28 joakim-main systemd[1101]: Stopped Sound Service.
Aug 22 10:49:28 joakim-main systemd[1101]: Starting Sound Service...
Aug 22 10:49:28 joakim-main rtkit-daemon[1350]: Successfully made thread 5691 of process 5691 (n/a) owned by '1000' high priority at n
Aug 22 10:49:28 joakim-main rtkit-daemon[1350]: Supervising 1 threads of 1 processes of 1 users.
Aug 22 10:49:28 joakim-main pulseaudio[5691]: W: [pulseaudio] pid.c: Stale PID file, overwriting.
Aug 22 10:49:29 joakim-main kernel: snd_hda_codec_hdmi hdaudioC0D0: HDMI: invalid ELD data byte 47
Aug 22 10:49:29 joakim-main lightdm[5698]: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Err
Aug 22 10:49:29 joakim-main lightdm[5698]: pam_unix(lightdm-greeter:session): session opened for user lightdm by (uid=0)
Aug 22 10:49:29 joakim-main systemd[1]: Created slice User Slice of UID 115.
Aug 22 10:49:29 joakim-main systemd[1]: Starting User Runtime Directory /run/user/115...
Aug 22 10:49:29 joakim-main systemd-logind[645]: New session c6 of user lightdm.
Aug 22 10:49:29 joakim-main systemd[1]: Started User Runtime Directory /run/user/115.
Aug 22 10:49:29 joakim-main systemd[1]: Starting User Manager for UID 115...
Aug 22 10:49:29 joakim-main systemd[5702]: pam_unix(systemd-user:session): session opened for user lightdm by (uid=0)
Can anyone point me in a direction of things to try or where to look? Any help is greatly appreciated.