Error of Beryl+AIGLX on i965

Wang, Wei Z wei.z.wang at intel.com
Tue Nov 14 19:52:36 PST 2006


Thank you Adrew for your kind help :)

As for the "(II) AIGLX: Loaded and initialized /opt/X11R7/lib/dri/i915_dri.so"
Sorry for the typo, it should be _i965_dri.so_ and I am sure I did it on i965 HW. Actually, this AIGLX warnings appear on several of our test machines (i945, i915 and i965), so I just copied and pasted from some i915 machine by mistake. But the warning (WW) is real and exactly as the warning on i965 machines:)


And pls. see [Wei] below. Thank you for your attention.


>-----Original Message-----
>From: Andrew Barr [mailto:andrew.james.barr at gmail.com]
>Sent: 2006年11月15日 10:29
>To: Wang, Wei Z
>Cc: xorg at lists.freedesktop.org
>Subject: Re: Error of Beryl+AIGLX on i965
>
>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.


[Wei] Before GLX 1.3 is available, and workaround to enable compiz?
We just gave a quick try on FC6 with its compiz+AIGLX, however, everytime we push the "Enable desktop effects" button, it returns us the gnome login screen without any cube effects. -- maybe it is also the "GLX_ext_texture_from_pixmap" 's reason ?

>
>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.

[Wei] thanks :)

>
>> 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

[Wei] Actually I really want to know the root cause of these warnings :)

>> (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.

[Wei] do you mean that warning "3D driver claims to not support visual 0x5a " doesn't matter? My white screen are all due to the missing of 
"GL_ARB_fragment_program"?


>
>> 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.
>
[Wei] thank you.


>> 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)

-Wei



More information about the xorg mailing list