From owner-freebsd-stable@FreeBSD.ORG Wed Feb 10 22:44:48 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8A89D10656C5 for ; Wed, 10 Feb 2010 22:44:48 +0000 (UTC) (envelope-from mik@pc.dk) Received: from pfepa.post.tele.dk (pfepa.post.tele.dk [195.41.46.235]) by mx1.freebsd.org (Postfix) with ESMTP id 254018FC0C for ; Wed, 10 Feb 2010 22:44:47 +0000 (UTC) Received: from alpha.miknet.dk (0x5738c19d.rdnqu2.dynamic.dsl.tele.dk [87.56.193.157]) by pfepa.post.tele.dk (Postfix) with ESMTP id C8511A50039 for ; Wed, 10 Feb 2010 23:44:37 +0100 (CET) Date: Wed, 10 Feb 2010 23:43:15 +0100 From: Martin Kristensen To: freebsd-stable@freebsd.org Message-ID: <20100210234315.7abde83c@alpha.miknet.dk> In-Reply-To: <1265839318.8609.104.camel@balrog.2hip.net> References: <6101e8c41002091524q25a7e026u585e575eb4f1589c@mail.gmail.com> <4B728A7A.60706@gmail.com> <4B72D57D.6080002@icyb.net.ua> <4B72D854.5080902@gmail.com> <1265818363.8609.70.camel@balrog.2hip.net> <4B72FB00.3000105@gmail.com> <4B72FC0A.1020701@icyb.net.ua> <20100210220508.790ee773@alpha.miknet.dk> <1265839318.8609.104.camel@balrog.2hip.net> Organization: Private X-Mailer: Claws Mail 3.7.5 (GTK+ 2.18.6; amd64-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: freebsd7 (and 8), radeon, xorg-server -> deadlock or so X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Feb 2010 22:44:48 -0000 On Wed, 10 Feb 2010 16:01:58 -0600 Robert Noland wrote: > On Wed, 2010-02-10 at 22:05 +0100, Martin Kristensen wrote: > > On Wed, 10 Feb 2010 20:33:46 +0200 > > Andriy Gapon wrote: > > > > > on 10/02/2010 20:29 Vitaly Magerya said the following: > > > > Robert Noland wrote: > > > >>> It is not, and yes I use WITHOUT_HAL. Currently disabling DRI > > > >>> helps; should I try rebuilding xorg-server with HAL? > > > >> Yes, you can still disable hal at runtime by setting > > > >> AutoAddDevices "Off" in xorg.conf. > > > > > > > > Seems to work with HAL. > > > > > > I've long thought that xorg server should be linked with libthr > > > regardless of HAL option. Unfortunately, I never came up with > > > patch, nor have anyone else. Xorg server really uses pthreads > > > when doing DRM and HAL brings in libthr dependency only as an > > > accident. > > > > > > > This is my first post to this list, so hello all. > > > > I have been running with NoAccel for a long time, since disabling > > DRI alone would cause a complete deadlock (screen to standby, no > > ssh, no response to keyboard, etc.). > > > > However, I rebuilt xorg-server with HAL support, and now simply > > disabling DRI allows me to start X. > > > > The card is RV790 based. > > Just checked... This card should work with Accel and DRI... At least > on -CURRENT with updated ports. Check UPDATING, and set > WITHOUT_NOUVEAU to get correct version of libdrm. > > robert. > I am on -STABLE built on Jan. 19. I updated mesa today (to libdrm-2.4.17), and rebuilt xorg-server and drivers. I have WITHOUT_NOUVEAU="YES" in /etc/make.conf. pkg_info reports libGL-7.6.1. I have tried loading radeon.ko manually before startx. If it will help, I can switch to -CURRENT to see if that changes anything. Martin PS. Robert, in researching this I got some idea of the effort you put into this, thanks! -- Martin Kristensen