[ltp] 3D accel freezes Xorg with Radeon Mobility 7500 with DRI enabled

Nick Bower linux-thinkpad@linux-thinkpad.org
Mon, 03 Jan 2005 11:03:01 +0100


--=-iK/cD9I3MpECc+3WG+2E
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Interesting.  One thing I noticed with Mandrake 10.1 powerpack is that
it installed the ATI packages also and this caused library
incompatibilities with DRI etc.  I uninstalled the ATI package and then
XOrg picked up the correct radeon driver from it's own area instead of
the ATI library radeon.


On Sun, 2005-01-02 at 23:24 -0500, Juan Luis Baptiste wrote:
> Hi,
>=20
> First of all, I'm new to this list, I have browsed through the archives f=
rom=20
> the last three years looking for an answer with no success.
>=20
> I have a T30 that comes with an ATI Radeon Mobility 7500 16MB, here's lsp=
ci=20
> output:
>=20
> 01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility M=
7 LW=20
> [Radeon Mobility 7500]
>=20
> I'm using Mandrake 10.1 official with Xorg 6.8.1.99 with kernel 2.6.8.1-2=
0mdk.
>=20
> I have DRI enabled as told by glxinfo:
> [juancho@laptop juancho]$ glxinfo 2>1|grep Yes
> direct rendering: Yes
>=20
> Also looking at the logs I can see DRI is being loaded fine:
>=20
> [root@laptop juancho]# grep dri /var/log/Xorg.0.log
>         X.Org XInput driver : 0.4
> (II) Loading /usr/X11R6/lib/modules/drivers/linux/v4l_drv.o
> (II) LoadModule: "dri"
> (II) Loading /usr/X11R6/lib/modules/extensions/libdri.a
> (II) Module dri: vendor=3D"X.Org Foundation"
> (II) Loading /usr/X11R6/lib/modules/drivers/radeon_drv.o
> (II) Loading /usr/X11R6/lib/modules/drivers/ati_drv.o
>         ABI class: X.Org XInput driver, version 0.4
>         ABI class: X.Org XInput driver, version 0.4
> (II) v4l driver for Video4Linux
> (II) ATI: ATI driver (version 6.5.6) for chipsets: ati, ativga
> (II) Reloading /usr/X11R6/lib/modules/drivers/radeon_drv.o
> drmOpenDevice: node name is /dev/dri/card0
> drmOpenDevice: node name is /dev/dri/card0
> drmOpenDevice: node name is /dev/dri/card0
> (II) RADEON(0): [drm] loaded kernel module for "radeon" driver
> (II) RADEON(0): [drm] created "radeon" driver at busid "pci:0000:01:00.0"
> (II) RADEON(0): [dri] Visual configs initialized
>=20
> [root@laptop juancho]# grep enabled /var/log/Xorg.0.log
> (II) RADEON(0): Render acceleration enabled
> (II) RADEON(0): Acceleration enabled
> (=3D=3D) RADEON(0): Silken mouse enabled
> (**) RADEON(0): DPMS enabled
> (II) RADEON(0): Direct rendering enabled
> (=3D=3D) RandR enabled
>=20
> [root@laptop juancho]# grep drm /var/log/messages
> Jan  2 13:09:12 laptop kernel: [drm] Initialized radeon 1.11.0 20020828 o=
n=20
> minor 0:
>=20
> and the modules are being loaded correctly:
>=20
> [root@laptop juancho]# lsmod|grep radeon
> radeon                126804  2
> [root@laptop juancho]# lsmod|grep agpgart
> agpgart                27752  2 intel-agp
>=20
> But, when I run ANY application that needs 3D capabilities (glxgears,=20
> tuxracer,tuxkart, boson, etc), X freezes. I have read in the archives tha=
t I=20
> should use 16bpp color depth, wich doesn't work, or that I should set=20
> MESA_NO_3DNOW=3D1, wich doesn't work either.
>=20
> One thing that I noticed was that if I launch for example glxgears from a=
=20
> console (ctrl+F1 and setting DISPLAY=3D0.0) and I then switch back to X,=20
> Xfreezes, but If I run glxgears in the console, then ctr+C and then switc=
h to=20
> X, X doesn't freeze, so the problem only occurs while the 3d app is runni=
ng=20
> (it doesn't work if after running glxgear from the console I switch to X =
and=20
> then from a remote session I kill glxgears, X still gets freezed).
>=20
> I remember that I could play tuxracer with 3D acceleration in this same=20
> machine when I had Mandrake 9.0 or 9.1 installed without problems, the=20
> problem I had at that time was that when I suspended the machine, when=20
> resumed, X suddenly restarted. I suppose I'll have to start playing with=20
> XFree86 4.4 to see if that one works.
>=20
> Any ideas what I'm missing?
>=20
> Cheers,
> --=20
> Juan Luis Baptiste
> http://www.merlinux.org
> http://knetworkconf.sf.net
--=20
Nick Bower <nick@nickbower.com>

--=-iK/cD9I3MpECc+3WG+2E
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQBB2RhVsQtYH7YXyrgRAgcSAKDJIPyeQ8nHksaWO7wob0ZduUTraACdFfqc
bH4viJyKyqU+9EBuEeXFfdA=
=UP2i
-----END PGP SIGNATURE-----

--=-iK/cD9I3MpECc+3WG+2E--