Pending MFC of drm updates

Roland Smith rsmith at xs4all.nl
Thu Jan 8 13:26:13 PST 2009


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

Excellent! Thanks for your hard work on this, Robert! 

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.

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.

But whenever I try to start a program that uses OpenGL (i.e. glxgears) I
get the following message:

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

:-(

The same number shows in Xorg.0.log:

<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 optimally
        please contact radeonhd at 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
(==) RADEONHD(0): Write-combining range (0xfe9e0000,0x10000) was already 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: 
        SubsystemVendorID: 0x174b SubsystemID: 0x0880
        IOBaseAddress: 0xd000
        Filename: 8C88GCSA.003
        BIOS Bootup Message: 
A67120 RV535XT VO BIOS GDDR3 600E/700M                                      
<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
(==) RADEONHD(0): RGB weight 888
(==) RADEONHD(0): Default visual is TrueColor
(==) 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 = 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"  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync

I wonder if the framebuffer size is OK? The screen is 1280x1024. That is
probably why the DPI is wacky (should both be 86).

Should I write the card in to opensuse.org? The card is a Sapphire
Radeon X1650Pro.

Additionally (but maybe unrelated), when I try to start tyr-glquake, it
bombs with an X error:

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

The library libXxf86dga-1.0.2 is installed. I see Xorg loading the extension.

Roland
-- 
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20090108/814102f6/attachment-0001.pgp


More information about the freebsd-stable mailing list