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 26/10/2006, à 19:41

Rifleman

Accélération 3D - Drivers libres

Salut tout le monde.

Je demande encore de l'aide (en espérant trouver une réponse cette fois ci). J'ai installé Edgy à sa sortie, en espérant que l'accélération 3D fonctionnerait sur celle-ci. Je me suis tourné vers les drivers libres, et j'ai donc édité mon xorg.conf. Le voici :

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

Section "Extensions"
	Option "RENDER" "Enable"
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"
  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. RV350 AR [Radeon 9600 XT]"
	Driver         "radeon"
	BusID		"PCI:1:0:0"
	Option "AGPMode" "8" # AGP 8x
	Option "AGPSize" "128" # AGP aperture size
	Option "RingSize" "8"
	Option "BufferSize" "2"
	Option "UseFBDev" "false"
	Option "AccelMethod" "XAA" # Use XFree86 Acceleration Architecture
	Option "XaaNoOffscreenPixmaps" "false" # Faster RENDER acceleration
	Option "RenderAccel" "true" # Enable the hardware render acceleration
	# Option "BackingStore" "true" # chez moi ça laisse des traces dans le menu, vous pouvez essayer de l'activer # Faster double buffering
	Option "EnablePageFlip" "true" # Enable page flipping for 3D apps
	Option "ColorTiling" "true"
	Option "DPMS"
EndSection

Section "Monitor"
	Identifier	"AL1716"
	Option		"DPMS"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"ATI Technologies, Inc. RV350 AR [Radeon 9600 XT]"
	Monitor		"AL1716"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
	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"
EndSection

Section "DRI"
	Mode	0666
EndSection

Aucune erreur au démarrage.

Seulement voila : quand je fais glxinfo, j'obtiens :

direct rendering: No

Ma CG est une ATI Radeon 9600PRO, donc compatible avec ces drivers libres.

Aidez-moi s'il vous plait, je commence sérieusement à désespérer...

Merci de vos réponses,
Rifleman.

PS :

rifleman@rifleman:~$ glxgears -printfps
1427 frames in 5.0 seconds = 283.412 FPS
1596 frames in 5.3 seconds = 303.709 FPS
1596 frames in 5.2 seconds = 304.699 FPS

Dernière modification par Rifleman (Le 26/10/2006, à 19:44)

Hors ligne

#2 Le 26/10/2006, à 19:52

Rifleman

Re : Accélération 3D - Drivers libres

A oui, quand je redémarre, au lieu d'avoir le logo Kubuntu (sous Edgy), mon écran se met en veille et j'ai plus rien. pourtant l'ordinateur semble toujours allumé.

Hors ligne

#3 Le 26/10/2006, à 19:58

Stemp

Re : Accélération 3D - Drivers libres

Regarde les messages d'erreurs et d'avertissements dans le fichier /var/log/Xorg.0.log

Pour afficher les messages d'erreurs :

cat /var/log/Xorg.0.log | grep EE

«La violence n'a jamais rien réglé» Gengis Khan 1162-1227
Blog | Crunchbang Linux | Arch Linux

Hors ligne

#4 Le 26/10/2006, à 20:01

Rifleman

Re : Accélération 3D - Drivers libres

Voila ce que ça donne :

rifleman@rifleman:~$ cat /var/log/Xorg.0.log | grep EE
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
(EE) RADEON(0): [agp] AGP failed to initialize. Disabling the DRI.
(EE) AIGLX: Screen 0 is not DRI capable
(EE) xf86OpenSerial: Cannot open device /dev/wacom
(EE) xf86OpenSerial: Cannot open device /dev/wacom
(EE) xf86OpenSerial: Cannot open device /dev/wacom
(EE) xf86OpenSerial: Cannot open device /dev/wacom
(EE) xf86OpenSerial: Cannot open device /dev/wacom
(EE) xf86OpenSerial: Cannot open device /dev/wacom

Hors ligne

#5 Le 26/10/2006, à 21:06

Glouferu

Re : Accélération 3D - Drivers libres

J'ai le même probleme que toi ! J'ai une ATI Radeon 9800 Pro ...

(EE) AIGLX: Screen 0 is not DRI capable

#6 Le 26/10/2006, à 21:09

Stemp

Re : Accélération 3D - Drivers libres

(EE) RADEON(0): [agp] AGP failed to initialize. Disabling the DRI.

C'est un problème d'agp pas de driver ati/radeon.

Regarde cette fois çi les erreurs dans dmesg :

dmesg | grep agp

«La violence n'a jamais rien réglé» Gengis Khan 1162-1227
Blog | Crunchbang Linux | Arch Linux

Hors ligne

#7 Le 26/10/2006, à 21:46

Rifleman

Re : Accélération 3D - Drivers libres

Cette commande me renvoie :

[17179588.040000] Linux agpgart interface v0.101 (c) Dave Jones
[17179588.044000] agpgart: Detected AGP bridge 0
[17179588.044000] agpgart: Setting up Nforce3 AGP.

Il me semblait que ma carte était en PCI, mais j'y connais rien...

Hors ligne

#8 Le 26/10/2006, à 21:54

Muscardingue

Re : Accélération 3D - Drivers libres

Pour la part, j'ai le même problème sauf que :

glxgears -printfps donne :

5193 frames in 5.0 seconds = 1034.692 FPS
5160 frames in 5.0 seconds = 1023.174 FPS
5160 frames in 5.0 seconds = 1022.678 FPS
5118 frames in 5.0 seconds = 1021.095 FPS

et que fglxinfo|grep rendering donne :

