From owner-freebsd-bugs@FreeBSD.ORG Tue Dec 5 11:40:13 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C635B16A417 for ; Tue, 5 Dec 2006 11:40:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id ABBE743CA7 for ; Tue, 5 Dec 2006 11:39:32 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id kB5BeB8C029344 for ; Tue, 5 Dec 2006 11:40:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kB5BeBWw029340; Tue, 5 Dec 2006 11:40:11 GMT (envelope-from gnats) Resent-Date: Tue, 5 Dec 2006 11:40:11 GMT Resent-Message-Id: <200612051140.kB5BeBWw029340@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Adam K Kirchhoff Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F270416A415 for ; Tue, 5 Dec 2006 11:35:25 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2BE5743CA3 for ; Tue, 5 Dec 2006 11:34:47 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id kB5BZPAf002558 for ; Tue, 5 Dec 2006 11:35:25 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id kB5BZPIN002557; Tue, 5 Dec 2006 11:35:25 GMT (envelope-from nobody) Message-Id: <200612051135.kB5BZPIN002557@www.freebsd.org> Date: Tue, 5 Dec 2006 11:35:25 GMT From: Adam K Kirchhoff To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: misc/106370: Screen corruption when using Direct Rendering on a PCIe x800 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Dec 2006 11:40:13 -0000 >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: