From owner-freebsd-multimedia@FreeBSD.ORG Wed Apr 23 17:04:24 2003 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5013337B404; Wed, 23 Apr 2003 17:04:24 -0700 (PDT) Received: from pisces.web-ster.com (ns2.web-ster.com [12.111.170.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2AD5543FAF; Wed, 23 Apr 2003 17:04:23 -0700 (PDT) (envelope-from randy@rcreighton.org) Received: from mail.web-ster.com (mail.web-ster.com [12.111.170.10]) by pisces.web-ster.com (Postfix) with ESMTP id EB130F3AE2; Wed, 23 Apr 2003 17:04:22 -0700 (PDT) Received: from comp1.rcreighton.org [12.154.198.69] by mail.web-ster.com with ESMTP (SMTPD32-7.14) id AA065FC9012E; Wed, 23 Apr 2003 17:04:22 -0700 Received: from rcreighton.org (localhost.rcreighton.org [127.0.0.1]) by comp1.rcreighton.org (8.12.9/8.12.8) with ESMTP id h3O05bjM049375; Wed, 23 Apr 2003 17:05:37 -0700 (PDT) (envelope-from randy@rcreighton.org) Message-ID: <3EA72A51.3020900@rcreighton.org> Date: Wed, 23 Apr 2003 17:05:37 -0700 From: Randall Creighton User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3) Gecko/20030414 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Anders Nordby References: <20030423190106.GA85026@totem.fix.no> In-Reply-To: <20030423190106.GA85026@totem.fix.no> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: multimedia@freebsd.org Subject: Re: Problems with dri/drm using Radeon 7000 VE in -stable X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Apr 2003 00:04:24 -0000 Wow, thats weird, I just bought the same card this weekend, I tried to install the kernel mods vi the port /usr/ports/graphics/drm-kmod I didn't have any probs until I tried glxgears, glxinfo reports no direct rendering. I ran out of weekend before I got any further, now I will just do what you did. Thanks for breaking trail! Randy Anders Nordby wrote: >Hi, > >I tried applying >http://people.freebsd.org/~anholt/dri/files/drm-stable-20030411.diff to >stable from today (using device radeondrm and options DRM_LINUX). >Kernel reports drm seems to be there: > >drm0: port 0x9000-0x90ff mem >0xed000000-0xed00ffff,0xe$ >info: [drm] Initialized radeon 1.8.0 20020828 on minor 0 > >Now, when I try to start XFree86 everything looks fine at first: > >root@noname:~# startx >Using authority file /root/.Xauthority >Writing authority file /root/.Xauthority >Using authority file /root/.Xauthority >Writing authority file /root/.Xauthority > > >XFree86 Version 4.3.0 >Release Date: 27 February 2003 >X Protocol Version 11, Revision 0, Release 6.6 >Build Operating System: FreeBSD 4.8 i386 [ELF] >Build Date: 23 April 2003 > Before reporting problems, check http://www.XFree86.Org/ > to make sure that you have the latest version. >Module Loader present >Markers: (--) probed, (**) from config file, (==) default setting, > (++) from command line, (!!) notice, (II) informational, > (WW) warning, (EE) error, (NI) not implemented, (??) unknown. >(==) Log file: "/var/log/XFree86.0.log", Time: Wed Apr 23 20:36:28 2003 >(==) Using config file: "/etc/X11/XF86Config" > >But I get this in /var/log/messages: > >Apr 23 20:36:29 noname /kernel: error: [drm:radeon_unlock] *ERROR* >Process 338 using kernel context 0 > >And glxinfo reports that I have no direct rendering (output: >http://anders.fix.no/test/glxinfo.txt). :( > >My XF86Config: http://anders.fix.no/test/XF86Config. > >Excerpt from pciconf -l -v output: > >drm0@pci1:0:0: class=0x030000 card=0x7112174b chip=0x51591002 rev=0x00 >hdr=0x00 > vendor = 'ATI Technologies' > device = 'Radeon VE QY Radeon 7000 / Radeon VE' > class = display > subclass = VGA > >scanpci reports this about the Radeon: > >pci bus 0x0001 cardnum 0x00 function 0x00: vendor 0x1002 device 0x5159 > ATI Technologies Inc Radeon RV100 QY [Radeon 7000/VE] > >How do I get dri/drm to work? Has anyone got dri/drm in -stable with >XFree86 4.3.0 running? > >Cheers, > > >