Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 16/04/2007, à 15:46

quatrecouleurs

[Résolu] Beryl HS avec NVIDIA special legacy (.run)

Bon voilà tout est dans le titre...

Ma carte graphique (geforce4 MX 4000) s'installe assez difficilement... L'accélération 3D ne marchait pas depuis une récente mise à jour du kernel... Suite à une mise à jour de XOrg, il y a trois mois, c'est Beryl qui m'a lâché.

Comme bzflag commençait à me  manquer, je me suis attaché à réinstaller tout ça. J'ai suivi la méthode .run de la doc, et pour l'accélération 3D c'est ok, bzflag et glxgears marchent bien (2000 fps à peu près).

Par contre, avec Beryl, c'est une autre paire de manches. J'ai installé la dernière version avec synaptic (dépôts beryl-project). Mais Beryl ne démarre pas :

**************************************************************
* Beryl system compatibility check                           *
**************************************************************

Detected xserver                                : NVIDIA

Checking Display :0.0 ...

Checking for XComposite extension               : failed

No composite extension

... D'où ma question : les drivers NVIDIA special legacy supportent-ils toujours Beryl, ou dois-je changer de carte graphique pour une version supportée, ou (mieux pour ma bourse) installer XGL ou autres ?

Pour info, voici mon xorg.conf :

Section "ServerLayout"
    Identifier     "Default Layout"
    Screen         "Default Screen" 0 0
    InputDevice    "Generic Keyboard"
    InputDevice    "Configured Mouse"
    InputDevice    "stylus" "SendCoreEvents"
    InputDevice    "cursor" "SendCoreEvents"
    InputDevice    "eraser" "SendCoreEvents"
EndSection

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

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

Section "InputDevice"
    Identifier     "Generic Keyboard"
    Driver         "kbd"
    Option         "CoreKeyboard"
    Option         "XkbRules" "xorg"
    Option         "XkbModel" "pc105"
    Option         "XkbLayout" "fr"
    Option         "XkbOptions" "lv3:ralt_switch"
EndSection

Section "InputDevice"
    Identifier     "Configured Mouse"
    Driver         "evdev"
    Option         "CorePointer"
    Option         "Device" "/dev/input/event9"
    Option         "WHEELRelativeAxisButtons" "4 5"
    Option         "HWHEELRelativeAxisButtons" "6 7"
    Option         "Emulate3Buttons" "false"
    Option         "Buttons" "20"
EndSection

Section "InputDevice"

                                                      # /dev/input/event
                                                      # for USB
    Identifier     "stylus"
    Driver         "wacom"
    Option         "Device" "/dev/wacom"          # Change to 
    Option         "Type" "stylus"
    Option         "ForceDevice" "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"

                                                      # /dev/input/event
                                                      # for USB
    Identifier     "eraser"
    Driver         "wacom"
    Option         "Device" "/dev/wacom"          # Change to 
    Option         "Type" "eraser"
    Option         "ForceDevice" "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"

                                                      # /dev/input/event
                                                      # for USB
    Identifier     "cursor"
    Driver         "wacom"
    Option         "Device" "/dev/wacom"          # Change to 
    Option         "Type" "cursor"
    Option         "ForceDevice" "ISDV4"               # Tablet PC ONLY
EndSection

Section "Monitor"
    Identifier     "Iiyama vision master pro"
    HorizSync       36.0 - 86.0
    VertRefresh     50.0 - 180.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "GeForce4 MX 4000"
    Driver         "nvidia"
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "GeForce4 MX 4000"
    Monitor        "Iiyama vision master pro"
    DefaultDepth    24
    SubSection     "Display"

...[CUT]...
      
    Depth       24
        Modes      "1280x1024" "1280x768" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "Enable"
EndSection

Peut-être devrais-je restaurer la nomination "carte vidéo générique" ?

Voilà, je m'en remets à vous...

Dernière modification par quatrecouleurs (Le 18/04/2007, à 13:21)


