From owner-freebsd-x11@FreeBSD.ORG Fri Aug 30 09:22:51 2013 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 1C070A46 for ; Fri, 30 Aug 2013 09:22:51 +0000 (UTC) (envelope-from zeising@freebsd.org) Received: from mail.lysator.liu.se (mail.lysator.liu.se [IPv6:2001:6b0:17:f0a0::3]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9418C24DB for ; Fri, 30 Aug 2013 09:22:50 +0000 (UTC) Received: from mail.lysator.liu.se (localhost [127.0.0.1]) by mail.lysator.liu.se (Postfix) with ESMTP id F25FD40006 for ; Fri, 30 Aug 2013 11:22:47 +0200 (CEST) Received: by mail.lysator.liu.se (Postfix, from userid 1004) id E880240009; Fri, 30 Aug 2013 11:22:47 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on bernadotte.lysator.liu.se X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=AWL autolearn=disabled version=3.3.1 X-Spam-Score: 0.0 Received: from mx.daemonic.se (unknown [94.254.45.105]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.lysator.liu.se (Postfix) with ESMTPSA id 4CC4A40006; Fri, 30 Aug 2013 11:22:45 +0200 (CEST) Received: from mailscanner.daemonic.se (mailscanner.daemonic.se [IPv6:2001:470:dca9:0:1::6]) by mx.daemonic.se (Postfix) with ESMTPS id 3cRFb86B8Mz8hVn; Fri, 30 Aug 2013 11:22:44 +0200 (CEST) X-Virus-Scanned: amavisd-new at daemonic.se Received: from mx.daemonic.se ([10.1.0.3]) (using TLS with cipher CAMELLIA256-SHA) by mailscanner.daemonic.se (mailscanner.daemonic.se [10.1.0.6]) (amavisd-new, port 10025) with ESMTPS id tWzOhcYnrWOc; Fri, 30 Aug 2013 11:22:42 +0200 (CEST) Received: from mail.daemonic.se (mail.daemonic.se [10.1.0.4]) by mx.daemonic.se (Postfix) with ESMTPS id 3cRFb60Ld5z8hVm; Fri, 30 Aug 2013 11:22:42 +0200 (CEST) Received: from [IPv6:::1] (celes.daemonic.se [IPv6:2001:470:dca9:1::3]) by mail.daemonic.se (Postfix) with ESMTPSA id 3cRFb553BLz9Ctj; Fri, 30 Aug 2013 11:22:41 +0200 (CEST) Message-ID: <52206460.5020902@freebsd.org> Date: Fri, 30 Aug 2013 11:22:40 +0200 From: Niclas Zeising User-Agent: Mutt/1.5.21 MIME-Version: 1.0 To: Thomas Mueller Subject: Re: ports/156405: x11-drivers/xf86-video-ati driver: no hardware rendering References: <26.37.28548.F1A30225@hrndva-omtalb.mail.rr.com> In-Reply-To: <26.37.28548.F1A30225@hrndva-omtalb.mail.rr.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 130829-1, 2013-08-29), Outbound message X-Antivirus-Status: Clean X-Virus-Scanned: ClamAV using ClamSMTP Cc: freebsd-x11@freebsd.org, Matthew Rezny X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Aug 2013 09:22:51 -0000 On 2013-08-30 08:22, Thomas Mueller wrote: > From my previous post and Niclas Zeising's response: > >>> When I tried with new Xorg and KMS in 9-STABLE, my system froze immediately, not just the console. I finally managed to downgrade to the old Xorg after >> considerable difficulty. > >> What hardware do you have? Are you sure that the system froze, and not >> only that the console went black? Did you check any logs (dmesg, xorg >> log, etc.) How do you load the kernel modules for the intel kms driver? >> In general, you shouldn't need to load anything at all, X loads the >> correct kernel module at the correct time during startup. > > I don't remember about the logs, and now is far too late. > > But I remember doing everything I did when I had this problem with NetBSD on old computer, native xorg server, not pkgsrc, and no KMS. > > Nothing I did with keyboard had any effect. I tried to Ctrl-Alt-F1 and "shutdown -r now", nothing. > > I also tried the Caps Lock key to see if there was any life, did not light up. > > By the way, another problem I had with NetBSD was the text console screen blanking after 30 seconds inactivity and not coming back until I could find my way in the dark to a root command prompt and type > > screenblank -u This could be a NetBSD specific issue maybe? As I said before, I had no trouble on my laptop running 'startx' from the black console, so I assume shutdown -r now works as long as I have a root shell. I also could shut down cleanly with the power button, using acpi. All this on FreeBSD. > >>>>> With serial ports becoming obsolete, what can one use for or in place of a serial console? > >>>> FireWire. I haven't tested myself, but have a look at >>>> http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug-dcons.html >>>> for instructions on how to use FireWire as a console. > >>> This still leaves the question of how to set it up in terms of hardware. I don't think there are any FireWire consoles. > >>> Would I plug anything into the motherboard's FireWire port? I just thought of FireWire-to-HDMI cable but haven't looked to see if these exist. > >> Check the guide. In general you plug the firewire cable from one >> computer into another computer, and use the first one to debug the second. > > Does it have to be Firewire as opposed to something else like USB or Ethernet? It has to be FireWire... With FireWire it is possible to do DMA, or access system memory directly, or somesuch, which makes it work (and also is a security issue, apparently). I have heard people suggest making a debug network stack to be able to debug remotely using ethernet, but this is not possible today. > Regarding xorg.conf, I could run, as root (already did), "Xorg -configure" from present installation, and make one version with driver vesa. > > I see I have a /root/xorg.conf.new with Driver "fbdev". Change that to "intel" for one version and "vesa" for the other? Something like that, then you have to point X to the right config at startup. Regards! -- Niclas