[Newbie] [Compiz-fusion]

Bonjour à tous

Arrivé depuis peu sur Debian ETCH, j’ai voulu installer (après pas mal d’efforts) compiz fusion.

Voila ce que j’ai réalisé :
-> Drivers nvidia installés et ok (j’ai la 3d).
-> j’ai ajouté à mon sources.list le depot suivant :
deb download.tuxfamily.org/shames/de … fx/stable/ ./
-> j’ai configuré mon /etc/X11/xorg.conf en suivant quelques tutos
-> j’installe les packets necessaires (en prenant “compiz-fusion-gnome”)
-> je fais “compiz --replace” dans un terminal

et la j’ai le probleme suivant : Il ne se passe rien, je n’ai meme pas de messages d’erreur, juste le curseur du terminal qui clignote en dessous de la commande. Et lorsque je lance ccsm, il ne se passe rien.
et lorsque j’essaye de changer un theme avec emerald, il ne se passe rien non plus.

J’ai sans doute oublié quelque chose mais je ne voit pas quoi.

Pour info : voyant que compiz fusion voulait rien savoir, je me suis r’abattu sur beryl, qui lui fonctionne.
J’ai aussi testé compiz tout court (celui dispo dans les depots etch stable), qui fonctionne aussi. Mais je n’ai aucun outil de gestion (pas ccsm, ni emerald etc…)

Aussi, j’ai lu dans un autre topic, que l’on pouvait mettre les depots sid de tuxfamily. Mais j’avoue etre un peu frileux.

Pourriez-vous m’éclairer :neutral_face: ?

As-tu configuré ton fichier /etc/apt/preferences ?

Que donne par exemple :

Le paquet candidat doit être celui du dépôt de shame, etch possède aussi ce paquet ce qui peut provoquer des soucis.
Il y a plusieurs posts ici qui en parlent.

hum je pense que ca c bon , voila ce que donne “apt-cache policy compiz-core” :

debian1:/home/tiben# apt-cache policy compiz-core compiz-core: Installé : 0.2.2-1 Candidat : 1:0.6.2-shame-0 Table de version : 1:0.6.2-shame-0 0 500 http://download.tuxfamily.org ./ Packages *** 0.2.2-1 0 500 http://ftp.fr.debian.org etch/main Packages 100 /var/lib/dpkg/status debian1:/home/tiben#

il est normal que ce soit la 0.2.2.-1 d’installé car j’ai juste réactivé
le depot shame pour faire le apt-cache policy.

[quote]apt-cache policy compiz-core
compiz-core:
Installé : 0.2.2-1
Candidat : 1:0.6.2-shame-0
Table de version :
1:0.6.2-shame-0 0
500 download.tuxfamily.org ./ Packages
*** 0.2.2-1 0
500 ftp.fr.debian.org etch/main Packages
100 /var/lib/dpkg/status[/quote]
Chez toi, tout est en priorité 500, et comme le montre les 3 petites étoiles, apt va privilégier le compiz-core de Etch à celui de shame. D’ailleurs, tu as actuellement le compiz-core de Etch qui est installé.
J’ai eu des soucis au début avec compiz car j’avais un mix entre les paquets de shame et ceux de Etch et ça me mettait le bordel.

chez moi, j’ai ça :

[quote]apt-cache policy compiz-core
compiz-core:
Installé : 1:0.5.5+git20071103-shame-0
Candidat : 1:0.5.5+git20071103-shame-0
Table de version :
1:0.6.2-0~emiscabpo+3~debian1 0
988 ftp.fr.debian.org experimental/main Packages
*** 1:0.5.5+git20071103-shame-0 0
999 download.tuxfamily.org ./ Packages
100 /var/lib/dpkg/status
0.5.2-2+b1 0
995 ftp.fr.debian.org unstable/main Packages
0.5.2-2 0
996 ftp.fr.debian.org testing/main Packages
0.2.2-1 0
990 ftp.fr.debian.org stable/main Packages
[/quote]

Je te conseille de configurer un fichier /etc/apt/preferences comme le suggère mattotop dans son topic votre sources.list au carré et de voir ce topic ou lox n’arrivait pas à installer compiz-fusion .

Pour privilégier le dépôt de shame, il te faudra mettre dans ce fichier preferences :

Package: * Pin: origin download.tuxfamily.org #Pin: release c= Pin-Priority: 999

Voilou, et pour approfondir :

Hum, merci beaucoup pour cette reponse (j’en ai appris sur apt et les depots :mrgreen: )
Mais pour mon cas à mon avis cela vient d’autre chose ( ? )

