View previous topic :: View next topic |
Author |
Message |
DeefeR Tux's lil' helper
Joined: 09 Jun 2005 Posts: 142
|
Posted: Mon Mar 05, 2007 4:00 pm Post subject: [ATI - fglrx] Pas d'accélération (résolu) |
|
|
Salut, j'essaye actuellement d'installer mes drivers pour mon ATI radeon mobility 9700. Et comme vous vous en doutez, je n'y arrive pas !
J'ai donc tout d'abord configuré mon kernel, et ensuite installé ati-drivers-8.32.5
Je reboote, Xorg se lance sans problème, mais un fglrxinfo me dit :
Code: | vico@localhost ~ $ fglrxinfo
libGL error: failed to open DRM: Operation not permitted
libGL error: reverting to (slow) indirect rendering
display: :0.0 screen: 0
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.5.1)
|
glxgears confirme, je n'ai pas la 3D.
Voici un lsmod :
Code: |
...
intel_agp 18204 1
fglrx 508592 9
agpgart 23368 2 intel_agp,fglrx
|
Xorg se lance, mais apparemment j'ai une erreur :
Code: | (EE) AIGLX error: dlopen of /usr/lib/dri/fglrx_dri.so failed (/usr/lib/dri/fglrx_dri.so: cannot open shared object file: No such file or directory)
(EE) AIGLX: reverting to software rendering
|
J'ai tenté de faire un lien symbolique, mais j'obtient une erreur de symbole.
J'ai tenté de réinstaller ati-drivers, ça n'a rien changé.
Mon noyau : 2.6.18-gentoo-r6
Mes recherches ne donnent rien, donc j'implore votre aide
Voici mon xorg.conf (désolé, ça prend peut-être un peu trop de place)
Code: | Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "aticonfig-Screen[0]" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
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 "int10"
Load "type1"
Load "vbe"
Load "dri"
Load "glx"
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" "event"
Option "MaxTapTime" "300"
Option "FastTaps" "on"
Option "FingerLow" "34"
Option "FingerHigh" "35"
Option "ClickTime" "0"
Option "PalmDetect" "0"
Option "MaxtapMove" "320"
Option "SHMConfig" "on"
Option "Emulate3Buttons" "on"
Option "HorizScrollDelta" "0"
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"
Identifier "ATI Technologies, Inc. RV350 NP [Mobility Radeon 9600/9700 M10/M11]"
Driver "fglrx"
BusID "PCI:1:0:0"
EndSection
Section "Device"
Identifier "aticonfig-Device[0]"
Driver "fglrx"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies, Inc. RV350 NP [Mobility Radeon 9600/9700 M10/M11]"
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 "ServerFlags"
# Option "AIGLX" "off"
# EndSection
#Section "Extensions"
# Option "Composite" "Disable"
#EndSection
|
Mon make.conf
Code: |
CFLAGS="-O2 -march=i586 -pipe"
CHOST="i586-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
USE="-gtk -gnome X qt qt3 unicode opengl kde dvd alsa cdr"
LINGUAS="fr fr_FR"
VIDEO_CARDS="ati radeon fglrx"
|
Si vous pouviez m'aider à résoudre ce problème, ce serait gentil
Merci d'avance et si vous avez besoin de plus d'informations, n'hésitez pas !
Last edited by DeefeR on Mon Mar 05, 2007 6:26 pm; edited 4 times in total |
|
Back to top |
|
|
YetiBarBar Guru
Joined: 23 Dec 2005 Posts: 532
|
Posted: Mon Mar 05, 2007 4:28 pm Post subject: |
|
|
Salut,
Que donne un :
Code: | eselect opengl list |
|
|
Back to top |
|
|
DeefeR Tux's lil' helper
Joined: 09 Jun 2005 Posts: 142
|
Posted: Mon Mar 05, 2007 4:37 pm Post subject: |
|
|
Voili voilou !
Code: |
localhost vico # eselect opengl list
Available OpenGL implementations:
[1] ati *
[2] xorg-x11
|
|
|
Back to top |
|
|
matlerouge n00b
Joined: 29 Aug 2004 Posts: 68
|
Posted: Mon Mar 05, 2007 4:55 pm Post subject: |
|
|
Pour ton erreur AIGLX ca doit etre normal vu que j'ai la même...
Par contre as tu essayé de rajouter dans ton xorg.conf :
Code: |
Section "dri"
Mode 0666
EndSection
|
? |
|
Back to top |
|
|
DeefeR Tux's lil' helper
Joined: 09 Jun 2005 Posts: 142
|
Posted: Mon Mar 05, 2007 5:13 pm Post subject: |
|
|
Ah, merci beaucoup, ça marche !
Bonne soirée ! |
|
Back to top |
|
|
DeefeR Tux's lil' helper
Joined: 09 Jun 2005 Posts: 142
|
Posted: Mon Mar 05, 2007 6:13 pm Post subject: |
|
|
J'ai peut-être crié victoire trop vite ...
Code: | vico@localhost ~/Desktop/fm/Football Manager 2007 $ fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: MOBILITY RADEON 9700 Generic
OpenGL version string: 2.0.6234 (8.32.5)
|
Cependant, glxgears ne me donne que 100 fps, et je n'arrive pas à lancer ppracer pour tester :
Code: | PPRacer 0.3.1 -- http://racer.planetpenguin.de
(c) 2004-2005 The PPRacer team
(c) 1999-2001 Jasmin F. Patry<jfpatry@sunspirestudios.com>
PPRacer comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to redistribute it under certain conditions.
See http://www.gnu.org/copyleft/gpl.html for details.
*** ppracer error: Couldn't initialize SDL: No available video device
|
Donc je suppose que c'est toujours pas bon :/
Ah, cependant :
Code: | vico@localhost ~ $ fgl_glxgears
Using GLX_SGIX_pbuffer
2127 frames in 5.0 seconds = 425.400 FPS
2825 frames in 5.0 seconds = 565.000 FPS
2885 frames in 5.0 seconds = 577.000 FPS
|
Et le cube tourne parfaitement :p
Donc j'attend confirmation que mon problème est bien résolu, est-ce normal ce nombre de FPS ?
Merci
edit > Après recherche sur le net, ce nombre de fps a l'air normal avec fgl_glxgears. Glxgears doit donc déconner chez moi
Allez hop, sujet résolu, merci
Last edited by DeefeR on Mon Mar 05, 2007 6:25 pm; edited 1 time in total |
|
Back to top |
|
|
nykos Guru
Joined: 08 Jun 2005 Posts: 488 Location: Strasbourg
|
Posted: Mon Mar 05, 2007 6:25 pm Post subject: |
|
|
glxgears n'est pas un benchmark !!
pour la SDL je vois pas d'ou peux venir le problème
sinon tu peux essayer la dernière version des drivers ati mais je pense pas que ça vienne des drivers _________________ -=Nykos=-
TARGA Traveller 826T - AMD Turion 64 MT 32 1,8GHz - ATI Radeon X700 Mobility (ati-drivers) |
|
Back to top |
|
|
theniaky Guru
Joined: 23 Feb 2006 Posts: 452
|
Posted: Mon Mar 05, 2007 6:39 pm Post subject: |
|
|
Quote: | Donc j'attend confirmation que mon problème est bien résolu, est-ce normal ce nombre de FPS ? |
glxgears et fgl_glxgears ne sont pas des benchs comme le signale nykos. Je suis moi même passé de 1700 à 200 fps avec la dernière version du driver, et aucun souci avec les applications !
Tu dois très certainement avoir un souci avec ta sdl ou avec un use... Je sais pas trop... Est-ce que ça te fait la même chose avec chromium par exemple ? _________________ A New York les taxis sont jaunes, à Londres ils sont noirs et à Paris ils sont cons. Frédéric Beigbeder |
|
Back to top |
|
|
DeefeR Tux's lil' helper
Joined: 09 Jun 2005 Posts: 142
|
Posted: Mon Mar 05, 2007 7:04 pm Post subject: |
|
|
chromium fonctionne ça a l'air sympa
Par contre je n'ai apparemment pas les droits pour le lancer avec mon user normal, pourtant je suis bien dans le groupe games.
Et encore, je dois faire /usr/games/bin/chromium pour le lancer, car sinon en tapant juste chromium j'ai un command not found.
Comment faire ?
Merci |
|
Back to top |
|
|
|