jump to navigation

Problemi con compiz? Risolviamoli! Maggio 2, 2008

Posted by melchiorre in Guide, Ubuntu.
Tags: ,
trackback

Avete i driver della scheda video installati correttamente e l’accelerazione 3d attiva, ma quei caspita di effetti grafici di compiz non funzionano lo stesso? Ma sono proprio antipatici, e diciamoci la verità, pure un po’ stronzi in questa situazione.

La cosa comunque si può risolvere molto velocemente, basta modificare un file di configurazione che a volte non viene modificato in fase di configurazione rimanendo quello standard (che considera compiz installato in /usr/local/bin invece di /usr/bin).

Allora, agiamo rapidamente:

Aprite con il vostro editor preferito e con i permessi di amministratore il file /usr/bin/compiz

così:

sudo gedit /usr/bin/compiz
(sudo kate se si usa kubuntu, sudo mousepad se si usa xubuntu).

Bisogna modifica le linee:

COMPIZ_BIN_PATH="/usr/local/bin/" # For window decorators and compizPLUGIN_PATH="/usr/local/lib/compiz/"

togliendo il local, così:

COMPIZ_BIN_PATH="/usr/bin/" # For window decorators and compiz

PLUGIN_PATH=”/usr/lib/compiz/”

Poi si aggiunge .real a questa linea:

COMPIZ_NAME="compiz" # Final name for compiz (compiz.real)

così:

COMPIZ_NAME="compiz.real" # Final name for compiz (compiz.real)

Salvate e riavvia la sessione (non serve riavviare il pc) ed il gioco è fatto.

Commenti»

1. TUX - Settembre 27, 2008

Io ho fatto come scritto le modifiche da fare c’erano ma il messaggio che mi rimanda è questo:

tux@tux-desktop:~$ compiz –replace
Checking for Xgl: present.
Checking for nVidia: not present.
Checking for Xgl: present.
Enabling Xgl with nVidia drivers…
/usr/bin/compiz.real (core) – Error: Could not acquire compositing manager selection on screen 0 display “:1.0″
/usr/bin/compiz.real (core) – Fatal: No manageable screens found on display :1.0

2. melchiorre - Settembre 28, 2008

Il problema è con i driver, dovresti postarmi qui il risultato del comando

glxinfo | grep rendering

e anche il file /etc/X11/xorg.conf

3. fruitz - Settembre 30, 2008

dopo il primo comando per editare il file compiz, mi si apre un file di testo completamente vuoto….

4. luca - Aprile 29, 2009

ho seguito la guida ma sembra non cambiare niete..stessi problemi posto il mio:

luca@luca-desktop:~$ fusion-icon
* Detected Session: gnome
* Searching for installed applications…
* No GLX_EXT_texture_from_pixmap with direct rendering context
… present with indirect rendering, exporting: LIBGL_ALWAYS_INDIRECT=1
* Setting option Indirect Rendering to True
* Using the GTK Interface
/usr/lib/python2.5/site-packages/FusionIcon/interface_gtk/main.py:206: GtkWarning: Error parsing gtk-icon-sizes string:
‘panel-menu=24,24
panel=20,20
gtk-button=18,18
gtk-large-toolbar=24,24′
icon = gtk.status_icon_new_from_icon_name(’fusion-icon’)
* Decorator “/usr/bin/compiz-decorator” is invalid.
* Setting decorator to GTK Window Decorator (”gtk-window-decorator –replace”)
* Starting Compiz
… executing: compiz.real –replace –sm-disable –ignore-desktop-hints ccp –indirect-rendering
compiz.real (core) – Error: Could not acquire compositing manager selection on screen 0 display “:0.0″
compiz.real (core) – Fatal: No manageable screens found on display :0.0
* Setting window manager to Metacity

# xorg.conf (X.Org 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.
#
# Note that some configuration settings that could be done previously
# in this file, now are automatically configured by the server and settings
# here are ignored.
#
# 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 “Monitor”
Identifier “Configured Monitor”
EndSection

Section “Screen”
Identifier “Default Screen”
Monitor “Configured Monitor”
Device “Configured Video Device”
DefaultDepth 24
EndSection

Section “Module”
Load “glx”
EndSection

Section “Device”
Identifier “Configured Video Device”
Driver “fglrx”
EndSection