un apt-cache policy :

debian1:/home/tiben# apt-cache policy compiz compiz: Installé : 1:0.6.2-shame-0 Candidat : 1:0.6.2-shame-0 Table de version : *** 1:0.6.2-shame-0 0 999 http://download.tuxfamily.org ./ Packages 100 /var/lib/dpkg/status 0.2.2-1 0 500 http://ftp.fr.debian.org etch/main Packages debian1:/home/tiben# apt-cache policy compiz-core compiz-core: Installé : 1:0.6.2-shame-0 Candidat : 1:0.6.2-shame-0 Table de version : *** 1:0.6.2-shame-0 0 999 http://download.tuxfamily.org ./ Packages 100 /var/lib/dpkg/status 0.2.2-1 0 500 http://ftp.fr.debian.org etch/main Packages debian1:/home/tiben#

tout semble correct niveau installation

Mais lorsque je lance “compiz --replace” il ne se passe absoluement rien (aucun changement visuel et le terminal ne renvoye aucune erreur, juste le curseur qui clignote en dessous de la ligne, comme si il ‘travaillait’)

J’ai testé aussi “compiz --replace & emerald”

ca fait ca :

debian1:/home/tiben# compiz --replace & emerald [5] 27084
et affiche “reloading” lorsque je change un theme, mais je ne vois aucun changement :frowning: . Si ca se trouve j’oublie un truk mais je ne vois pas quoi.

Mmm… en effet, le prb doit venir d’ailleurs.
Pour lancer compiz, tu as également le paquet fusion-icon à installer, tu le lances et tu auras une icône dans la barre des tâches, c’est un peu plus “sexy” que la ligne de commande pour lancer et configurer compiz.

J’utilise gnome mais j’ai fait pour installer compiz-fusion :

Comme ça, j’ai tout d’installé.

Peut-être que le problème vient de là.

Donc je suppose que la commande glxinfo | grep direct te dit “Yes”. Quelle carte et quelle version des drivers ?

Laisse-nous ici ton xorg.conf pour voir (l’option composite est bien activée ?). Je te laisse le mien pour comparer.

[code]# 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” "fr"
Option “XkbVariant” "latin9"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option “Device” "/dev/input/mice"
Option “Protocol” "ExplorerPS/2"
Option “Buttons” "9"
Option “ButtonMapping” "1 2 3 6 7 8 9"
Option “ZAxisMapping” "4 5"
Option “Emulate3Buttons” "false"
EndSection

Section "Device"
Identifier "nVidia Corporation NV35 [GeForce FX 5900]"
Driver "nvidia"
BusID “PCI:1:0:0”

Option “useFBDev” “true”

Option           "RenderAccel"              "true"

Option “AddARGBGLXVisuals” "True"
Option “AllowGLXWithComposite” "True"
Option “DisableGLXRootClipping” "True"
Option “DamageEvents” "True"
Option “UseEvents” "False"
Option “TripleBuffer” "True"
EndSection

Section "Monitor"
Identifier "Écran générique"
Option "DPMS"
HorizSync 28-64
VertRefresh 43-60
EndSection

Section "Screen"
Identifier "Default Screen"
Device "nVidia Corporation NV35 [GeForce FX 5900]"
Monitor "Écran générique"
DefaultDepth 24
SubSection "Display"
Modes “1280x1024” “1024x768” "800x600"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "DRI"
Mode 0666
EndSection

Section "Extensions"
Option “RENDER” "Enable"
Option “Composite” "Enable"
EndSection[/code]

alors ma carte graphique :

debian1:/home/tiben# glxinfo | grep direct direct rendering: Yes

NVIDIA Driver Version: 100.14.19
Ma carte est une GeForce 7300 GT

je ne peux installer :
“compiz-fusion-all” -> il ne trouve pas le packet
"fusion-icon" ->

[code]debian1:/home/tiben# apt-get install fusion-icon
Lecture des listes de paquets… Fait
Construction de l’arbre des dépendances… Fait
Certains paquets ne peuvent être installés. Ceci peut signifier
que vous avez demandé l’impossible, ou bien, si vous utilisez
la distribution unstable, que certains paquets n’ont pas encore
été créés ou ne sont pas sortis d’Incoming.

Puisque vous n’avez demandé qu’une seule opération, le paquet n’est
probablement pas installable et vous devriez envoyer un rapport de bogue.
L’information suivante devrait vous aider à résoudre la situation :

