jump to navigation

Problemi con compiz? Risolviamoli! 2 maggio 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 - 27 settembre 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 - 28 settembre 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 - 30 settembre 2008

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

4. luca - 29 aprile 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

5. Alessandro - 21 febbraio 2012

Ciao io ho digitato i comandi ma il risultato che ottengo è qst:alessandro@Nirvana:~$ sudo kate /usr/bin/compiz
Error: “/var/tmp/kdecache-alessandro” is owned by uid 1000 instead of uid 0.
Error: “/tmp/kde-alessandro” is owned by uid 1000 instead of uid 0.
Error: “/tmp/ksocket-alessandro” is owned by uid 1000 instead of uid 0.
kdeinit4: Shutting down running client.
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
Error: “/tmp/ksocket-alessandro” is owned by uid 1000 instead of uid 0.
Error: “/tmp/kde-alessandro” is owned by uid 1000 instead of uid 0.
Error: “/var/tmp/kdecache-alessandro” is owned by uid 1000 instead of uid 0.
kbuildsycoca4 running…
Error: “/var/tmp/kdecache-alessandro” is owned by uid 1000 instead of uid 0.
Error: “/var/tmp/kdecache-alessandro” is owned by uid 1000 instead of uid 0.
Error: “/tmp/kde-alessandro” is owned by uid 1000 instead of uid 0.
kate(4729): No language dictionaries for the language : “it”

X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20 (X_GetProperty)
Resource id: 0x7206ffe
alessandro@Nirvana:~$ sudo kate/usr/bin/compiz
sudo: kate/usr/bin/compiz: command not found
alessandro@Nirvana:~$ sudo kate /usr/bin/compiz
Error: “/var/tmp/kdecache-alessandro” is owned by uid 1000 instead of uid 0.
Error: “/tmp/kde-alessandro” is owned by uid 1000 instead of uid 0.
alessandro@Nirvana:~$ glxinfo | grep rendering
direct rendering: Yes


Lascia un commento

Inserisci i tuoi dati qui sotto o clicca su un'icona per effettuare l'accesso:

Logo WordPress.com

Stai commentando usando il tuo account WordPress.com. Chiudi sessione / Modifica )

Foto Twitter

Stai commentando usando il tuo account Twitter. Chiudi sessione / Modifica )

Foto di Facebook

Stai commentando usando il tuo account Facebook. Chiudi sessione / Modifica )

Google+ photo

Stai commentando usando il tuo account Google+. Chiudi sessione / Modifica )

Connessione a %s...

%d blogger cliccano Mi Piace per questo: