LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-21-2015, 06:28 AM   #1
markmb
Member
 
Registered: Jul 2011
Location: Spain
Distribution: Fedora
Posts: 61

Rep: Reputation: 3
Xorg crash and black screen


I have a very annoying problem with Xorg. When I have at least two YouTube videos in Firefox (doesn't matter if YouTube directly or YouTube API), Xorg sometimes (no pattern found yet) crashes. Everything freezes for a moment, and I'm shown a black screen. I then have to switch to tty2 and restart Xorg (but I can see that Xorg is still alive).

I am using Fedora 22 with Linux 4.1.4, Mate, and Firefox 39.0.3. Using Intel integrated graphics: Intel Corporation Broadwell-U Integrated Graphics, Intel HD Graphics 5500.

I cannot remember of when exactly this started happening, so I cannot track back a particular change in my system.

Looking at the logs, it looks like Xorg receives a SIGABRT, and then everything else gets killed.

journalctl:
Code:
Aug 21 12:24:52 markmb_rh audit[1237]: <audit-1701> auid=4294967295 uid=0 gid=0 ses=4294967295 subj=system_u:system_r:xserver_t:s0-s0:c0.c1023 pid=1237 comm="Xorg" exe="/usr/libexec/Xorg" sig=6
Aug 21 12:24:54 markmb_rh abrt-server[14340]: Lock file '/var/spool/abrt/post-create.lock' was locked by process 6101, but it crashed?
Aug 21 12:24:54 markmb_rh gdb[14360]: detected unhandled Python exception
Aug 21 12:24:55 markmb_rh org.mate.panel.applet.ClockAppletFactory[1574]: clock-applet: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Aug 21 12:24:55 markmb_rh bluetoothd[843]: Endpoint unregistered: sender=:1.44 path=/MediaEndpoint/A2DPSource
Aug 21 12:24:55 markmb_rh bluetoothd[843]: Endpoint unregistered: sender=:1.44 path=/MediaEndpoint/A2DPSink
Aug 21 12:24:55 markmb_rh polkitd[899]: Unregistered Authentication Agent for unix-session:1 (system bus name :1.35, object path /org/mate/PolicyKit1/AuthenticationAgent, locale en_US.utf8) (disconnected from bus)
Aug 21 12:24:55 markmb_rh org.mate.panel.applet.NotificationAreaAppletFactory[1574]: notification-area-applet: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Aug 21 12:24:55 markmb_rh ca.desrt.dconf[1574]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
Aug 21 12:24:55 markmb_rh org.mate.panel.applet.WnckletFactory[1574]: wnck-applet: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Aug 21 12:24:55 markmb_rh org.mate.panel.applet.MultiLoadAppletFactory[1574]: mate-multiload-applet: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Aug 21 12:24:55 markmb_rh org.a11y.atspi.Registry[1702]: XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
Aug 21 12:24:55 markmb_rh org.a11y.atspi.Registry[1702]: after 13989 requests (13989 known processed) with 0 events remaining.
Aug 21 12:24:55 markmb_rh org.gtk.vfs.Daemon[1574]: A connection to the bus can't be made
Aug 21 12:24:55 markmb_rh org.gtk.vfs.Daemon[1574]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
Aug 21 12:24:55 markmb_rh org.a11y.Bus[1574]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
Aug 21 12:24:55 markmb_rh org.gtk.Private.UDisks2VolumeMonitor[1574]: g_dbus_connection_real_closed: Remote peer vanished with error: Error receiving message: Connection reset by peer (g-io-error-quark, 44). Exiting.
Aug 21 12:24:55 markmb_rh org.gtk.vfs.Daemon[1574]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
Aug 21 12:24:55 markmb_rh org.gtk.Private.GPhoto2VolumeMonitor[1574]: g_dbus_connection_real_closed: Remote peer vanished with error: Error receiving message: Connection reset by peer (g-io-error-quark, 44). Exiting.
Aug 21 12:24:55 markmb_rh org.gtk.Private.AfcVolumeMonitor[1574]: g_dbus_connection_real_closed: Remote peer vanished with error: Error receiving message: Connection reset by peer (g-io-error-quark, 44). Exiting.
Aug 21 12:24:55 markmb_rh org.gtk.Private.MTPVolumeMonitor[1574]: g_dbus_connection_real_closed: Remote peer vanished with error: Error receiving message: Connection reset by peer (g-io-error-quark, 44). Exiting.
Aug 21 12:24:55 markmb_rh org.gtk.Private.GoaVolumeMonitor[1574]: g_dbus_connection_real_closed: Remote peer vanished with error: Error receiving message: Connection reset by peer (g-io-error-quark, 44). Exiting.
Aug 21 12:24:55 markmb_rh org.gnome.OnlineAccounts[1574]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
Aug 21 12:24:55 markmb_rh lightdm[1551]: pam_unix(lightdm:session): session closed for user markmb
Aug 21 12:24:55 markmb_rh audit[1551]: <audit-1106> pid=1551 uid=0 auid=1000 ses=1 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:session_close grantors=pam_selinux,pam_loginuid,pam_selinux,pam_keyinit,pam_namespace,pam_gnome_keyring,pam_keyinit,pam_limits,pam_systemd,pam_unix,pam_lastlog,pam_lastlog acct="markmb" exe="/usr/sbin/lightdm" hostname=? addr=? terminal=:0 res=success'
Aug 21 12:24:55 markmb_rh audit[1551]: <audit-1104> pid=1551 uid=0 auid=1000 ses=1 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:setcred grantors=pam_unix,pam_gnome_keyring acct="markmb" exe="/usr/sbin/lightdm" hostname=? addr=? terminal=:0 res=success'
Aug 21 12:24:55 markmb_rh dbus[845]: [system] Activating service name='org.freedesktop.problems' (using servicehelper)
Aug 21 12:24:55 markmb_rh dbus[845]: [system] Successfully activated service 'org.freedesktop.problems'
Aug 21 12:24:55 markmb_rh audit[14396]: <audit-1103> pid=14396 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:setcred grantors=pam_env,pam_permit acct="lightdm" exe="/usr/sbin/lightdm" hostname=? addr=? terminal=:0 res=success'
Aug 21 12:24:55 markmb_rh lightdm[14396]: pam_unix(lightdm-greeter:session): session opened for user lightdm by (uid=0)
Aug 21 12:24:55 markmb_rh systemd-logind[838]: New session c2 of user lightdm.
Aug 21 12:24:55 markmb_rh systemd[1]: Started Session c2 of user lightdm.
Aug 21 12:24:55 markmb_rh systemd[1]: Starting Session c2 of user lightdm.
Aug 21 12:24:55 markmb_rh audit[14396]: <audit-1105> pid=14396 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:session_open grantors=pam_unix,pam_systemd acct="lightdm" exe="/usr/sbin/lightdm" hostname=? addr=? terminal=:0 res=success'
Aug 21 12:24:56 markmb_rh dbus[845]: [system] Activating via systemd: service name='net.reactivated.Fprint' unit='fprintd.service'
Aug 21 12:24:56 markmb_rh systemd[1]: Cannot add dependency job for unit dmraid-activation.service, ignoring: Unit dmraid-activation.service failed to load: No such file or directory.
Aug 21 12:24:56 markmb_rh systemd[1]: Starting Fingerprint Authentication Daemon...
Aug 21 12:24:56 markmb_rh dbus[845]: [system] Successfully activated service 'net.reactivated.Fprint'
Aug 21 12:24:56 markmb_rh systemd[1]: Started Fingerprint Authentication Daemon.
Aug 21 12:24:56 markmb_rh audit[1]: <audit-1130> pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=fprintd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Aug 21 12:24:56 markmb_rh fprintd[14417]: ** Message: user 'markmb' claiming the device: 0
Aug 21 12:24:56 markmb_rh fprintd[14417]: ** Message: now monitoring fd 15
Aug 21 12:24:56 markmb_rh kernel: usb 1-6: reset full-speed USB device number 3 using xhci_hcd
Aug 21 12:24:57 markmb_rh fprintd[14417]: ** Message: device 0 claim status 0
Aug 21 12:24:57 markmb_rh fprintd[14417]: ** Message: no longer monitoring fd 15
Aug 21 12:24:57 markmb_rh fprintd[14417]: ** Message: released device 0
Aug 21 12:24:58 markmb_rh systemd-logind[838]: Removed session c1.
Aug 21 12:25:04 markmb_rh systemd-logind[838]: Removed session 1.
Aug 21 12:25:04 markmb_rh systemd[1]: Stopping User Manager for UID 1000...
Aug 21 12:25:04 markmb_rh systemd[1562]: Reached target Shutdown.
Aug 21 12:25:04 markmb_rh systemd[1562]: Starting Shutdown.
Aug 21 12:25:04 markmb_rh systemd[1562]: Starting Exit the Session...
Aug 21 12:25:04 markmb_rh systemd[1562]: Stopped target Default.
Aug 21 12:25:04 markmb_rh systemd[1562]: Stopping Default.
Aug 21 12:25:04 markmb_rh systemd[1562]: Stopped target Basic System.
Aug 21 12:25:04 markmb_rh systemd[1562]: Stopping Basic System.
Aug 21 12:25:04 markmb_rh systemd[1562]: Stopped target Timers.
Aug 21 12:25:04 markmb_rh systemd[1562]: Stopping Timers.
Aug 21 12:25:04 markmb_rh systemd[1562]: Stopped target Paths.
Aug 21 12:25:04 markmb_rh systemd[1562]: Stopping Paths.
Aug 21 12:25:04 markmb_rh systemd[1562]: Stopped target Sockets.
Aug 21 12:25:04 markmb_rh systemd[1562]: Stopping Sockets.
Aug 21 12:25:04 markmb_rh systemd[1562]: Received SIGRTMIN+24 from PID 14426 (kill).
Aug 21 12:25:04 markmb_rh systemd[1]: Stopped User Manager for UID 1000.
Aug 21 12:25:04 markmb_rh audit[1]: <audit-1131> pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=user@1000 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Aug 21 12:25:04 markmb_rh systemd[1]: Removed slice user-1000.slice.
Aug 21 12:25:04 markmb_rh systemd[1]: Stopping user-1000.slice.
Aug 21 12:25:13 markmb_rh systemd[1]: Cannot add dependency job for unit dmraid-activation.service, ignoring: Unit dmraid-activation.service failed to load: No such file or directory.
Aug 21 12:25:14 markmb_rh systemd[1]: Started Getty on tty2.
 
Old 08-22-2015, 09:54 PM   #2
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 18.04-14.04, Scientific Linux 6.3-6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,802

Rep: Reputation: 157Reputation: 157
There could be a number of reasons that the system goes out (or a combination). It could be that you aren't using swap (and really should be). It could be a problem with your wireless card (I had similar problems until switching to a proprietary driver for my chipset, in conjunction with having no swap). It could be DPMS... Try turning off DPMS first (it's easiest)...

