Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Apr 2012 13:47:54 +0200
From:      Jose Garcia Juanino <jjuanino@gmail.com>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        freebsd-x11@freebsd.org
Subject:   Re: Loading i915 module panics my system after patching with Intel GPU patch 14.4 for stable/9
Message-ID:  <20120428114752.GA2060@banach>
In-Reply-To: <20120428092320.GD2358@deviant.kiev.zoral.com.ua>
References:  <20120424184459.GB2455@banach> <20120424194123.GC2358@deviant.kiev.zoral.com.ua> <20120424201526.GA2045@banach> <20120425053243.GF2358@deviant.kiev.zoral.com.ua> <20120426184933.GA2328@banach> <20120426190219.GU2358@deviant.kiev.zoral.com.ua> <20120427202548.GA2177@banach> <20120428092320.GD2358@deviant.kiev.zoral.com.ua>

next in thread | previous in thread | raw e-mail | index | archive | help

--4Ckj6UjgE2iN1+kY
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

El s=E1bado 28 de abril a las 11:23:20 CEST, Konstantin Belousov escribi=F3:
> On Fri, Apr 27, 2012 at 10:25:49PM +0200, Jose Garcia Juanino wrote:
> >=20
> > In the meantime, I can see the following in syslog when the cpu is 100%:
> >=20
> > Apr 27 21:33:36 riemann kernel: [drm:KMS:pid0:output_poll_execute] [CON=
NECTOR: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
> >=20
> >=20
> > 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.
> >=20
> > Best regards, I appreciate your time and efforts, and sorry for my poor
> > english.
>=20
> 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] cur=
sor 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

--4Ckj6UjgE2iN1+kY
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (FreeBSD)

iEYEARECAAYFAk+b2OgACgkQFOo0zaS9RnISmgCcCaZNIXoPF2hEpJLAANHQDYaL
W9AAn0zXvrarg2uQ3ej/IWwh04HyGoKZ
=l4UR
-----END PGP SIGNATURE-----

--4Ckj6UjgE2iN1+kY--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120428114752.GA2060>