Commandes de base au terminal : http://doc.ubuntu-fr.org/tutoriel/conso … es_de_base (!!!)  ///  Ubuntu au clavier http://inx.maincontent.net/index.html  ///  Mon photoblog : http://quatrecouleurs.blogspot.com/

Hors ligne

#2 Le 16/04/2007, à 17:58

Lestat the vampire

Re : [Résolu] Beryl HS avec NVIDIA special legacy (.run)

Déja, il te manque l'option AddARGBGLXVisuals pour faire tourner beryl correctement :

sudo nvidia-xconfig --composite --add-argb-glx-visuals

A mon avis, ton soucis vient d'un problème dans la configuration de tes drivers.
Ca donne quoi quand tu fais un glxgears ?

Hors ligne

#3 Le 16/04/2007, à 19:27

quatrecouleurs

Re : [Résolu] Beryl HS avec NVIDIA special legacy (.run)

Je ne comprends pas pquoi il me répond cela...

joel@jokat:~$ sudo nvidia-xconfig --composite --add-argb-glx-visuals
Password:
nvidia-xconfig: unrecognized option: "--composite"

Invalid commandline, please run `nvidia-xconfig --help` for usage information.

Je l'ajoute donc à la main (je l'avais déjà mise, sans résultat...)
... Toujours le même message au démarrage de beryl...

Et glxgears me donne 2000 fps, les jeux tournent... Donc ça devrait tourner pour beryl aussi ?!?

Pour info j'ai bien installé la version "NVIDIA-Linux-x86-1.0-9631-pkg1.run"

Voilà mon nouveau xorg.conf :

Section "ServerLayout"
    Identifier     "Default Layout"
    Screen         "Default Screen" 0 0
    InputDevice    "Generic Keyboard"
    InputDevice    "Configured Mouse"
    InputDevice    "stylus" "SendCoreEvents"
    InputDevice    "cursor" "SendCoreEvents"
    InputDevice    "eraser" "SendCoreEvents"
EndSection

Section "Files"

	# path to defoma fonts
    FontPath        "/usr/share/X11/fonts/misc"
                               [CUT]
    FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

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

Section "InputDevice"
    Identifier     "Generic Keyboard"
    Driver         "kbd"
    Option         "CoreKeyboard"
    Option         "XkbRules" "xorg"
    Option         "XkbModel" "pc105"
    Option         "XkbLayout" "fr"
    Option         "XkbOptions" "lv3:ralt_switch"
EndSection

Section "InputDevice"
    Identifier     "Configured Mouse"
    Driver         "evdev"
    Option         "CorePointer"
    Option         "Device" "/dev/input/event9"
    Option         "WHEELRelativeAxisButtons" "4 5"
    Option         "HWHEELRelativeAxisButtons" "6 7"
    Option         "Emulate3Buttons" "false"
    Option         "Buttons" "20"
EndSection

Section "InputDevice" ### Wacom
                               [CUT]
EndSection

Section "Monitor"
    Identifier     "Iiyama vision master pro"
    HorizSync       36.0 - 86.0
    VertRefresh     50.0 - 180.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "GeForce4 MX 4000"
    Driver         "nvidia"
    Option         "AddARGBGLXVisuals" "True"
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "GeForce4 MX 4000"
    Monitor        "Iiyama vision master pro"
    DefaultDepth    24
    SubSection     "Display"
                                     [CUT]
        Depth       24
        Modes      "1280x1024" "1280x768" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "Enable"
EndSection

Dernière modification par quatrecouleurs (Le 16/04/2007, à 19:34)


Commandes de base au terminal : http://doc.ubuntu-fr.org/tutoriel/conso … es_de_base (!!!)  ///  Ubuntu au clavier http://inx.maincontent.net/index.html  ///  Mon photoblog : http://quatrecouleurs.blogspot.com/

Hors ligne

#4 Le 16/04/2007, à 20:00

quatrecouleurs

Re : [Résolu] Beryl HS avec NVIDIA special legacy (.run)

Bon, pour ajouter l'option composite, c'est ok : un petit

nvidia-xconfig -A>~/Desktop/xconfig.alire

