Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 May 2007 22:45:26 +0200
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        FreeBSD X11 <freebsd-x11@FreeBSD.org>
Subject:   DRI with ATI Radeon X700 SE: success with R300 / X.org 7.2.
Message-ID:  <20070520204525.GB66428@graf.pompo.net>

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

--qMm9M+Fa2AknHoGS
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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-0=
xb0ff
 mem 0xd0000000-0xdfffffff,0xfbdf0000-0xfbdfffff irq 16 at device 0.0 on pc=
i1
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 ope=
ration)
  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,
--=20
Th. Thomas.

--qMm9M+Fa2AknHoGS
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQFGULNlc95pjMcUBaIRApzmAKDYAV6qSQ2uH73UQPtCD3pdobB5bACg4Vca
iHkNXcRh7x3857HcZp5kqk4=
=z4aZ
-----END PGP SIGNATURE-----

--qMm9M+Fa2AknHoGS--



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