Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Jan 2009 16:31:05 -0500
From:      Robert Noland <rnoland@FreeBSD.org>
To:        Roland Smith <rsmith@xs4all.nl>
Cc:        freebsd-x11 <freebsd-x11@freebsd.org>, freebsd-stable <freebsd-stable@freebsd.org>
Subject:   Re: Pending MFC of drm updates
Message-ID:  <1231450265.93079.39.camel@squirrel.corp.cox.com>
In-Reply-To: <20090108212610.GA2177@slackbox.xs4all.nl>
References:  <1231263380.57454.23.camel@squirrel.corp.cox.com> <20090108212610.GA2177@slackbox.xs4all.nl>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-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
> <snip>
> (--) PCI:*(1:0:0) ATI Technologies Inc unknown chipset (0x71c1) rev 158, =
Mem @ 0xe0000000/28, 0xfe9e0000/16, I/O @ 0xd000/8, BIOS @ 0xfe9c0000/17
> <snip>
> (II) Loading extension XFree86-DGA
> <snip>
> (--) Chipset RV535 found
> <snip>
> (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: <name of board>
>         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
> <snip>
> (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.
> <snip>
> (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)
> <snip>
> (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--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1231450265.93079.39.camel>