From owner-freebsd-questions@FreeBSD.ORG Tue Apr 5 22:59:00 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4701C16A4CE for ; Tue, 5 Apr 2005 22:59:00 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF62F43D4C for ; Tue, 5 Apr 2005 22:58:59 +0000 (GMT) (envelope-from randyprimeaux@gmail.com) Received: by rproxy.gmail.com with SMTP id a41so24881rng for ; Tue, 05 Apr 2005 15:58:59 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=KS6d/R/IL43Eidb3m71DpoL59LaLl9ShbatETrfkMutFBM/poGcvQhr+p2xsMIk06HlDOf826oAO9ZJrG7n2rtFd8AQ+gKRjnHbKz1RvjIYyohLhtIP4u5PYC4mKBI4sXWpDEDVsC4o8UnN7580oyqOIfD4sGY8xmYTaJ1UmzjE= Received: by 10.38.6.79 with SMTP id 79mr165246rnf; Tue, 05 Apr 2005 15:58:58 -0700 (PDT) Received: by 10.38.98.33 with HTTP; Tue, 5 Apr 2005 15:58:58 -0700 (PDT) Message-ID: <54b47b8a0504051558753de5d8@mail.gmail.com> Date: Tue, 5 Apr 2005 15:58:58 -0700 From: Randy Primeaux To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: drm/dri/glxinfo on 6-current & xorg 6.8.2 with radeon 9200 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Randy Primeaux List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Apr 2005 22:59:00 -0000 Hi, I'm having trouble getting DRI direct rendering enabled. I had it enabled in October, however since then I've upgraded everything but my video card. The earliest point where I can find a failure report is in Xorg.0.log: (EE) RADEON(0): [drm] Failed to map vertex/indirect buffers list The only references I've been able to find (via Google) to the above error is in the source files. I'm wondering if it's DMA related? (just a shot in the dark) Hardware is ASUS K8V-X, ATI Radeon 9200 5961 (AGP). Software is FreeBSD 6-current, xorg 6.8.2, dri 6.2.1 (both from ports) Files: http://www.cloudfactory.org/~randy/radeon/dmesg.boot http://www.cloudfactory.org/~randy/radeon/xorg.conf http://www.cloudfactory.org/~randy/radeon/Xorg.0.log http://www.cloudfactory.org/~randy/radeon/glxinfo.txt (for comparison) http://www.cloudfactory.org/~randy/radeon/XFree86.0.log In xorg.conf, I've tested with xorg drivers ati and radeon, and I've got Section "Module", Load "dri", Load "glx", and Section "DRI", Mode 0666 dmesg indicates: agp0: mem 0xe0000000-0xefffffff at device 0.0 on pci0 drm0: port 0xa000-0xa0ff mem 0xd0000000-0xd7ffffff,0xfc200000-0xfc20ffff irq 11 at device 0.0 on pci1 info: [drm] AGP at 0xe0000000 256MB info: [drm] Initialized radeon 1.11.0 20020828 on minor 0 info: [drm] Loading R200 Microcode other devices share irq 11: pci_link0: irq 11 on acpi0 uhci0: port 0xb800-0xb81f irq 11 at device 16.0 on pci0 uhci1: port 0xc000-0xc01f irq 11 at device 16.1 on pci0 Section I think is relevant from Xorg.0.log: (II) RADEON(0): X context handle = 0x00000001 (II) RADEON(0): [drm] installed DRM signal handler (II) RADEON(0): [DRI] installation complete (II) RADEON(0): [drm] Added 32 65536 byte vertex/indirect buffers (EE) RADEON(0): [drm] Failed to map vertex/indirect buffers list (II) RADEON(0): [drm] removed 1 reserved context for kernel (II) RADEON(0): [drm] unmapping 8192 bytes of SAREA 0xc2c7c000 at 0x283d0000 (II) RADEON(0): Render acceleration enabled (II) RADEON(0): Direct rendering disabled I've fiddled with the BIOS a bit, and I moved my 3ware RAID and SCSI cards over a slot to reduce IRQ sharing with the Radeon. One thing I haven't tried yet is compiling a new kernel without USB support, or giving device.hints for USB to use different IRQ. I've also considered hinting at specific DMA, but haven't tried that yet. I've tried the troubleshooting listed at http://dri.freedesktop.org/wiki/DriTroubleshooting and http://people.freebsd.org/~anholt/dri/troubleshooting.html -- Randy Primeaux http://cloudfactory.org/~randy