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 29/07/2007, à 18:15

juju_teamp2p

Problème fps avec compiz

J'ai une Nvidia 7300GT 256mo ram DDR2 avec glxgears qui je sait faut pas se basé me donne ceci

julien@ubuntu:~$ glxgears
1135 frames in 5.0 seconds = 226.475 FPS
342 frames in 5.0 seconds = 68.303 FPS
395 frames in 5.0 seconds = 78.997 FPS
986 frames in 5.0 seconds = 197.180 FPS
1015 frames in 5.0 seconds = 202.949 FPS
1006 frames in 5.0 seconds = 201.068 FPS
1032 frames in 5.0 seconds = 206.388 FPS
1011 frames in 5.0 seconds = 202.035 FPS
1010 frames in 5.0 seconds = 201.671 FPS
459 frames in 5.0 seconds = 91.800 FPS
466 frames in 5.0 seconds = 93.120 FPS
673 frames in 5.0 seconds = 134.596 FPS
1033 frames in 5.0 seconds = 206.591 FPS
977 frames in 5.0 seconds = 195.389 FPS
X connection to :0.0 broken (explicit kill or server shutdown).

Tandis que le benchmark de compiz avec rien d'utilisé tourne au environ 60 fps/s! ces peut non? J'arriverai à gagné quelque chose en optimisant mon pilote NV?

Voila ce que donne mon xorg.conf

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder3)  Mon Feb 26 23:38:46 PST 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 xorg.conf(5) 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 "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/fonts/X11/misc"
    FontPath        "/usr/share/fonts/X11/cyrillic"
    FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
    FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
    FontPath        "/usr/share/fonts/X11/Type1"
    FontPath        "/usr/share/fonts/X11/100dpi"
    FontPath        "/usr/share/fonts/X11/75dpi"
    FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
    Load           "bitmap"
    Load           "ddc"
    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         "XkbOptions" "lv3:ralt_switch"
EndSection

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

Section "InputDevice"
    Identifier     "stylus"
    Driver         "wacom"
    Option         "Device" "/dev/input/wacom"
    Option         "Type" "stylus"
    Option         "ForceDevice" "ISDV4"		# Tablet PC ONLY
EndSection

Section "InputDevice"
    Identifier     "eraser"
    Driver         "wacom"
    Option         "Device" "/dev/input/wacom"
    Option         "Type" "eraser"
    Option         "ForceDevice" "ISDV4"		# Tablet PC ONLY
EndSection

Section "InputDevice"
    Identifier     "cursor"
    Driver         "wacom"
    Option         "Device" "/dev/input/wacom"
    Option         "Type" "cursor"
    Option         "ForceDevice" "ISDV4"		# Tablet PC ONLY
EndSection

Section "Monitor"
    Identifier     "SyncMaster"
    HorizSync       30.0 - 81.0
    VertRefresh     56.0 - 75.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Generic Video Card"
    Driver         "nvidia"
    Option "RandRRotation" "on"
    Option         "AddARGBGLXVisuals" "true"
    Option         "TripleBuffer" "true"
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "Generic Video Card"
    Monitor        "SyncMaster"
    DefaultDepth    24
    Option         "AddARGBGLXVisuals" "true"
    Option         "TripleBuffer" "true"
    SubSection     "Display"
        Depth       1
        Modes      "1680x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       4
        Modes      "1680x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       8
        Modes      "1680x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       15
        Modes      "1680x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       16
        Modes      "1680x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       24
        Modes      "1680x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

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

Ces normal que ça soit comme ceci? (Identifier     "Generic Video Card")

Section "Device"
    Identifier     "Generic Video Card"
    Driver         "nvidia"
    Option "RandRRotation" "on"
    Option         "AddARGBGLXVisuals" "true"
    Option         "TripleBuffer" "true"
EndSection

Dernière modification par juju_teamp2p (Le 29/07/2007, à 18:21)


www.p2p-area.com: telecharger des logiciels libres!
www.linux-inside.fr: Partagez vos experiences dans le domaine du monde libre de Linux

Hors ligne

#2 Le 29/07/2007, à 18:34

HymnToLife

Re : Problème fps avec compiz

Ajoute ces deux lignes :

Section "Device"
     [...]
        Option          "RenderAccel"           "true"
        Option          "AllowGLXWithComposite" "true"
EndSection

Puis sauvegarde le fichier et redémarre X, ça devrait le faire smile


