diff --git a/compiz-gtk b/compiz-gtk index f6496da..caad9a6 100644 --- a/compiz-gtk +++ b/compiz-gtk @@ -2,18 +2,18 @@ function runCompiz() { gtk-window-decorator & - exec compiz --ignore-desktop-hints glib gconf gnomecompat $@ + exec compiz --ignore-desktop-hints --always-swap glib gconf gnomecompat $@ } DIRECT=`glxinfo | grep "direct rendering: " | head -n 1 | cut -d " " -f 3` ISSW=`glxinfo | grep "Software Rasterizer" -c` -# Disabled for now, does not work as expected -#HAVETFP=`glxinfo | grep texture_from_pixmap -c` +# Try with direct rendering +HAVETFP=`glxinfo | grep texture_from_pixmap -c` -#if ( [ $HAVE3D == "Yes" ] && [ $HAVETFP -gt 2 ] ); then -# runCompiz $@ -#fi +if ( [ $HAVE3D == "Yes" ] && [ $HAVETFP -gt 2 ] ); then + runCompiz $@ +fi # Try again with indirect rendering export LIBGL_ALWAYS_INDIRECT=1 diff --git a/compiz.spec b/compiz.spec index e0defff..8e21509 100644 --- a/compiz.spec +++ b/compiz.spec @@ -14,7 +14,7 @@ URL: http://www.go-compiz.org License: GPLv2+ and LGPLv2+ and MIT Group: User Interface/Desktops Version: 0.8.2 -Release: 9%{?dist} +Release: 10%{?dist} Summary: OpenGL window and compositing manager BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -364,6 +364,10 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Fri Aug 07 2009 Adel Gadllah - 0.8.2-10 +- Enable direct rendering and always-swap by default +- Tearing free compiz for INTEL cards ;) + * Sat Aug 01 2009 Adel Gadllah - 0.8.2-9 - Fix build