et chez moi (nvidia-xconfig:  version 1.0) il veut plutôt

sudo nvidia-xconfig --allow-glx-with-composite

Par contre, dans le même texte d'aide, il n'y a rien pour

--add-argb-glx-visuals

, et nvidia-xconfig me donne "commande invalide". Quand je fais une recherche dans le texte d'aide, il n'y a rien pour rgb...

Dois-je en déduire que cette option a été retirée ?? Est-ce que les drivers special legacy sont encore capables de l'interpréter ?


Commandes de base au terminal : http://doc.ubuntu-fr.org/tutoriel/conso … es_de_base (!!!)  ///  Ubuntu au clavier http://inx.maincontent.net/index.html  ///  Mon photoblog : http://quatrecouleurs.blogspot.com/

Hors ligne

#5 Le 16/04/2007, à 20:33

Geoffrey

Re : [Résolu] Beryl HS avec NVIDIA special legacy (.run)

sudo nvidia-xconfig --add-argb-glx-visuals --depth=24

cette commande suffit pour faire tourner beryl avec un driver nvidia 9xxx (pas besoin de composite)
vérifie la version de ton driver

Dernière modification par Geoffrey (Le 16/04/2007, à 20:35)

Hors ligne

#6 Le 16/04/2007, à 21:00

Lestat the vampire

Re : [Résolu] Beryl HS avec NVIDIA special legacy (.run)

Désolé de te contredire Geoffrey, mais le composite est absolument nécessaire pour beryl (et pour les bureaux 3D en général).
De plus, l'option AddARGBGLXVisuals nécessite que le composite soit activé pour fonctionner, je cite le readme des drivers nvidia :

Option "AddARGBGLXVisuals" "boolean"

    Adds a 32-bit ARGB visual for each supported OpenGL configuration. This allows applications to use OpenGL to render with alpha transparency into 32-bit windows and pixmaps. This option requires the Composite extension. ENABLE AT YOUR OWN RISK. Some OpenGL applications may display incorrectly when this setting is enabled. Default: No visuals are added.

Hors ligne

#7 Le 17/04/2007, à 10:28

Geoffrey

Re : [Résolu] Beryl HS avec NVIDIA special legacy (.run)

AddARGBGLXVisuals remplace composite, ajouter composite t'oblige a ajouter encore des options pour les faire cohabiter.

Sans composite beryl fonctionne très bien, en ce moment même je suis sous kde avec beryl de lancé, qui tourne nickel
Je te cite mon xorg :

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder26)  Thu Nov  9 17:55:59 PST 2006

# /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         "Default Screen" 0 0
    InputDevice    "Generic Keyboard"
    InputDevice    "Configured Mouse"
#    InputDevice    "stylus" "SendCoreEvents"
#    InputDevice    "cursor" "SendCoreEvents"
#    InputDevice    "eraser" "SendCoreEvents"
    InputDevice    "Synaptics Touchpad"
EndSection

Section "Files"

	# path to defoma fonts
    FontPath        "/usr/share/X11/fonts/misc"
    FontPath        "/usr/share/X11/fonts/cyrillic"
    FontPath        "/usr/share/X11/fonts/100dpi/:unscaled"
    FontPath        "/usr/share/X11/fonts/75dpi/:unscaled"
    FontPath        "/usr/share/X11/fonts/Type1"
    FontPath        "/usr/share/X11/fonts/100dpi"
    FontPath        "/usr/share/X11/fonts/75dpi"
    FontPath        "/usr/share/fonts/X11/misc"
    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           "type1"
    Load           "vbe"
EndSection

Section "InputDevice"
    Identifier     "Generic Keyboard"
    Driver         "kbd"
    Option         "CoreKeyboard"
    Option         "XkbRules" "xorg"
    Option         "XkbModel" "pc105"
    Option         "XkbLayout" "fr"
    Option         "XkbOptions" "lv3:ralt_switch"
EndSection

