[Intel-gfx] Video freezing after activating XScreensaver

Chris cpollock at embarqmail.com
Wed Oct 14 07:33:03 PDT 2015


On Wed, 2015-10-14 at 14:55 +0200, Daniel Vetter wrote:
> On Tue, Oct 13, 2015 at 02:51:25PM -0500, Chris wrote:
> > On Tue, 2015-10-13 at 17:30 +0200, Daniel Vetter wrote:
> > > On Tue, Oct 13, 2015 at 08:56:52AM -0500, Chris wrote:
> > > > This is an issue that has been ongoing for over 1 1/2 years now. I have
> > > > tried kernel after kernel and whether it's a Ubuntu kernel such as the
> > > > one in my sig or a kernel from here -
> > > > http://kernel.ubuntu.com/~kernel-ppa/mainline/drm-intel-next/ the video
> > > > will intermittently freeze. Running XScreensaver causes it to freeze
> > > > when switching between the different screen savers showing a black
> > > > screen and the mouse cursor. The cursor can be moved and will switch
> > > > between the arrow and the hand tool if hovering over a clickable area on
> > > > the desktop even though it can't be seen. Giving an error output in my
> > > > syslog of 
> > > > 
> > > > kernel: [578631.820045] [drm:i915_hangcheck_elapsed [i915]] *ERROR*
> > > > Hangcheck timer elapsed... render ring idle
> > > 
> > > Known problem and we never managed to fix it. The first time it happens a
> > > workaround should kick in, which should prevent any future freezes (until
> > > you reboot at least).
> > > 
> > > If freezes still happen after that there's another bug on top.
> > > -Daniel
> > > 
> > Thanks for the reply Daniel, and there entails the problem. Once the
> > video freezes you have no idea if the 'workaround' kicked in or not. I
> > can SSH in via my tablet since all the system is still active. That's
> > the only way I can effectively capture any log files and reboot. The
> > 'Hangcheck...' error only seems to appear if I start XScreensaver
> > running at other times the video will freeze with no errors noted at
> > all. 
> 
> In that case it seems unrelated to the error in dmesg. No idea what's
> happening on your system - hangcheck is rather reliable at figuring out
> there's a stuck gpu somewhere. If it doesn't fire the gpu should be all
> fine and the stall happens somewhere else.
> -Daniel
> > 

I can trace the 'Hangcheck...' error back to starting with Ubuntu kernel
3.13.0-36.63-generic. I have almost 10k hourly syslog snapshots and from
what I can see kernel 3.13.0-35.62 generic seemed to work fine. It's
hard to say when the freeze started without the 'Hangcheck..' error as
the Ubuntu kernel folks have had me trying different kernels. Something
else I've noticed now that I'm using kernel 4.2.3-040203-generic is that
when lowering a window such as this post the screen will flicker then
stop and at times will do it continuously. I've tried to capture a
screen shot of this but it stops when I bring up Gnome screen shot.
However, each time this happens this is noted in my syslog -  

Oct 14 09:27:46 localhost kernel: [133491.924244] [drm:drm_mode_addfb2]
[FB:75]
Oct 14 09:27:46 localhost kernel: [133491.941992] [drm:drm_mode_addfb2]
[FB:76]
Oct 14 09:28:54 localhost kernel: [133560.356750] [drm:drm_mode_addfb2]
[FB:57]
Oct 14 09:29:47 localhost kernel: [133612.644738] [drm:drm_mode_addfb2]
[FB:59]

Anyway, thanks for the reply Daniel. Hopefully some day I'll be able to
go more than a few days without a video freeze.

> > > > 
> > > > I was able to reproduce this yesterday by starting XScreensaver at
> > > > 9:43am and at 13:44pm the video froze giving the above error. At other
> > > > times when XScreensaver is not running the video will still randomly
> > > > freeze however there is no specific time frame for this to happen. I've
> > > > seen it go 2 days then freeze and have also seen it go 16 days then
> > > > freeze. As I've said previously all background operations continue to
> > > > run as just the video is frozen.
> > > > 
> > > > I have had the random freeze happen when running this kernelkernel
> > > > 4.0.0-997-generic #201503310205 SMP Tue Mar
> > > > 31 02:07:04 UTC 2015 which Chris Wilson from this list had me run kernel
> > > > kernel 4.0.0-997-generic #201503310205 SMP Tue Mar
> > > > 31 02:07:04 UTC 2015 however when I attempted to file a bug report at
> > > > Ubuntu Launchpad it was not accepted so the Ubuntu kernel folks had me
> > > > switch to kernel 4.2.3-040203-generic #201510030832 SMP Sat Oct 3
> > > > 12:34:31 UTC 2015 which although is an upstream kernel is what they
> > > > wanted me to run. The bug report that I've filed on Launchpad is
> > > > https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1497627 
> > > > 
> > > > I've attempted to boot into the following Ubuntu upstream kernels:
> > > > 
> > > > v4.3-rc5-unstable - Boot process would begin but would not complete
> > > > v4.3-rc4-unstable - same as above
> > > > v4.3-rc3-unstable - same as above
> > > > v4.3-rc2-unstable - Same as above
> > > > v4.3-rc1-unstable - Same as above
> > > > 
> > > > I also attempted last night to boot into
> > > > 
> > > > v4.3-rc5-unstable from
> > > > http://kernel.ubuntu.com/~kernel-ppa/mainline/?C=N;O=D which gave the
> > > > same results. The boot process would begin but then go to just a black
> > > > screen without completing. 
> > > > 
> > > > I have either filed or commented on the following bugs also:
> > > > 
> > > > https://bugs.freedesktop.org/show_bug.cgi?id=75394
> > > > https://bugs.freedesktop.org/show_bug.cgi?id=89290
> > > > https://bugs.freedesktop.org/show_bug.cgi?id=91495
> > > > 
> > > > System info is:
> > > > 
> > > > Dell Optiplex 780
> > > > Bios A15
> > > > Ubuntu 14.04.3 LTS
> > > > Gnome 3.12.2
> > > > 
> > > > Am I still the only one who is experiencing this issue? 
> > > > -- 
> > > > Chris
> > > > KeyID 0xE372A7DA98E6705C
> > > > 31.11°N 97.89°W (Elev. 1092 ft)
> > > > 07:57:25 up 11:34, 1 user, load average: 0.37, 0.41, 0.33
> > > > Ubuntu 14.04.3 LTS, kernel 4.2.3-040203-generic #201510030832 SMP Sat
> > > > Oct 3 12:34:31 UTC 2015
> > > > 
> > > > _______________________________________________
> > > > Intel-gfx mailing list
> > > > Intel-gfx at lists.freedesktop.org
> > > > http://lists.freedesktop.org/mailman/listinfo/intel-gfx
> > > 
> > 
> > -- 
> > Chris
> > KeyID 0xE372A7DA98E6705C
> > 31.11°N 97.89°W (Elev. 1092 ft)
> > 14:45:43 up 18:22, 1 user, load average: 0.49, 0.24, 0.17
> > Ubuntu 14.04.3 LTS, kernel 4.2.3-040203-generic #201510030832 SMP Sat
> > Oct 3 12:34:31 UTC 2015
> > 
> 

-- 
Chris
KeyID 0xE372A7DA98E6705C
31.11°N 97.89°W (Elev. 1092 ft)
08:59:13 up 1 day, 12:36, 1 user, load average: 0.72, 0.33, 0.34
Ubuntu 14.04.3 LTS, kernel 4.2.3-040203-generic #201510030832 SMP Sat
Oct 3 12:34:31 UTC 2015



More information about the Intel-gfx mailing list