Code:
env DISPLAY=:0 && xset dpms 0 0 0 && env DISPLAY=:0 && xset -dpms
If the DPMS thing fixes it, you might need to find a setting in your DE (desktop environment), or (if you use KDE) schedule a chron job...
 
Old 08-23-2015, 02:45 AM   #3
markmb
Member
 
Registered: Jul 2011
Location: Spain
Distribution: Fedora
Posts: 61

Original Poster
Rep: Reputation: 3
I don't know what swap might do with this issue. I do have swap, and I also have enough RAM that I could avoid using swap:

Code:
              total        used        free      shared  buff/cache   available
Mem:       11997720      617556    10316764      137964     1063400    11147236
Swap:       6029308           0     6029308
I also turned DPMS off, but I managed to make it crash: opening various videos from various places and pause some, run some others, and scrolling stuff like this. As I said, I could not find a pattern, and I also had to work on it for some time until it finally crashed.
 
Old 08-23-2015, 03:22 AM   #4
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 18.04-14.04, Scientific Linux 6.3-6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,802

Rep: Reputation: 157Reputation: 157
If a swap partition is incorrectly set up (for instance, partitions were re-sized, resulting in new UUIDs, with the fstab pointing to the old one) and the system goes to swap,... It could lock up.

A wireless card driver that throws errors can lock up the system, as well. Mine had me unable to even switch to a virtual console to kill any processes. The keyboard would freeze for minutes at a time. Error outputs would even interrupt command line logins to the point you couldn't log in.

