From owner-freebsd-questions@FreeBSD.ORG Tue Mar 2 06:12:24 2004 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 7775616A4DD for ; Tue, 2 Mar 2004 06:12:24 -0800 (PST) Received: from dsl-mail.kamp.net (mail.kamp-dsl.de [195.62.99.42]) by mx1.FreeBSD.org (Postfix) with SMTP id 09AB343D2D for ; Tue, 2 Mar 2004 06:12:21 -0800 (PST) (envelope-from lists@mangosuechtig.org) Received: (qmail 24180 invoked by uid 505); 2 Mar 2004 14:12:24 -0000 Received: from lists@mangosuechtig.org by dsl-mail by uid 89 with qmail-scanner-1.14 (spamassassin: 2.43. Clear:SA:0(0.0/5.0):. Processed in 0.321344 secs); 02 Mar 2004 14:12:24 -0000 X-Spam-Status: No, hits=0.0 required=5.0 Received: from unknown (HELO setsfire.lan) (213.146.126.6) by dsl-mail.kamp.net with SMTP; 2 Mar 2004 14:12:23 -0000 Date: Tue, 2 Mar 2004 15:14:14 +0100 From: Tobias Aigner To: freebsd-questions@freebsd.org Message-Id: <20040302151414.2528806c.lists@mangosuechtig.org> X-Mailer: Sylpheed version 0.9.9 (GTK+ 1.2.10; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: DRI troubles with radeon X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2004 14:12:24 -0000 Hi there, I'm having some troubles getting DRI to work. I'm runnig an ASUS A7N8X-Deluxe Board with NForce2 and a ATI Radeon 8500. First of all I started using the 5.2.1-RELEASE with following kernel-options: device agp device radeondrm this caused XFree86 (4.3.0 and 4.4.0) to freeze on startx when DRI was enabled. Then I removed agp and radeondrm from my kernel-config, now dmesg showed this when startx was launched: error: [drm:pid580:radeon_cp_init] *ERROR* radeon_cp_init called without lock held error: [drm:pid580:radeon_unlock] *ERROR* Process 580 using kernel context 0 but X actually started (glxinfo sayed 'direct rendering: no'). After some reading I started to put these options in my XF86Config: Option "ForcePCIMode" "true" Option "AGPMode" "4" well, ok now glxinfo reported 'direct rendering: yes' but my performance with glxgears should be much better: 1167 frames in 5.0 seconds = 233.400 FPS 1403 frames in 5.0 seconds = 280.600 FPS dmesg showed this: drm0: port 0xb000-0xb0ff mem 0xc2000000-0xc200ffff,0xb0000000-0xbfffffff irq 5 at device 0.0 on pci2 info: [drm] Initialized radeon 1.10.0 20020828 on minor 0 info: [drm] Loading R200 Microcode This problem is obviously caused by my mainboard, because my radeon used to work with my old Gigabyte VIA mainboard. So I'm slowly runnig out of ideas what to do. -- Tobias Aigner