Compiz-Check: uno script per testare il sistema e risolvere i problemi
29 Aprile 2008 — AleXit
Stamattina leggendo i feed del Planet di Compiz-Fusion, ho trovato la notizia di uno script molto utile: Compiz-Check. Come si legge nel blog dell’autore (Forlong), Compiz-Check è uno script che verifica se Compiz può funzionare nel sistema e in caso negativo dice il perchè e propone delle soluzioni.
Il risultato dello script può essere molto utile come informazione aggiuntiva da allegare alle richieste di aiuto nei forum di Compiz Fusion o delle varie distribuzioni.
Lo script supporta GNOME, KDE e Xfce ed è indipendente dalla distribuzione Linux scelta.
Consiste principalmente in 3 parti:
- Informazioni rilevanti sul sistema
- Esegue alcuni test specifici per Compiz
- Verifica la presenza di problemi con l’hardware o con la configurazione in uso
Ecco un esempio del risultato nel mio sistema:
Gathering information about your system... Distribution: Ubuntu 8.04 Desktop environment: GNOME Graphics chip: ATI Technologies Inc Radeon RV250 [Mobility FireGL 9000] (rev 01) Driver in use: radeon Rendering method: AIGLX Checking if it's possible to run Compiz on your system… Checking for texture_from_pixmap… [ OK ] Checking for non power of two support… [ OK ] Checking for composite extension… [ OK ] Checking for FBConfig… [ OK ] Checking for hardware/setup problems… [ OK ]
Installarlo è semplicissimo:
wget http://blogage.de/files/3478/download -O compiz-check chmod +x compiz-check
e si esegue con:
./compiz-check
L’uso di questo script mi è stato molto utile, in quanto mi ha permesso di risolvere in un baleno il problema della blacklist di alcuni dispositivi video abbinati ai driver opensource radeon (con i quali compiz funziona benissimo…)
Ecco infatti come era il primo risultato che ho avuto:
Gathering information about your system... Distribution: Ubuntu 8.04 Desktop environment: GNOME Graphics chip: ATI Technologies Inc Radeon RV250 [Mobility FireGL 9000] (rev 01) Driver in use: radeon Rendering method: AIGLX Checking if it's possible to run Compiz on your system… Checking for texture_from_pixmap… [ OK ] Checking for non power of two support… [ OK ] Checking for composite extension… [ OK ] Checking for FBConfig… [ OK ] Checking for hardware/setup problems… [WARN] Something potential problematic has been detected with your setup: Warning: Laptop using radeon driver. Would you like to know more? (Y/n) y It has been detected, that you are running a laptop with an ATI chip. The radeon driver supports Compiz out-of-the-box but because of a nasty bug in the driver that causes X to freeze, this particular combination had to be blacklisted in Ubuntu "Hardy Heron". In case you already used Compiz successfully on Ubuntu 7.10 (Gutsy), it is safe to skip the blacklist. Do you want to skip blacklist checks by Compiz? (y/N) y
Come si vede, lo script ha rilevato un errore, mi ha dato i dettagli e mi ha proposto la soluzione. Addirittura qui ha pensato addirittura lui a metterla in pratica!
Ho in seguito notato che per bypassare la blacklist, basta editare il file ~/.config/compiz/compiz-manager scrivendo all’interno SKIP_CHECKS=yes.
Adesso gli effetti si attivano normalmente e automaticamente all’avvio del sistema ![]()




29 Aprile 2008 at 3:00 pm
Ottimo,però è cambiato il link per scaricarlo : wget http://blogage.de/files/3478/download -O compiz-check
29 Aprile 2008 at 3:24 pm
Grazie della segnalazione seawolf! Ho corretto…
29 Aprile 2008 at 6:11 pm
spero che sto script cominci con
ps ax |egrep -q “compiz|compiz.real” && echo “compiz è già avviato non farmi perdere tempo”
29 Aprile 2008 at 6:21 pm
spero che sto script cominci con
ps ax |egrep -q “compiz|compiz.real” && echo “compiz è già avviato non farmi perdere tempo”
29 Aprile 2008 at 7:15 pm
[...] en | Alexit Enlace | Planet Compiz Fusion y [...]
30 Aprile 2008 at 12:20 am
continua a darmi schermo bianco nonostante adesso il check funzioni…
30 Aprile 2008 at 6:13 am
Davvero utile grazie.
30 Aprile 2008 at 4:15 pm
Ma meno male che ci sei tu!!
mi stavo rincretinendo!…avevo trovato la stessa soluzione dello SKIP_CHECKS=yes ma in un altro file….gli effetti funzionavano si, ma con parecchi crash. Adesso invece va molto fluido! Spero cmq che la situazioni migliori sempre.
1 Maggio 2008 at 2:04 am
Ciao a tutti a me da un sacco di errori:
Gathering information about your system…
Distribution: Ubuntu 8.04
xprop: unable to open display ”
Desktop environment: Unknown
Graphics chip: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 03)
Driver in use: intel
xvinfo: Unable to open display
xdpyinfo: unable to open display “”.
Rendering method: AIGLX
Checking if it’s possible to run Compiz on your system…
Checking for texture_from_pixmap… [FAIL]
Checking for non power of two support… [FAIL]
Checking for composite extension…xdpyinfo: unable to open display “”.
[FAIL]
Checking for FBConfig… [FAIL]
Checking for hardware/setup problems…xdpyinfo: unable to open display “”.
[FAIL]
There has been (at least) one error detected with your setup:
Error: Your current resolution is too high to run Compiz.
Would you like to know more? (Y/n) y
Your resolution is but the maximum 3D texture size that your
graphics card is cabable of is x. Thus Compiz won’t be able to run
on this setup. You have to decrease the resolution first (in case you are
using a dual-head setup, try disabling one monitor and run the script again).
ho anche provato a cambiare risoluzione ma…niente!
qualcuno sa aiutarmi?
1 Maggio 2008 at 10:22 am
[...] AleXit Blog (Articolo Senza Voto) Loading … 10 letture Stampa questa pagina Postato [...]
5 Maggio 2008 at 12:40 pm
ciao,
grazie allo script ho capito qual’era il problema e l’ho anche risolto in un certo senso…ovvero adesso riesco ad abilitare gli effetti grafici! però se li abilito sono di una lentezza disarmante!! premetto che con gutsy li utilizzavo senza problemi…hai qualche consiglio da darmi??