Les paquets suivants contiennent des dépendances non satisfaites :
fusion-icon: Dépend: python-gobject mais il n’est pas installable
E: Paquets défectueux
[/code]

Mais ca je dirais ‘c’est normal’, car d’après ce que j’en ai lu, ces packets ne sont pas encore dispo pour etch. (d’ou ma question dans mon premier post concernant les depots sid et compagnie)

enfin, voila mon xorg.conf :

[code]# nvidia-xconfig: X configuration file generated by nvidia-xconfig

nvidia-xconfig: version 1.0 (buildmeister@builder3) Wed Sep 12 14:29:35 PDT 2007

nvidia-settings: X configuration file generated by nvidia-settings

nvidia-settings: version 1.0 (buildmeister@builder3) Wed Sep 12 14:30:30 PDT 2007

/etc/X11/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 /etc/X11/xorg.conf manual page.

(Type “man /etc/X11/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 "ServerLayout"
Identifier "Default Layout"
Screen 0 “Screen0” 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section “Files”

# path to defoma fonts
FontPath        "/usr/share/fonts/X11/misc"
FontPath        "/usr/X11R6/lib/X11/fonts/misc"
FontPath        "/usr/share/fonts/X11/cyrillic"
FontPath        "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath        "/usr/share/fonts/X11/Type1"
FontPath        "/usr/X11R6/lib/X11/fonts/Type1"
FontPath        "/usr/share/fonts/X11/100dpi"
FontPath        "/usr/X11R6/lib/X11/fonts/100dpi"
FontPath        "/usr/share/fonts/X11/75dpi"
FontPath        "/usr/X11R6/lib/X11/fonts/75dpi"
FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"

EndSection

Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "vbe"
EndSection

Section “ServerFlags”

Removed Option “Xinerama” “1”

Option         "Xinerama" "0"

EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option “XkbRules” "xorg"
Option “XkbModel” "pc105"
Option “XkbLayout” "fr"
Option “XkbVariant” "latin9"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option “Device” "/dev/input/mice"
Option “Protocol” "ImPS/2"
Option “Emulate3Buttons” "true"
EndSection

Section "Monitor"
Identifier "DELL E773p"
Option "DPMS"
EndSection

Section "Monitor"
Identifier "Monitor1"
VendorName "Unknown"
ModelName "LG F700B"
HorizSync 30.0 - 71.0
VertRefresh 50.0 - 160.0
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "DELL E773p"
HorizSync 30.0 - 70.0
VertRefresh 50.0 - 160.0
EndSection

Section "Device"
Identifier "Carte vidéo générique"
Driver "nvidia"
Option “AddARGBGLXVisuals” "true"
Option “AllowGLXWithComposite” "True"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 7300 GT"
EndSection

Section "Device"
Identifier "Videocard1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 7300 GT"
BusID "PCI:1:0:0"
Screen 1
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Carte vidéo générique"
Monitor "DELL E773p"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes “1152x864” “1024x768” “800x600” "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes “1152x864” “1024x768” “800x600” "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes “1152x864” “1024x768” “800x600” "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes “1152x864” “1024x768” “800x600” "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes “1152x864” “1024x768” “800x600” "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes “1152x864” “1024x768” “800x600” "640x480"
EndSubSection
EndSection

Section “Screen”

# Option         "AddARGBGLXVisuals" "True"
Identifier     "Screen1"
Device         "Videocard0"
Monitor        "Monitor1"
DefaultDepth    24
Option         "RenderAccel" "True"
# Option         "AllowGLXWithComposite" "True"
Option         "TwinView" "0"
Option         "metamodes" "CRT-1: 1152x864 +0+0"
SubSection     "Display"
    Depth       24
EndSubSection

EndSection

Section “Screen”

Option “AddARGBGLXVisuals” “True”

Removed Option “TwinView” “0”

Removed Option “metamodes” “CRT-0: 1152x864 +0+0; CRT-0: 1024x768 +0+0; CRT-0: 800x600 +0+0; CRT-0: 640x480 +0+0”

Identifier     "Screen0"
Device         "Videocard0"
Monitor        "Monitor0"
DefaultDepth    24
Option         "RenderAccel" "True"

Option “AllowGLXWithComposite” “True”

Option         "TwinView" "1"
Option         "metamodes" "CRT-0: 1152x864 +1152+0, CRT-1: 1152x864 +0+0; CRT-0: 1024x768 +0+0; CRT-0: 800x600 +0+0; CRT-0: 640x480 +0+0"
Option         "AddARGBGLXVisuals" "True"
SubSection     "Display"
    Depth       24
EndSubSection

EndSection

Section "Extensions"
Option “Composite” "Enable"
EndSection

[/code]
Concernant le xorg, c’est ptet ca, mais ca me parrait bizarre que compiz (des depots etchs standards) et beryl fontionnent.
En tout cas, merci bcp de m’aider :smiley:

Je viens d’aller sur le site de shame, en effet, fusion-icon et cie ne sont pas dispos pour Etch.

[quote=“TiBeN”]Section “Screen”
[color=#FF0000]

Option “AddARGBGLXVisuals” “True”[/color]

Removed Option “TwinView” “0”

Removed Option “metamodes” “CRT-0: 1152x864 +0+0; CRT-0: 1024x768 +0+0; CRT-0: 800x600 +0+0; CRT-0: 640x480 +0+0”

Identifier     "Screen0"
Device         "Videocard0"
Monitor        "Monitor0"
DefaultDepth    24

[color=#FF0000] Option “RenderAccel” “True”

Option “AllowGLXWithComposite” “True”[/color]

Option         "TwinView" "1"
Option         "metamodes" "CRT-0: 1152x864 +1152+0, CRT-1: 1152x864 +0+0; CRT-0: 1024x768 +0+0; CRT-0: 800x600 +0+0; CRT-0: 640x480 +0+0"

Option “AddARGBGLXVisuals” "True"
SubSection "Display"
Depth 24
EndSubSection
EndSection[/quote]

Si tu regardes mon xorg.conf, les options que je t’ai mis en rouge sont dans la section devices. Chez toi, elles sont dans la section screen.

Je ne sais pas si c’est ça, mais il me parait bien compliqué ce fichier.

Si tu veux tu peux repartir de zero en sauvegardant ton fichier :cp /etc/X11/xorg.conf /etc/X11/xorg.conf.old
Puis faire :

Pour reconfigurer ton xorg.conf.
Choisis bien nvidia puis une fois fini, rajoute les options qui vont bien dans la section devices :

Option "RenderAccel" "true" Option "AddARGBGLXVisuals" "True" Option "AllowGLXWithComposite" "True" Option "DisableGLXRootClipping" "True" Option "DamageEvents" "True" Option "UseEvents" "False" Option "TripleBuffer" "True"
Ce sont les options que j’ai mises.

Une fois ceci fait, kill ton serveur graphique par crtl+alt+backspace.

Tu pourras toujours restaurer ton xorg.conf d’origine par :

:frowning:

Bon, eh bien c pas très conluant tout ca. J’ai bien remis mon xorg.conf à zero, rajouté les lignes dans la section device. ctrl + alt + del, relancé compiz et toujours rien.

Je met ici à tout hasard mon “nouveau xorg”, histoire de voir si je n’aurai pas oublié quelque chose. Mais à mon avis il est bon car, pour m’en assurer, j’ai reinstallé beryl et beryl fonctionne bien.

[quote]# /etc/X11/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 /etc/X11/xorg.conf manual page.

(Type “man /etc/X11/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"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath “/usr/X11R6/lib/X11/fonts/75dpi”
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option “XkbRules” "xorg"
Option “XkbModel” "pc105"
Option “XkbLayout” "fr"
Option “XkbVariant” "latin9"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option “Device” "/dev/input/mice"
Option “Protocol” "ImPS/2"
Option “Emulate3Buttons” "true"
EndSection

Section "Device"
Identifier "Carte vidéo générique"
Driver "nvidia"
BusID "PCI:1:0:0"
Option “RenderAccel” "true"
Option “AddARGBGLXVisuals” "True"
Option “AllowGLXWithComposite” "True"
Option “DisableGLXRootClipping” "True"
Option “DamageEvents” "True"
Option “UseEvents” "False"
Option “TripleBuffer” "True"
EndSection

Section "Monitor"
Identifier "DELL"
Option "DPMS"
HorizSync 28-57
VertRefresh 43-60
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Carte vidéo générique"
Monitor "DELL"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes “1152x864” “1024x768” “800x600” "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes “1152x864” “1024x768” “800x600” "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes “1152x864” “1024x768” “800x600” "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes “1152x864” “1024x768” “800x600” "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes “1152x864” “1024x768” “800x600” "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes “1152x864” “1024x768” “800x600” "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "DRI"
Mode 0666
EndSection

Section "Extensions"
Option “RENDER” "Enable"
Option “Composite” "Enable"
EndSection
[/quote]

J’avoue ne pas savoir quoi faire là :confused: