[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

savage card, X.org, DRI, Mesa



Hi all,

I'm trying to make DRI work on my laptop, which has a debian stable
installed (maybe with remnants of the old testing), and the recent
x.org backport fetched from backports.org (Debian 6.8.2.dfsg.1-7bpo1).

This is what lspci says about my grafic card:

0000:01:00.0 VGA compatible controller: S3 Inc. VT8375 [ProSavage8KM266/KL266] 

I'v fetched the CVS from dri.freedesktop.org and compiled the kernel
modules for drm. (I have a 2.6.10 kernel).  Now, if I do "dmesg | grep
drm" I get:

[drm] Initialized drm 1.0.0 20040925
[drm] Initialized savage 2.4.1 20050313 on minor 0: S3 Inc. VT8375[ProSavage8 KM266/KL266]

All the needed modules are also installed: drm, savage, agpart, via_agp
(my laptop has a VIA mainboard) and none complains about anything.


X.org seems to be well configured:
Section "Module"
        Load    "GLcore"
        Load    "bitmap"
        Load    "dbe"
        Load    "ddc"
        Load    "dri"
        Load    "extmod"
        Load    "freetype"
        Load    "glx"
        Load    "int10"
        Load    "record"
        Load    "speedo"
        Load    "type1"
        Load    "vbe"


Section "DRI"
        Mode    0666
EndSection


and doing grep dri /var/log/Xorg.0.log I get:

       X.Org XInput driver : 0.4
(II) LoadModule: "dri"
(II) Loading /usr/X11R6/lib/modules/extensions/libdri.a
(II) Module dri: vendor="X.Org Foundation"
(II) Loading /usr/X11R6/lib/modules/drivers/savage_drv.o
        ABI class: X.Org XInput driver, version 0.4
        ABI class: X.Org XInput driver, version 0.4
(II) SAVAGE: driver (version 2.0.0) for S3 Savage chipsets: Savage4,


STILL, I cannot get DRI. glxinfo shows:

name of display: :0.0
display: :0  screen: 0
direct rendering: No

and any OpenGL applications runs slowly and sucks 100% of CPU.

I remember reading (but cannot find the link) that debian has only
Mesa packages that do not support DRI, so you need to get rid of them,
fetch Mesa sources and compile them. I Have Mesa sources (CVS), compiled
it and for now installed it in /usr/local/lib, but noting changes. Do I
have to actually replace the libraries in /usr/lib ? Is there a cleaner
way to do it ?

Ciao
-----
FB





Reply to: