Loading i915 module panics my system after patching with Intel GPU patch 14.4 for stable/9

Jose Garcia Juanino jjuanino at gmail.com
Sat Apr 28 11:48:02 UTC 2012


El sábado 28 de abril a las 11:23:20 CEST, Konstantin Belousov escribió:
> On Fri, Apr 27, 2012 at 10:25:49PM +0200, Jose Garcia Juanino wrote:
> > 
> > In the meantime, I can see the following in syslog when the cpu is 100%:
> > 
> > Apr 27 21:33:36 riemann kernel: [drm:KMS:pid0:output_poll_execute] [CONNECTOR:11:VGA-1] status updated from 2 to 2
> > Apr 27 21:34:16 riemann last message repeated 4 times
> > Apr 27 21:36:16 riemann last message repeated 12 times
> > 
> > 
> > Well, that is everything I can contribute. I am unable to decide wether
> > this "weird" behavior is Xorg related or i915 kernel module related, but
> > the scenario final (i915 kernel with KSM support plus recent Xorg) is
> > not functional nor usable.
> > 
> > Best regards, I appreciate your time and efforts, and sorry for my poor
> > english.
> 
> Try to comment out the call to 	drm_kms_helper_poll_init(dev); at
> line 1032 of i915_dma.c. It might be that ddc reading consumes lots of
> CPU, lets see.

I have done that, and the previous messages have gone out in syslog, but
the CPU problem persists. Now, I get a lot of messages as these:

Apr 28 13:04:19 riemann kernel: [drm:KMS:pid1957:intel_crtc_cursor_set]
Apr 28 13:04:54 riemann kernel: [drm:KMS:pid1957:intel_crtc_cursor_set]
Apr 28 13:04:54 riemann kernel: [drm:KMS:pid1957:intel_crtc_cursor_set] cursor off

I can contribute some additional data related to this issue: CPU issue
appears when:

1- switching between windows
2- changing the focus (with the mouse or keyboard)
3- open a new window

Indeed, It seems to be that CPU time of Xorg increases to 100% only when
the system has to redraw some window. But when I am typing in a terminal
or doing a heavy scroll (for example, recompiling the kernel or viewing
quickly a trace file) the system does *not* eat the CPU, and Xorg
process only consume about 2-4% of CPU.

Here you can see a ktrace taken while I had two overlapping terminals
and I was changing the focus between them. The first one ran top -qS and
I could see how Xorg process took the 100% while Xorg was redrawn the
border of the other window. After that redrawn was done, CPU dropped at
0% again.

http://www.mipaginapersonal.movistar.es/web3/jjuanino/kdump.txt

Regards
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-x11/attachments/20120428/02edb4c5/attachment.pgp


More information about the freebsd-x11 mailing list