From owner-freebsd-x11@FreeBSD.ORG Sat Apr 28 09:23:32 2012 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6628D1065672 for ; Sat, 28 Apr 2012 09:23:32 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id F21FB8FC12 for ; Sat, 28 Apr 2012 09:23:31 +0000 (UTC) Received: from skuns.kiev.zoral.com.ua (localhost [127.0.0.1]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id q3S9NKDI020885; Sat, 28 Apr 2012 12:23:20 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.5/8.14.5) with ESMTP id q3S9NK9m070608; Sat, 28 Apr 2012 12:23:20 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.5/8.14.5/Submit) id q3S9NKQb070607; Sat, 28 Apr 2012 12:23:20 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Sat, 28 Apr 2012 12:23:20 +0300 From: Konstantin Belousov To: Jose Garcia Juanino Message-ID: <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> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="rnP0JcPO2WiWznBE" Content-Disposition: inline In-Reply-To: <20120427202548.GA2177@banach> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.0 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: freebsd-x11@freebsd.org Subject: Re: Loading i915 module panics my system after patching with Intel GPU patch 14.4 for stable/9 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Apr 2012 09:23:32 -0000 --rnP0JcPO2WiWznBE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 27, 2012 at 10:25:49PM +0200, Jose Garcia Juanino wrote: > El jueves 26 de abril a las 21:02:19 CEST, Konstantin Belousov escribi?: > > On Thu, Apr 26, 2012 at 08:49:35PM +0200, Jose Garcia Juanino wrote: > > >=20 > > > It is possible to execute a "startx" from the blank screen, but the > > > results are a very weird X session, with no functional mouse nor keyb= oard. > >=20 > > Does the right image appear ? What do you mean by 'weird X session' ? > >=20 > > Non-functioning kbd/mouse has nothing to do with i195.ko. >=20 > Sorry, yesterday I was not very smart. >=20 > Actually, I have xf86-video-intel-2.17.0 and xorg-server-1.10.6,1 > (rebuilt today from a updated ports tree, with WITH_NEW_XORG=3Dyes and > WITH_KMS=3Dyes in /etc/make.conf). Here I show you the results: >=20 > 1- startx with vesa driver. > Everything works smoothly. Keyboard and mouse are fully functional. I > can use the browser, open terminals, etc. >=20 >=20 > 2- startx with intel driver > X session takes a lot of time until it appears (1 minute). From a ssh > session, I see the Xorg process to consume the 100% of cpu time (kernel > time, not user time). But once the screen is showed up, it looks fine. > Fonts are well displayed and depth color is 24 (vesa only supports 8). > After a few minutes, CPU time drops until 0%, and it is possible to use > the computer. But if I try to move the mouse, again the cpu time > increase until 100% for 1 minute, and the system is unresponsive. Only I > can use the computer by mean of the keyboard after cpu consume drops > again. >=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] [CONNE= CTOR: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. 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. --rnP0JcPO2WiWznBE Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (FreeBSD) iEYEARECAAYFAk+btwgACgkQC3+MBN1Mb4gfFACgq/IsauOpl6oyjecVW+f3xW8M CnsAnjB7Zk7bkB5j5ER+RqQn8AuVersr =tKOP -----END PGP SIGNATURE----- --rnP0JcPO2WiWznBE--