Date: Mon, 12 Oct 2015 23:39:53 +0300 From: Arto Pekkanen <isoa@kapsi.fi> To: freebsd-x11@freebsd.org Subject: i915kms temporary hang and screen freeze while playing games/openarena Message-ID: <e8d2b44b6f3f67c73a011809329af7cc@kapsi.fi>
next in thread | raw e-mail | index | archive | help
While playing games/openarena, sometimes the screen freezes for a few seconds, and I get the following error in dmesg: error: [drm:pid12:i915_hangcheck_ring_idle] *ERROR* Hangcheck timer elapsed... blitter ring idle I wanted to make a PR with useful dmesg output, so I enabled DRM2 debug output with drm.debug=2 in /boot/loader.conf and rebooted. But after I enabled the drm.debug=2 the game does not seem freeze anymore, and there are no errors in dmesg. I cannot reproduce the issue with drm.debug=2. Perhaps the debug mode somehow keeps the "blitter ring" running so that the hangcheck timer never elapses. Anyway, I've no idea how this DRM2 stuff works. However, I assume that this "blitter ring" is some thread that feeds the GPU with data to render (blit) onto screen. If the hangcheck timer elapses, that would mean that the "blitter ring" thread was sleeping (ie. not feeding data to GPU) even if there was data queued, the timed hangcheck detected this and woke up the thread. This is just an assumption made merely with grammatical analysis and total ignorance of the actual facts. # uname -a FreeBSD leno 10.2-RELEASE FreeBSD 10.2-RELEASE #0 r286666: Wed Aug 12 15:26:37 UTC 2015 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 Hardware: Thinkpad T430, dual-core Intel i5 (4 threads), Ivy Bridge, Intel HD4000 -GPU Is there anything I could do to help get this bug corrected? -- Arto Pekkanen
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e8d2b44b6f3f67c73a011809329af7cc>