noob's question alert: argb visual not found
ydroneaud at mandriva.com
Wed Feb 17 09:04:04 PST 2010
Le mercredi 17 février 2010 à 18:51 +0530, Amit Pundir a écrit :
> Hi team,
> I'm trying to create a semi-transparent X11 window. My main aim is to
> draw a translucent window and some 3D(OpenGL-ES2) objects on top of
> Here is the code http://pastebin.com/m23f802ed For a visual depth=24
> it says that no ARGB visual is found and if I set visual depth=32 then
> I get this error http://pastebin.com/m9b40116
> I'm running X.Org version: 1.7.3, xf86-video-omapfb driver on OMAP3
> based BeagleBoard.
> xdpyinfo is here http://pastebin.com/m11cc1811
> Kindly let me know if I'm missing something.
Perhaps the 32bits visual is not supported by OpenGL.
I don't know how EGL interact with visuals, I'm more used to GLX.
AFAIK not all visuals are compatibles with OpenGL, especially if you
want to use ARGB with composite (+manager).
In previous tests, only binary NVidia drivers were able to render
correctly in a translucent ARGB window (i have to do tests with newer
X.org KMS drivers ati, nouveau and intel drivers).
Attached is a patch against an old glxgears which search for a visual
matching : Composite ARGB + OpenGL ARGB32.
BTW, could you add the output of glxinfo ?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 7624 bytes
Desc: not available
Url : http://lists.x.org/archives/xorg-devel/attachments/20100217/42768fd7/attachment-0001.bin
More information about the xorg-devel