From owner-freebsd-mobile@FreeBSD.ORG Wed Sep 20 13:06:21 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 124EE16A407 for ; Wed, 20 Sep 2006 13:06:21 +0000 (UTC) (envelope-from stephen@math.missouri.edu) Received: from sccmmhc92.asp.att.net (sccmmhc92.asp.att.net [204.127.203.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2BA0843D6A for ; Wed, 20 Sep 2006 13:06:14 +0000 (GMT) (envelope-from stephen@math.missouri.edu) Received: from [10.0.0.4] (12-216-254-44.client.mchsi.com[12.216.254.44]) by sccmmhc92.asp.att.net (sccmmhc92) with ESMTP id <20060920130613m9200dotdve>; Wed, 20 Sep 2006 13:06:13 +0000 Message-ID: <45113CC4.40309@math.missouri.edu> Date: Wed, 20 Sep 2006 08:06:12 -0500 From: Stephen Montgomery-Smith User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.13) Gecko/20060919 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Markus Hoenicka References: <1158738818.4510f3827f318@www.domainfactory-webmail.de> In-Reply-To: <1158738818.4510f3827f318@www.domainfactory-webmail.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-mobile@freebsd.org Subject: Re: Xorg (i810) freezes randomly when using hardware accel X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Sep 2006 13:06:21 -0000 Markus Hoenicka wrote: > Hi, > > I'm running FreeBSD 6.1 on a MSI260 subnotebook. It's a Centrino thing using the > 915GM chipset. Xorg is running (mostly) alright using the current 6.9.0 ports. > However, I suffer from random freezes when running programs that apparently try > to use hardware acceleration. I see this e.g. when watching movie clips with > Xine. This is not a problem with the clips themselves. They run ok a couple of > times, then they randomly freeze X. > > This happens only if I use the i810 driver. I can run X just as well with the > Vesa driver (without hardware acceleration). The frame rates are lower, but X > is rock solid. It also never freezes if I use only applications that do not use > hardware acceleration. > > The real bad thing is that after the i810 driver freezes X, I can't access the > console anymore. Pressing Ctrl+Alt+backspace sometimes alters the frozen > display to a modern-art style random pattern, but the box does not react to > further keypresses, and the display never leaves graphics mode. FreeBSD is > still running happily underneath as I can log in from a remote box without a > hitch. The process list shows that all X-related stuff is gone, except a font > server. > > My two questions: > > 1) is there anything I can do to prevent the crashes in the first place? > > 2) if it has to crash anyway, is there a magic incantation (even if I have to > log in remotely) to activate the console again? Having to reboot makes me feel > like running Windows. Interestingly enough I get exactly the same problem with my desktop system with an Nvidia graphics card. The only difference is that when I log on remotely, top shows Xorg running with close to 100% cpu. "killall -9 Xorg" fixes the problem for me, but it is not a satisfactory solution.