Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Apr 2012 15:02:40 +0300
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Jose Garcia Juanino <jjuanino@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:  <20120428120240.GI2358@deviant.kiev.zoral.com.ua>
In-Reply-To: <20120428114752.GA2060@banach>
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> <20120428114752.GA2060@banach>

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

--wdLwPLKTqJfXf/Ws
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Apr 28, 2012 at 01:47:54PM +0200, Jose Garcia Juanino wrote:
> 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:
> > >=20
> > > In the meantime, I can see the following in syslog when the cpu is 10=
0%:
> > >=20
> > > Apr 27 21:33:36 riemann kernel: [drm:KMS:pid0:output_poll_execute] [C=
ONNECTOR: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 weth=
er
> > > 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 po=
or
> > > 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.
>=20
> 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:
>=20
> 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] c=
ursor off
>=20
> I can contribute some additional data related to this issue: CPU issue
> appears when:
>=20
> 1- switching between windows
> 2- changing the focus (with the mouse or keyboard)
> 3- open a new window
>=20
> 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.
>=20
> 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.
>=20
> http://www.mipaginapersonal.movistar.es/web3/jjuanino/kdump.txt
You have kms debugging enabled.  Try to set sysctl hw.dri.debug to 0,
after the X server started.

--wdLwPLKTqJfXf/Ws
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (FreeBSD)

iEYEARECAAYFAk+b3GAACgkQC3+MBN1Mb4hiDgCghr++hemtbCd/1YGAGgUinNbH
ZVMAoJFKl3pN1IaJcTWWLp5GpuBDwNgx
=Ch4z
-----END PGP SIGNATURE-----

--wdLwPLKTqJfXf/Ws--



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