From owner-freebsd-amd64@FreeBSD.ORG Fri Dec 24 13:03:37 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C40F116A4CE for ; Fri, 24 Dec 2004 13:03:37 +0000 (GMT) Received: from priv-edtnes28.telusplanet.net (outbound04.telus.net [199.185.220.223]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4BFA643D4C for ; Fri, 24 Dec 2004 13:03:37 +0000 (GMT) (envelope-from james@icionline.ca) Received: from [199.126.32.70] by priv-edtnes28.telusplanet.net (InterMail vM.6.01.04.00 201-2131-118-20041027) with ESMTP <20041224130336.ETDQ7943.priv-edtnes28.telusplanet.net@[199.126.32.70]>; Fri, 24 Dec 2004 06:03:36 -0700 Message-ID: <41CC1369.9010202@icionline.ca> Date: Fri, 24 Dec 2004 06:02:33 -0700 From: James Earl User-Agent: Mozilla Thunderbird 1.0 (X11/20041217) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Roland Smith , freebsd-amd64@freebsd.org References: <20041223211404.GB1879@slackbox.xs4all.nl> <41CB38F3.5050804@icionline.ca> <20041223231907.GA4623@slackbox.xs4all.nl> <20041224110532.GA9753@slackbox.xs4all.nl> In-Reply-To: <20041224110532.GA9753@slackbox.xs4all.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Direct rendering doesn't work with Xorg 6.8.1 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Dec 2004 13:03:37 -0000 Roland Smith wrote: > On Fri, Dec 24, 2004 at 12:19:07AM +0100, Roland Smith wrote: > >>On Thu, Dec 23, 2004 at 02:30:27PM -0700, James Earl wrote: >> >>>Roland Smith wrote: >>> >>>>After upgrading to 6.8.1, direct rendering stopped working. According to >>>>the X logfile, direct rendering is enabled: >>>> >>>>(relevant portion from the logfile) >>>> >>>>Roland >>> >>>Same here. I also had this problem with 6.7.0. >>> >>>http://lists.freebsd.org/pipermail/freebsd-amd64/2004-December/002811.html >>> >>>It does feels like DRI is still working (at least 2D)... I haven't >>>tested any OpenGL apps though. >> >>AFAIK, DRI is only concerned with 3D. It has little or nothing to do >>with the 2D drivers. >> >>It used to work for me on 6.7.0, after fixing >>/usr/src/sys/dev/drm/drm_os_freebsd.h. >> >>I removed xorg 6.8.1 and dri, and installed the old 6.7.0 packages from >>the CD, but that didn't fix the problem. :-( > > > I just found out what happened. :-) The dri package that contains the > accellerated drivers was registered as installed, but hadn't actually > installed the drivers. > > Forcebly removing the dri package, and adding it again solved the problem. > > I discovered this by doing a ktrace on glxinfo, and then looking through > the tracefile with kdump. As soon as I saw that it failed to load > r200_dri.so (for my radeon card) I knew there was something wrong. And > indeed /usr/X11R6/lib/modules/dri/ was empty. > > So now I've got 6.7.0 working again. I'll try updating to 6.8.1 after > xmas. > > Roland Well, after installing graphics/dri (oops!) glxinfo still reports direct rendering: No. I am getting a warning though: (WW) RADEON: No matching Device section for instance (BusID PCI:1:0:1) found drm0@pci1:0:0: class=0x030000 card=0x7c13174b chip=0x59601002 rev=0x01 hdr=0x00 vendor = 'ATI Technologies Inc.' device = 'Radeon 9200 Pro (RV280)' class = display subclass = VGA none2@pci1:0:1: class=0x038000 card=0x7c12174b chip=0x59401002 rev=0x01 hdr=0x00 vendor = 'ATI Technologies Inc.' device = 'Radeon 9200 Pro (RV280) - Secondary' class = display What's this Secondary device for? James