[Savage40] DRI extension fails

Alex Deucher agd5f at yahoo.com
Mon Jun 20 21:54:23 PDT 2005


--- Giuseppe Argentieri <giuseppe.argentieri at spiro.fisica.unipd.it>
wrote:

> Hi,
> 
> I'm trying to install the Savage DRI driver from dri.freedesktop.org.
> 
> 
> I built the kernel modules drm.ko and savage.ko, the Mesa driver and
> the
> Xorg snapshot, but there are some problems.
> 
> First of all, I see that in the repository there are two different
> directories for xorg sources:
> 
> section [Download]
> 
> cvs -z3 -d:pserver:anonymous at dri.freedesktop.org:/cvs/dri co xc
>
(http://dri.freedesktop.org/wiki/Download#head-5e1dd8155002a7d7db24335015acaddd25a44f09)
> 
> 

ignore that cvs tree.  that was the old tree for dri development before
we moved to the xorg and mesa trees.

> section [Building]
> 
> cvs -z3 -d:pserver:anoncvs at cvs.freedesktop.org:/cvs/xorg co xc 
>
(http://dri.freedesktop.org/wiki/Building#head-847fc24698266ba63e6c3a570a89c3763a9ac044)
> 

that's the tree you want for the DDX (xorg).

> 
> It seems that sources from the former directory does not build.
> 
> Sources from /cvs/xorg sometimes build, but X server fails while
> enabling the DRI extension and QT and GTK widgets appear "corrupted".
> 

follow the building instructions on the "Building" page above.


> glxgears animation is smoother but the FPS rate remains the same,
> about
> 140 fps.

Direct rendering is failing to initialize.

> 
> This is /var/Xorg.0.log:
> 

(II) SAVAGE(0): [drm] bpp: 32 depth: 24
(II) SAVAGE(0): [drm] Sarea 2200+284: 2484
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: Open failed
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
(II) SAVAGE(0): [drm] loaded kernel module for "savage" driver
(II) SAVAGE(0): [drm] DRM interface version 1.2
(II) SAVAGE(0): [drm] created "savage" driver at busid 
"pci:0000:01:00.0"
(II) SAVAGE(0): [drm] added 8192 byte SAREA at 0xe0f43000
(II) SAVAGE(0): [drm] mapped SAREA 0xe0f43000 to 0xb08e7000
(II) SAVAGE(0): [drm] drmAddMap failed
(EE) SAVAGE(0): [drm] DRIScreenInit failed.  Disabling DRI.
(EE) SAVAGE(0): DRI isn't enabled

drmAddMap is failing.  do you have agp support in your kernel?  try
starting the driver with 
Option "BusType" "PCI"
to force it to pci mode. please try posting on dri-users @sf.net if you
are still having problems.

Alex


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the Savage40 mailing list