You are not logged in.
Pages: 1
I'm trying to get AIGLX up and running on my laptop, with the i810 driver. I'm currently using xorg-server 7.1RC1 and xf86-video-i810 1.6.0. I've been trying mesa 6.5, as well as mesa cvs (compiled today). Right now, I'm on the cvs version.
First:
[nightfrost@dionysos ~]$ cat /var/log/Xorg.0.log | grep -i aiglx
(==) AIGLX enabled
(II) AIGLX: Loaded and initialized /usr/lib/dri/i915_dri.so
I had to cp /usr/lib/xorg/modules/dri/i915_dri.so to the location above. I don't know how to change aiglx's search path. Neither would a symlink help.
glxinfo tells me that I have GLX_EXT_texture_from_pixmap
---snip---
client glx extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
GLX_MESA_copy_sub_buffer, GLX_MESA_swap_control,
GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_OML_sync_control,
GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync,
GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap
---snip---
But it also tells me:
libGL warning: 3D driver claims to not support visual 0x4b
I don't know the relevance of this. Direct rendering is enabled in any event.
When I try to run compiz, I get this:
[nightfrost@dionysos ~]$ compiz --replace gconf
libGL warning: 3D driver claims to not support visual 0x4b
Mesa: CPU vendor: GenuineIntel
Mesa: CPU name: Intel(R) Pentium(R) M processor 1.20GHz
Mesa: MMX cpu detected.
Mesa: SSE cpu detected.
Mesa: Not testing OS support for SSE, leaving enabled.
compiz: GLX_EXT_texture_from_pixmap is missing
compiz: Failed to manage screen: 0
compiz: No managable screens found on display :0.0
compiz claims that GLX_EXT_texture_from_pixmap is missing, but glxinfo says it's there.
Offline
Take a look at the startxgl script by Mikos, and install mesa-xgl-cvs from my repo.
I'm not sure what the compatability between AIGLX and compiz is....
·¬»· i am shadowhand, powered by webfaction
Offline
I have your packages already
When I run compiz with mesa-xgl-cvs, I get this:
[nightfrost@dionysos ~]$ LD_LIBRARY_PATH=/opt/mesa-xgl-cvs/lib/ compiz --replace gconf
compiz: No stencil buffer. Clipping of transformed windows is not going to be correct when screen is transformed.
compiz: Couldn't bind redirected window 0x34000fe to texture
compiz: Couldn't bind redirected window 0x34000fe to texture
This will fail mysteriously, no GLX_TEXTURE_TARGET_EXT
GL ERROR:1280
I'm quite sure compiz works with aiglx, but I there's probably some hacking involved that I'm not aware off...
Offline
It seems compiz needs a patch to work with AIGLX: http://compiz.ed3n.com/viewtopic.php?pid=2652
Unfortunately, I don't have time to look into it now...
Offline
You don't need mesa-xgl-cvs for compiz on AIGLX (you must have latest mesa-cvs installed system-wide). You also must have complete X.Org 7.1 RC1 or X.Org CVS installed and I think (but I am not sure) also latest kernel DRM modules from CVS.
Compiz for AIGLX must be patched (and it is then incompatible with XGL, this is why I hadn't included these AIGLX compiz patches to my compiz-cvs packages). The most simple way is to checkout Gentoo xgl-coffee portage overlay and then look at x11-wm/compiz-vanilla or x11-wm/compiz-quinnstorm ebuilds (ebuilds are similar to PKGBUILDs). You will find all required patches there.
Use this command to checkout stable xgl-coffee portage overlay:
svn co http://svn.xgl-coffee.org/xgl-coffee/trunk xgl-coffee
Or this command to checkout latest testing xgl-coffee portage overlay:
svn co http://svn.xgl-coffee.org/xgl-coffee/testing xgl-testing
Offline
Thanks alot Mikos. I didn't realize xgl-coffee had AIGLX stuff as well. Anyway, I've compiled compiz with the relevant patch, but it's still a no-go.
This is what I get:
[nightfrost@dionysos ~]$ compiz --replace gconf
libGL warning: 3D driver claims to not support visual 0x4b
Mesa: CPU vendor: GenuineIntel
Mesa: CPU name: Intel(R) Pentium(R) M processor 1.20GHz
Mesa: MMX cpu detected.
Mesa: SSE cpu detected.
Mesa: Not testing OS support for SSE, leaving enabled.
compiz: No stencil buffer. Clipping of transformed windows is not going to be correct when screen is transformed.
compiz: glXBindTexImage failed
Segmentation fault
I'm gonna google a bit for this to see what I find... but I'm not hoping for too much.
Offline
Alright, so now I'm trying my luck with RC2. Latest xorg-server fails like this:
gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include -I../../../include -I../../../include -I../../../include -I../../../include -I../../../include -I../../../include -I/home/shared/var/abs/local/aiglx-overlay/xorg-server/src/Mesa/include -I../X -I../array_cache -I../glapi -I../main -I../math -I../shader -I../swrast -I../swrast_setup -I../tnl -I.. -I../../../hw/xfree86/os-support -DHAVE_DIX_CONFIG_H -DXFree86Server -DIN_MODULE -DXFree86Module -DXFree86LOADER -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I../../../include -I../../../include -I../../../Xext -I../../../composite -I../../../damageext -I../../../xfixes -I../../../Xi -I../../../mi -I../../../miext/shadow -I../../../miext/damage -I../../../render -I../../../randr -I../../../fb -march=pentium-m -O2 -pipe -MT accum.lo -MD -MP -MF .deps/accum.Tpo -c accum.c -fPIC -DPIC -o .libs/accum.o
In file included from accum.h:41,
from accum.c:26:
mtypes.h:44:20: error: bitset.h: No such file or directory
make[3]: *** [accum.lo] Error 1
make[3]: Leaving directory `/home/shared/var/abs/local/aiglx-overlay/xorg-server/src/xorg-server-1.0.99.902/GL/mesa/main'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/shared/var/abs/local/aiglx-overlay/xorg-server/src/xorg-server-1.0.99.902/GL/mesa'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/shared/var/abs/local/aiglx-overlay/xorg-server/src/xorg-server-1.0.99.902/GL'
make: *** [all-recursive] Error 1
==> ERROR: Build Failed. Aborting...
Any ideas?
Offline
Don't the AIGLX team test it using some modified version of Metacity, and not Compiz? Is there some way you could get hold of it?
Offline
That's a good idea. I've been thinking about it, but been to busy to write a PKGBUILD. The metacity patches are included in the CVS, as far as I know, so if anyone feels like writing a metacity-cvs PKGBUILD, that'd be splendid.
However, I'd like to get the latest xorg-server to compile first.
Offline
Pages: 1