In the case of DPMS, if DPMS is deactivated, and the video player re-activates it,... many times it will be with a ridiculously short duration, blanking the screen.

In my case, I had all three things going on,... Fixing each one improved the situation until all three were fixed and it went away.


If none of the above are the culprit,... The next place I would look would be the video driver and acceleration.

How about the output of:
Code:
glxinfo | grep -i "vendor\|rendering"
 
Old 08-23-2015, 03:48 AM   #5
markmb
Member
 
Registered: Jul 2011
Location: Spain
Distribution: Fedora
Posts: 61

Original Poster
Rep: Reputation: 3
Xorg is crashing, not locking up. It might be what you say, but I doubt it.

I'm sure most of the times the system crashed, there was still plenty of RAM available. Of course, swap may be used even when RAM is available, but I hope that's not the case.

In this laptop, I rarely use the wireless card. I nearly always use cable. It might also give problems, but it's usually more reliable than wireless.

Anyway, I'll check what you say (I can't now), in case there's some misconfiguration in any of the components.

This is the glxinfo:

Code:
direct rendering: Yes
server glx vendor string: SGI
client glx vendor string: Mesa Project and SGI
OpenGL vendor string: Intel Open Source Technology Center
 
Old 08-23-2015, 03:52 AM   #6
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 18.04-14.04, Scientific Linux 6.3-6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,802

