From owner-freebsd-mobile@FreeBSD.ORG Wed Sep 20 13:05:50 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 3F78116A4E7 for ; Wed, 20 Sep 2006 13:05:50 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [83.120.8.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id ECAC643D69 for ; Wed, 20 Sep 2006 13:05:34 +0000 (GMT) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (srqxab@localhost [127.0.0.1]) by lurza.secnetix.de (8.13.4/8.13.4) with ESMTP id k8KD5SPv049678 for ; Wed, 20 Sep 2006 15:05:33 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.13.4/8.13.1/Submit) id k8KD5SMC049677; Wed, 20 Sep 2006 15:05:28 +0200 (CEST) (envelope-from olli) Date: Wed, 20 Sep 2006 15:05:28 +0200 (CEST) Message-Id: <200609201305.k8KD5SMC049677@lurza.secnetix.de> From: Oliver Fromme To: freebsd-mobile@FreeBSD.ORG In-Reply-To: <1158738818.4510f3827f318@www.domainfactory-webmail.de> X-Newsgroups: list.freebsd-mobile User-Agent: tin/1.8.0-20051224 ("Ronay") (UNIX) (FreeBSD/4.11-STABLE (i386)) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Wed, 20 Sep 2006 15:05:33 +0200 (CEST) Cc: Subject: Re: Xorg (i810) freezes randomly when using hardware accel X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-mobile@FreeBSD.ORG 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:05:50 -0000 Markus Hoenicka wrote: > 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. I have pretty much the same setup with a Samsung notebook: Centrino, 915GM chipset, FreeBSD RELENG_6 (which is now 6.2-PRERELEASE), Xorg 6.9.0, i810 driver. I have never experienced freezes. So there must be a difference somewhere. Maybe you should also try to upgrade to latest RELENG_6? > 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. If all X-related processes are gone, can you restart the X server? What happens if you try? Obviously, what seems to happen is that the X server dies in an uncontrolled way (e.g. due to a fatal signal), so it doesn't have a chance to restore text mode. Does it write a core dump? Are there any hints in the corg log file? Maybe you should also try to ask for help on an Xorg mailing list, as the problem might not be FreeBSD-specific. > 1) is there anything I can do to prevent the crashes in the first place? I don't know what's causing the crash, so I don't know how to prevent it. > 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. You could try to log in on the text console (blindly) and type "vidcontrol 80x25" to reset the standard text mode. If you log in via ssh, you must redirect stdin so it uses the right text console (you need to be root for this): "vidcontrol 80x25