From owner-freebsd-arch@FreeBSD.ORG Fri May 23 15:37:50 2008 Return-Path: Delivered-To: arch@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B2E61065677 for ; Fri, 23 May 2008 15:37:50 +0000 (UTC) (envelope-from cokane@cokane.org) Received: from vms173003pub.verizon.net (vms173003pub.verizon.net [206.46.173.3]) by mx1.freebsd.org (Postfix) with ESMTP id 1E1228FC20 for ; Fri, 23 May 2008 15:37:50 +0000 (UTC) (envelope-from cokane@cokane.org) Received: from mail.cokane.org ([71.181.60.95]) by vms173003.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0K1B008TDSGXFPI8@vms173003.mailsrvcs.net> for arch@FreeBSD.org; Fri, 23 May 2008 09:34:10 -0500 (CDT) Received: by mail.cokane.org (Postfix, from userid 103) id 34BA31DB2F9; Fri, 23 May 2008 10:37:01 -0400 (EDT) Received: from [172.20.1.3] (erwin.int.cokane.org [172.20.1.3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.cokane.org (Postfix) with ESMTP id E147D1DB2FA; Fri, 23 May 2008 10:36:54 -0400 (EDT) Date: Fri, 23 May 2008 10:36:36 -0400 From: Coleman Kane In-reply-to: <1211217436.29314.12.camel@localhost> To: Eric Anholt Message-id: <1211553396.5985.19.camel@localhost> MIME-version: 1.0 X-Mailer: Evolution 2.22.1.1 FreeBSD GNOME Team Port Content-type: text/plain Content-transfer-encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.1.8-gr1 (2007-02-13) on discordia References: <1210352688.2152.78.camel@localhost> <1210800676.2466.6.camel@localhost> <1210883909.96116.4.camel@localhost> <1211217436.29314.12.camel@localhost> X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.1.8-gr1 X-Spam-Level: Cc: arch@FreeBSD.org Subject: Re: Feature requests for open-source graphics X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2008 15:37:50 -0000 On Mon, 2008-05-19 at 13:17 -0400, Coleman Kane wrote: > Eric, > > Just met up w/ mhopf on #radeonhd on freenode. He pushed some updates to > his radeonhd repo that might fix some GL bugs I've run into that prevent > me from giving my changes a thumbs-up or not here. > > After today's buildworld/buildkernel I hope to have a little more > results for you as to whether I have a functional DRI on my RS690. > Eric, Here's another update... I've pushed my newest stuff to ~cokane/drm-cokane.git on freefall. Recently airlied merged in the support for vblank interrupts on the r500/rs6xx chips. The interrupt code seems to work on my system (I can see the interrupts fired by carefully placed printfs). FYI I am only focusing on the radeon code with this driver... so I've disabled all the others in the bsd-core/Makefile. I must still be missing some other functionality here though... and I'd like to know if you could help me track it down. What happens is I get a black space where the OpenGL output should be under hardware rendering. The card seems to take all of the commands, and the drm driver provides sane return codes to the Xserver/radeonhd, not spitting any errors during rendering. I've been following the console output produced by setting hw.dri.0.debug=1, but I am not 100% certain I could parse errors from the output if I knew how. The DRI rendering never seems to occur to my screen, but OpenGL programs seem to think that they are running fine. I can even get decent FPS numbers from glxgears, and a huge blob of seemingly good data from glxinfo. -- Coleman Kane