From owner-freebsd-x11@FreeBSD.ORG Thu Jan 8 21:31:14 2009 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 24A8310656BC; Thu, 8 Jan 2009 21:31:14 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id E63948FC1D; Thu, 8 Jan 2009 21:31:13 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from [192.168.166.46] ([68.0.14.34]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id n08LUR22003508 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 8 Jan 2009 16:30:27 -0500 (EST) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: Roland Smith In-Reply-To: <20090108212610.GA2177@slackbox.xs4all.nl> References: <1231263380.57454.23.camel@squirrel.corp.cox.com> <20090108212610.GA2177@slackbox.xs4all.nl> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-MYtSGbZNp1dkEKMQkMcA" Organization: FreeBSD Date: Thu, 08 Jan 2009 16:31:05 -0500 Message-Id: <1231450265.93079.39.camel@squirrel.corp.cox.com> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port X-Spam-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00, RCVD_IN_SORBS_DUL,RDNS_NONE autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: freebsd-x11 , freebsd-stable Subject: Re: Pending MFC of drm updates X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jan 2009 21:31:15 -0000 --=-MYtSGbZNp1dkEKMQkMcA Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2009-01-08 at 22:26 +0100, Roland Smith wrote: > On Tue, Jan 06, 2009 at 12:36:20PM -0500, Robert Noland wrote: > > I have a patch available for testing at > > http://people.freebsd.org/~rnoland/drm-update-7-010609.patch.bz2 >=20 > Excellent! Thanks for your hard work on this, Robert!=20 >=20 > After updating my source to 7.1-RELEASE, I applied this patch and built > and installed a new kernel and world. This went without problems. >=20 > Starting X on a Sapphire Radeon X1650Pro works OK. XAA 2D accelleration > works OK. The X logfile says that direct rendering is enabled, as is > Xv. Mplayer works with Xv. >=20 > But whenever I try to start a program that uses OpenGL (i.e. glxgears) I > get the following message: >=20 > unknown chip id 0x71c1, can't guess. > libGL warning: 3D driver returned no fbconfigs. > libGL error: InitDriver failed > libGL error: reverting to (slow) indirect rendering Yep, you need the updated xorg and mesa. We are getting ready to update the ports collection. I may build up a new patch in a little while. robert. > :-( >=20 > The same number shows in Xorg.0.log: >=20 > > (--) PCI:*(1:0:0) ATI Technologies Inc unknown chipset (0x71c1) rev 158, = Mem @ 0xe0000000/28, 0xfe9e0000/16, I/O @ 0xd000/8, BIOS @ 0xfe9c0000/17 > > (II) Loading extension XFree86-DGA > > (--) Chipset RV535 found > > (II) RADEONHD(0): Unknown card detected: 0x71C1:0x174B:0x0880. > If - and only if - your card does not work or does not work optim= ally > please contact radeonhd@opensuse.org to help rectify this. > Use the subject: 0x71C1:0x174B:0x0880: > and *please* describe the problems you are seeing > in your message. > (--) RADEONHD(0): Detected an RV535 on an unidentified card > (=3D=3D) RADEONHD(0): Write-combining range (0xfe9e0000,0x10000) was alre= ady clear > (II) RADEONHD(0): Mapped IO @ 0xfe9e0000 to 0x8006a2000 (size 0x00010000) > (II) RADEONHD(0): PCIE Card Detected > (II) RADEONHD(0): Getting BIOS copy from legacy VBIOS location > (II) RADEONHD(0): ATOM BIOS Rom:=20 > SubsystemVendorID: 0x174b SubsystemID: 0x0880 > IOBaseAddress: 0xd000 > Filename: 8C88GCSA.003 > BIOS Bootup Message:=20 > A67120 RV535XT VO BIOS GDDR3 600E/700M = =20 > > (II) RADEONHD(0): Found libdri 5.4.0. > drmOpenDevice: node name is /dev/dri/card0 > drmOpenDevice: open result is 8, (OK) > drmOpenByBusid: Searching for BusID pci:0000:01:00.0 > drmOpenDevice: node name is /dev/dri/card0 > drmOpenDevice: open result is 8, (OK) > drmOpenByBusid: drmOpenMinor returns 8 > drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0 > (II) RADEONHD(0): Found libdrm 1.3.0. > (II) RADEONHD(0): Found radeon drm 1.29.0. > > (II) RADEONHD(0): Output DVI-I_2/digital using initial mode 1280x1024 > (II) RADEONHD(0): RandR 1.2 support enabled > (=3D=3D) RADEONHD(0): RGB weight 888 > (=3D=3D) RADEONHD(0): Default visual is TrueColor > (=3D=3D) RADEONHD(0): Using gamma correction (1.0, 1.0, 1.0) > (II) RADEONHD(0): Using 1280x1280 Framebuffer with 1280 pitch > (II) RADEONHD(0): FB: Allocated ScanoutBuffer at offset 0x00008000 (size = =3D 0x00640000) > (**) RADEONHD(0): Display dimensions: (376, 301) mm > (**) RADEONHD(0): DPI set to (86, 108) > > (II) RADEONHD(0): On Crtc 0 Setting 60.0 Hz Mode: Modeline "1280x1024" 1= 08.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync >=20 > I wonder if the framebuffer size is OK? The screen is 1280x1024. That is > probably why the DPI is wacky (should both be 86). >=20 > Should I write the card in to opensuse.org? The card is a Sapphire > Radeon X1650Pro. >=20 > Additionally (but maybe unrelated), when I try to start tyr-glquake, it > bombs with an X error: >=20 > Callback: in_dgamouse ON > X Error of failed request: XF86DGANoDirectVideoMode > Major opcode of failed request: 137 (XFree86-DGA) > Minor opcode of failed request: 2 (XF86DGADirectVideo) > Serial number of failed request: 117 > Current serial number in output stream: 118 >=20 > The library libXxf86dga-1.0.2 is installed. I see Xorg loading the extens= ion. >=20 > Roland --=-MYtSGbZNp1dkEKMQkMcA Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEABECAAYFAklmcJkACgkQM4TrQ4qfROPAigCeNAXgzqydaHUwSkKY1oeFxNs1 t5MAn1+TGpvU+sKem/CmQuqoKIWKuIZO =Jc00 -----END PGP SIGNATURE----- --=-MYtSGbZNp1dkEKMQkMcA--