#1 Le 02/09/2007, à 13:20
- coolR
Performance et accélération graphique = étrange...
Bonjour à tous,
Voilà j'ai un problème plutôt étrange, mais je vais déjà exposer ma config :
Je suis sous Feisty en session Xgl avec les pilotes ATI proprios (ATI Radeon X1950XT) et Beryl en version 0.2.0 qui fonctionne parfaitement. La commande "glxinfo | grep "direct rendering"" m'indique que je n'ai pas d'accélération graphique (chose étrange en somme car vu mon Xorg.conf, elle devrait être activée) :
flavien@flavien-desktop:~$ glxinfo | grep "direct rendering"
Xlib: extension "XFree86-DRI" missing on display ":1.0".
direct rendering: No
Donc voilà avant de montrer mon Xorg je vais exposer mon p'tit problème.
J'ai des tests de performances (glxgears) très étranges.
En laissant activé Beryl j'obtions une moyenne de 12.000 fps (avec utilisation CPU à 50%, 100% donc vu le dual-core non utilisé).
En désactivant Beryl (et voilà la chose bizarre) j'obtiens une autre moyenne de 4.000 fps (toujours avec utilisation CPU à 100%).
Et voilà mon Xorg :
# /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 "Files"
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"
# 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"
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "fr"
Option "XkbVariant" "oss"
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"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/input/wacom"
Option "Type" "eraser"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection
Section "Device"
Identifier "Carte vidéo générique"
Driver "fglrx"
Busid "PCI:5:0:0"
Option "VideoOverlay" "on"
Option "OpenGLOverlay" "off"
EndSection
Section "Monitor"
Identifier "Acer AL1916W"
Option "DPMS"
HorizSync 24-80
VertRefresh 56-60
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Carte vidéo générique"
Monitor "Acer AL1916W"
Defaultdepth 24
SubSection "Display"
Depth 1
Modes "1440x900" "1440x1440" "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1440x900" "1440x1440" "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1440x900" "1440x1440" "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1440x900" "1440x1440" "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1440x900" "1440x1440" "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1440x900" "1440x1440" "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Option "AIGLX" "off"
screen "Default Screen"
Inputdevice "Generic Keyboard"
Inputdevice "Configured Mouse"
Inputdevice "stylus" "SendCoreEvents"
Inputdevice "cursor" "SendCoreEvents"
Inputdevice "eraser" "SendCoreEvents"
EndSection
Section "DRI"
Mode 0666
EndSection
Section "Extensions"
Option "Composite" "Disable"
EndSection
Mon problème n'en est pas un pour le moment vu que tout fonctionne parfaitement niveau performances, mais je viens d'installer Steam (Counter-Strike: Source en téléchargement) et j'ai peur des perfs à ce niveau là...
Donc voilà j'aimerais simplement savoir d'où vient ce problème bizarre, en espérant le résoudre en activant l'accélération graphique grâce à votre aide
Merci.
Hors ligne
#2 Le 02/09/2007, à 16:40
- Astier
Re : Performance et accélération graphique = étrange...
Dans la mesure où tu utilises XGL, il est tout à fait d'obtenir No pour DirectRendering. Ce n'est pas pour cela que tu n'as pas d'accélération 3D comme le prouve d'ailleurs tes résultats à glxgears.
Je suis pas un grand spécialiste mais tu peux aussi tenter de lancer
fgl_glxgears
si mes souvenirs sont bons, tu auras un autre "benchmarck".
A+
Hors ligne
#3 Le 02/09/2007, à 18:19
- coolR
Re : Performance et accélération graphique = étrange...
Oui merci mais on voit bien que l'accélération n'est pas activé au vu de l'utilisation CPU
La commande fgl_glxgears donne ceci chez moi, pas de benchmark :
flavien@flavien-desktop:~$ fgl_glxgears
Using GLX_SGIX_pbuffer
Xlib: extension "XFree86-DRI" missing on display ":1.0".
Error: couldn't get fbconfig
Hors ligne
#4 Le 02/09/2007, à 18:27
- Astier
Re : Performance et accélération graphique = étrange...
Alors, je n'ai pas de réponse à ta question mais peut-être la lecture de ce post pourra t'aider même si cela concerne plutôt le driver libre radeon (qui ne doit pas prendre en charge ton modèle de carte graphique).
A+
Hors ligne