Error of Beryl+AIGLX on i965

Andrew Barr andrew.james.barr at gmail.com
Tue Nov 14 18:29:29 PST 2006


Here's what I understand: It should work with the latest versions of 
everything--xserver, Mesa, and some miscellaenous bits: glproto for 
one--except that GLX_ext_texture_from_pixmap support is broken in the current 
xserver git HEAD and fixing it is waiting on GLX 1.3 support.

Currently your screen just turns white because of the missing GL extension.

On Tuesday 14 November 2006 21:13, you wrote:
> Hi all:
>
> I am just swamped with enabling AIGLX+beryl on i965 chipset (XGL+beryl
> is
> good), and met some problem which is similar to this bug
> (https://bugs.freedesktop.org/show_bug.cgi?id=8155)
>
>
> My environment is:
> OSD: Ubuntu Edgy
> Xorg: 7.1.1
> 3D driver: from tip of Mesa
> ========================================
> This is the options I modified in xorg.conf
>
> 1, in Section "Module":
> 	#Load  "GLcore"
> 	Load "glx"
> 	Load "dbe"
> 2, Section "ServerLayout"
> 	Option "AIGLX" "true"
> 3, Section "Extensions"
> 	Option "Composite" "Enable"
> 4, Section "Device"
> 	Option "XAANoOffscreenPixmaps"
> 5, Section "Screen"
> 	DefaultDepth 24
> 6, Section "DRI"
> 	Mode    0666
> ==================================

Just a tip for future reference, using 16-bit color depth vastly improves the 
performance of Intel hardware--965 included.

> Xorg.0.log, the following warning appears forever if AIGLX is enabled
>
> (WW) AIGLX: 3D driver claims to not support visual 0x23
> (WW) AIGLX: 3D driver claims to not support visual 0x24
> (WW) AIGLX: 3D driver claims to not support visual 0x25
> (WW) AIGLX: 3D driver claims to not support visual 0x26
> (WW) AIGLX: 3D driver claims to not support visual 0x27
> (WW) AIGLX: 3D driver claims to not support visual 0x28
> (WW) AIGLX: 3D driver claims to not support visual 0x29
> (WW) AIGLX: 3D driver claims to not support visual 0x2a
> (WW) AIGLX: 3D driver claims to not support visual 0x2b
> (WW) AIGLX: 3D driver claims to not support visual 0x2c
> (WW) AIGLX: 3D driver claims to not support visual 0x2d
> (WW) AIGLX: 3D driver claims to not support visual 0x2e
> (WW) AIGLX: 3D driver claims to not support visual 0x2f
> (WW) AIGLX: 3D driver claims to not support visual 0x30
> (WW) AIGLX: 3D driver claims to not support visual 0x31
> (WW) AIGLX: 3D driver claims to not support visual 0x32
> (II) AIGLX: Loaded and initialized /opt/X11R7/lib/dri/i915_dri.so

As was pointed out on the xorg list, this isn't right. The correct i965 module 
is i965_dri.so. So are you /sure/ you have i965 hardware?

> ==================================
> In gnome environment, execution of "beryl-manager" introduces the
> following
> errors (and I got the cube effects with white blinking facets):
>
> LibGL warning: 3D driver claims to not support visual 0x5a
> XGL absent, checking for NVIDIA
> Nvidia Absent, assuming AIGLX
> LibGL warning: 3D driver claims to not support visual 0x5a
> beryl: No stencil buffer. Clipping of transformed windows is not going
> to be correct when screen is transformed.
> Initiating splash
> berly: water: GL_ARB_fragment_program is missing.
> ==================================

Alot of this is normal and doesn't affect correct operation of Beryl/Compiz on 
Intel chipsets.

> I believe that the beryl error have some relationship with the AIGLX
> warnings in Xorg.0.log. However till now, I still couldn't find some
> explanations or answers to these warnings (WW).
>
> BTW: beryl doesn't encounter the error of "GLX_ext_texture_from_pixmap",
> does that mean GLX_ext_texture_from_pixmap can support beryl very well?
> (As we know, compiz+AIGLX can not work very well due to
> GLX_ext_texture_from_pixmap 's problem).

It sounds like you know more about this than I do. I have not tried to run 
Compiz on my i965 hardware for a few weeks now and I've always been using 
AIGLX. As far as I know Xgl is not going to be merged any time soon, which 
limits it's viability as a long term solution. What's more in the past Xgl 
has not worked very well on Intel hardware, but that may be different now 
because the i965 is a significant departure from past Intel graphics chips.

> Your help are highly appreciated.
>
> -Wei

-- 
Andrew Barr

Men go crazy in congregations they only get better one by one.
	-- Sting, "All This Time" (The Soul Cages, 1991)



More information about the xorg mailing list