Date: Tue, 5 Dec 2006 11:35:25 GMT From: Adam K Kirchhoff<adamk@voicenet.com> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/106370: Screen corruption when using Direct Rendering on a PCIe x800 Message-ID: <200612051135.kB5BZPIN002557@www.freebsd.org> Resent-Message-ID: <200612051140.kB5BeBWw029340@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 106370 >Category: misc >Synopsis: Screen corruption when using Direct Rendering on a PCIe x800 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Dec 05 11:40:10 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Adam K Kirchhoff >Release: FreeBSD 7.0-CURRENT i386 >Organization: >Environment: System: FreeBSD sorrow.ashke.com 7.0-CURRENT FreeBSD 7.0-CURRENT #7: Tue Nov 14 08:33:41 EST 2006 root@sorrow.ashke.com:/usr/obj/usr/src/sys/GENERIC i386 >Description: I'm having a problem getting direct rendering working on one of my workstations. I'm running -CURRENT from November 17th with Xorg installed from the modular Xorg ports tree yesterday (though I first noticed this a couple weeks back when I built modular Xorg using jhbuild): [ adamk@sorrow - ~ ]: Xorg -version X Window System Version 7.1.1 Release Date: 12 May 2006 X Protocol Version 11, Revision 0, Release 7.1.1 Build Operating System: FreeBSD 7.0-CURRENT i386 Current Operating System: FreeBSD sorrow.ashke.com 7.0-CURRENT FreeBSD 7.0-CURRENT #7: Tue Nov 14 08:33:41 EST 2006 root@sorrow.ashke.com:/usr/obj/usr/src/sys/GENERIC i386 Build Date: 28 November 2006 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Module Loader present If I boot up with DRI enabled in the config file, the server starts, but the very top of the screen shows some visual corruption. http://www.visualtech.com/screenshot.png I dropped the resolution of the image from 2304x864 to 1600x800, but you can still make out the corruption. What's particularly odd, though, is that the root window is never drawn. The background you see is actually the background from my previous X session (when I had DRI disabled), using windowmaker. This time I launched X and had fvwm2 in my .xinitrc file (you can see the outline of the fvwm pager in the screenshot, though that never finished drawing, either). After that nothing else gets drawn. I can move the mouse pointer, but that's about it. I can safely kill X and restart it, but the same thing happens unless I disable DRI. In comparison, I have another workstation with an AGP x700. -CURRENT from the same date, and modular Xorg from the ports tree from yesterday, too. It works just fine (start up fine, and the mesa demos run with acceleration). You can find the Xorg log file from the PCIe system at http://www.visualtech.com/Xorg.0.log.gz I've asked on the freebsd-x11 and dri-devel mailing lists, but have not had any luck. It did occurr to me recently that I've seen these same symptoms before when trying to get DRI working on FreeBSD a long time ago... On another machine, if I accidentally had the AGPSize set to a value higher than was set in the BIOS, I saw the exact same problem in FreeBSD (but not in Linux, which didn't have any problem with that particular situation). Michel Dänzer, from tungstengraphics, answered on the dri-devel mailing list that he thinks it's probably something related to GART since the configuration works on linux, and that FreeBSD might set up something different in regards to PCIe. >How-To-Repeat: Upgrade to -CURRENT, upgrade to modular Xorg from the modular Xorg ports tree. Enable DRI on an X800, startx. >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612051135.kB5BZPIN002557>