Section "InputDevice"
    Identifier     "Configured Mouse"
    Driver         "mouse"
    Option         "CorePointer"
    Option         "Device" "/dev/input/mice"
    Option         "Protocol" "ExplorerPS/2"
    Option         "ZAxisMapping" "4 5"
    Option         "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
    Identifier     "Synaptics Touchpad"
    Driver         "synaptics"
    Option         "SendCoreEvents" "true"
    Option         "Device" "/dev/psaux"
    Option         "Protocol" "auto-dev"
    Option         "HorizScrollDelta" "0"
EndSection

Section "InputDevice"

                                                      # /dev/input/event
                                                      # for USB
    Identifier     "stylus"
    Driver         "wacom"
    Option         "Device" "/dev/wacom"          # Change to 
    Option         "Type" "stylus"
    Option         "ForceDevice" "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"

                                                      # /dev/input/event
                                                      # for USB
    Identifier     "eraser"
    Driver         "wacom"
    Option         "Device" "/dev/wacom"          # Change to 
    Option         "Type" "eraser"
    Option         "ForceDevice" "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"

                                                      # /dev/input/event
                                                      # for USB
    Identifier     "cursor"
    Driver         "wacom"
    Option         "Device" "/dev/wacom"          # Change to 
    Option         "Type" "cursor"
    Option         "ForceDevice" "ISDV4"               # Tablet PC ONLY
EndSection

Section "Monitor"
    Identifier     "Generic Monitor"
    HorizSync       28.0 - 64.0
    VertRefresh     43.0 - 60.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "NVIDIA Corporation NV17 [GeForce4 420 Mac 32M/GeForce 440 Go 64M]"
    Driver         "nvidia"
    Option        "VideoOverlay"    "on"
    Option        "OpenGLOverlay"    "off"
EndSection

Section "Screen"

    Identifier     "Default Screen"
    Device         "NVIDIA Corporation NV17 [GeForce4 420 Mac 32M/GeForce 440 Go 64M]"
    Monitor        "Generic Monitor"
    DefaultDepth    24
    Option "AddARGBGLXVisuals" "True" 
    Option "TripleBuffer" "true"
    SubSection     "Display"
        Depth       1
        Modes      "1280x800@60"
    EndSubSection
    SubSection     "Display"
        Depth       4
        Modes      "1280x800"
    EndSubSection
    SubSection     "Display"
        Depth       8
        Modes      "1280x800"
    EndSubSection
    SubSection     "Display"
        Depth       15
        Modes      "1280x800"
    EndSubSection
    SubSection     "Display"
        Depth       16
        Modes      "1280x800"
    EndSubSection
    SubSection     "Display"
        Depth       24
        Modes      "1280x800"
    EndSubSection
EndSection

Dernière modification par Geoffrey (Le 17/04/2007, à 10:31)

Hors ligne

#8 Le 18/04/2007, à 13:21

quatrecouleurs

Re : [Résolu] Beryl HS avec NVIDIA special legacy (.run)

Merci à tous ! Ça fonctionne !

J'ai modifié mon xorg.conf en fonction de celui de Geoffrey, et voici ce que ça donne :

Section "ServerLayout"
    Identifier     "Default Layout"
    Screen         "Default Screen" 0 0
    InputDevice    "Generic Keyboard"
    InputDevice    "Configured Mouse"
    InputDevice    "stylus" "SendCoreEvents"
    InputDevice    "cursor" "SendCoreEvents"
    InputDevice    "eraser" "SendCoreEvents"
EndSection

Section "Files"

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

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

Section "InputDevice"
    Identifier     "Generic Keyboard"
    Driver         "kbd"
    Option         "CoreKeyboard"
    Option         "XkbRules" "xorg"
    Option         "XkbModel" "pc105"
    Option         "XkbLayout" "fr"
    Option         "XkbOptions" "lv3:ralt_switch"
EndSection

Section "InputDevice"
    Identifier     "Configured Mouse"
    Driver         "evdev"
    Option         "CorePointer"
    Option         "Device" "/dev/input/event9"
    Option         "WHEELRelativeAxisButtons" "4 5"
    Option         "HWHEELRelativeAxisButtons" "6 7"
    Option         "Emulate3Buttons" "false"
    Option         "Buttons" "20"