Rep: Reputation: 157Reputation: 157
OK,... That's the expected result,...

How about acceleration method?:
Code:
cat /var/log/Xorg.0.log | grep -ie uxa -ie sna
 
Old 08-23-2015, 04:00 AM   #7
markmb
Member
 
Registered: Jul 2011
Location: Spain
Distribution: Fedora
Posts: 61

Original Poster
Rep: Reputation: 3
Acceleration:

Code:
[  1964.551] (II) intel(0): SNA initialized with Broadwell (gen8) backend
 
Old 08-23-2015, 04:14 AM   #8
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 18.04-14.04, Scientific Linux 6.3-6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,802

Rep: Reputation: 157Reputation: 157
You might consider disabling sna acceleration in favor of uxa (uxa is slower, but more stable)...
See: https://bugzilla.redhat.com/show_bug.cgi?id=1188772

You'd need to edit your /etc/X11/xorg.conf.d/20-intel.conf in line with comment #3 of that page...

You can always change it back if it's not it... Worth a shot...
 
Old 08-23-2015, 05:26 AM   #9
markmb
Member
 
Registered: Jul 2011
Location: Spain
Distribution: Fedora
Posts: 61

Original Poster
Rep: Reputation: 3
It is significantly slower. It's visible that is less smooth.

As I don't know when it might crash, I'll test it for a while and tell you later.

If this is the problem, I hope I can continue debugging by myself from here, because before I had no idea where to look at.
 
Old 08-24-2015, 10:33 AM   #10
markmb
Member
 
Registered: Jul 2011
Location: Spain
Distribution: Fedora
Posts: 61

Original Poster
Rep: Reputation: 3
Now that I know where to search information, I'm pretty sure the problem started when I enabled compiz.

But I'm trying with AccelMethod "glamor", and it looks pretty well. I hasn't crashed (yet), and it goes smoothly (not like "uxa").

If it crashes, I'll go back again and continue from this point.

Thank you JaseP for your help
 
  


Reply

Tags
xorg



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
After upgrade, xorg fails and I get black screen xri Arch 16 02-05-2014 11:36 AM
After update i get black screen in xorg Bojevnik SUSE / openSUSE 6 07-28-2009 07:36 AM
nvidia xorg: Black screen after 15min frenchn00b Debian 2 02-09-2008 12:16 AM
Using the Logout option in KDE 3.5.4 causes a crash & black screen Interdictor Linux - Software 4 09-06-2006 03:25 PM
nVidia in Xorg=black screen FXRS Slackware 13 07-01-2004 01:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration