[Ubuntu-x-swat] [Bug 1176647] Re: Random Xorg freezes occuring hours after login
Out of the backend I tried (xv, gl_nosw, x11, sdl/x11, gl, gl2) xv seems to be causing the problem. I am currently using the backend x11 and have yet to observe a crash using it. However during my tesing cauing the crash was not as reliable as in real-world usage before but at the time of the crash I had only (two) mplayers with xv backend running. -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xserver-xorg-video-intel in Ubuntu. https://bugs.launchpad.net/bugs/1176647 Title: Random Xorg freezes occuring hours after login To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/1176647/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 1176647] Re: Random Xorg freezes occuring hours after login
Can you try the gl backend in real world usage? I expect it to fail as well, as I think the failure mode here is the machine dying whilst waiting up a scanline - and both the Xv and gl backends should trigger that code. (Except in the case of fullscreen gl, which will go through another path). Whereas the X11 backend will not (and also will not actually use the GPU). In a very recent -intel DDX update, I've coupled Option SwapbuffersWait false to disable the vsync for the Xv backend as well. You can disable that through an Xv parameter -- provided it is exposed by the client. That will be very useful for testing whether the scanline wait is the root cause. -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xserver-xorg-video-intel in Ubuntu. https://bugs.launchpad.net/bugs/1176647 Title: Random Xorg freezes occuring hours after login To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/1176647/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 1176647] Re: Random Xorg freezes occuring hours after login
For some other reason I switched my window manager to dwm and can now almost reliably reproduce the failure by simply starting a video in mplayer and wait for approx. 5 seconds. Before with gnome/metacity I could sometimes watch entire movies of multiple hours. Sometimes it would crash in between but sometimes not. However with dwm it crashes all the time and almost immediately. Since even with sync I could not see a file (error_state) being written I finally got around to SSH into my maschine and observe the behaviour which is worse than expected. At the time the crash happens my SSH shell is also unreponsive any more which strongly hints that not only my X/display subsystem is broken but rather the whole kernel. Due to this I am unable to produce the error_state as the maschine is not responding to any commands (either 'sleep X ' or SSH) as it is ~halted already. This issue is really annoying and it can be assumed to be related to video playback of some kind as this is the only way i can reproduce it now. By the way I upgraded to kernel 3.8.0-23-generic in the meantime. -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xserver-xorg-video-intel in Ubuntu. https://bugs.launchpad.net/bugs/1176647 Title: Random Xorg freezes occuring hours after login To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/1176647/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 1176647] Re: Random Xorg freezes occuring hours after login
How are you playing the video? If you are using mplayer, can you try the various backends to see if any are more susceptible? -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xserver-xorg-video-intel in Ubuntu. https://bugs.launchpad.net/bugs/1176647 Title: Random Xorg freezes occuring hours after login To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/1176647/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 1176647] Re: Random Xorg freezes occuring hours after login
Hmm, suggests that the fresh data never reached disk before the system hang. Maybe try 'while :; do sleep 1; cat ... error_state; sync; done' -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xserver-xorg-video-intel in Ubuntu. https://bugs.launchpad.net/bugs/1176647 Title: Random Xorg freezes occuring hours after login To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/1176647/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 1176647] Re: Random Xorg freezes occuring hours after login
** Package changed: xorg (Ubuntu) = xserver-xorg-video-intel (Ubuntu) ** Changed in: xserver-xorg-video-intel (Ubuntu) Status: Confirmed = New -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xserver-xorg-video-intel in Ubuntu. https://bugs.launchpad.net/bugs/1176647 Title: Random Xorg freezes occuring hours after login To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/1176647/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 1176647] Re: Random Xorg freezes occuring hours after login
The symptoms are consistent with a GPU hang, so please try to grab the /sys/kernel/debug/dri/0/i915_error_state after the event (and before rebooting). -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xserver-xorg-video-intel in Ubuntu. https://bugs.launchpad.net/bugs/1176647 Title: Random Xorg freezes occuring hours after login To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/1176647/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 1176647] Re: Random Xorg freezes occuring hours after login
Since the affected maschine is not reachable via SSH, I just dumped the error state every second (while [ 1 ]; sleep 1; do cat /sys/kernel/debug/dri/0/i915_error_state error_state; done) and deleted all the no error state lines from the file before the actual error dump after the crash. As it turns out, the error state is all zeroes (I do not expect this to be helpful): $ hexdump errorstate.dump 000 * 150 000a 15f I expect the last byte to be the newline inserted from the shell. ** Attachment added: errorstate.dump https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/1176647/+attachment/3684114/+files/errorstate.dump -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xserver-xorg-video-intel in Ubuntu. https://bugs.launchpad.net/bugs/1176647 Title: Random Xorg freezes occuring hours after login To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/1176647/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 1176647] Re: Random Xorg freezes occuring hours after login
The bug can occur as early as 1 minute after boot up. I tried watching a video in mplayer. Several times the system locked up which I handled with a hard reset. Once I just started mplayer, skipped to the correct position in the video and could only watch 5 seconds more as the system froze again. When the system locks up during video playback, not only the picture freezes but also the playback is stopped as I cannot hear any audio which I would be supposed to hear if the playback would continue (even with broken/frozen video output). On the other hand when just playing music in mplayer, a lockup does not stop mplayer from continious audio playback. I therefore assume that the video playing mplayer is stopped due to its feedback (or possibly due to no response) from the XVideo extension (and the underlying driver). Since the mplayer in pure audio mode has no connection to the X11 system I can continue without problems. -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in Ubuntu. https://bugs.launchpad.net/bugs/1176647 Title: Random Xorg freezes occuring hours after login To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1176647/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 1176647] Re: Random Xorg freezes occuring hours after login
I continue to experience this bug several times a day. The bug can occur as early as 20 minutes after boot, but may also not occur during several hours of usage. I do not see anything suspicious in the log files though. It might be a coincidence but it may especially occur when using mplayer. -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in Ubuntu. https://bugs.launchpad.net/bugs/1176647 Title: Random Xorg freezes occuring hours after login To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1176647/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 1176647] Re: Random Xorg freezes occuring hours after login
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: xorg (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in Ubuntu. https://bugs.launchpad.net/bugs/1176647 Title: Random Xorg freezes occuring hours after login To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1176647/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp