#1 Le 01/04/2007, à 12:21
- douda
[Résolu] install accel 3D avant d'installer Beryl
Bonjour a tous
j'ai un sérieux problème concernant l'activation de l'accélération 3D sur mon Toshiba Satellite m60-103
CPU : model name : Intel(R) Pentium(R) M processor 1.60GHz
GPU: ATI Technologies, Inc. Radeon X600 (RV380) (plus précisément la X600SE (128 Dédié)
j'ai bien testé d'installer les drivers fglrx, j'obtenais 600fps sous glxgears avec 90% d'utilisation CPU :s
avec les drivers ati, je suis a 1200fps sous glxgears avec 30% d'utilisation CPU (je n'ai pas pu descendre en dessous de 20%, je ne comprends pas pourquoi)
dans les deux cas, impossible de lancer fgl_glxgears
Using GLX_SGIX_pbuffer
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 143 (GLX)
Minor opcode of failed request: 5 (X_GLXMakeCurrent)
Serial number of failed request: 33
Current serial number in output stream: 33
Un petit apercu de mon Xorg.conf
# /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 "aticonfig-Screen[0]" 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 "dri"
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"
Option "DPMS"
EndSection
Section "Monitor"
Identifier "aticonfig-Monitor[0]"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection
Section "Device"
# Option "AGPMode" "4" # Décommentez si vous avez une carte AGP
# Option "AGPSize" "128" # Décommentez si vous avec une carte AGP AGP aperture size
Identifier "ATI Technologies, Inc. Radeon X600 (RV380)"
Driver "ati"
Option "AccelMethod" "XAA" # Use XFree86 Acceleration Architecture
Option "AccelDFS" "1" # mettez à 0 si vous avez une carte AGP
Option "GARTSize" "64"
Option "RingSize" "8"
Option "BufferSize" "2"
Option "EnablePageFlip" "1" # Enable page flipping for 3D apps
Option "ColorTiling" "1"
Option "EnableDepthMoves" "yes"
Option "UseFBDev" "false"
Option "RenderAccel" "true" # Enable the hardware render acceleration
Option "mtrr" "on"
Option "SubPixelOrder" "none"
Option "DPMS"
Option "DynamicClocks" "on"
BusID "PCI:1:0:0"
EndSection
Section "Device"
Identifier "aticonfig-Device[0]"
Driver "ati"
Option "DesktopSetup" "single"
Option "VideoOverlay" "on"
Option "OpenGLOverlay" "off"
Option "TVFormat" "PAL-N"
EndSection
Section "Extensions"
Option "RENDER" "Enable"
Option "Composite" "Enable"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies, Inc. Radeon X600 (RV380)"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1440x900"
EndSubSection
SubSection "Display"
Depth 4
Modes "1440x900"
EndSubSection
SubSection "Display"
Depth 8
Modes "1440x900"
EndSubSection
SubSection "Display"
Depth 15
Modes "1440x900"
EndSubSection
SubSection "Display"
Depth 16
Modes "1440x900"
EndSubSection
SubSection "Display"
Depth 24
Modes "1440x900"
EndSubSection
EndSection
Section "Screen"
Identifier "aticonfig-Screen[0]"
Device "aticonfig-Device[0]"
Monitor "aticonfig-Monitor[0]"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Section "DRI"
Mode 0666
EndSection
j'ai essayé tous les tutos du site pour essayer d'activer l'accélération, et à chaque échec, j'ai repris mon Xorg.bak
# /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/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"
# 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"
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
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"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "Device"
Identifier "ATI Technologies, Inc. Radeon X600 (RV380)"
Driver "fglrx"
BusID "PCI:1:0:0"
EndSection
Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies, Inc. Radeon X600 (RV380)"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1440x900"
EndSubSection
SubSection "Display"
Depth 4
Modes "1440x900"
EndSubSection
SubSection "Display"
Depth 8
Modes "1440x900"
EndSubSection
SubSection "Display"
Depth 15
Modes "1440x900"
EndSubSection
SubSection "Display"
Depth 16
Modes "1440x900"
EndSubSection
SubSection "Display"
Depth 24
Modes "1440x900"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
InputDevice "Synaptics Touchpad"
EndSection
Section "DRI"
Mode 0666
EndSection
Je me suis laissé dire que tout se jouait sur le "composite" forcé en Enable que se jouait l'accélération, mais apparement, ce n'est pas le cas
je n'ai, par la meme occasion trouvé aucune info sur la compatibilité de ma carte avec Beryl..., a part le test "--test -only"
douda@douda-laptop:~$ beryl --test-only
**************************************************************
* Beryl system compatiblity check *
**************************************************************
Detected xserver : AIGLX
Checking Display :0.0 ...
Checking for XComposite extension : passed (v0.3)
Checking for XDamage extension : passed
Checking for RandR extension : passed
Checking for XSync extension : passed
Checking Screen 0 ...
Checking for GLX_SGIX_fbconfig : passed
Checking for GLX_EXT_texture_from_pixmap : passed
Checking for non power of two texture support : failed
Support for non power of two textures missing
Ce test m'a montré, je pense que ma carte ne supporterais peut etre pas Beryl ou ne serait pas compatible
( Checking for non power of two texture support : failed )
à moins que ca ne soit toujours ce fameux problème d'accélération 3D
étant donné que je débute sur Ubuntu, et plus généralement, sur les plates formes Linux en général, si il manque des informations concernant mon problème, n'hésitez a me le dire, que je me perfectionne dans le l'art de résoudre un problème rapidement
Merci a tous,
Douda
Dernière modification par douda (Le 12/09/2007, à 13:06)
Hors ligne
#2 Le 01/04/2007, à 12:23
- douda
Re : [Résolu] install accel 3D avant d'installer Beryl
je n'ai pas précisé, ma carte graphique X600SE Mobility est une PCE et non AGP
je n'ai pas voulu tenter le diable en suivant les tutos AGP
Hors ligne
#3 Le 01/04/2007, à 18:40
- Joe Mab
Re : [Résolu] install accel 3D avant d'installer Beryl
Bonjourà tous,
je suis désolé mé je ne peux pas résoudre tes problèmes parce que moi aussi j'ai ce problème:
ceci est mon ordi:
Processeur: AMD Mobile AMD Sempon(tm) Processor 3000+
Carte graphique: ATI RADEON XPRESS 200M
et je suis sous Ubuntu Edgy pour l'instant. J'ai suivi ts les tutos pr installer un bon driver pour ma carte, mais je n'arrive à rien.
HELP!!
#4 Le 01/04/2007, à 19:58
- Tybbow
Re : [Résolu] install accel 3D avant d'installer Beryl
D'après ton fichier Xorg, je crois que tu as essayé une installation dîtes "normal" ^^
Essaye de passer par Envy
Hors ligne
#5 Le 01/04/2007, à 20:05
- douda
Re : [Résolu] install accel 3D avant d'installer Beryl
je viens a l'instant de réussir a lancer l'accération 3D, mais pas comme je le voulais...
j'ai utilisé ce tuto pour cela : http://doc.ubuntu-fr.org/materiel/ati_p … re_methode
j'ai modifié mon Xorg en conséquence :
# /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/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"
# 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"
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
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"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "Device"
Identifier "ATI Technologies, Inc. Radeon X600 (RV380)"
Driver "fglrx"
BusID "PCI:1:0:0"
EndSection
Section "Extensions"
Option "Composite" "disable"
EndSection
Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies, Inc. Radeon X600 (RV380)"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1440x900"
EndSubSection
SubSection "Display"
Depth 4
Modes "1440x900"
EndSubSection
SubSection "Display"
Depth 8
Modes "1440x900"
EndSubSection
SubSection "Display"
Depth 15
Modes "1440x900"
EndSubSection
SubSection "Display"
Depth 16
Modes "1440x900"
EndSubSection
SubSection "Display"
Depth 24
Modes "1440x900"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
InputDevice "Synaptics Touchpad"
EndSection
Section "DRI"
Mode 0666
EndSection
Section "ServerFlags"
Option "AIGLX" "off"
EndSection
Avec ca, j'ai sous glxgears :
douda@douda-laptop:~$ glxgears -printfps
12384 frames in 5.0 seconds = 2476.751 FPS
12804 frames in 5.0 seconds = 2560.760 FPS
12630 frames in 5.0 seconds = 2525.918 FPS
mais j'ai 100% d'utilisation CPU avec cette config
sous gfl_glxgears :
douda@douda-laptop:~$ fgl_glxgearsUsing GLX_SGIX_pbuffer
2430 frames in 5.0 seconds = 486.000 FPS
2783 frames in 5.0 seconds = 556.600 FPS
2762 frames in 5.0 seconds = 552.400 FPS
toujours avec 100% d'utilisatino CPU...
et a mon grand bonheur, après redémarrage :
douda@douda-laptop:~$ glxinfo | grep "direct rendering"direct rendering: Yes
la principale chose que j'ai compris avec ca mais qui m'embête grandement, c'est que j'ai du désactiver le composite sous Xorg, mais ce qui me fait marrer, c'est que j'ai voulu l'accélération 3D pour lancer Beryl qui lui, est obligé de lancer le composite pour fonctionner...
ah, linux, quand tu nous tiens
Hors ligne
#6 Le 01/04/2007, à 20:12
- douda
Re : [Résolu] install accel 3D avant d'installer Beryl
et voila !! je m'en doutais, j'ai activé le composite et redémarré...
sous glxgears
douda@douda-laptop:~$ glxgears -printfps
Xlib: extension "XFree86-DRI" missing on display ":0.0".
890 frames in 5.2 seconds = 170.275 FPS
912 frames in 5.5 seconds = 164.923 FPS
100% utilisation CPU evidemment ...
sous fgl_glxgears
douda@douda-laptop:~$ fgl_glxgears
Using GLX_SGIX_pbuffer
Xlib: extension "XFree86-DRI" missing on display ":0.0".
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 142 (GLX)
Minor opcode of failed request: 5 (X_GLXMakeCurrent)
Serial number of failed request: 30
Current serial number in output stream: 30
en résumé, on est bon a attendre la prochaine version stable d'ubuntu Felsty qui, parait-il prends les drivers ATI nativement accélération comprise, espérons que je n'ai pas révé devant un post utopique
ceci dis, je vais essayer quand meme d'installer beryl pour informer Joe sur ce qui peux l'attendre si il se risuqe a ce genre de fantaisie
Dernière modification par douda (Le 01/04/2007, à 20:13)
Hors ligne