++ which compiz + BIN_PATH=/usr/bin/compiz + '[' -e /usr/bin/compiz ']' + COMPIZ_BIN_PATH=/usr/bin/ + PLUGIN_PATH=/usr/lib/compiz/ + GLXINFO=/usr/bin/glxinfo ++ which kwin + KWIN=/opt/kde3/bin/kwin + METACITY=/usr/bin/metacity + COMPIZ_NAME=compiz + LIBGL_NVIDIA= + LIBGL_FGLRX= + NVIDIA_MEMORY=65536 + NVIDIA_SETTINGS=nvidia-settings + XORG_DRIVER_PATH=/usr/lib/xorg/modules/drivers/+ + '[' default == kde ']' + FALLBACKWM=/usr/bin/metacity + FALLBACKWM_OPTIONS='--replace ' + WHITELIST='nvidia intel ati radeon i810' + T=' 1002:5954 1002:5854 1002:5955' + T=' 1002:5954 1002:5854 1002:5955 1002:4153' + T=' 1002:5954 1002:5854 1002:5955 1002:4153 8086:2982 8086:2992 8086:29a2 8086:2a02 8086:2a12' + BLACKLIST_PCIIDS=' 1002:5954 1002:5854 1002:5955 1002:4153 8086:2982 8086:2992 8086:29a2 8086:2a02 8086:2a12' + unset T + COMPIZ_OPTIONS='--ignore-desktop-hints --replace' + COMPIZ_PLUGINS= + ENV= + USE_EMERALD=yes + INDIRECT=no + XORG_DEFAULT_LOG=/var/log/Xorg.0.log + VERBOSE=yes + '[' -z :/etc/xdg ']' + test -f :/etc/xdg/compiz/compiz-manager + '[' -z '' ']' + test -f /home/spin/.config/compiz/compiz-manager + '[' x = xFailsafe ']' + '[' x = x1 ']' + check_xgl + verbose 'Checking for Xgl: ' + '[' xyes = xyes ']' + printf 'Checking for Xgl: ' Checking for Xgl: + xvinfo + grep -q Xgl + verbose 'not present. \n' + '[' xyes = xyes ']' + printf 'not present. \n' not present. + return 1 + running_under_whitelisted_driver ++ xset q ++ grep 'Log file' ++ awk '{print $3}' + LOG=/var/log/Xorg.0.log + '[' /var/log/Xorg.0.log = '' ']' + '[' -z /var/log/Xorg.0.log ']' + for DRV in '${WHITELIST}' + egrep -q 'nvidia_drv\.so' /var/log/Xorg.0.log + return 0 + have_blacklisted_pciid ++ lspci -n ./new-compiz-manager.sh: line 275: lspci: command not found + OUTPUT= + for ID in '${BLACKLIST_PCIIDS}' + echo '' + egrep -q 1002:5954 + for ID in '${BLACKLIST_PCIIDS}' + echo '' + egrep -q 1002:5854 + for ID in '${BLACKLIST_PCIIDS}' + echo '' + egrep -q 1002:5955 + for ID in '${BLACKLIST_PCIIDS}' + echo '' + egrep -q 1002:4153 + for ID in '${BLACKLIST_PCIIDS}' + echo '' + egrep -q 8086:2982 + for ID in '${BLACKLIST_PCIIDS}' + echo '' + egrep -q 8086:2992 + for ID in '${BLACKLIST_PCIIDS}' + echo '' + egrep -q 8086:29a2 + for ID in '${BLACKLIST_PCIIDS}' + echo '' + egrep -q 8086:2a02 + for ID in '${BLACKLIST_PCIIDS}' + echo '' + egrep -q 8086:2a12 ++ lspci -vn ./new-compiz-manager.sh: line 282: lspci: command not found ++ grep -i VGA + OUTPUT= + verbose 'Detected PCI ID for VGA: \n' + '[' xyes = xyes ']' + printf 'Detected PCI ID for VGA: \n' Detected PCI ID for VGA: + return 1 + check_tfp + verbose 'Checking for texture_from_pixmap: ' + '[' xyes = xyes ']' + printf 'Checking for texture_from_pixmap: ' Checking for texture_from_pixmap: ++ /usr/bin/glxinfo ++ grep GLX_EXT_texture_from_pixmap -c + '[' 3 -gt 2 ']' + verbose 'present. \n' + '[' xyes = xyes ']' + printf 'present. \n' present. + return 0 + check_npot_texture + verbose 'Checking for non power of two support: ' + '[' xyes = xyes ']' + printf 'Checking for non power of two support: ' Checking for non power of two support: + glxinfo + egrep -q '(GL_ARB_texture_non_power_of_two|GL_NV_texture_rectangle|GL_EXT_texture_rectangle|GL_ARB_texture_rectangle)' + verbose 'present. \n' + '[' xyes = xyes ']' + printf 'present. \n' present. + return 0 + check_composite + verbose 'Checking for Composite extension: ' + '[' xyes = xyes ']' + printf 'Checking for Composite extension: ' Checking for Composite extension: + xdpyinfo -queryExtensions + grep -q Composite + verbose 'present. \n' + '[' xyes = xyes ']' + printf 'present. \n' present. + return 0 + check_texture_size ++ glxinfo -l ++ grep GL_MAX_TEXTURE_SIZE ++ sed 's/.*=[^0-9]//g' + TEXTURE_LIMIT=8192 ++ xdpyinfo ++ grep -i dimensions: ++ sed 's/[^0-9]*pixels.*(.*).*//' ++ sed 's/[^0-9x]*//' + RESOLUTION=3280x1200 ++ echo 3280x1200 ++ sed 's/.*x//' + VRES=1200 ++ echo 3280x1200 ++ sed 's/x.*//' + HRES=3280 + verbose 'Comparing resolution (3280x1200) to maximum 3D texture size (8192): ' + '[' xyes = xyes ']' + printf 'Comparing resolution (3280x1200) to maximum 3D texture size (8192): ' Comparing resolution (3280x1200) to maximum 3D texture size (8192): + '[' 1200 -gt 8192 ']' + '[' 3280 -gt 8192 ']' + verbose 'Passed.\n' + '[' xyes = xyes ']' + printf 'Passed.\n' Passed. + return 0 + check_nvidia + '[' '!' -z ']' + verbose 'Checking for nVidia: ' + '[' xyes = xyes ']' + printf 'Checking for nVidia: ' Checking for nVidia: + grep -q NV-GLX + xdpyinfo + verbose 'present. \n' + '[' xyes = xyes ']' + printf 'present. \n' present. + NVIDIA_INTERNAL_TEST=0 + return 0 + check_nvidia_memory ++ nvidia-settings -q VideoRam ++ egrep 'Attribute '\''VideoRam'\'' .*:' ++ cut -d: -f3 ++ sed 's/[^0-9]//g' + MEM=262144 + '[' 262144 -lt 65536 ']' + return 0 + check_fbconfig + verbose 'Checking for FBConfig: ' + '[' xyes = xyes ']' + printf 'Checking for FBConfig: ' Checking for FBConfig: + '[' no = yes ']' + /usr/bin/glxinfo + grep -q 'GLX.*fbconfig' + FB=0 + '[' 0 = 0 ']' + unset FB + verbose 'present. \n' + '[' xyes = xyes ']' + printf 'present. \n' present. + return 0 + '[' -f /usr/lib/compiz/libccp.so ']' + '[' -f /usr/lib/compiz/libgconf.so ']' + build_env + check_nvidia + '[' '!' -z 0 ']' + return 0 + ENV='__GL_YIELD=NOTHING ' + '[' no = yes ']' + check_xgl + verbose 'Checking for Xgl: ' + '[' xyes = xyes ']' + printf 'Checking for Xgl: ' Checking for Xgl: + xvinfo + grep -q Xgl + verbose 'not present. \n' + '[' xyes = xyes ']' + printf 'not present. \n' not present. + return 1 + ENV='__GL_YIELD=NOTHING FROM_WRAPPER=yes' + '[' -n '__GL_YIELD=NOTHING FROM_WRAPPER=yes' ']' + export __GL_YIELD=NOTHING FROM_WRAPPER=yes + __GL_YIELD=NOTHING + FROM_WRAPPER=yes + build_args + '[' no = yes ']' + check_nvidia + '[' '!' -z 0 ']' + return 0 + COMPIZ_OPTIONS='--ignore-desktop-hints --replace --loose-binding' + '[' -x /usr/bin/emerald ']' + '[' yes = yes ']' + verbose 'Starting emerald\n' + '[' xyes = xyes ']' + printf 'Starting emerald\n' Starting emerald + /usr/bin/emerald --replace + /usr/bin/compiz --ignore-desktop-hints --replace --loose-binding /usr/bin/compiz: Trying '/usr/$LIB/libIndirectGL.so.1'