DRI with ATI Radeon X700 SE: success with R300 / X.org 7.2.

Thierry Thomas thierry at FreeBSD.org
Sun May 20 21:20:14 UTC 2007


Hello,

I have a station running FreeBSD 6.2-STABLE (i386), with an ATI Radeon
X700Super.

With X.org 6.9, DRM was not supported:

Apr  7 18:09:31 graf kernel: drm0: <ATI Radeon RV410 X700 SE> port 0xb000-0xb0ff
 mem 0xd0000000-0xdfffffff,0xfbdf0000-0xfbdfffff irq 16 at device 0.0 on pci1
Apr  7 18:09:31 graf kernel: info: [drm] Initialized radeon 1.24.0 20060225
Apr  7 18:09:32 graf kernel: error: [drm:pid51441:radeon_do_init_cp] *ERROR* Can
not initialise DRM on this card
Apr  7 18:09:32 graf kernel: This card requires a new X.org DDX for 3D

Since I have upgraded to X.org 7.2, it's OK:

OpenGL vendor string: DRI R300 Project
OpenGL renderer string: Mesa DRI R300 20060815 x86/MMX/SSE2 TCL
OpenGL version string: 1.3 Mesa 6.5.3

Remarks:

1- There exist two entries for this card <ATI Radeon RV410 X700 SE> in
/usr/src/sys/dev/drm/drm_pciids.h

grep "RV410 X700 SE" /usr/src/sys/dev/drm/drm_pciids.h
        {0x1002, 0x5e4c, CHIP_RV410|CHIP_NEW_MEMMAP, "ATI Radeon RV410 X700 SE"}, \
        {0x1002, 0x5e4f, CHIP_RV410|CHIP_NEW_MEMMAP, "ATI Radeon RV410 X700 SE"}, \

and by default, it does not work (the station freezes!). According to
`pciconf -lv' ,I have the 0x5e4f model, and I must add the line

    ChipID	0x5e4f

in the Section "Device" of xorg.conf.

2- Then glxinfo was OK, but glxgears failed with

X Error of failed request:  BadRequest (invalid request code or no such operation)
  Major opcode of failed request:  155 (DAMAGE)
  Minor opcode of failed request:  4 ()
  Serial number of failed request:  37
  Current serial number in output stream:  39

I have added the following line:

	Option  "DAMAGE" "Disable"

in the Section "Extensions" to disable Damage, and now the usual OpenGL
applications are OK.

(There is just a libGL warning: 3D driver claims to not support visual
0x4b).

Regards,
-- 
Th. Thomas.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-x11/attachments/20070520/f95a23c9/attachment.pgp


More information about the freebsd-x11 mailing list