From owner-freebsd-stable@FreeBSD.ORG Wed Apr 23 12:00:17 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D9EFE37B401; Wed, 23 Apr 2003 12:00:17 -0700 (PDT) Received: from totem.fix.no (totem.fix.no [80.91.36.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3217643FA3; Wed, 23 Apr 2003 12:00:17 -0700 (PDT) (envelope-from anders@totem.fix.no) Received: by totem.fix.no (Postfix, from userid 1000) id 9A9BC20248; Wed, 23 Apr 2003 21:01:06 +0200 (CEST) Date: Wed, 23 Apr 2003 21:01:06 +0200 From: Anders Nordby To: Eric Anholt , stable@FreeBSD.org, multimedia@FreeBSD.org Message-ID: <20030423190106.GA85026@totem.fix.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-PGP-Key: http://anders.fix.no/pgp/ X-PGP-Key-FingerPrint: 1E0F C53C D8DF 6A8F EAAD 19C5 D12A BC9F 0083 5956 User-Agent: Mutt/1.5.1i Subject: Problems with dri/drm using Radeon 7000 VE in -stable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Apr 2003 19:00:18 -0000 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, -- Anders.