Michel Dänzer wrote:

> The X server and its modules are in xserver-xfree86. If reinstalling
> that doesn't fix this, you have a non-distribution X which is picked up.


There was indeed an X11R6-DRI in which some things were picked up, including 
the wrong XFree86. I fixed that, and now the X server announces itself as a 
4.1.0.1, as do all the libs :


  (II) Loading /usr/X11R6/lib/modules/linux/libdrm.a
  (II) Module drm: vendor="The XFree86 Project"
        compiled for 4.1.0.1, module version = 1.0.0
        ABI class: XFree86 Server Extension, version 0.1


However, this still doesn't work, and I still get the same error :

  ambre:~$ /usr/lib/xscreensaver/gears
  drmR128Clear: return = -22


The XFree log looks like this :

(II) R128(0): [drm] created "r128" driver at busid "PCI:1:0:0"
(II) R128(0): [drm] added 4096 byte SAREA at 0xd08a1000
(II) R128(0): [drm] mapped SAREA 0xd08a1000 to 0x40016000
(II) R128(0): [drm] framebuffer handle = 0xe8000000
(II) R128(0): [drm] added 1 reserved context for kernel
(II) R128(0): [agp] Mode 0x1f000207 [AGP 0x8086/0x1130; Card 0x1002/0x4d46]
(II) R128(0): [agp] 8192 kB allocated with handle 0xd18a4000
(II) R128(0): [agp] ring handle = 0xe4000000
(II) R128(0): [agp] Ring mapped at 0x41223000
(II) R128(0): [agp] ring read ptr handle = 0xe4101000
(II) R128(0): [agp] Ring read ptr mapped at 0x40017000
(II) R128(0): [agp] vertex/indirect buffers handle = 0xe4102000
(II) R128(0): [agp] Vertex/indirect buffers mapped at 0x41324000
(II) R128(0): [agp] AGP texture map handle = 0xe4302000
(II) R128(0): [agp] AGP Texture map mapped at 0x41524000
(II) R128(0): [drm] register handle = 0xfcffc000
(II) R128(0): [dri] Visual configs initialized
(II) R128(0): CCE in BM mode
[...]
(II) R128(0): Acceleration enabled
(II) R128(0): Using hardware cursor (scanline 6306)
(II) R128(0): Largest offscreen area available: 1408 x 1080
(II) R128(0): X context handle = 0x00000001
(II) R128(0): [drm] installed DRM signal handler
(II) R128(0): [DRI] installation complete
(II) R128(0): [drm] Added 128 16384 byte vertex/indirect buffers
(II) R128(0): [drm] Mapped 128 vertex/indirect buffers
(II) R128(0): Direct rendering enabled

Strace'ing the stuff still shows the error at :

  ioctl(4, 0x40146449, 0xbffff658)        = -1 EINVAL (Invalid argument)

And the system logs still display :

  [drm:r128_cce_vertex] *ERROR* process 28848 using buffer owned by 0

Looks like I'm stuck. Would recompiling the DRI from source be of any help in 
my case?

--
Daniel


_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to