EndSection

Section "InputDevice"

                                                      # /dev/input/event
                                                      # for USB
    Identifier     "stylus"
    Driver         "wacom"
    Option         "Device" "/dev/wacom"          # Change to 
    Option         "Type" "stylus"
    Option         "ForceDevice" "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"

                                                      # /dev/input/event
                                                      # for USB
    Identifier     "eraser"
    Driver         "wacom"
    Option         "Device" "/dev/wacom"          # Change to 
    Option         "Type" "eraser"
    Option         "ForceDevice" "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"

                                                      # /dev/input/event
                                                      # for USB
    Identifier     "cursor"
    Driver         "wacom"
    Option         "Device" "/dev/wacom"          # Change to 
    Option         "Type" "cursor"
    Option         "ForceDevice" "ISDV4"               # Tablet PC ONLY
EndSection

Section "Monitor"
    Identifier     "Iiyama vision master pro"
    HorizSync       36.0 - 86.0
    VertRefresh     50.0 - 180.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "GeForce4 MX 4000"
    Driver         "nvidia"
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "GeForce4 MX 4000"
    Monitor        "Iiyama vision master pro"
    Option         "AddARGBGLXVisuals" "True" 
    Option         "TripleBuffer" "true"
    Option         "AllowGLXWithComposite" "True"
    DefaultDepth    24
    SubSection     "Display"
        Depth       1
        Modes      "1280x1024" "1280x768" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       4
        Modes      "1280x1024" "1280x768" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       8
        Modes      "1280x1024" "1280x768" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       15
        Modes      "1280x1024" "1280x768" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       16
        Modes      "1280x1024" "1280x768" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       24
        Modes      "1280x1024" "1280x768" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Alors je n'ai pas trouvé exactement d'où venait l'erreur, mais voici deux pistes :
- Conflit entre l'option "Composite" "Enable" et l'option "AddARGBGLXVisuals" "True" dans xorg
- Mauvaise disposition du fichier xorg.conf : j'avais placé l'option "AddARGBGLXVisuals" "True" dans la section device, et pas dans la section screen.

Voilà, mais comme j'avais de grosses difficultés pour faire tourner en 3D ma carte graphique, je me suis dit que cela devait avoir une influence sur beryl/NVIDIA, alors que ce n'était pas le cas, et que la solution était bien plus simple... Du coup j'ai l'impression d'avoir un peu abusé du forum sad

Je vais voir d'où provenait le défaut smile


Commandes de base au terminal : http://doc.ubuntu-fr.org/tutoriel/conso … es_de_base (!!!)  ///  Ubuntu au clavier http://inx.maincontent.net/index.html  ///  Mon photoblog : http://quatrecouleurs.blogspot.com/

Hors ligne

#9 Le 18/04/2007, à 13:48

quatrecouleurs

Re : [Résolu] Beryl HS avec NVIDIA special legacy (.run)

Ok donc je pense que cela devait être dû au fait que je n'avais pas l'option addargbvisuals, qui effectivement suffit pour que beryl puisse fonctionner.  Cela ne change rien si j'ajoute l'option composite en plus d'addargbvisuals dans mon xorg.conf... Cela ne change rien non plus lorsque je mets les options dans la section device ou dans la section screen... Dans les trois cas, beryl marche très bien.

Donc voilà j'ai dû avoir le driver mal configuré lorsque j'ai mis l'option addargbvisuals, puis ensuite je l'ai enlevée, et pas remise une fois correctement configuré le driver... Ah làlala, il était tard et j'aurais mieux fait de remettre au lendemain lol.

En tout cas merci à tous !

Dernière modification par quatrecouleurs (Le 18/04/2007, à 13:50)


Commandes de base au terminal : http://doc.ubuntu-fr.org/tutoriel/conso … es_de_base (!!!)  ///  Ubuntu au clavier http://inx.maincontent.net/index.html  ///  Mon photoblog : http://quatrecouleurs.blogspot.com/

Hors ligne