View previous topic :: View next topic |
Author |
Message |
lopio Veteran
Joined: 22 Dec 2003 Posts: 1161 Location: savona, Italy
|
Posted: Sat Jun 30, 2007 10:18 am Post subject: |
|
|
ciao
mi postate in qualche modo lo script di start (quello che e' copiato poi come compiz-manager) visto che il link della prima pagina e' itaggiungibile ?
grazie ciao |
|
Back to top |
|
|
crisandbea Veteran
Joined: 03 Jul 2005 Posts: 1778 Location: BOSCO (SA) ... ma domiciliato a Bologna....
|
Posted: Sat Jun 30, 2007 10:29 am Post subject: |
|
|
lopio wrote: | ciao
mi postate in qualche modo lo script di start (quello che e' copiato poi come compiz-manager) visto che il link della prima pagina e' itaggiungibile ?
grazie ciao |
eccolo:
Code: |
#!/bin/bash
# Compiz manager
# 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
#
#
# 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, read a simple configuration file, and start a default
# plugin and possibly window decorator.
# All of this should be possible to override in a configuration file.
# Todo:
# - GUI, possibly in a second script.
# - Testing on Xgl
# - Configuration file sanity tests
#########################################################################
# You should NOT edit this, edit the configuration file instead. #
# This is left for completness and if you need to modify the script. #
# The generated configuration file should be equally documented. #
#########################################################################
# Defaults
# Configuration file is based on XDG base dir. Set this to override the
# defaults. Leave empty if in doubt. Use -v to see exactly what
# configuration files compiz-manager looks for on your system.
#CONFIG="./compiz-managerrc"
# Set to yes to enable verbose (-v) by default.
VERBOSE="no"
# Default arguments. Others are added to this, and the configuration can
# override ALL arguments.
ARGS="--sm-disable --replace --indirect-rendering"
# Ditto for enviromental variables.
ENV=""
# Default plugins. Should probably be ini, gconf or ccp.
PLUGINS="ccp"
# Defines the decorator and arguments.
# Set it to empty to not use a decorator.
DECORATOR="emerald"
DECORATORARGS="--replace"
# Delay in seconds before we bring up the decorator(s)
# This avoids starting the decorator before the WM is up,
# even if it shouldn't be a problem.
DELAY="5"
# Set to "no" to pipe all decorator error messages to /dev/null
DECOERRORS="no"
# Internal, used to process options.
TASK="normal"
# No indirect by default
INDIRECT=1
# Echos the arguments if verbose
function verbose
{
if [ "x$VERBOSE" = "xyes" ]; then
echo -ne "$*"
fi
}
### System checks
# These are used for checking what hardware and software we're dealing with,
# so we can decide what options to pass to compiz, if it's even possible to
# start compiz.
# Check wether the composite extension is present
function 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
}
function check_xdamage
{
verbose "Checking for XDamage extension: "
if xdpyinfo -queryExtensions | grep -q DAMAGE ; then
verbose "present. \n";
return 0;
else
verbose "not present. \n";
return 1;
fi
}
# Check for existence if NV-GLX
function check_nvidia
{
verbose "Checking for nVidia: "
if xdpyinfo | grep -q NV-GLX ; then
verbose "present. \n"
return 0;
else
verbose "not present. \n"
return 1;
fi
}
# Detects if Xgl is running
function 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 for presence of FBConfig
function check_fbconfig
{
verbose "Checking for FBConfig: "
if glxinfo 2> /dev/null | grep -q GLX_SGIX_fbconfig ; then
verbose "present. \n"
return 0;
else
verbose "not present. \n"
return 1;
fi
}
# Check for TFP
function 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" -eq 0 ]; then
unset LIBGL_ALWAYS_INDIRECT
INDIRECT=1
return 1;
else
verbose "Trying again with indirect rendering:\n";
INDIRECT=0
export LIBGL_ALWAYS_INDIRECT=1
check_tfp;
return $?
fi
fi
}
# Check for non power of two texture support
function check_npot_texture
{
verbose "Checking for non power of two support: "
if glxinfo | egrep -q
'(GL_ARB_texture_non_power_of_two|GL_NV_texture_rectangle|GL_EXT_texture_rectangle|GL_ARB_texture_rectangle)' ; then
verbose "present. \n";
return 0;
else
verbose "Not present. \n"
return 1;
fi
}
function check_xsync
{
verbose "Checking for XSync extension: ";
if xdpyinfo -queryExtensions | grep -q SYNC ; then
verbose "present. \n";
return 0;
else
verbose "not present. \n" ;
fi
}
# Counts how many screens we have, and the base value for DISPLAY=
# so we can easily start one decorator per screen
function check_multiscreen
{
SCREENS=$(xdpyinfo | grep "screen #" | wc -l)
verbose "Detected $SCREENS screen(s)\n";
if [ "$SCREENS" == "1" ]; then return 0; fi;
verbose "Multiscreen enviromental detection: \n"
DISPLAYBASE=$(xdpyinfo | grep name\ of\ display | sed 's/.* display: *//' | sed 's/\..*//')
verbose "\tDetected $DISPLAYBASE as the base of the DISPLAY variable\n";
SCREENNUMBERS=$(xdpyinfo | grep "screen #" | sed -r 's/screen #(.):/\1/')
for a in $SCREENNUMBERS ; do
MULTIDISPLAY[$a]=${DISPLAYBASE}.$a
verbose "\tMULTIDISPLAY[$a] set to: ${MULTIDISPLAY[$a]}\n";
done
}
function possible_check
{
if [ ! "$1" ]; then
echo "Fatal: Failed test: $2";
return 1;
fi
return 0;
}
# Returns true if we think it's actually possible to start compiz
function check_possible
{
POSSIBLE="1"
if ! possible_check "$TFP" "texture_from_pixmap support"; then return 1; fi
if ! possible_check "$NPOT" "non-power-of-two texture support"; then return 1; fi
if ! possible_check "$FBCONFIG" "FBConfig"; then return 1; fi
if ! possible_check "$COMPOSITE" "Composite extension"; then return 1; fi
if ! possible_check "$XDAMAGE" "XDamage extension"; then return 1; fi
if ! possible_check "$XSYNC" "XSync extension"; then return 1; fi
POSSIBLE="0";
return 0;
}
### Work functions
# Builds a new-line seperated string of enviromental variables we might want
function build_env
{
if [ $NVIDIA -eq 0 ]; then
ENV="__GL_YIELD=NOTHING "
fi
if [ $INDIRECT -eq 0 ]; then
ENV="$ENV LIBGL_ALWAYS_INDIRECT=1 "
fi
}
# Builds the argument list
function build_args
{
if [ $NVIDIA -eq 0 -a $XGL -ne 0 -a $INDIRECT -ne 0 ]; then
ARGS="--loose-binding "$ARGS
fi
if [ $INDIRECT -eq 0 ]; then
ARGS="--indirect-rendering "$ARGS
fi
}
# Prints usage
function usage
{
echo "Usage: $0 [-r <env|args>] [-v] [-h] [-i] [-f] [-d] [-w]"
echo -e "-r\toutputs recommended values for either "
echo -e " \tenviromental variables, or arguments."
echo -e "-v\tVerbose: Output the result of each individual test"
echo -e "-h\tDisplay this message";
echo -e "-i\tIgnore config file(s)";
echo -e "-f\tForce; This overwrites your existing config file."
echo -e "-d\tDry run: Do everything, but don't start."
echo -e "-w\tOnly start window decorator(s). One per screen.";
echo -e "Configuration"
echo -e "$0 automatically stores configuration the first time you run it.";
echo -e "You can use that to override checks, or pass custom arguments."
echo -e "To re-write the configuration, you can either use -f, to get one"
echo -e "based on your own settings, or -fi to create a fresh config."
}
# Parses options
function parse_options
{
while getopts "r:vhifdw" ARG
do
if [ "x$ARG" = "xr" ]; then
TASK="RECOMMEND";
if [ "x$OPTARG" = "xenv" ]; then
REC="env";
elif [ "x$OPTARG" = "xargs" ]; then
REC="args"
elif [ "x$OPTARG" = "xboth" ]; then
REC="both"
else
echo "Invalid recommend argument"
usage
exit 1
fi
elif [ "x$ARG" = "xv" ]; then
VERBOSE="yes"
elif [ "x$ARG" = "xi" ]; then
no_config
IGNORECONFIG="yes"
elif [ "x$ARG" = "xd" ]; then
DRY="yes"
elif [ "x$ARG" = "xf" ]; then
FORCE="yes"
FORCECONFIG="yes"
elif [ "x$ARG" = "xw" ]; then
TASK="WINDOWDECORATOR";
else
usage
exit 0
fi
done
}
# Store configuration
function store_config
{
if [ -n "$IGNORECONFIG" ]; then
if [ "x$FORCECONFIG" != "xyes" ]; then return; fi;
fi
if [ -z $CONFIG ]; then return ; fi
if [ -f $CONFIG ]; then
if [ "x$FORCECONFIG" != "xyes" ]; then
verbose "Not writing config; allready exists.\n";
return 1;
fi;
fi;
echo Writing configuration to: $CONFIG
echo "# Autogenerated configuration" > $CONFIG
echo "# Generated:" `date` >> $CONFIG
echo "# On $HOSTNAME by $USER" >> $CONFIG
echo >> $CONFIG
echo "# Behavior references: (yes/no)" >> $CONFIG
echo "# Set this to \"yes\" to get the same result as if you ran compiz-manager with -v" >> $CONFIG
echo "#VERBOSE=$VERBOSE" >> $CONFIG
echo >> $CONFIG
echo "# Plugins" >> $CONFIG
echo "PLUGINS=\"$PLUGINS\"" >> $CONFIG
echo "# Or, to append: " >> $CONFIG
echo "# PLUGINS=\"\$PLUGINS <... >\"" >> $CONFIG
echo >> $CONFIG
echo "# Arguments, same as plugins to append" >> $CONFIG
echo "# ARGS=\"\$ARGS <... >\"" >> $CONFIG
echo "#ARGS=\"$ARGS\"" >> $CONFIG
echo >> $CONFIG
echo "# Screen detection: " >> $CONFIG
echo "SCREENS=$SCREENS" >> $CONFIG
if [ -n "$SCREENNUMBERS" ]; then
echo "SCREENNUMBERS=\"$SCREENNUMBERS\"" >> $CONFIG
for a in ${SCREENNUMBERS}; do
echo "MULTIDISPLAY[$a]=${MULTIDISPLAY[$a]}" >> $CONFIG
done
fi
echo >> $CONFIG
echo "# Decorator" >> $CONFIG
echo "# Use \"unset DECORATOR\" or set DECORATOR=\"\" to not use one." >> $CONFIG
echo "DECORATOR=\"$DECORATOR\"" >> $CONFIG
echo "DECORATORARGS=\"$DECORATORARGS\"" >> $CONFIG
echo "# Delay in seconds before the decorator is started." >> $CONFIG
echo "DELAY=\"$DELAY\"" >> $CONFIG
echo "# Set this to \"no\" to send all decorator errors to /dev/null" >> $CONFIG
echo "DECOERRORS=\"$DECOERRORS\"" >> $CONFIG
echo >> $CONFIG
echo "# Values of 0 mean \"true\" (present), values of 1 means \"false\" (not present)" >> $CONFIG
echo "# Checks: " >> $CONFIG
echo NVIDIA=$NVIDIA >> $CONFIG
echo FBCONFIG=$FBCONFIG >> $CONFIG
echo XGL=$XGL >> $CONFIG
echo TFP=$TFP >> $CONFIG
echo NPOT=$NPOT >> $CONFIG
echo COMPOSITE=$COMPOSITE >> $CONFIG
echo XDAMAGE=$XDAMAGE >> $CONFIG
echo POSSIBLE=$POSSIBLE >> $CONFIG
echo XSYNC=$XSYNC >> $CONFIG
echo INDIRECT=$INDIRECT >> $CONFIG
}
####
# Execute checks, if necesarry.
function check_everything
{
if [ -z "$NVIDIA" ]; then
check_nvidia
NVIDIA=$?
else
verbose "Skipping nVidia check, using stored value.\n"
fi
if [ -z "$XGL" ]; then
check_xgl
XGL=$?
else
verbose "Skipping Xgl check, using stored value.\n"
fi
if [ -z "$FBCONFIG" ]; then
check_fbconfig
FBCONFIG=$?
else
verbose "Skipping FBConfig check, using stored value.\n"
fi
if [ -z "$TFP" ]; then
check_tfp
TFP=$?
else
verbose "Skipping texture_from_pixmap check, using stored value.\n"
fi
if [ -z "$NPOT" ]; then
check_npot_texture
NPOT=$?
else
verbose "Skipping non-power-of-two texture check, using stored value.\n"
fi
if [ -z "$COMPOSITE" ]; then
check_composite
COMPOSITE=$?
else
verbose "Skipping Composite extension check, using stored value.\n"
fi
if [ -z "$XDAMAGE" ]; then
check_xdamage
XDAMAGE=$?
else
verbose "Skipping Damage extension check, using stored value.\n"
fi
if [ -z "$XSYNC" ]; then
check_xsync
XSYNC=$?
else
verbose "Skipping XSync extension check, using stored value.\n";
fi
if [ -z "$SCREENS" ]; then
check_multiscreen
else
verbose "Skipping screen detection check, using stored value.\n";
fi
}
###
# Check if a directory exists; creates it if it doesn't, returns false if the
# path isn't a directory.
function require_dir
{
if ! [ -a "$1" ]; then
verbose "Creating directory $1\n";
mkdir $1;
fi
if [ ! -d $1 ]; then
echo "Warning: $1 exists but isn't a directory.";
return 1;
fi
return 0;
}
####
# Configuration handeling
# We attempt to follow the XDG basedir spec here;
# We can read both a global config, and a local one.
# The configuration file is extremly simple, as it's just a bash script.
# It might be a good idea to improve that a bit, specially with security
# in mind, an general errors.
# No config, so unset and possibly warn. (Might do more later)
function no_config
{
if [ -n "$1" ]; then
echo "$1";
fi
unset CONFIG
}
function get_config_name
{
if [ -n "$CONFIG" ]; then
return 0;
fi
if [ -z "$XDG_CONFIG_HOME" ]; then
if ! require_dir "$HOME/.config" ; then
no_config "Don't know how to treat config files. Ignoring them."
else
CONFIG="$HOME/.config/compiz-managerrc"
fi
else
if ! require_dir "$XDG_CONFIG_HOME" ; then
no_config "Don't know how to treat config files. Ignoring them."
else
CONFIG="$XDG_CONFIG_HOME/compiz-managerrc"
fi
fi
}
function parse_config
{
if [ -z "$XDG_CONFIG_DIRS" ]; then
XDG_CONFIG_DIRS="/etc/xdg/";
fi
verbose "Looking for configuration file(s): \n"
oldIFS=$IFS
IFS=":";
for a in $XDG_CONFIG_DIRS; do
if [ -f "$a/compiz-managerrc" ]; then
verbose "\t Loading ${a}/compiz-managerrc\n";
. $a/compiz-managerrc;
else
verbose "\t Not found: ${a}/compiz-managerrc\n";
fi
done
IFS=$oldIFS
if [ -n "$CONFIG" ]; then
if [ -f "$CONFIG" ]; then
verbose "\t Loading $CONFIG\n"
. $CONFIG ;
else
verbose "\t Not found: \"$CONFIG\"\n";
fi
fi
}
###
# Let's get this show started!
function start_compiz
{
###
# No need to continue if we've determined it's not possible to start anyway
if [ $POSSIBLE != "0" ]; then
echo "Checks indicate that it's impossible to start compiz on your system."
exit 1;
else
verbose "Checks indicate compiz should work on your system\n"
fi;
verbose "Exporting: $ENV \n"
export $ENV
verbose Executing: compiz $ARGS $PLUGINS "\n"
if [ "x$DRY" = "xyes" ]; then exit 0; fi
compiz $ARGS $PLUGINS
}
####
# Starts one decorator per screen
function start_decorators
{
if [ -z "$DECORATOR" ]; then return 1; fi
if [ "$SCREENS" == "1" ]; then
verbose "Starting delayed decorator in the background: "
verbose "sleep $DELAY && $DECORATOR $DECORATORARGS &\n"
if [ "x$DRY" = "xyes" ]; then return 0; fi
if [ "$DECOERRORS" = "no" ]; then
sleep $DELAY && $DECORATOR $DECORATORARGS 2>/dev/null &
else
sleep $DELAY && $DECORATOR $DECORATORARGS &
fi
return 0;
fi
verbose "Starting decorators for all screens: \n"
for a in $SCREENNUMBERS; do
verbose "\t Screen $a: "
verbose "sleep $DELAY && DISPLAY=${MULTIDISPLAY[$a]} $DECORATOR $DECORATORARGS\n"
if [ "x$DRY" != "xyes" ]; then
if [ "$DECOERRORS" = "no" ]; then
sleep $DELAY && DISPLAY=${MULTIDISPLAY[$a]} $DECORATOR $DECORATORARGS 2>/dev/null &
else
sleep $DELAY && DISPLAY=${MULTIDISPLAY[$a]} $DECORATOR $DECORATORARGS &
fi
fi
done
}
####################
# Execution begins here.
# First get options, check for configuration
# Check everything if necesarry, build the enviroment and arguments
# and eventually select a task.
parse_options $*
# We need this even when ignoring, or we won't know where to store force
# configuration files
get_config_name
if [ -z "$IGNORECONFIG" ]; then parse_config
else verbose "Ignoring configuration files as you requested\n"; fi
if [ -z "$NOCHECKS" ]; then check_everything; fi
###
# This is the master-test, it has to be done last.
if [ -z "$POSSIBLE" ]; then check_possible
else verbose "Skipping \"possible\" test, using stored value.\n"; fi
####
# Builds the enviromental variables list and argument list based
# on the result of the checks
build_env
build_args
case "$TASK" in
RECOMMEND)
if [ "x$REC" = "xenv" ]; then
echo -e $ENV;
elif [ "x$REC" = "xargs" ]; then
echo -e $ARGS
elif [ "x$REC" = "xboth" ]; then
echo -e $ARGS $PLUGINS
echo -e $ENV
fi
if [ $POSSIBLE != "0" ]; then return 1; fi
;;
WINDOWDECORATOR)
echo "start window decorator here..."
start_decorators
;;
*)
store_config
start_decorators
start_compiz
;;
esac
|
|
|
Back to top |
|
|
lopio Veteran
Joined: 22 Dec 2003 Posts: 1161 Location: savona, Italy
|
Posted: Sat Jun 30, 2007 4:29 pm Post subject: |
|
|
crisandbea wrote: |
eccolo:
|
grazie ora parte correttamente
La mia impressione e' che non tutte le funzionalita' vadano pero'
Per esempio non va effetto pioggia, trasparenza cubo, ... |
|
Back to top |
|
|
BlackBelt Guru
Joined: 27 Nov 2004 Posts: 369 Location: Messina/Pisa
|
Posted: Sun Jul 01, 2007 9:00 am Post subject: |
|
|
buondì. Ho notato che X (gnome) con compiz fusion gode di un mostruoso degrado delle prestazioni quando compilo qualcosa e avvio applicazioni che fanno uso di java come azureus.
Avete sperimentato qualcosa di simile?
bai! _________________ "Sulla strada per l'inferno c'e' sempre un sacco di gente,
ma è comunque una via che si percorre in solitudine."
Charles Bukowski |
|
Back to top |
|
|
lopio Veteran
Joined: 22 Dec 2003 Posts: 1161 Location: savona, Italy
|
Posted: Sun Jul 01, 2007 12:17 pm Post subject: |
|
|
ciao su amd64 con scheda nvidia ottengo errore quando lancio compiz-manager
Code: |
compiz (core) - Fatal: GLX_EXT_texture_from_pixmap is missing
compiz (core) - Error: Failed to manage screen: 0
compiz (core) - Fatal: No manageable screens found on display :1.0
|
esetnsione composite sembra attiva quindi non so che fare
Code: |
xdpyinfo | grep Compo
Composite
|
Inoltre qual'e' il meccanismo migliore per lanciar compiz-manager da kde ?
grazie |
|
Back to top |
|
|
MeMyselfAndI l33t
Joined: 15 Nov 2005 Posts: 784 Location: Between the monitor and the chair
|
Posted: Tue Jul 03, 2007 1:23 pm Post subject: |
|
|
metterlo nella cartella di autostart? Cmq credo che i tempi siano ancora un po troppo precoci per considerarlo stabile e funzionante al 100%... forse ti conviene eseguirlo a mano ogni volta.
Parlo per esperienza personale, facendolo partire all'avvio son piu' le volte che non mi disegna le finestre che quelle che va.
Ciao |
|
Back to top |
|
|
lanoche n00b
Joined: 03 Jul 2007 Posts: 2 Location: italia
|
Posted: Wed Jul 04, 2007 12:58 am Post subject: COMPOSITE EXTENSION sparita?? |
|
|
Ciao a tutti, ho seguito la guida sul wiki di gentoo xeffects, è stato davvero semplice installare compiz-fusion.
Il problema è che non riesco ad abilitare l'estensione composite di Xorg, eppure mi sembra di aver fatto tutto, dopo aver letto e riletto sui wiki!
Mi date un consiglio su come agire?? Grazie mille in anticipo, è il mio primo post sul forum...dopo 5 mesi di gentoo mi sono finalmente iscritto.
Ho una scheda ati radeon 9250, uso il driver opensource radeon che la supporta, il sistema è aggiornato ad oggi,
cairo, mesa e compiz-fusion li ho emersi dall'overlay di xeffects.
Il problema è che quando avvio compiz ho
Code: | > compiz-start
AIGLX detected
Using GTK decorator
compiz (core) - Fatal: No composite extension |
Se provo a verificare l'estensione composite ho:
Code: | > xcompmgr
No composite extension |
Quindi sembra proprio che non sia abilitata, nel log di X ho solo:
Code: | > cat /var/log/Xorg.0.log | grep -i compos
(II) Initializing built-in extension COMPOSITE |
Ho visto in altri post che dovrebbero esserci altre righe di conferma dell'inizializzazione dell'estensione.
Il modulo drm l'ho compilato nel kernel ed è attivo:
Code: | > lsmod | grep drm
drm 67732 3 radeon
agpgart 27592 2 drm,via_agp |
L'accellerazione 3d è abilitata da tempo , infatti:
Code: | > glxinfo | grep render
direct rendering: Yes
OpenGL renderer string: Mesa DRI R200 20060602 AGP 1x x86/MMX+/3DNow!+/SSE TCL |
E anche l'estensione AIGLX dovrebbe essere attiva:
Code: | > cat /var/log/Xorg.0.log | grep -i aiglx
(==) AIGLX enabled
(WW) AIGLX: 3D driver claims to not support visual 0x23
(WW) AIGLX: 3D driver claims to not support visual 0x24
(WW) AIGLX: 3D driver claims to not support visual 0x25
(WW) AIGLX: 3D driver claims to not support visual 0x26
(WW) AIGLX: 3D driver claims to not support visual 0x27
(WW) AIGLX: 3D driver claims to not support visual 0x28
(WW) AIGLX: 3D driver claims to not support visual 0x29
(WW) AIGLX: 3D driver claims to not support visual 0x2a
(WW) AIGLX: 3D driver claims to not support visual 0x2b
(WW) AIGLX: 3D driver claims to not support visual 0x2c
(WW) AIGLX: 3D driver claims to not support visual 0x2d
(WW) AIGLX: 3D driver claims to not support visual 0x2e
(WW) AIGLX: 3D driver claims to not support visual 0x2f
(WW) AIGLX: 3D driver claims to not support visual 0x30
(WW) AIGLX: 3D driver claims to not support visual 0x31
(WW) AIGLX: 3D driver claims to not support visual 0x32
(II) AIGLX: Loaded and initialized /usr/lib/dri/r200_dri.so |
Questi sono i punti caldi del mio xorg.conf
Code: | Section "Module"
Load "dbe" # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
Load "i2c"
Load "glx"
Load "dri"
Load "drm"
Load "extmod"
Load "bitmap" # bitmap-fonts
Load "type1"
Load "freetype"
Load "record"
Load "v4l"
Load "ddc"
EndSection
...
Section "Device"
Identifier "radeon9200"
VendorName "Ati"
BoardName "Radeon 9250 pro"
Driver "radeon"
VideoRam 131072
Option "DRI" "true"
Option "XAANoOffscreenPixmaps" "true"
Option "AGPMode" "8"
Option "EnablePageFlip"
Endsection
...
Section "DRI"
Group video
Mode 0666
EndSection
Section "Extensions"
Option "Composite" "enable"
EndSection
|
Dove ho sbagliato?? E' davvero triste avere compiz-fusion installato e non poterlo usare
per la mancanza di un estensione...
Mi basta anche un link di un how-to o altro, non so davvero che altro fare!
Help! |
|
Back to top |
|
|
crisandbea Veteran
Joined: 03 Jul 2005 Posts: 1778 Location: BOSCO (SA) ... ma domiciliato a Bologna....
|
Posted: Wed Jul 04, 2007 8:05 am Post subject: |
|
|
l'errore sembra più semplice del previsto :
Code: |
Option "Composite" "Enable" <------- La E di Enable è maiuscola. non minuscola come nel tuo caso.
|
Last edited by crisandbea on Thu Jul 05, 2007 8:02 am; edited 1 time in total |
|
Back to top |
|
|
edux Apprentice
Joined: 15 Nov 2005 Posts: 223 Location: Bologna
|
Posted: Wed Jul 04, 2007 10:46 am Post subject: |
|
|
Ho appena emerso fusion-icon, che in teoria dovrebbe farmi partire la tray icon, però non va.
Ovvio che è svn e non pretendo che vada, ma magari postando questi errori si risolvono dei problemi.
Code: | Adding plugin snow (Snow)
Adding plugin expo (Expo)
Adding plugin put (Put)
Adding plugin mblur (Motion blur)
Adding plugin video (Video Playback)
Adding plugin fade (Finestre in dissolvenza)
Adding plugin resizeinfo (Resize Info)
Adding plugin plane (Desktop Plane)
Adding plugin scaleaddon (Scale Addons)
Adding plugin cube (Cubo desktop)
Adding plugin water (Effetto acqua)
Adding plugin annotate (Annotate)
Adding plugin vpswitch (Viewport mouse switch)
Adding plugin extrawm (Azioni WM Aggiuntive)
Adding plugin dbus (Dbus)
Adding plugin resize (Ridimensiona finestra)
Adding plugin winrules (Window Rules)
Adding plugin zoom (Zoom desktop)
Adding plugin rotate (Ruota cubo)
Adding plugin glib (GLib)
Adding plugin splash (Splash)
Adding plugin wallpaper (Wallpaper)
Adding plugin text (Text)
Adding plugin scale (Scala)
Adding plugin screenshot (Screenshot)
Adding plugin trailfocus (Trailfocus)
Adding plugin animation (Animations)
Adding plugin minimize (Riduci effetto)
Adding plugin svg (Svg)
Adding plugin wall (Desktop Wall)
Adding plugin switcher (Commutatore applicazioni)
Adding plugin neg (Negative)
Adding plugin fs (Userspace File System)
Adding plugin fadedesktop (Fade to Desktop)
Adding core settings (General Options)
Adding plugin blur (Blur Windows)
Adding plugin move (Finestra mobile)
Adding plugin reflex (Reflection)
Adding plugin fakeargb (Color Opacity)
Adding plugin bench (Benchmark)
Adding plugin crashhandler (Gestore dei Crash)
Adding plugin opacify (Opacify)
Adding plugin ring (Ring Switcher)
Adding plugin addhelper (AddHelper)
Adding plugin cubereflex (Riflesso del Cubo)
Adding plugin clone (Clone Output)
Adding plugin group (Group and Tab Windows)
Adding plugin thumbnail (Window Previews)
Adding plugin showdesktop (Show desktop)
Adding plugin wobbly (Finestre tremolanti)
Adding plugin firepaint (Paint fire on the screen)
Adding plugin 3d (3D Windows)
Adding plugin snap (Snapping Windows)
Adding plugin tile (Tile)
Adding plugin regex (Regex Matching)
Adding plugin inotify (Inotify)
Adding plugin decoration (Decorazione finestra)
Adding plugin png (Png)
Adding plugin place (Posiziona finestre)
Adding plugin imgjpeg (JPEG)
Adding plugin named gears
Backend : ini
Integration : true
Profile : default
Initializing decoration options...done
* Getting installed applications...
/usr/bin/compiz
/usr/bin/ccsm
/usr/bin/gtk-window-decorator
/usr/bin/kde-window-decorator
/usr/bin/emerald
/usr/kde/3.5/bin/kwin
* gnome is False; kde is True
* Decorator "" is invalid.
... choosing kde-window-decorator --replace as default decorator
Traceback (most recent call last):
File "/usr/bin/../share/fusion-icon/fusion-icon-qt4.py", line 6, in ?
from libfusionicon import *
File "/usr/share/fusion-icon/libfusionicon.py", line 154, in ?
set_decorator(active_decorator)
File "/usr/share/fusion-icon/libfusionicon.py", line 103, in set_decorator
context.ProcessEvents()
AttributeError: 'compizconfig.Context' object has no attribute 'ProcessEvents' |
Ecco, ora magari faccio un giro anche sul forum di opencompositing, e vediamo cosa dicono là .
P.S.: nelle ultime linee lo script lancia un eseguibile python, fusion-icon-qt4.py. In realtà lo script originale lanciava fusion-icon-gtk.py, che io però non ho, l'ho modificato a mano. Anche provando a lanciare fusion-icon-qt3.py l'errore è il medesimo. _________________ E' la seconda più grande testa di scimmia che abbia mai visto!
(Guybrush Threepwood) |
|
Back to top |
|
|
HeavyLord n00b
Joined: 04 Jul 2007 Posts: 2
|
Posted: Wed Jul 04, 2007 11:09 am Post subject: |
|
|
Ciao ragazzi, vi posto una domanda (il mi primo post ) ...
Spesse volte capita che i bordi e le barre del titolo delle finestre scompaiono misticamente, tutte le applicazioni lanciate successivamente rimangono senza bordi e senza finestre.
leggendo qua e là il problema potrebbe essere imputabile all'ordine di avvio degli script.
premetto che non ho ancora provato.
Faccio appello alla vostra esperienza in merito. vi è capitato? come avete risolto?
Grazie a tutti. _________________ Athlon 64 X2 Dual Core 5000+ -- 4GB Ram -- 1,1 TB (somma dei vari hard disk) -- GeForce 8800 GTS 640 MB -- SB X-FI platinum -- 2GigaBit Ethernet nforce |
|
Back to top |
|
|
lanoche n00b
Joined: 03 Jul 2007 Posts: 2 Location: italia
|
Posted: Thu Jul 05, 2007 12:23 am Post subject: Risolto |
|
|
Grazie per le risposte, in realtà quella "E" di enable non fa differenza, avevo già provato, dato che le estensioni dello xorg vengono lette con "l'ignor-compare", cioè senza distinzioni di lettere.
La soluzione è stata far partire il server X con delle opzioni aggiuntive, dato che io uso GNOME, ho dovuto inserire in /usr/share/gdm/default.conf
Code: | ...
StandardXServer=/usr/bin/X -br +extension Composite
...
[server-Standard]
name=Standard server
#command=/usr/bin/X -audit 0
command=/usr/bin/X -audit 0 -br +extension Composite -audit 0
... |
Questa modifica in realtà è segnalata nel wiki, ma siccome era sotto la voce KDM, non avevo prestato attenzione!
Conviene decisamente leggere la man e l'help di X, ci sono tante cose interessanti
Grazie a tutti per l'attenzione
@HeavyLord
Con quale comando fai partire fusion? con lo script compiz-start?
Se usi quello di default, installando fusion dall'overlay di xeffects non dovresti avere problemi _________________ /home sweet /home |
|
Back to top |
|
|
HeavyLord n00b
Joined: 04 Jul 2007 Posts: 2
|
Posted: Fri Jul 06, 2007 9:24 am Post subject: |
|
|
lo script parte in automatico all'avvio di gnome tramite compiz-manager.
cmq mi ci sono messo e ho capito che erano impostaizioni un pò ad catzum del file xorg.conf, che poi ho rigenerato a manina e ha funzionato.
un ultimo strano comportamento che sto vedendo è il cambio del workspace, ogni tanto impazzisce e decide di restartare il servizio compiz...
ora me la studio
Ciao _________________ Athlon 64 X2 Dual Core 5000+ -- 4GB Ram -- 1,1 TB (somma dei vari hard disk) -- GeForce 8800 GTS 640 MB -- SB X-FI platinum -- 2GigaBit Ethernet nforce |
|
Back to top |
|
|
edux Apprentice
Joined: 15 Nov 2005 Posts: 223 Location: Bologna
|
Posted: Fri Jul 06, 2007 5:35 pm Post subject: |
|
|
@me stesso: ricompilare compizconfig-python risolve il problema. _________________ E' la seconda più grande testa di scimmia che abbia mai visto!
(Guybrush Threepwood) |
|
Back to top |
|
|
Nuitari Apprentice
Joined: 15 May 2005 Posts: 245
|
Posted: Sat Jul 07, 2007 8:50 am Post subject: |
|
|
HeavyLord wrote: | Ciao ragazzi, vi posto una domanda (il mi primo post ) ...
Spesse volte capita che i bordi e le barre del titolo delle finestre scompaiono misticamente, tutte le applicazioni lanciate successivamente rimangono senza bordi e senza finestre.
leggendo qua e là il problema potrebbe essere imputabile all'ordine di avvio degli script.
premetto che non ho ancora provato.
Faccio appello alla vostra esperienza in merito. vi è capitato? come avete risolto?
Grazie a tutti. |
esattamente lo stesso problema con quasi lo stesso processore (amd64). In mattinata provo a riemergere alcune cose, non mi è ben chiaro dove stia il problema però....cercasi aiuto grassie
riedit:
allora, forse sono in grado di spiegarmi un po meglio. Con fusion installato, alla partenza di kde se metto compiz-manager nell'autstart parte ma non parte emerald.
Se invece compiz-manager non è nell'autostart ma lo faccio partire manualmente, allora va tutto bene
Altra cosa: se alla partenza di kde compiz-manager non è nell'autostart e parte kde normale, nn vedo lo stesso i bordi delle finestre
come potrei fare per far partire automaticamente compiz-manager e avere i bordi delle finestre? ho inserito compiz-manager nella directory di kde autostart, e anche emerald, ma non se lo caga di striscio pare......scusate l'espressione _________________ Da un discorso su #gentoo:
[15:10] <flowolf> pino: credo che se dovessi leggere ancora un punto interrogativo ed il tuo nick sulla stessa riga
[15:10] <flowolf> potrei andare fuori di testa |
|
Back to top |
|
|
lucapost Veteran
Joined: 24 Nov 2005 Posts: 1419 Location: <ud|me|ts> - Italy
|
Posted: Sun Jul 08, 2007 6:39 pm Post subject: |
|
|
ho un problema con compiz-fusion-plugins-extra:
Code: |
...
...
/bin/sh ../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -DPNG_NO_MMX_CODE -I/usr/include/libpng12 -I/usr/include/libxml2 -I/usr/include/startup-notification-1.0 -I/usr/include/compiz -DDATADIR='"/usr/share"' -DLIBDIR='"/usr/lib64"' -DLOCALEDIR="\"/usr/share/locale\"" -DIMAGEDIR='"/usr/share/compiz"' -I../../include -march=k8 -O2 -pipe -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -MT scalefilter.lo -MD -MP -MF .deps/scalefilter.Tpo -c -o scalefilter.lo scalefilter.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -DPNG_NO_MMX_CODE -I/usr/include/libpng12 -I/usr/include/libxml2 -I/usr/include/startup-notification-1.0 -I/usr/include/compiz -DDATADIR=\"/usr/share\" -DLIBDIR=\"/usr/lib64\" -DLOCALEDIR=\"/usr/share/locale\" -DIMAGEDIR=\"/usr/share/compiz\" -I../../include -march=k8 -O2 -pipe -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -MT scalefilter.lo -MD -MP -MF .deps/scalefilter.Tpo -c scalefilter.c -fPIC -DPIC -o .libs/scalefilter.o
scalefilter.c:39:18: error: text.h: No such file or directory
scalefilter.c: In function 'scalefilterRenderFilterText':
scalefilter.c:120: error: 'CompTextAttrib' undeclared (first use in this function)
scalefilter.c:120: error: (Each undeclared identifier is reported only once
scalefilter.c:120: error: for each function it appears in.)
scalefilter.c:120: error: expected ';' before 'tA'
scalefilter.c:160: error: 'tA' undeclared (first use in this function)
scalefilter.c:169: error: 'TEXT_STYLE_BOLD' undeclared (first use in this function)
scalefilter.c:169: error: 'TEXT_STYLE_NORMAL' undeclared (first use in this function)
scalefilter.c:174: error: 'TextRenderNormal' undeclared (first use in this function)
scalefilter.c:177: error: 'TEXT_ID' undeclared (first use in this function)
scalefilter.c: At top level:
scalefilter.c:323: warning: no previous prototype for 'scalefilterUpdateFilter'
make[3]: *** [scalefilter.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/x11-plugins/compiz-fusion-plugins-extra-9999/work/plugins-extra/src/scalefilter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-plugins/compiz-fusion-plugins-extra-9999/work/plugins-extra/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-plugins/compiz-fusion-plugins-extra-9999/work/plugins-extra'
make: *** [all] Error 2
!!! ERROR: x11-plugins/compiz-fusion-plugins-extra-9999 failed.
Call stack:
ebuild.sh, line 1621: Called dyn_compile
ebuild.sh, line 973: Called qa_call 'src_compile'
ebuild.sh, line 44: Called src_compile
compiz-fusion-plugins-extra-9999.ebuild, line 48: Called die
!!! make failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/x11-plugins/compiz-fusion-plugins-extra-9999/temp/build.log'.
!!! This ebuild is from an overlay: '/usr/local/layman/xeffects' |
Qualcuno sa aiutarmi? _________________ LP |
|
Back to top |
|
|
^Stefano^ Guru
Joined: 20 Nov 2005 Posts: 394 Location: Ferrara
|
Posted: Sun Jul 08, 2007 9:47 pm Post subject: |
|
|
Deus Ex wrote: | Ho seguito la tua guida ma la compilazione si blocca sul pacchetto compiz-fusion-plugins-extra:
|
Io ho risolto emergendo per ultimo per pacchetto. sono anche io su amd64 ed uso cairo-1.4.6 senza use png.
P.S. lucapost fai come ho fatto io. quando si blocca dai un emerge resume --skipfirst e lo lasci per ultimo. poi alla fine emerge -1 compiz-fusion-plugins-extra
dovrebbe andare _________________ 8-09 V-Day con una raccolta firme. Vi aspettiamo
Raccolta Firme
Progetto tRicicloPC con Linux |
|
Back to top |
|
|
xveilsidex Guru
Joined: 27 Dec 2005 Posts: 370 Location: Bari
|
Posted: Tue Jul 10, 2007 7:49 pm Post subject: |
|
|
ragazzi come risolvo quest'errore ?
compiz (core) - Fatal: GLX_EXT_texture_from_pixmap is missing
compiz (core) - Error: Failed to manage screen: 0
compiz (core) - Fatal: No manageable screens found on display :0.0
in xorg ho messo :
Section "Extensions"
Option "Composite" "enable"
EndSection |
|
Back to top |
|
|
^Stefano^ Guru
Joined: 20 Nov 2005 Posts: 394 Location: Ferrara
|
Posted: Wed Jul 11, 2007 9:24 am Post subject: |
|
|
ho visto che l'overlay sabayon contiene gli stessi pacchetti di xeffects, da cosa è derivata la decisione di usare quest'ultimo in tutte le guide?
visti i miei problemi sarei tentato di deletare xeffects e aggiungere sabayon. cosa ne dite? _________________ 8-09 V-Day con una raccolta firme. Vi aspettiamo
Raccolta Firme
Progetto tRicicloPC con Linux |
|
Back to top |
|
|
riverdragon Veteran
Joined: 14 Sep 2006 Posts: 1269 Location: Verona
|
Posted: Thu Jul 12, 2007 7:10 am Post subject: |
|
|
Ho seguito la guida, la compilazione è andata in fondo senza alcun problema, e anche l'avvio non ha mostrato stranezze.
Ma dopo dieci minuti in cui non riuscivo né a cambiare tema, né a far funzionare i plugin, ho rimosso tutto e sono tornato a compiz di portage.
Aspetterò che arrivi qui anche compiz-fusion, e che magari sia possibile avere qualche guida nel frattempo |
|
Back to top |
|
|
lopio Veteran
Joined: 22 Dec 2003 Posts: 1161 Location: savona, Italy
|
Posted: Sun Jul 15, 2007 12:23 am Post subject: |
|
|
ciao
grazie alle dritte del forum l'accoppiata AIGLX + compiz-fusion funziona su amd-64 con scheda nvidia
Volevo arrivare allo stesso risultato su portatile x86 con scheda ati 9700 mobile. Anche in questo caso avevo gia' un AIGLX+ beryl funzionante e pensavo che il passaggio a compiz-fusion sarebbe stato quasi indolore. Premesso che sto utiizzando driver open radeon avendo da tempo abbandonato gli ati-drivers mi son trovato in questa situazione;
1) con kernel 2.6.17-r8 sembra funzionicchiare nel senso che alcuni plugin non vanno ma sembra che per il resto sia ok
2) passando a kernel + nuovo 2.6.21-r4, senza toccare il resto, pur senza messaggi di errore ottengo che le finestre sono senza bordo e non funziona nulla
La domande sono queste:
1) compiz - fusion puo' funzionare su ati + AIGLX con kernel "nuovi"? Qualcuno e' riuscito a farlo andare e come?
2) come mai non esiste una versione compiz-fusion in portage? Questa domanda non e' strana visto che lo stesso identico portatile (di mio fratello) con ubuntu ha compiz-fusion + AIGLX funzionante; a volte mi sembra che ubuntu sia + avanti e questo e' strano -((((
grazie ciao |
|
Back to top |
|
|
^Stefano^ Guru
Joined: 20 Nov 2005 Posts: 394 Location: Ferrara
|
Posted: Sun Jul 15, 2007 7:17 am Post subject: |
|
|
compiz-fusion non esiste in portage perchè è software altamente sperimentale. anche su ubuntù non è presente nei repo ufficiali, ma devi installare traversino o un repo con un nome simile. _________________ 8-09 V-Day con una raccolta firme. Vi aspettiamo
Raccolta Firme
Progetto tRicicloPC con Linux |
|
Back to top |
|
|
lopio Veteran
Joined: 22 Dec 2003 Posts: 1161 Location: savona, Italy
|
Posted: Sun Jul 15, 2007 11:48 am Post subject: |
|
|
^Stefano^ wrote: | compiz-fusion non esiste in portage perchè è software altamente sperimentale. anche su ubuntù non è presente nei repo ufficiali, ma devi installare traversino o un repo con un nome simile. |
ciao
ma si ha una vaga idea di quando potra' essere in portage?1 mese,2,1 anno?
Quello che non mi spiego e' come sia possibile che cambiando kernel ora il layout finestre non funzioni piu'. Potrebbe essere il modulo radeon del kernel troppo nuovo? Va mica ricompilato xorg per via di tale "dipendendenza"?
grazie
ciao |
|
Back to top |
|
|
mrfree Veteran
Joined: 15 Mar 2003 Posts: 1303 Location: Europe.Italy.Sulmona
|
Posted: Sun Jul 15, 2007 12:42 pm Post subject: |
|
|
lopio wrote: | ma si ha una vaga idea di quando potra' essere in portage?1 mese,2,1 anno? | Beh forse è presto per dirlo visto che non è stata ancora rilasciata nessuna versione "stabile"; gli ebuild che stiamo utilizzando prelevano i sorgenti direttamente dal repo git _________________ Please EU, pimp my country!
ICE: /etc/init.d/iptables panic |
|
Back to top |
|
|
energy+ n00b
Joined: 01 Nov 2004 Posts: 70 Location: Romagna!
|
Posted: Mon Jul 16, 2007 10:39 pm Post subject: |
|
|
x chi ha problemi con l'errore:
Code: | compiz (core) - Fatal: GLX_EXT_texture_from_pixmap is missing
compiz (core) - Error: Failed to manage screen: 0
compiz (core) - Fatal: No manageable screens found on display :0.0
|
Dopo ore e giorni di ricerca ho trovato questi parametri da passare al comando compiz-manager:
Code: |
LIBGL_ALWAYS_INDIRECT=1 compiz-manager
|
Questo a me con vga integrata su chipset intel 855gm ha funzionato.
Ora però ho io un problemino x chi sapesse aiutarmi.....
Se lancio il kde-window-manager per avere le title bar, ho come riflesso il problema che mi rimane un fastidiosa riga di qlche pixel sopra la taskbar e a lato del menu K.
ciao |
|
Back to top |
|
|
X-Act! Apprentice
Joined: 22 Nov 2004 Posts: 245 Location: /home/xact/
|
Posted: Mon Jul 23, 2007 3:21 pm Post subject: |
|
|
Ciao a tutti.
Volevo fare due domandine prima di passare anch'io da beryl a compiz-fusion:
1) Uso kde e per lanciare beryl mi è bastato mettere in /etc/env.d/99kde-env Code: | KDEWM=beryl-manager | Potrò fare qualcosa di simile anche con compiz-fusion?
2) Beryl-setting-manager consente, dalla sua iconcina, di switchare tra emerald e kwin (o qualsiasi altro): a parte l'icona nella traybar, c'è in compiz-fusion un modo (un comando, un menù, qualsiasi cosa) per cambiare windows-decorator "a caldo" cioè senza riavviare il wm?
E se c'è, funziona sufficientemente bene?
Grazie _________________ "Io non mi sento obbligato a credere che lo stesso Dio che ci ha dotato di senso, ragione ed intelletto intendesse che noi ne facessimo a meno."
-- Galileo Galilei |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|