dri no more working with xorg modular

Sascha Heid saschaheid at gmail.com
Tue Mar 28 14:39:27 PST 2006


Hi All!

I had dri and glx working fine with xorg-6.8.2 on my Thinkpad X21
which has a ATI Rage Mobility Videocard.
Im running Gentoo-Linux and emerged/compiled Xorg Modular with DRI
Support (using the dri use-flag).

When starting Xorg, the DRI-Module loads fine, but later the driver
says that he is disabling dri:

X Window System Version 7.0.0
Release Date: 21 December 2005
---snip---
(--) PCI:*(1:0:0) ATI Technologies Inc Rage Mobility P/M AGP 2x rev
100, Mem @ 0xf5000000/24, 0xf4100000/12, I/O @ 0x2000/8
---snip---
(II) Loading font FreeType
(II) LoadModule: "dri"
(II) Loading /usr/lib/xorg/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
        compiled for 7.0.0, module version = 1.0.0
        ABI class: X.Org Server Extension, version 0.2
(II) Loading sub module "drm"
(II) LoadModule: "drm"
(II) Loading /usr/lib/xorg/modules/linux/libdrm.so
(II) Module drm: vendor="X.Org Foundation"
        compiled for 7.0.0, module version = 1.0.0
        ABI class: X.Org Server Extension, version 0.2
(II) Loading extension XFree86-DRI
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="X.Org Foundation"
        compiled for 7.0.0, module version = 1.0.0
        ABI class: X.Org Server Extension, version 0.2
(II) Loading sub module "GLcore"
(II) LoadModule: "GLcore"
(II) Loading /usr/lib/xorg/modules/extensions/libGLcore.so
(II) Module GLcore: vendor="X.Org Foundation"
        compiled for 7.0.0, module version = 1.0.0
        ABI class: X.Org Server Extension, version 0.2
(II) Loading extension GLX
(II) LoadModule: "ati"
(II) Loading /usr/lib/xorg/modules/drivers/ati_drv.so
(II) Module ati: vendor="X.Org Foundation"
        compiled for 7.0.0, module version = 6.5.7
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 0.8
---snip---
(==) ATI(0): Chipset:  "ati".
(**) ATI(0): Depth 16, (--) framebuffer bpp 16
---snip---
(--) ATI(0): ATI 3D Rage Mobility graphics controller detected.
(--) ATI(0): Chip type 4C4D "LM", version 4, foundry TSMC, class 0,
revision 0x01.
(--) ATI(0): AGP bus interface detected;  block I/O base is 0x2000.
(--) ATI(0): ATI Mach64 adapter detected.
(!!) ATI(0): For information on using the multimedia capabilities
        of this adapter, please see http://gatos.sf.net.
(--) ATI(0): Internal RAMDAC (subtype 1) detected.
(==) ATI(0): RGB weight 565
(==) ATI(0): Default visual is TrueColor
(==) ATI(0): Using gamma correction (1.0, 1.0, 1.0)
(II) ATI(0): Using Mach64 accelerator CRTC.
(--) ATI(0): 1024x768 panel (ID 1) detected.
(--) ATI(0): Panel model IBM XGA.
(--) ATI(0): Panel clock is 65.146 MHz.
(II) ATI(0): Using digital flat panel interface.
(II) ATI(0): Storing hardware cursor image at 0xF53FFC00.
(II) ATI(0): Using 8 MB linear aperture at 0xF5000000.
(!!) ATI(0): Virtual resolutions will be limited to 4095 kB
 due to linear aperture size and/or placement of hardware cursor image area.
(II) ATI(0): Using Block 0 MMIO aperture at 0xF4100400.
(II) ATI(0): Using Block 1 MMIO aperture at 0xF4100000.
(II) ATI(0): MMIO write caching enabled.
(--) ATI(0): 4096 kB of SGRAM (2:1) 32-bit detected (using 4095 kB).
(WW) ATI(0): Cannot shadow an accelerated frame buffer.
(II) ATI(0): Engine XCLK 62.227 MHz;  Refresh rate code 1.
(--) ATI(0): Internal programmable clock generator detected.
(--) ATI(0): Reference clock 29.500 MHz.
(WW) ATI(0): Extraneous XF86Config HorizSync specification(s) ignored.
(WW) ATI(0): Extraneous XF86Config VertRefresh specification(s) ignored.
(II) ATI(0): Maximum clock: 230.00 MHz
---snip---
(II) Loading sub module "i2c"
(II) LoadModule: "i2c"
(II) Loading /usr/lib/xorg/modules/libi2c.so
(II) Module i2c: vendor="X.Org Foundation"
        compiled for 7.0.0, module version = 1.2.0
        ABI class: X.Org Video Driver, version 0.8
(WW) ATI(0): I2C bus Mach64 initialisation failure.
(II) ATI(0): I2C bus "Mach64" removed.
---snip---
(WW) ATI(0): DRI static buffer allocation failed -- need at least 4608
kB video memory
---snip---
(II) ATI(0): Direct rendering disabled


I believe the card has 4MB of Ram and im running it at 1024x768 with
16bit Color.
Because of the last two errors i started another Xorg with 800x600 and
then i get:

(II) ATI(0): [drm] SAREA 2200+1208: 3408
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
[drm] failed to load kernel module "mach64"
(II) ATI(0): [drm] drmOpen failed
(EE) ATI(0): [dri] DRIScreenInit Failed
---snip---
(II) ATI(0): Direct rendering disabled


Im using Kernel 2.6.16 with some gentoo patches.
When i run glxgears its working for about 2 seconds and then shows a
static image.


Any advice would be most welcome :-)

Regards,
Sascha Heid



More information about the xorg mailing list