direct rendering: No

Voici mon /etc/X11/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/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"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"type1"
	Load	"vbe"
EndSection

Section "Extensions"
 Option "RENDER" "Enable" 
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"be"
	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"
  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. RV280 [Radeon 9200 SE]"
	Driver		"radeon"
	BusID		"PCI:1:0:0"
        Option          "AGPMode" "4"
        Option         "AGPSize" "64" # default: 8
        Option         "RingSize" "8"
        Option         "BufferSize" "2"
        Option         "EnablePageFlip" "true"
        Option         "EnableDepthMoves" "true"
        Option         "RenderAccel" "true"
EndSection

Section "Monitor"
	Identifier	"Sampo Tech."
	Option		"DPMS"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"ATI Technologies, Inc. RV280 [Radeon 9200 SE]"
	Monitor		"Sampo Tech."
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1024x768" "800x600" "640x480"
	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"
EndSection

Section "DRI"
	Mode	0666
EndSection

cat /var/log/Xorg.0.log | grep EE :

        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
(EE) xf86OpenSerial: Cannot open device /dev/wacom
(EE) xf86OpenSerial: Cannot open device /dev/wacom
(EE) xf86OpenSerial: Cannot open device /dev/wacom
(EE) xf86OpenSerial: Cannot open device /dev/wacom
(EE) xf86OpenSerial: Cannot open device /dev/wacom
(EE) xf86OpenSerial: Cannot open device /dev/wacom

et dmesg | grep agp :

[17179586.776000] Linux agpgart interface v0.101 (c) Dave Jones
[17179586.788000] agpgart: Detected VIA PT800 chipset
[17179586.792000] agpgart: AGP aperture is 64M @ 0xe0000000
[17179595.252000] agpgart: Found an AGP 3.5 compliant device at 0000:00:00.0.
[17179595.252000] agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode
[17179595.252000] agpgart: Putting AGP V3 device at 0000:01:00.0 into 8x mode

Voila je sais pas ce que je dois faire.
Merci

Hors ligne

#9 Le 26/10/2006, à 22:05

feb

Re : Accélération 3D - Drivers libres

Bonsoir moi je suis sous Edgy avec les drivers libres Radeon et une Radeon 9700Mobility sur un fujitsu AmiloM1425

 glxgears -printfps
15894 frames in 5.0 seconds = 3178.704 FPS
15584 frames in 5.0 seconds = 3116.794 FPS

et voilà mon /etc/X11/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/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"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"type1"
	Load	"vbe"
	Load	"dbe"
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"
  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. RV350 NP [Mobility Radeon 9600/9700 M10/M11]"
	Driver		"radeon"
	BusID		"PCI:1:0:0"
	Option 		"AGPMode" "4" # AGP 4x
    	Option 		"AGPSize" "128" # AGP aperture size
    	Option 		"RingSize" "8"
    	Option 		"BufferSize" "2"
    	Option 		"UseFBDev" "false"
    	Option 		"AccelMethod" "XAA" # Use XFree86 Acceleration Architecture
    	Option 		"XaaNoOffscreenPixmaps" "false" # Faster RENDER acceleration
    	Option 		"RenderAccel" "true" # Enable the hardware render acceleration
	Option 		"BackingStore" "true" # Faster double buffering
    	Option 		"EnablePageFlip" "true" # Enable page flipping for 3D apps
    	Option 		"ColorTiling" "true"
    	Option	  	"SubPixelOrder" "none"
    	Option	  	"DynamicClocks" "on"
    	Option	  	"mtrr" "on"
    	Option	  	"VideoOverlay" "on"
    	Option	  	"OpenGLOverlay" "off"
    	Option 		"DPMS"
EndSection

Section "Monitor"
	Identifier	"Generic Monitor"
	Option		"DPMS"
	HorizSync	28-51
	VertRefresh	43-60
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		"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     "stylus" "SendCoreEvents"
	InputDevice     "cursor" "SendCoreEvents"
	InputDevice     "eraser" "SendCoreEvents"
EndSection

Section "DRI"
	Mode	0666
EndSection

Section "Extensions"
	Option "Composite" "Enable"
EndSection

J'ai suivi le tutorial sur le wiki du site et ça marche impeccable wink en espérant que ça peut vous aider

Dernière modification par feb (Le 26/10/2006, à 22:06)


FujitsuSiemens AmiloM1425 (Centrino1,6GHz-9700Mobility-Ubuntu 7.04)
Participez aux projets du WorldCommunityGrid avec la team FfR : http://projet-wcg.fr-bb.com
Plus d'infos et les tutoriels sur mon site : http://pagesperso-orange.fr/chezfeb/

Hors ligne

#10 Le 27/10/2006, à 11:11

Rifleman

Re : Accélération 3D - Drivers libres

Vous avez pas de solution ?

Merci d'avance smile

Hors ligne

#11 Le 27/10/2006, à 17:23

Rifleman

Re : Accélération 3D - Drivers libres

Je suis passé aux drivers propriétaires... Mais même problème qu'avant : Mesa 3D.

J'ai plein de bugs au reboot (au lieu de voir l'écran Kubuntu, mon écran se met en veille et je dois éteindre mon PC à la barbare), quand je redimensionne glxgears ça me ramène au KDM... Je pense que je vais changer de distribution.

Hors ligne

#12 Le 28/10/2006, à 00:44

Muscardingue

Re : Accélération 3D - Drivers libres

juste pr dire que j'ai reinstaller ubuntu et ca fonctionne maintenant

Hors ligne