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 07/10/2006, à 15:22

Elby

Pb plantage Blender et configuration carte ATI

Depuis que je suis passé à Edgy Eft, mes logiciels multimédia semblent plus lents et blender plante violement

# blender
Compiled with Python version 2.4.
Checking for installed Python... got it!
Ignoring Xlib error: error code 168 request code 149

Puis, dès que je manipule un peu, la session X plante.
C'est parfaitement reproductible, il suffit de lancer blender, puis de taper les touches <tab>, <r>, <y> et là, c'est la fin.

il y a un court message dans /var/log/syslog :

Oct  7 15:44:58 lagoon gdm[9609]: Error reinitilizing server
Oct  7 15:45:07 lagoon kernel: [17182444.796000] mtrr: no more MTRRs available
Oct  7 15:45:07 lagoon last message repeated 3 times

De même lorsque je lance gl_gears, ça plante :

# fgl_glxgears
Using GLX_SGIX_pbuffer
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  144 (GLX)
  Minor opcode of failed request:  5 (X_GLXMakeCurrent)
  Serial number of failed request:  32
  Current serial number in output stream:  32
zsh: exit 1     fgl_glxgears

Je me suis dit que cela pouvait venir de ma configuration X.
Voici qqs info sur ma config matérielle :

# uname -a           
Linux lagoon 2.6.17-10-386 #2 Fri Oct 6 00:34:13 UTC 2006 i686 GNU/Linux
# lspci | grep ATI
01:00.0 VGA compatible controller: ATI Technologies Inc RV370 5B62 [Radeon X600 (PCIE)]
01:00.1 Display controller: ATI Technologies Inc Radeon X600(RV380)

Je me suis aperçu que je n'avait pas de DRI activé :

# glxinfo  | grep rendering
direct rendering: No

Pourtant, j'ai suivi les instructions décrites dans la section materiel:ati du wiki et mon/etc/X11/xorg.conf me semble normal :

# /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"
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  "ddc"
	Load  "dri"
	Load  "extmod"
	Load  "freetype"
	Load  "glx"
	Load  "int10"
	Load  "type1"
	Load  "vbe"
EndSection

Section "InputDevice"
	Identifier  "Generic Keyboard"
	Driver      "keyboard"
	Option	    "CoreKeyboard"
	Option	    "XkbRules" "xorg"
	Option	    "XkbModel" "pc105"
	Option	    "XkbLayout" "fr"
	Option	    "XkbVariant" "latin9"
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"

                                                      # /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   "HM703U"
	HorizSync    30.0 - 70.0
	VertRefresh  50.0 - 160.0
	Option	    "DPMS"
EndSection

Section "Device"
	Identifier  "ATI Technologies, Inc. RV370 5B62 [Radeon X600 (PCIE)]"
	Driver      "fglrx"
	Option	    "PseudoColorVisuals" "off"
	Option	    "OpenGLOverlay" "off"
	Option	    "VideoOverlay" "on"
	Option	    "DesktopSetup" "horizontal"
	Option	    "OverlayOnCRTC2" "1"
	BusID       "PCI:1:0:0"
EndSection

Section "Screen"
	Identifier "Default Screen"
	Device     "ATI Technologies, Inc. RV370 5B62 [Radeon X600 (PCIE)]"
	Monitor    "HM703U"
	DefaultDepth     24
	SubSection "Display"
		Depth     1
		Modes    "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     4
		Modes    "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     8
		Modes    "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     15
		Modes    "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     16
		Modes    "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     24
		Modes    "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "DRI"
	Mode         0666
EndSection

Section "Extensions"
	Option	    "Composite" "disable"
EndSection

En fouillant un peu, j'ai vu que j'avais des messages bizarres dans /var/log/Xorg.0.log :

(II) Loading extension ATIFGLRXDRI
(II) fglrx(0): doing DRIScreenInit
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: Open failed
drmOpenByBusid: Searching for BusID PCI:1:0:0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -6
    [...]
(II) fglrx(0): [drm] drmOpen failed
(EE) fglrx(0): DRIScreenInit failed!
(WW) fglrx(0): ***********************************************
(WW) fglrx(0): * DRI initialization failed!                  *
(WW) fglrx(0): * (maybe driver kernel module missing or bad) *
(WW) fglrx(0): * 2D acceleraton available (MMIO)             *
(WW) fglrx(0): * no 3D acceleration available                *
(WW) fglrx(0): ********************************************* *

J'ai pourtant suivi les instructions du wiki en créant les liens vers les modules dri :

# ls -l /usr/lib/xorg/modules/dri
lrwxrwxrwx 1 root video 12 2006-10-07 13:52 /usr/lib/xorg/modules/dri -> /usr/lib/dri/

et les paquets qui sont installés semblent cohérents avec mon noyau :

# COLUMNS=110  dpkg -l "*fglrx*"
Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder
| État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé
|/ Err?=(aucune)/H=à garder/besoin Réinstallation/X=les deux (État,Err: majuscule=mauvais)
||/ Nom                   Version               Description
+++-=====================-=====================-==========================================================
ii  fglrx-control         8.28.8+2.6.17.5-9     Control panel for the ATI graphics accelerators
un  fglrx-driver          <néant>              (aucune description n'est disponible)
un  xfree86-driver-fglrx  <néant>              (aucune description n'est disponible)
ii  xorg-driver-fglrx     7.1.0-8.28.8+2.6.17.5 Video driver for ATI graphics accelerators

Quelqu'un aurait-il une idée pour activer le direct rendering et résoudre ces pb de plantage Blender ?

Merci d'avance

#2 Le 25/10/2006, à 11:30

fgmld

Re : Pb plantage Blender et configuration carte ATI

Tente aussi avec ça dans la section device :
Option        "mtrr" "on"

Blender fonctionne très bien, mais si j'active le fsaa avec échantillonage à 2, blender fait du flickering quand je passe le curseur des menus à l'écran de conception et en plus les polices sont "floues" (antialiasées),