Wednesday, June 21. 2006Compiz on AIGLXComments
Display comments as
(Linear | Threaded)
How exactly do we get compiz to start? For me the --replace fails to take over from metacity. I tried putting the two lines in a script and replacing metacity in .gnom2/session with the script but It didn't really work. Just got a black screen with the gnome splash. But I could rotate around the black cube and every 4th time I'd come back to the splash.
Ahh, so that's not just me :)
I worked around it by doing "killall metacity && LIBGL_ALWAYS_INDIRECT=1 compiz ...." (just kill metacity and have compiz take over in the split second before it respawns :) yes it's ugly but it did seem to work. compiz seems to be mostly working, although its idea of how large my monitors are does not match reality (it maximizes windows to take up all of my left monitor and half of the right one). Can't get metacity's compositing manager working. It doesn't do any compositing at all unless I set /apps/metacity/general/compositing_manager to true in gconf. If I do set that all my windows turn into blueish-purple rectangles (they do seem to have some resizing effects applied to them, but without the contents visible it's not that useful :)
Holy crap. that worked. put it in a a script and now I have compiz working!
thank you. On a side note, Quake3 flashes black in between some redraws and totem stays black when playing movies. So I currently have a second script to switch back to metacity for now ;) Thank you so much!
Thank you so much! that worked and this is awesome.
Quake3 flashes black between refreshes and totem stays black unfortunately. So I just have two switch scripts. Compiz for general purpose and switch back to metacity for games and movies ;) This is awesome :)
I also noticed that --replace sometimes doesn't work (for me with kwin), will look deeper into that, seems like a compiz-problem.
Your other problem sounds like your gnome-start is hanging at some point.
I get errors both when trying to compile metacity and compiz, the errors look alike:
c-window.o: In function `meta_comp_window_explode': c-window.c:(.text+0xc4c): undefined reference to `cm_drawable_node_get_viewable' c-window.o: In function `update_explosion': c-window.c:(.text+0x149d): undefined reference to `cm_drawable_node_get_viewable ' c-window.o: In function `meta_comp_window_refresh_attrs': c-window.c:(.text+0x15ea): undefined reference to `cm_drawable_node_get_viewable ' c-window.c:(.text+0x172e): undefined reference to `ws_window_send_client_message ' c-window.c:(.text+0x176c): undefined reference to `ws_window_query_override_redi rect' c-window.c:(.text+0x17a0): undefined reference to `ws_window_send_configure_noti fy' collect2: ld returned 1 exit status make[4]: *** [metacity] Error 1 Versions: libdrm: 2.1_alpha20060614 xorg-server: 1.1.0-r1 xorg-x11: 7.1 mesa: 6.5.1_pre20060620 Any suggestions?
Looks like your libcm is too old, did you compile that from any other source or from my overlay?
Try recompiling it with my libcm-ebuild.
Same problem here. Metacity fails although libcm is the latest from your repository.
In addition I had to remove epatch ${FILESDIR}/xgl-arrayobj.diff from xgl-1.1.99.2_pre20060620.ebuild, because the patch does not apply cleanly anymore.
compiz does also not compile cleanly:
compiz-0.0.13.fedora1-composite-cube-logo.patch can not be applied. Without this patch it works fine.
Hanno: I already did,
libcm: 0.0.22_pre20060616 I already upgraded to the latest version in your repo as of today.
libcm failed to emerge:
It was my"old" version of glib? Ensure that you have glib >= 2.10.3 i think !!! 2.8.X did not work in my case !!!
Minor tweak to the compiz ebuild: adding --sysconfdir=/etc to the autogen.sh call makes it install the gconf schema file in /etc instead of /usr/etc, which works better :)
This is awesome but where do I report bugs?
Certain dialogs fail to fill themselves although appear to respond to clicks where buttons should be. Network manager will pop up a enter wep password but it appears as an empty window manager until i switch back to metacity. and error dialogs for frozen programs also appear empty.
Hey, installed everything using your xgl-overlay, but I'm having quite the large problem: the compiz from your overlay does not work, neither does the compiz from CVS... the only one that works for me currently is compiz-quinnstorm, which too works very poorly, some weird things happening now with it... any ideas? When I say your compiz does not work, I mean it gets up to setting the background image, but that's ALL... it quits afterward, and there's no debug option to output anything useful... any help would be great. :)
(Regarding my last post) Ah, actually, I think I know what's going on... --replace gconf does *not* work with this compiz for some reason, I have to specify the exact modules to use... any workaround for this?
Sorry for filling up this post and wasting your guys' time... my bad... I figured out that I need to recursively unset all gconf settings and reset them, which worked. :)
To get Totem to work playing movies in compiz, go into the multimedia system selector (desktop->preferences) and under video tell it to use Xwindow (no Xv) as the output plugin and totem and movies work fine :)
Looking great, another highlight form our linux community. nice work
Thanks Hanno for your work. Unfortunately, I cannot emerge mesa (6.5.1_pre20060620). I get a sandbox error tyring to install into /usr/local/include/GL/*.h
Anyone else having this error or know how to fix it? Thanks in advance for any help.
It worked for me without errors last nite after updating to latest version.
When emerging compiz, emerge complains saying that it failed to apply the following patches...
compiz-0.0.13.fedora1-composite-cube-logo.patch compiz-0.0.13.fedora1-tfp-server-extension.patch Do you know how to fix this?
I also get the same type of sandbox error as Blair when trying to install mesa, but in /usr/include ... get lots of permission denied errors... any ideas?
I recive this error when compile compiz:
---------------------------------------------------- Using $(sysconfdir)/gconf/schemas as install directory for schema files checking for PLACE... yes checking for LIBSVG_CAIRO... yes checking for GNOME_WINDOW_DECORATOR... yes checking for wnck_window_has_name... no checking for GNOME_WINDOW_SETTINGS... yes configure: error: Compiz is now maintained in git: git://git.freedesktop.org/git/xorg/app/compiz Please use that repository. --------------------------------------------------------------- I must download compiz from this "git"? How? Which command? Thanks
And that
---------------------------------------------------- !!! Please attach the following file when filing a report to bugs.gentoo.org: !!! /var/tmp/portage/compiz-0.0.16_pre20060628/work/compiz/config.log !!! ERROR: x11-wm/compiz-0.0.16_pre20060628 failed. Call stack: ebuild.sh, line 1545: Called dyn_compile ebuild.sh, line 940: Called src_compile compiz-0.0.16_pre20060628.ebuild, line 53: Called econf '--enable-gnome' '-- disable-kde' '--enable-libsvg-cairo' ebuild.sh, line 541: Called die !!! econf failed !!! If you need support, post the topmost build error, and the call stack if rel evant. !!! This ebuild is from an overlay: '/usr/local/xgl-overlay' --------------------------------------------------------
Had the same problem. Just update the overlay from SVN to fix it. :-)
hey, compiz failed with the following error message:
>>> Unpacking source... * git update start --> * repository: git://git.freedesktop.org/git/xorg/app/compiz * local clone: /distfiles/git-src/compiz * committish: master * Applying compiz-0.0.13.fedora1-composite-cube-logo.patch ... [ ok ] * Applying compiz-0.0.13.fedora1-fbconfig-depth-fix.patch ... [ ok ] * Applying compiz-0.0.13.fedora1-gl-include-inferiors.patch ... [ ok ] * Applying compiz-hardcode-fullscreen-updates-2.patch ... [ ok ] * Applying compiz-0.0.13.fedora1-tfp-server-extension.patch ... [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/compiz-0.0.16_pre20060706/work/compiz ... * Running eautoreconf in '/var/tmp/portage/compiz-0.0.16_pre20060706/work/compiz' ... * Running aclocal ... [ ok ] * Running libtoolize --copy --force --automake ... [ ok ] * Running aclocal ... [ ok ] * Running autoconf ... [ !! ] * Failed Running autoconf ! * * Include in your bugreport the contents of: * * /var/tmp/portage/compiz-0.0.16_pre20060706/temp/autoconf-12958.out !!! ERROR: x11-wm/compiz-0.0.16_pre20060706 failed. Call stack: ebuild.sh, line 1545: Called dyn_compile ebuild.sh, line 940: Called src_compile compiz-0.0.16_pre20060706.ebuild, line 45: Called eautoreconf autotools.eclass, line 67: Called eautoconf autotools.eclass, line 137: Called autotools_run_tool 'autoconf' autotools.eclass, line 193: Called die !!! Failed Running autoconf ! !!! If you need support, post the topmost build error, and the call stack if relevant. !!! This ebuild is from an overlay: '/xgl-overlay' (compiz-0.0.13.fedora1-new-cm-selection.patch doesn't apply cleanly :/) contents of /var/tmp/portage/compiz-0.0.16_pre20060706/temp/autoconf-12958.out: ***** autoconf ***** configure.ac:121: error: possibly undefined macro: AM_GCONF_SOURCE_2 If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation.
I encountered this issue when installing x11-wm/compiz using kde. Apparently gconf macros are referenced here by autoconf. After installing gconf all compiled nicely.
With the mesa version from your overlay libGL looks for my driver in the wrong path:
libGL error: dlopen /usr/X11R6/lib/modules/dri/r300_dri.so failed (/usr/X11R6/lib/modules/dri/r300_dri.so: cannot open shared object file: No such file or directory) That doesn't happen with mesa from portage
I've still not been able to get any help on the Mesa Sandbox error... what the hell is this? Trying to install it in /usr/include, a bunch of permission denied errors....
I've got a sandbox violation error when I try to install mesa-6.5.1_pre20060627 from your overlay. Apparently it tries to run mesainstall script which tries to write directly into /usr/include and /usr/lib.
Thanks, but I got over it by modifying the mesa ebuild like so:
src_install() { dodir /usr make \ INSTALL_DIR=${D}/usr \ DESTDIR=${D}/usr \ INCLUDE_DIR=${D}/usr/include \ LIB_DIR=${D}/usr/${get_libdir} \ I added INSTALL_DIR, DESTDIR and INCLUDE_DIR to it. I know this goes over the "eselect opengl" interface, but I don't need it since I use the xorg opengl.
With overlay from 12-07-2006, I get the following error from compiz:
make[1]: Entering directory `/var/tmp/portage/compiz-0.0.13_pre20060710/work/compiz/po' if test -n ""; then \ /var/tmp/portage/compiz-0.0.13_pre20060710/image//usr/share; \ else \ /bin/sh ../mkinstalldirs /var/tmp/portage/compiz-0.0.13_pre20060710/image//usr/share; \ fi /bin/sh: ../mkinstalldirs: No such file or directory make[1]: *** [install-data-yes] Error 127 make[1]: Leaving directory `/var/tmp/portage/compiz-0.0.13_pre20060710/work/compiz/po' make: *** [install-recursive] Error 1 !!! ERROR: x11-wm/compiz-0.0.13_pre20060710 failed. Call stack: ebuild.sh, line 1539: Called dyn_install ebuild.sh, line 1013: Called src_install compiz-0.0.13_pre20060710.ebuild, line 52: Called die
me too i get the same error, another thing after installing x11-base/xorg-server-1.1.0-r1 glxinfo says no direct rendering even if equery uses xorg-server shows the dri flag, 3d acceleration seems to be enabled like before becouse opengl screensavers run ok...is this normal like in xgl-server?
With xorg-server from overlay me too don't have direct rendering. Howeber with xorg-server from gentoo I have direct rendering.
Why??
Ok, I have compiled the new xorg-server version from the overlay and now I have direct rendering.
But when I start compiz, I recive this error: "compiz: No composite extension" And compiz doesn't start... Then, I hace compiled metacity with xcompositor flag, and If I start it, I recive: "Window manager warning: Log level 16: Disabling compositor since the server is missing at least one of the COMPOSITE, DAMAGE, FIXES or TEST extensions" What can I do?
You need this in xorg.conf:
Section "Extensions" Option "Composite" "true" EndSection
Ok, problem solved. Very thanks.
But now there is another problem... To start compiz I do: --------------------------------------------------------------------------- $ gnome-session-remove metacity $ LIBGL_ALWAYS_INDIRECT=1 compiz --replace --strict-binding move resize minimize place decoration wobbly cube rotate scale switcher zoom & $ gnome-window-decorator & --------------------------------------------------------------------------- And recive this error: "compiz: No stencil buffer. Clipping of transformed windows is not going to be correct when screen is transformed." Howeber, compiz works good... but not when I minimize a window, or some other thing... I have seen in this web a post talking about that, but I not undestand how to solve the problem...
Do U solved the problem with the building of compiz from the overlay?
I have downloaded the overlay and the error is still present...what can i do? TQ
make[1]: Entering directory `/var/tmp/portage/compiz-0.0.13_pre20060714/work/compiz/po' if test -n ""; then \ /var/tmp/portage/compiz-0.0.13_pre20060714/image//usr/share; \ else \ /bin/sh ../mkinstalldirs /var/tmp/portage/compiz-0.0.13_pre20060714/image//usr/share; \ fi /bin/sh: ../mkinstalldirs: No such file or directory make[1]: *** [install-data-yes] Error 127 make[1]: Leaving directory `/var/tmp/portage/compiz-0.0.13_pre20060714/work/compiz/po' make: *** [install-recursive] Error 1 !!! ERROR: x11-wm/compiz-0.0.13_pre20060714 failed. Call stack: ebuild.sh, line 1539: Called dyn_install ebuild.sh, line 1013: Called src_install compiz-0.0.13_pre20060714.ebuild, line 60: Called die !!! (no error message) !!! If you need support, post the topmost build error, and the call stack if relevant. !!! This ebuild is from an overlay: '/usr/local/xgl-overlay'
I have installed this compiz version without problems. Try to download the last overlay and compile all: libdrm mesa xorg-server-1.1.1-r1 and compiz
I'm having the same problem right now. i've rebuilt everything except xorg server 1.1.1 because i need to stick to xorg 7.0
Anybody knows how to solve my problem?
"compiz: No stencil buffer. Clipping of transformed windows is not going to be correct when screen is transformed."
dunno if it's the right thing to do, but compiz does install with this:
sed -i -e '/^mkinstalldirs/a MKINSTALLDIRS=\$(install_sh) -d' /var/tmp/portage/compiz-0.0.13_pre20060714/work/compiz/po/Makefile* i'm having the no glx_ext_... problem, so I can't tell if it works
Finally I was able to compile compiz. Simply I have downloaded the latest ~x86 mesa libdrm xorg-server and compiz (before i had done an emerge -Dun world). All plugins go (except water becouse GL_fragment_program extension is missing from my RADEON mobility 9200). I have only a question: I have noticed that when i scroll a web page in firefox scrolling is a little bit slow and X takes 70% of system resources so my pentium M scale increase cpu frequency and the fan became noiser...so am I using the hardware acc? How can I undrestand if I'm using it? The opengl screensaver go run well, maybe AIGLX is not working with 3d acc...
Do U noticed this problem too? I have also a pc with XGL and it seems to be less cpu's hungry...
!!! ERROR: x11-wm/compiz-quinnstorm-0.0.13.20 failed.
Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile compiz-quinnstorm-0.0.13.20.ebuild, line 59: Called gnome2_src_compile '--with-gl-libs=-Wl,-R/usr/lib/opengl/xorg-x11/lib/ -L/usr/lib/opengl/xorg-x11/lib/ -lGL' '--libdir=/usr/lib' '--enable-gnome' '--enable-libsvg-cairo' '--disable-kde' gnome2.eclass, line 64: Called die !!! compile failure !!! If you need support, post the topmost build error, and the call stack if relevant. !!! This ebuild is from an overlay: '/usr/portage/local/layman/portage-xgl'
hi
i have compile my X with aiglx an merge quinnstorm without problem. how can i get this works for kde without gnome??? helpme please |
About meYou can find my web page with links to my work as a journalist at https://hboeck.de/.
You may also find my newsletter about climate change and decarbonization technologies interesting. Hanno Böck mail: hanno@hboeck.de Hanno on Mastodon Impressum Show tagged entries |
Es war ja lang überfällig, aber jetzt endlich wabbelt mein Kubuntu auf dem Laptop. Hanno ist da ja schon länger drin in der Materie, aber der Ehrgeiz hat mich heute mal gepackt und ich musste das auch ausprobieren. Und das ist erst mal schnell. Ich merke
Tracked: Nov 09, 15:37