drmAgpAcquire failed 1023

Fazer fazerxlo at o2.pl
Thu Aug 17 10:59:56 PDT 2006


time to time I try to lunch 3D on my Unichrome pro IGP card using a openchrome 
driver 32 MB shared memory set in bios.

After some months Iresolved why I can't compile it but now i have those 
problem it apper in /var/log/Xorg.0.log 

exacly everything is god excluding this:

(II) VIA(0): VBESetVBEMode failed...but worked OK without customized refresh 
and dotclock.
...
EE) VIA(0): [drm] drmAgpAcquire failed 1023
(II) VIA(0): [dri] use pci.
(II) VIA(0): [drm] Using 26992608 bytes for DRM memory heap.
(II) VIA(0): [dri] frame buffer initialized.
(II) VIA(0): X context handle = 0x00000001
(II) VIA(0): [drm] installed DRM signal handler
(II) VIA(0): [DRI] installation complete
(II) VIA(0): [dri] kernel data initialized.
(EE) VIA(0): [drm] Failed to initialize DMA ring-buffer: 1005
(II) VIA(0): direct rendering enabled
(II) VIA(0): [Xv] Using PCI DMA for Xv image transfer.
Fulfilled via DRI at 6293504
(II) VIA(0): Benchmarking video copy. Less is better.
(--) VIA(0): Timed   libc YUV420 copy... 5325106. Throughput: 166.8 MiB/s.
(--) VIA(0): Timed kernel YUV420 copy... 5263859. Throughput: 168.7 MiB/s.
(--) VIA(0): Timed    SSE YUV420 copy... 5306567. Throughput: 167.4 MiB/s.
(--) VIA(0): Timed    MMX YUV420 copy... 5279836. Throughput: 168.2 MiB/s.
(--) VIA(0): Ditch 3DNow! YUV420 copy... Not supported by CPU.
(--) VIA(0): Timed   MMX2 YUV420 copy... 5257445. Throughput: 168.9 MiB/s.
Freed 6293504 (pool 2)
(--) VIA(0): Using MMX2 YUV42X copy for video.
(II) VIA(0): [XvMC] Registering viaXvMC.
(II) VIA(0): [XvMC] Initialized XvMC extension.
(II) VIA(0): - Done


my xorg is:

Section "Module"
  Load         "glx"
  Load         "type1"
  Load         "extmod"
  Load         "dbe"
  Load         "freetype"
  Load         "v4l"
  Load         "dri"
EndSection

...
Section "Device"
  BoardName    "Framebuffer Graphics"
  BusID        "1:0:0"
  Driver       "via"
  Identifier   "Device[0]"
  Screen       0
  VendorName   "VESA"
  Option       "PanelSize" "1024x768"
  Option       "EnableAGPDMA" "On"
  Option       "DisableIRQ"
EndSection

and glxgears:

libGL: XF86DRIGetClientDriverName: 5.0.0 unichrome (screen 0)
libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/unichrome_dri.so
drmOpenByBusid: Searching for BusID PCI:1:0:0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenByBusid: drmOpenMinor returns 4
drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
libGL error:
viaInitDriver: drmMap agp failed
libGL error: InitDriver failed
libGL error: reverting to (slow) indirect rendering
1110 frames in 5.0 seconds = 222.000 FPS

dmesg show:

PCI: Unable to reserve mem region #1:4000000 at f0000000 for device 0000:01:00.0
[drm] Initialized via 2.10.2 20060616 on minor 0:
[drm] Used old pci detect: framebuffer loaded
bootsplash: status on console 0 changed to on


So what is wrong 



More information about the xorg mailing list