Date: Sat, 16 Dec 2006 12:10:52 -0500 From: "Isaac Waldron" <isaac.waldron@gmail.com> To: freebsd-x11@freebsd.org Subject: Re: 6.2-PRE, AGP X800, and Modular Xorg == No DRI? Message-ID: <9c16502b0612160910g5eba0982sbc4c52306e0d1b89@mail.gmail.com> In-Reply-To: <9c16502b0612141458o75c27495k4b72bd1f56b21f55@mail.gmail.com> References: <9c16502b0612131708r365b8ccew72e936bc67dada60@mail.gmail.com> <4581AA17.3080501@gaspode.franken.de> <4581B846.50200@voicenet.com> <9c16502b0612141458o75c27495k4b72bd1f56b21f55@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <isaac.waldron@gmail.com> 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 <adamk@voicenet.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9c16502b0612160910g5eba0982sbc4c52306e0d1b89>