[ltp] Radeon support for T42 DRI?

Martin Steigerwald linux-thinkpad@linux-thinkpad.org
Sat, 16 Dec 2006 00:54:35 +0100


Am Freitag 08 September 2006 20:20 schrieb Jiang Qian:
> On Fri, Sep 08, 2006 at 11:00:07AM -0700, Bill Sheppard wrote:
> > I'm running SuSE 9.3 (Xorg 6.8.2) on a T42 with a Radeon RV350
> > (Mobility Radeon 9600 M10).  When starting X my log notes
> >
> > (II) RADEON(0): Render acceleration unsupported on Radeon 9500/9700
> > and newer.
> > (II) RADEON(0): Render acceleration disabled
> >
> > I'm not able to find a newer Xorg which will run on SuSE 9.3 and
> > would rather not compile everything up on my own.  Is there any way
> > to update the radeon driver to support DRI on this version of X?
>
> You need an xorg 7.1

Hello Jiang,

I have=20

=2D--------------------------------------------------------------------
martin@shambala:~> xdpyinfo | grep -i Version
version number:    11.0
X.Org version: 7.1.1

martin@shambala:~> dpkg -l | egrep "xserver-xorg( |-video-ati)" |=20
cut -c1-70
ii  xserver-xorg                                  7.1.0-7
ii  xserver-xorg-video-ati                        6.6.3-2
=2D--------------------------------------------------------------------

and

=2D--------------------------------------------------------------------
martin@shambala:~> locate r300_dri.so | grep "^/usr"
/usr/lib/dri/r300_dri.so

martin@shambala:~> dpkg -l | egrep "libgl1" | cut -c1-70
ii  libgl1-mesa-dev                               6.5.1-0.4
ii  libgl1-mesa-dri                               6.5.1-0.4
ii  libgl1-mesa-glx                               6.5.1-0.4
=2D--------------------------------------------------------------------

and

=2D--------------------------------------------------------------------
martin@shambala:~> lsmod | grep radeon
radeon                126240  2
drm                    75732  3 radeon
=2D--------------------------------------------------------------------

and

=2D--------------------------------------------------------------------
Section "Module"
=2E..
        Load    "dri"
=2E..
        Load    "glcore"
        Load    "glx"
=2E..
EndSecton
=2E..
Section "Device"
        Identifier      "Grafikchip"

        ## Radeon-Treiber
        Driver          "ati"
        Option          "AGPMode"               "4"
        # Laut ThinkWiki f=FCr 3D-Performance mit Standard-AccelMethod XAA=
=20
gut, EXA brachte keinen sichtbaren Vorteil
        Option          "EnablePageFlip"        "true"
=2E..
EndSection
=2E..
Section "DRI"
        Mode    0666
EndSection
=2D--------------------------------------------------------------------

on an ThinkPad T42 with=20

=2D--------------------------------------------------------------------
martin@shambala:~> lspci -nn | grep ATI
01:00.0 VGA compatible controller [0300]: ATI Technologies Inc RV350=20
[Mobility Radeon 9600 M10] [1002:4e50
=2D--------------------------------------------------------------------

but after:

=2D--------------------------------------------------------------------
=2E..
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
=2E..
(II) RADEON(0): [drm] DRM interface version 1.2
(II) RADEON(0): [drm] created "radeon" driver at busid "pci:0000:01:00.0"
(II) RADEON(0): [drm] added 8192 byte SAREA at 0xe1085000
(II) RADEON(0): [drm] mapped SAREA 0xe1085000 to 0xb7b86000
(II) RADEON(0): [drm] framebuffer handle =3D 0xe0000000
(II) RADEON(0): [drm] added 1 reserved context for kernel
=2E..
(II) RADEON(0): [dri] Visual configs initialized
(**) RADEON(0): DRI New memory map param
(**) RADEON(0): RADEONInitMemoryMap() :
(**) RADEON(0):   mem_size         : 0x04000000
(**) RADEON(0):   MC_FB_LOCATION   : 0xe3ffe000
(**) RADEON(0):   MC_AGP_LOCATION  : 0xffffffc0
(**) RADEON(0): RADEONModeInit()
=2E..
(II) RADEON(0): [drm] Added 32 65536 byte vertex/indirect buffers
(II) RADEON(0): [drm] Mapped 32 vertex/indirect buffers
(II) RADEON(0): [drm] dma control initialized, using IRQ 11
(II) RADEON(0): [drm] Initialized kernel GART heap manager, 5111808
(WW) RADEON(0): DRI init changed memory map, adjusting ...
(WW) RADEON(0):   MC_FB_LOCATION  was: 0xe3ffe000 is: 0xe3ffe000
(WW) RADEON(0):   MC_AGP_LOCATION was: 0xffffffc0 is: 0xd07fd000
(**) RADEON(0): GRPH_BUFFER_CNTL from 30004c4c to 20337c7c
=2D--------------------------------------------------------------------

I still get:

=2D--------------------------------------------------------------------
(**) RADEON(0): Initializing Acceleration
(II) RADEON(0): Render acceleration unsupported on Radeon 9500/9700 and=20
newer.
(II) RADEON(0): Render acceleration disabled
=2D--------------------------------------------------------------------

and

=2D--------------------------------------------------------------------
martin@shambala:~> glxinfo | grep -i direct
direct rendering: No
=2D--------------------------------------------------------------------

The page http://dri.freedesktop.org/wiki/ATIRadeon suggests it should=20
work, the manpage of the radeon driver suggest it won't work:

=2D--------------------------------------------------------------------
       RV350       Radeon 9600PRO/9600SE/9600, M10/M11, FireGL T2 (2D=20
only)
=2D--------------------------------------------------------------------

Any hints?

=46or now I will use fglrx, but if I can have 3D acceleration with an=20
opensource driver I am all for it.

Regards,
=2D-=20
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7