- Rodrigue, as-tu du cœur ?
- Non, mais j'ai du pique !

Hors ligne

#3 Le 29/07/2007, à 19:04

juju_teamp2p

Re : Problème fps avec compiz

ces fait! ça aurait du changé quoi neutral
je suis toujour à 19fps/s lors de la rotation du cube et 60 en temps normal

Dernière modification par juju_teamp2p (Le 29/07/2007, à 19:06)


www.p2p-area.com: telecharger des logiciels libres!
www.linux-inside.fr: Partagez vos experiences dans le domaine du monde libre de Linux

Hors ligne

#4 Le 29/07/2007, à 19:07

HymnToLife

Re : Problème fps avec compiz

Tu devrais avoir de bien meilleurs résultats dans glxgears. Si c'est pas le cas, poste le résultat de

glxinfo | head

- Rodrigue, as-tu du cœur ?
- Non, mais j'ai du pique !

Hors ligne

#5 Le 29/07/2007, à 19:37

juju_teamp2p

Re : Problème fps avec compiz

Ca donne ce résulta (glxinfo | head + glxgears)

julien@ubuntu:~$ glxinfo | head
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
server glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig, 
    GLX_SGIX_pbuffer, GLX_SGI_video_sync, GLX_SGI_swap_control, 
    GLX_EXT_texture_from_pixmap, GLX_ARB_multisample, GLX_NV_float_buffer, 
    GLX_ARB_fbconfig_float
julien@ubuntu:~$ glxgears 
991 frames in 5.0 seconds = 197.947 FPS
500 frames in 5.0 seconds = 99.677 FPS
543 frames in 5.0 seconds = 108.574 FPS
456 frames in 5.0 seconds = 91.068 FPS
483 frames in 5.0 seconds = 96.519 FPS
474 frames in 5.0 seconds = 94.795 FPS
481 frames in 5.0 seconds = 96.186 FPS
484 frames in 5.0 seconds = 96.730 FPS
469 frames in 5.0 seconds = 93.795 FPS
X connection to :0.0 broken (explicit kill or server shutdown).

Et ceci avec le cube

julien@ubuntu:~$ glxgears 
1090 frames in 5.0 seconds = 217.728 FPS
494 frames in 5.0 seconds = 98.796 FPS
284 frames in 5.0 seconds = 56.255 FPS
160 frames in 5.1 seconds = 31.645 FPS
162 frames in 5.0 seconds = 32.090 FPS
161 frames in 5.1 seconds = 31.866 FPS
161 frames in 5.1 seconds = 31.867 FPS
158 frames in 5.1 seconds = 31.249 FPS
165 frames in 5.1 seconds = 32.660 FPS
304 frames in 5.0 seconds = 60.789 FPS
X connection to :0.0 broken (explicit kill or server shutdown).

Dernière modification par juju_teamp2p (Le 29/07/2007, à 19:39)


www.p2p-area.com: telecharger des logiciels libres!
www.linux-inside.fr: Partagez vos experiences dans le domaine du monde libre de Linux

Hors ligne

#6 Le 29/07/2007, à 20:02

HymnToLife

Re : Problème fps avec compiz

Tout est bon, je pense que tu es au max des capacités de ta carte.


- Rodrigue, as-tu du cœur ?
- Non, mais j'ai du pique !

Hors ligne

#7 Le 29/07/2007, à 20:15

juju_teamp2p

Re : Problème fps avec compiz

arf! en optimisant le pilote ça changerai quelque chose?


www.p2p-area.com: telecharger des logiciels libres!
www.linux-inside.fr: Partagez vos experiences dans le domaine du monde libre de Linux

Hors ligne

#8 Le 29/07/2007, à 20:23

HymnToLife

Re : Problème fps avec compiz

juju_teamp2p a écrit :

arf! en optimisant le pilote ça changerai quelque chose?

C'est à dire ?


- Rodrigue, as-tu du cœur ?
- Non, mais j'ai du pique !

Hors ligne

#9 Le 30/07/2007, à 16:39

juju_teamp2p

Re : Problème fps avec compiz

suivre ceci http://doc.ubuntu-fr.org/materiel/optimisation_nvidia


www.p2p-area.com: telecharger des logiciels libres!
www.linux-inside.fr: Partagez vos experiences dans le domaine du monde libre de Linux

Hors ligne