From owner-freebsd-x11@FreeBSD.ORG Sat Dec 16 17:10:57 2006 Return-Path: X-Original-To: freebsd-x11@freebsd.org Delivered-To: freebsd-x11@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 079F416A500 for ; Sat, 16 Dec 2006 17:10:57 +0000 (UTC) (envelope-from isaac.waldron@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.184]) by mx1.FreeBSD.org (Postfix) with ESMTP id 581E143C9F for ; Sat, 16 Dec 2006 17:10:54 +0000 (GMT) (envelope-from isaac.waldron@gmail.com) Received: by nf-out-0910.google.com with SMTP id x37so1374842nfc for ; Sat, 16 Dec 2006 09:10:53 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=cy180WvJWbQWSWKf4neOZFV76V1KfnCkWYgccUZjmYbMrm5XVfvBxUfSzaxfXR/mPUDHqIWcw2RDJZk0IjBUy0V4S+n/NhotzUWEbrUggC8FSAwmM54e5mmJR3KAvAKIc5qUCsa6fy+IimL6H7yGgYzjD+dZL+qJgCzzGjd7mDA= Received: by 10.82.167.5 with SMTP id p5mr278616bue.1166289052905; Sat, 16 Dec 2006 09:10:52 -0800 (PST) Received: by 10.82.157.1 with HTTP; Sat, 16 Dec 2006 09:10:52 -0800 (PST) Message-ID: <9c16502b0612160910g5eba0982sbc4c52306e0d1b89@mail.gmail.com> Date: Sat, 16 Dec 2006 12:10:52 -0500 From: "Isaac Waldron" To: freebsd-x11@freebsd.org In-Reply-To: <9c16502b0612141458o75c27495k4b72bd1f56b21f55@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <9c16502b0612131708r365b8ccew72e936bc67dada60@mail.gmail.com> <4581AA17.3080501@gaspode.franken.de> <4581B846.50200@voicenet.com> <9c16502b0612141458o75c27495k4b72bd1f56b21f55@mail.gmail.com> Subject: Re: 6.2-PRE, AGP X800, and Modular Xorg == No DRI? 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, 16 Dec 2006 17:10:57 -0000 Upon further debugging, it appears that RADEONDRIGetVersion is failing due to symbol "drmAvailable" not being found. This was silently failing, so I added a call to xf86DrvMsg to make it speak up. Now, drmAvailable appears to be part of the libdrm port, of which I have version 2.3.0 installed. Apparently, Xorg is not loading libdrm.so for some reason? libdrm.so is located in /usr/local/lib, is there something special I need to do to get Xorg to pull this in? Isaac On 12/14/06, Isaac Waldron wrote: > I have tried various values for -logverbose and can't get it to give > me more information about why exactly direct rendering is disabled. > What is the maximum usable value for -logverbose? > > Isaac > > On 12/14/06, Adam K Kirchhoff wrote: > > German Tischler wrote: > > > Isaac Waldron wrote: > > > > > >> Everything seems to work fine with the exception that direct > > >> rendering is disabled. This same machine worked fine with Xorg 6.9 > > >> from the regular ports tree, but I was interested in modular Xorg for > > >> the possibility of limited 3D acceleration support for newer Radeons. > > >> > > >> I have since rebuilt world to 6.2-PRERELEASE as of yesterday, and > > >> direct rendering is still disabled. dmesg is reporting that agp and > > >> drm are detecting my card. Has anyone successfully gotten this > > >> combination working with DRI? If so, what tricks did you use? > > >> > > > > > > Please try to run a program using OpenGL with debug flags, e.g. > > > > > > LIBGL_DEBUG=YES MESA_DEBUG=YES teapot > > > > > > One problem will probably be that the graphics/dri Port assumes that > > > posix_memalign is present in FreeBSD, which is not true for FreeBSD 6, > > > so the r300_dri.so object will fail to load. I have DRI working on a > > > X850 based PCI express card in my FreeBSD 6.2 pre machine, so getting > > > the X800 working should be possible. > > > > > > > If you look at his Xorg log file, you'll notice that Direct Rendering is > > disabled. Running a GL application with this debug flags isn't going to > > show anything interesting... The problem seems to be that the Xorg log > > file doesn't actually say why Direct Rendering is disabled. > > > > Also, it seems pretty clear to me that not all X*** cards (PCIe, > > specifically) are working properly, as my screen is pretty well > > corrupted when I enable DRI on my x800 XL :-) > > > > Adam > > > > > > > -- > Isaac Waldron > isaac.waldron@gmail.com > home: 781-365-0272 > mobile: 1-508-353-3453 > -- Isaac Waldron isaac.waldron@gmail.com home: 781-365-0272 mobile: 1-508-353-3453