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 02/11/2005, à 17:36

troll-hebus

[résolu] DRI (Direct Rendering Infrastructure) avec fglrx-driver ?

Bonjour,

j'ai quelques soucis avec mon Ati Radeon Mobility 9200 (32 Mo) hmm

j'ai installé le package xorg-driver-fglrx pour disposer des capacités OpenGl de ma carte graphique. J'ai parcouru le forum pour savoir comment configurer le fichier /etc/X11/xorg.conf et j'ai compris qu'il fallait ajouter cette ligne dans la section "Module" :

Load "dri"

Sans cette ligne je ne peux pas tester la commande glxgears (benchmark) qui me sort :

Xlib:  extension "XFree86-DRI" missing on display ":0.0"

J'ai voulu installer les drivers officiels d'ATI (ati-driver-installer-8.18.8-i386.run), mais il n'arrive pas à me générer le module pour le kernel (j'ai une Breezy avec le noyau 2.6.10-5-386) :

[Message] Kernel Module : Trying to install a precompiled kernel module.
[Message] Kernel Module : Precompiled kernel module version mismatched.
[Error] Kernel Module : No kernel module build environment - please consult readme.

Voici mon fichier 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 "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/CID"
	FontPath	"/usr/share/X11/fonts/100dpi"
	FontPath	"/usr/share/X11/fonts/75dpi"
        # paths to defoma fonts
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
	Load	"GLcore"
	Load	"bitmap"
	Load	"dbe"
	Load	"ddc"
	Load	"dri"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"type1"
	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-latin9"
EndSection

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

Section "InputDevice"
	Identifier	"Synaptics Touchpad"
	Driver		"synaptics"
	Option		"SendCoreEvents"	"true"
	Option		"Device"		"/dev/psaux"
	Option		"Protocol"		"auto-dev"
	Option		"HorizScrollDelta"	"0"
EndSection

Section "Device"
	Identifier	"ATI Technologies, Inc. Radeon Mobility 9000 M9 (R250 Lf)"
	Driver		"fglrx"
	BusID		"PCI:1:0:0"
	Option		"UseFBDev"		"true"
	Option "UseInternalAGPGART" "no"
EndSection

Section "Monitor"
	Identifier	"Écran générique"
	Option		"DPMS"
	HorizSync	30-67
	VertRefresh	30-60
	Modeline	"1280x800@60" 83.91 1280 1312 1624 1656 800 816 824 841
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"ATI Technologies, Inc. Radeon Mobility 9000 M9 (R250 Lf)"
	Monitor		"Écran générique"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1280x800" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1280x800" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1280x800" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1280x800" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1280x800" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1280x800" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
	InputDevice	"Synaptics Touchpad"
EndSection

Section "DRI"
	Mode	0666
EndSection

Voilà,

je vous remercie de votre aide smile

Dernière modification par troll-hebus (Le 03/11/2005, à 00:18)


"La mort d'une bonne action c'est d'en parler."

Hors ligne

#2 Le 02/11/2005, à 22:24

troll-hebus

Re : [résolu] DRI (Direct Rendering Infrastructure) avec fglrx-driver ?

C'est résolu, je viens de passer à linux-image-2.6.12-9-686 (au lieu de linux-image-2.6.10-5-386) J'avais fait une migration Hoary -> Breezy il y a de cela quelques jours, ça n'aide pas non plus, surtout pour un débutant comme moi lol

Voilà la liste de ce que j'ai installé :

linux-686
linux-image-2.6.12-9-686
linux-image-686
linux-restricted-modules-2.6.12-9-686
linux-restricted-modules-686

Pour que les paquets suivant fonctionnent correctement :

xorg-driver-fglrx
xorg-driver-fglrx-dev
fglrx-control

Dernière modification par troll-hebus (Le 03/11/2005, à 00:23)


"La mort d'une bonne action c'est d'en parler."

Hors ligne