 |
12-12-2007, 05:44 AM
|
#1 (permalink)
|
|
never forgot your roots!
Join Date: Oct 2006
Location: Accumulator
Posts: 99
|
installing compiz 'n' getting the eye candy desktop.
hi!
i hv installed ubuntu 7.10 gusty gibbon. and i hv also enabled ati restricted driver graphics ......
now when ever i try to get visual effects i.e., system>preference>appearance>visual effects> when i click on normal or extra i got this error:
the composite extention is not available.
now what i hv to do to get 3d desktop.
plz any one help me??
|
|
|
|
Advertisements. Register and be a member of the community to get rid of them.
|
|
Advertisement
|
|
12-12-2007, 05:49 AM
|
#2 (permalink)
|
|
Juke Box Hero
Join Date: Aug 2007
Posts: 1,204
|
Re: installing compiz 'n' getting the eye candy desktop.
Can you post the contents of /etc/X11/xorg.conf here?
|
|
|
12-12-2007, 05:55 AM
|
#3 (permalink)
|
|
never forgot your roots!
Join Date: Oct 2006
Location: Accumulator
Posts: 99
|
Re: installing compiz 'n' getting the eye candy desktop.
as i hv installed ubuntu first time 'n' also linux. i totally a newbie in linux so plz tell me how should i get this "contents of /etc/X11/xorg.conf" plz tell me  'n' sorry if i asking u silly questions
|
|
|
12-12-2007, 06:00 AM
|
#4 (permalink)
|
|
Juke Box Hero
Join Date: Aug 2007
Posts: 1,204
|
Re: installing compiz 'n' getting the eye candy desktop.
Oke, open up Nautilus(file browser), the one you click 'Home' and go to /etc/X11 folder. Open up the file called 'xorg.conf', click on it, it will open in a Text Editor, press Ctrl+A in the open file, copy and paste here in the reply.
Make sure you enclose the contents in the Quote tag.
Eg:
Quote:
|
...all your content here...
|
|
|
|
12-12-2007, 08:43 AM
|
#5 (permalink)
|
|
never forgot your roots!
Join Date: Oct 2006
Location: Accumulator
Posts: 99
|
Re: installing compiz 'n' getting the eye candy desktop.
how i hv to use quote  plz also tell me this
also i tried to install ati driver which i hv downloaded but when i type " su " at terminal it doesn't provide me the authentication it gave me a message "failure"
|
|
|
12-12-2007, 08:50 AM
|
#6 (permalink)
|
|
Juke Box Hero
Join Date: Aug 2007
Posts: 1,204
|
Re: installing compiz 'n' getting the eye candy desktop.
[QU OTE].....contents here......[/QUOTE]
Remove the space from the first QUOTE.
|
|
|
12-12-2007, 08:55 AM
|
#7 (permalink)
|
|
never forgot your roots!
Join Date: Oct 2006
Location: Accumulator
Posts: 99
|
Re: installing compiz 'n' getting the eye candy desktop.
here it is!....
Quote:
# xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "Files"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/input/wacom"
Option "Type" "eraser"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection
Section "Device"
Identifier "ATI Technologies Inc RC410 [Radeon Xpress 200]"
Driver "fglrx"
Busid "PCI:1:5:0"
EndSection
Section "Monitor"
Identifier "SyncMaster"
Option "DPMS"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies Inc RC410 [Radeon Xpress 200]"
Monitor "SyncMaster"
Defaultdepth 24
SubSection "Display"
Modes "1280x1024" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
screen "Default Screen"
Inputdevice "Generic Keyboard"
Inputdevice "Configured Mouse"
# Uncomment if you have a wacom tablet
# InputDevice "stylus" "SendCoreEvents"
# InputDevice "cursor" "SendCoreEvents"
# InputDevice "eraser" "SendCoreEvents"
EndSection
Section "Module"
Load "glx"
EndSection
Section "Extensions"
Option "Composite" "0"
EndSection
|
|
|
|
12-12-2007, 08:57 AM
|
#8 (permalink)
|
|
Wise Old Owl
Join Date: Feb 2006
Location: /dev/hd0
Posts: 1,487
|
Re: installing compiz 'n' getting the eye candy desktop.
Code:
sudo apt-get install compizconfig-settings-manager
Now You can access from System -> Preferences -> Advance Desktop Effect .. To enable Effects right Click on Desktop click on Change Desktop Background under Visual Effects tab select the desktop effects  Use advance setting to enable extar plugins
__________________
Me Myself and My Tux Blog :- http://tuxenclave.wordpress.com/
|
|
|
12-12-2007, 09:00 AM
|
#9 (permalink)
|
|
never forgot your roots!
Join Date: Oct 2006
Location: Accumulator
Posts: 99
|
Re: installing compiz 'n' getting the eye candy desktop.
yeah i type code given by u at terminal .'n' the result is:
Quote:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package compizconfig-settings-manager
|
|
|
|
12-12-2007, 09:03 AM
|
#10 (permalink)
|
|
Wise Old Owl
Join Date: Feb 2006
Location: /dev/hd0
Posts: 1,487
|
Re: installing compiz 'n' getting the eye candy desktop.
^^ Make sure that all the options under Ubuntu Software , 3rd Part Software , Updates are checked .. To check all the options open Software Location : -=Services System -> Administration -> Software Sources
__________________
Me Myself and My Tux Blog :- http://tuxenclave.wordpress.com/
|
|
|
12-12-2007, 09:11 AM
|
#11 (permalink)
|
|
never forgot your roots!
Join Date: Oct 2006
Location: Accumulator
Posts: 99
|
Re: installing compiz 'n' getting the eye candy desktop.
yeah it works..after checking all the options i hv given the command told by u 'n' it looks as it install the compiz. now i try after reboot.
|
|
|
12-12-2007, 09:14 AM
|
#12 (permalink)
|
|
Wise Old Owl
Join Date: Feb 2006
Location: /dev/hd0
Posts: 1,487
|
Re: installing compiz 'n' getting the eye candy desktop.
Quote:
|
Originally Posted by Hitboxx
[QU OTE].....contents here......
|
Remove the space from the first QUOTE.[/quote]
[CODE ][/CODE]Its should be code not quote
__________________
Me Myself and My Tux Blog :- http://tuxenclave.wordpress.com/
|
|
|
12-12-2007, 09:19 AM
|
#13 (permalink)
|
|
never forgot your roots!
Join Date: Oct 2006
Location: Accumulator
Posts: 99
|
Re: installing compiz 'n' getting the eye candy desktop.
oh after doing evreything...when i go to visual effects>'n' try to enable it told that
" the composite extention is not available."
BUT i got a new option in System>preference>advanced desktop effects settings
|
|
|
12-12-2007, 09:23 AM
|
#14 (permalink)
|
|
Wise Old Owl
Join Date: Feb 2006
Location: /dev/hd0
Posts: 1,487
|
Re: installing compiz 'n' getting the eye candy desktop.
^^ Post Screenshot btw you should select CUstom option under Appearances
__________________
Me Myself and My Tux Blog :- http://tuxenclave.wordpress.com/
|
|
|
12-12-2007, 09:29 AM
|
#15 (permalink)
|
|
never forgot your roots!
Join Date: Oct 2006
Location: Accumulator
Posts: 99
|
Re: installing compiz 'n' getting the eye candy desktop.
|
|
|
12-12-2007, 09:36 AM
|
#16 (permalink)
|
|
Wise Old Owl
Join Date: Feb 2006
Location: /dev/hd0
Posts: 1,487
|
Re: installing compiz 'n' getting the eye candy desktop.
Hmm Strange .. try pressing alt+f2 and type compiz --replace also do customize the system it looks bad Ubuntu Customization Guide v2..
__________________
Me Myself and My Tux Blog :- http://tuxenclave.wordpress.com/
|
|
|
12-12-2007, 10:05 AM
|
#17 (permalink)
|
|
never forgot your roots!
Join Date: Oct 2006
Location: Accumulator
Posts: 99
|
Re: installing compiz 'n' getting the eye candy desktop.
it show....
Quote:
Checking for Xgl: not present.
No whitelisted driver found
aborting and using fallback: /usr/bin/metacity
|
|
|
|
12-12-2007, 12:08 PM
|
#18 (permalink)
|
|
left this forum longback
Join Date: Sep 2005
Location: -
Posts: 7,536
|
Re: installing compiz 'n' getting the eye candy desktop.
so,fglrx driver for ati is looking for xgl.remove xserver-xgl package using synaptic manager(in menu system>admin>synaptic).
check /var/log/Xorg.0.log to make sure that AIGLX is loaded(which in this case,i think doesnot)
then edit /etc/X11/xorg.conf to add a new line:
press alt+f2 to get run dialogue box.inside run:
Code:
gksudo gedit /etc/X11/xorg.conf
now add below line to a new line at the end section "serverlayout"
Code:
Option "AIGLX" "true"
now section "serverlayout" should look like:
Code:
Section "ServerLayout"
Identifier "Default Layout"
screen "Default Screen"
Inputdevice "Generic Keyboard"
Inputdevice "Configured Mouse"
Option "AIGLX" "true"
save and restart X server (ctrl+alt+backspace) or gdm(sudo /etc/init.d/gdm force-reload)
Hope it fixes.reply!
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
|
|
|
12-12-2007, 03:25 PM
|
#19 (permalink)
|
|
never forgot your roots!
Join Date: Oct 2006
Location: Accumulator
Posts: 99
|
Re: installing compiz 'n' getting the eye candy desktop.
hi! i hv done all u said but nothing happened 'n' error is same as it was "the composite extention is not available."
here r the xorg.conf
Quote:
# xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "Files"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/input/wacom"
Option "Type" "eraser"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection
Section "Device"
Identifier "ATI Technologies Inc RC410 [Radeon Xpress 200]"
Driver "fglrx"
Busid "PCI:1:5:0"
EndSection
Section "Monitor"
Identifier "SyncMaster"
Option "DPMS"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies Inc RC410 [Radeon Xpress 200]"
Monitor "SyncMaster"
Defaultdepth 24
SubSection "Display"
Modes "1280x1024" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
screen "Default Screen"
Inputdevice "Generic Keyboard"
Inputdevice "Configured Mouse"
Option "AIGLX" "true"
# Uncomment if you have a wacom tablet
# InputDevice "stylus" "SendCoreEvents"
# InputDevice "cursor" "SendCoreEvents"
# InputDevice "eraser" "SendCoreEvents"
EndSection
Section "Module"
Load "glx"
EndSection
Section "Extensions"
Option "Composite" "0"
EndSection
|
'n' here r the screenshots....
|
|
|
12-12-2007, 04:10 PM
|
#20 (permalink)
|
|
GTK+ programmer
Join Date: Jun 2007
Posts: 121
|
Re: installing compiz 'n' getting the eye candy desktop.
The solution is in the error itself....In your xorg.conf file change
Option "Composite" "0"
to
Option "Composite" "1"
|
|
|
12-12-2007, 05:33 PM
|
#21 (permalink)
|
|
never forgot your roots!
Join Date: Oct 2006
Location: Accumulator
Posts: 99
|
Re: installing compiz 'n' getting the eye candy desktop.
ok the file hv been saved after chaning 0 to 1
now the problem is that desktop effects can not be enabled.
http://www.imagehosting.com/show.php...shot5.png.html
here is the screenshot which show.......
another problem comes up plz solve this
Last edited by SUKHI99; 12-12-2007 at 06:00 PM.
|
|
|
12-12-2007, 09:44 PM
|
#22 (permalink)
|
|
left this forum longback
Join Date: Sep 2005
Location: -
Posts: 7,536
|
Re: installing compiz 'n' getting the eye candy desktop.
@wtf? 0 means enabled! 
remove that line and add below lines above section "screen" try,
Code:
Section "Extensions"
Option "Composite" "Enable"
EndSection
I feel that you are using 2D driver for ATi cards.u shud make sure u have installed proprietary "fglrx" drivers.see below link:
http://ubuntuguide.org/wiki/Ubuntu:G...ers_and_Compiz
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
|
|
|
12-12-2007, 10:16 PM
|
#23 (permalink)
|
|
GTK+ programmer
Join Date: Jun 2007
Posts: 121
|
Re: installing compiz 'n' getting the eye candy desktop.
^^^
0 means false....or disabled
post the output of "compiz --replace" from the command-line
|
|
|
13-12-2007, 04:11 AM
|
#24 (permalink)
|
|
never forgot your roots!
Join Date: Oct 2006
Location: Accumulator
Posts: 99
|
Re: installing compiz 'n' getting the eye candy desktop.
i hvn't installed any driver of ati manually it is every thing installed by ubuntu itself. but when ever i try to install my driver i.e., " ati-driver-installer-8.37.6-x86.x86_64.run " at terminal after typing su ati-driver..................
it says that authentication is failure " even after giving the right password.
|
|
|
13-12-2007, 07:57 AM
|
#25 (permalink)
|
|
Commander in Chief
Join Date: Jul 2005
Posts: 6,658
|
Re: installing compiz 'n' getting the eye candy desktop.
su doesn't work, try sudo. Ubuntu's ATi drivers won't give you effects, so get the Envy script and install it.
__________________
Harsh J
www.harshj.com
|
|
|
14-12-2007, 09:02 AM
|
#26 (permalink)
|
|
never forgot your roots!
Join Date: Oct 2006
Location: Accumulator
Posts: 99
|
Re: installing compiz 'n' getting the eye candy desktop.
hi back after the ExAmS>>>>only first exam is held>>>>final exam >>more ahead
so after installing the ati driver with the help of
i also get the answer from the machine that >>the desktop effects can't be enabled.
i'm posting some screenshots of the current situation plz help me with this,
i wanna ask u onething that am i choosing the right driver? plz pay attention towards this.
'n' here is the Compiz Manager wrapper script
check if something wrong 'n' plz make me right 'n' let me feel the 3d desktop .
Quote:
#!/bin/sh
# Compiz Manager wrapper script
#
# Copyright (c) 2007 Kristian Lyngstøl <kristian@bohemians.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
#
# Contributions by: Treviño (3v1n0) <trevi55@gmail.com>, Ubuntu Packages
#
# Much of this code is based on Beryl code, also licensed under the GPL.
# This script will detect what options we need to pass to compiz to get it
# started, and start a default plugin and possibly window decorator.
#
COMPIZ_BIN_PATH="/usr/local/bin/" # For window decorators and compiz
PLUGIN_PATH="/usr/local/lib/compiz/"
GLXINFO="/usr/bin/glxinfo"
KWIN="/usr/bin/kwin"
METACITY="/usr/bin/metacity"
COMPIZ_NAME="compiz" # Final name for compiz (compiz.real)
# For Xgl LD_PRELOAD
LIBGL_NVIDIA="/usr/lib/nvidia/libGL.so.1.2.xlibmesa"
LIBGL_FGLRX="/usr/lib/fglrx/libGL.so.1.2.xlibmesa"
# Minimum amount of memory (in kilo bytes) that nVidia cards need
# to be allowed to start
# Set to 262144 to require 256MB
NVIDIA_MEMORY="65536" # 64MB
NVIDIA_SETTINGS="nvidia-settings" # Assume it's in the path by default
# For detecting what driver is in use, the + is for one or more /'s
XORG_DRIVER_PATH="/usr/lib/xorg/modules/drivers/+"
FALLBACKWM="${METACITY}"
FALLBACKWM_OPTIONS="--replace $@"
# Driver whitelist
WHITELIST="nvidia intel ati radeon i810 fglrx"
# blacklist based on the pci ids
# See http://wiki.compiz-fusion.org/Hardware/Blacklist for details
T=" 1002:5954 1002:5854 1002:5955" # ati rs480
T="$T 1002:4153" # ATI Rv350
T="$T 8086:2982 8086:2992 8086:29a2 8086:2a02 8086:2a12" # intel 965
T="$T 8086:2972" # i965 (x3000)
T="$T 1002:3152 1002:3150 1002:5462 1002:5653 " # ati X300 X600,X600 X700
BLACKLIST_PCIIDS="$T"
unset T
COMPIZ_OPTIONS="--ignore-desktop-hints --replace"
COMPIZ_PLUGINS=""
ENV=""
# Use emerald by default if it exist
USE_EMERALD="yes"
# No indirect by default
INDIRECT="no"
# Set to yes to enable verbose
VERBOSE="yes"
# Echos the arguments if verbose
verbose()
{
if [ "x$VERBOSE" = "xyes" ]; then
printf "$*"
fi
}
# abort script and run fallback windowmanager
abort_with_fallback_wm()
{
if [ "x$SKIP_CHECKS" = "xyes" ]; then
verbose "SKIP_CHECKS is yes, so continuing despite problems.\n"
return 0;
fi
verbose "aborting and using fallback: $FALLBACKWM \n"
if [ -x $FALLBACKWM ]; then
exec $FALLBACKWM $FALLBACKWM_OPTIONS
else
printf "no $FALLBACKWM found, exiting\n"
exit 1
fi
}
# Check for non power of two texture support
check_npot_texture()
{
verbose "Checking for non power of two support: "
if glxinfo 2> /dev/null | egrep -q '(GL_ARB_texture_non_power_of_two|GL_NV_texture_re ctangle|GL_EXT_texture_rectangle|GL_ARB_texture_re ctangle)' ; then
verbose "present. \n";
return 0;
else
verbose "Not present. \n"
return 1;
fi
}
# Check for presence of FBConfig
check_fbconfig()
{
verbose "Checking for FBConfig: "
if [ "$INDIRECT" = "yes" ]; then
$GLXINFO -i | grep -q GLX.*fbconfig
FB=$?
else
$GLXINFO | grep -q GLX.*fbconfig
FB=$?
fi
if [ $FB = "0" ]; then
unset FB
verbose "present. \n"
return 0;
else
unset FB
verbose "not present. \n"
return 1;
fi
}
# Check for TFP
check_tfp()
{
verbose "Checking for texture_from_pixmap: "
if [ $($GLXINFO 2>/dev/null | grep GLX_EXT_texture_from_pixmap -c) -gt 2 ] ; then
verbose "present. \n"
return 0;
else
verbose "not present. \n"
if [ "$INDIRECT" = "yes" ]; then
unset LIBGL_ALWAYS_INDIRECT
INDIRECT="no"
return 1;
else
verbose "Trying again with indirect rendering:\n";
INDIRECT="yes"
export LIBGL_ALWAYS_INDIRECT=1
check_tfp;
return $?
fi
fi
}
# Check wether the composite extension is present
check_composite()
{
verbose "Checking for Composite extension: "
if xdpyinfo -queryExtensions | grep -q Composite ; then
verbose "present. \n";
return 0;
else
verbose "not present. \n";
return 1;
fi
}
# Detects if Xgl is running
check_xgl()
{
verbose "Checking for Xgl: "
if xvinfo | grep -q Xgl ; then
verbose "present. \n"
return 0;
else
verbose "not present. \n"
return 1;
fi
}
# Check if the nVidia card has enough video ram to make sense
check_nvidia_memory()
{
MEM=$(${NVIDIA_SETTINGS} -q VideoRam | egrep Attribute\ \'VideoRam\'\ .*: | cut -d: -f3 | sed 's/[^0-9]//g')
if [ $MEM -lt $NVIDIA_MEMORY ]; then
verbose "Less than ${NVIDIA_MEMORY}kb of memory and nVidia";
return 1;
fi
return 0;
}
# Check for existence if NV-GLX
check_nvidia()
{
if [ ! -z $NVIDIA_INTERNAL_TEST ]; then
return $NVIDIA_INTERNAL_TEST;
fi
verbose "Checking for nVidia: "
if xdpyinfo | grep -q NV-GLX ; then
verbose "present. \n"
NVIDIA_INTERNAL_TEST=0
return 0;
else
verbose "not present. \n"
NVIDIA_INTERNAL_TEST=1
return 1;
fi
}
# Check if the max texture size is large enough compared to the resolution
check_texture_size()
{
TEXTURE_LIMIT=$(glxinfo -l | grep GL_MAX_TEXTURE_SIZE | sed 's/.*=[^0-9]//g')
RESOLUTION=$(xdpyinfo | grep -i dimensions: | sed 's/[^0-9]*pixels.*(.*).*//' | sed 's/[^0-9x]*//')
VRES=$(echo $RESOLUTION | sed 's/.*x//')
HRES=$(echo $RESOLUTION | sed 's/x.*//')
verbose "Comparing resolution ($RESOLUTION) to maximum 3D texture size ($TEXTURE_LIMIT): ";
if [ $VRES -gt $TEXTURE_LIMIT ] || [ $HRES -gt $TEXTURE_LIMIT ]; then
verbose "Failed.\n"
return 1;
fi
verbose "Passed.\n"
return 0
}
# check driver whitelist
running_under_whitelisted_driver()
{
LOG=$(xset q|grep "Log file"|awk '{print $3}')
if [ -z "$LOG" ];then
verbose "AIEEEEH, no Log file found \n"
verbose "$(xset q) \n"
return 0
fi
for DRV in ${WHITELIST}; do
if egrep -q "Loading ${XORG_DRIVER_PATH}${DRV}_drv\.so" $LOG &&
! egrep -q "Unloading ${XORG_DRIVER_PATH}${DRV}_drv\.so" $LOG;
then
return 0
fi
done
verbose "No whitelisted driver found\n"
return 1
}
# check pciid blacklist
have_blacklisted_pciid()
{
OUTPUT=$(lspci -n)
for ID in ${BLACKLIST_PCIIDS}; do
if echo "$OUTPUT" | egrep -q "$ID"; then
verbose "Blacklisted PCIID '$ID' found \n"
return 0
fi
done
OUTPUT=$(lspci -vn | grep -i VGA)
verbose "Detected PCI ID for VGA: $OUTPUT\n"
return 1
}
build_env()
{
if check_nvidia; then
ENV="__GL_YIELD=NOTHING "
fi
if [ "$INDIRECT" = "yes" ]; then
ENV="$ENV LIBGL_ALWAYS_INDIRECT=1 "
fi
if check_xgl; then
if [ -f ${LIBGL_NVIDIA} ]; then
ENV="$ENV LD_PRELOAD=${LIBGL_NVIDIA}"
verbose "Enabling Xgl with nVidia drivers...\n"
fi
if [ -f ${LIBGL_FGLRX} ]; then
ENV="$ENV LD_PRELOAD=${LIBGL_FGLRX}"
verbose "Enabling Xgl with fglrx ATi drivers...\n"
fi
fi
ENV="$ENV FROM_WRAPPER=yes"
if [ -n "$ENV" ]; then
export $ENV
fi
}
build_args()
{
if [ $INDIRECT = "yes" ]; then
COMPIZ_OPTIONS="$COMPIZ_OPTIONS --indirect-rendering "
fi
if check_nvidia; then
COMPIZ_OPTIONS="$COMPIZ_OPTIONS --loose-binding"
fi
}
####################
# Execution begins here.
# Read configuration from XDG paths
if [ -z "$XDG_CONFIG_DIRS" ]; then
test -f /etc/xdg/compiz/compiz-manager && . /etc/xdg/compiz/compiz-manager
else
test -f $XDG_CONFIG_DIRS/compiz/compiz-manager && . $XDG_CONFIG_DIRS/compiz/compiz-manager
fi
if [ -z "$XDG_CONFIG_HOME" ]; then
test -f $HOME/.config/compiz/compiz-manager && . $HOME/.config/compiz/compiz-manager
else
test -f $XDG_CONFIG_HOME/compiz/compiz-manager && . $XDG_CONFIG_HOME/compiz/compiz-manager
fi
# Don't use compiz when running the failsafe session
if [ "x$GNOME_DESKTOP_SESSION_ID" = "xFailsafe" ]; then
abort_with_fallback_wm
fi
if [ "x$LIBGL_ALWAYS_INDIRECT" = "x1" ]; then
INDIRECT="yes";
fi
# if we run under Xgl, we can skip some tests here
if ! check_xgl; then
# if vesa or vga are in use, do not even try glxinfo (LP#119341)
if ! running_under_whitelisted_driver || have_blacklisted_pciid; then
abort_with_fallback_wm
fi
# check if we have the required bits to run compiz and if not,
# fallback
if ! check_tfp || ! check_npot_texture || ! check_composite || ! check_texture_size; then
abort_with_fallback_wm
fi
if check_nvidia && ! check_nvidia_memory; then
abort_with_fallback_wm
fi
if ! check_fbconfig; then
abort_with_fallback_wm
fi
fi
# load the ccp plugin if present and fallback to plain gconf if not
if [ -f ${PLUGIN_PATH}libccp.so ]; then
COMPIZ_PLUGINS="$COMPIZ_PLUGINS ccp"
elif [ -f ${PLUGIN_PATH}libgconf.so ]; then
COMPIZ_PLUGINS="$COMPIZ_PLUGINS glib gconf"
fi
# get environment
build_env
build_args
# start the gtk-window-decorator if present
if [ -x ${COMPIZ_BIN_PATH}emerald ] && [ "$USE_EMERALD" = "yes" ]; then
verbose "Starting emerald\n"
${COMPIZ_BIN_PATH}emerald --replace &
elif [ -x ${COMPIZ_BIN_PATH}gtk-window-decorator ] && [ -n "$GNOME_DESKTOP_SESSION_ID" ]; then
verbose "Starting gtk-window-decorator\n"
${COMPIZ_BIN_PATH}gtk-window-decorator --replace &
elif [ -x ${COMPIZ_BIN_PATH}kde-window-decorator ] && [ -n "$KDE_FULL_SESSION" ]; then
verbose "Starting kde-window-decorator\n"
${COMPIZ_BIN_PATH}kde-window-decorator --replace &
FALLBACKWM="${KWIN}"
fi
${COMPIZ_BIN_PATH}${COMPIZ_NAME} $COMPIZ_OPTIONS "$@" $COMPIZ_PLUGINS || exec $FALLBACKWM $FALLBACKWM_OPTIONS
|
'n' if u need xorg conifg i can also post here...
so plz plz help me
till evening i'm studying abt my exam which is tomorrow
'n' this is the result of " compiz --replace " command ,also see if something wrong
Quote:
No whitelisted driver found
SKIP_CHECKS is yes, so continuing despite problems.
Checking for texture_from_pixmap: not present.
Trying again with indirect rendering:
Checking for texture_from_pixmap: not present.
SKIP_CHECKS is yes, so continuing despite problems.
Checking for nVidia: not present.
Checking for FBConfig: Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Error: couldn't find RGB GLX visual
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
not present.
SKIP_CHECKS is yes, so continuing despite problems.
Checking for Xgl: not present.
Starting gtk-window-decorator
Xlib: extension "GLX" missing on display ":0.0".
/usr/bin/compiz.real (core) - Fatal: Root visual is not a GL visual
/usr/bin/compiz.real (core) - Error: Failed to manage screen: 0
/usr/bin/compiz.real (core) - Fatal: No manageable screens found on display :0.0
|
Last edited by SUKHI99; 14-12-2007 at 09:02 AM.
Reason: Automerged Doublepost
|
|
|
14-12-2007, 09:08 AM
|
#27 (permalink)
|
|
Commander in Chief
Join Date: Jul 2005
Posts: 6,658
|
Re: installing compiz 'n' getting the eye candy desktop.
Use Envy.
__________________
Harsh J
www.harshj.com
|
|
|
17-12-2007, 06:50 AM
|
#28 (permalink)
|
|
never forgot your roots!
Join Date: Oct 2006
Location: Accumulator
Posts: 99
|
Re: installing compiz 'n' getting the eye candy desktop.
oh finally got the compiz running with the help of u guys 'n' also ubuntu wiki
now plz tellme regrading using it means how to control,making fire ,water drops etc.
how to make a cube coz for cuse there shld be atleast 4 desktops ?isn't it? 'n' i hv two desktop options in ubuntu 7.10Gutsy Gibbon
reflecting background 'n' so on in swithcing case
- WT is the SUPER key i don't coem to understand plz tell me the all control of keyboard or mouse to work effeciently with the compiz
|
|
|
17-12-2007, 03:55 PM
|
#29 (permalink)
|
|
GTK+ programmer
Join Date: Jun 2007
Posts: 121
|
Re: installing compiz 'n' getting the eye candy desktop.
Install compizconfig-settings-manager
It allows you to configure each n every plugin of compiz
for 4 desktops:
open compizconfig, Go to General Options->Desktop Size
change horizontal virtual styles and no. of desktops to 4.
u can also set it to 3 for a prism
The Super Key is the Windows key.
|
|
|
17-12-2007, 04:03 PM
|
#30 (permalink)
|
|
never forgot your roots!
Join Date: Oct 2006
Location: Accumulator
Posts: 99
|
Re: installing compiz 'n' getting the eye candy desktop.
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|