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 11/02/2007, à 12:11

Astier

Compositeur - ATI (radeon)

Bonjour,

Je viens de passer à xfce et je suis totalement conquis par sa rapidité et "simplicité". Cependant, certaines questions demeurent.

Tout d'abord, pour ce qui est de la transparence que l'on peut avoir en activant le compositeur ; j'ai bien réussi à obtenir l'onglet Compositeur dans le Paramètre --> Peaufinage des fenêtres mais alors le système est fortement ralenti (affichage et déplacement des fenêtres). Je possède une carte ATI Mobility Radeon X700 et j'utilise le driver libre radeon (qui me permettait de faire tourner Beryl correctement). Voici 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 "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	"bitmap"
	Load	"dbe"
	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"
  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 Mobility X700 (RV410 PCIE)"
	Driver		"radeon"
	BusID		"PCI:1:0:0"
        Option          "MonitorLayout" "LVDS,AUTO"
        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" "true"
    Option        "RenderAccel" "true" # Enable the hardware render acceleration
    Option        "mtrr" "on"
    Option        "SubPixelOrder" "none"
    Option        "DPMS"
    Option        "DynamicClocks" "on"
    Option        "VideoOverlay" "on"
    Option        "OpenGLOverlay" "off"

EndSection

Section "Monitor"
	Identifier	"Generic Monitor"
	Option		"DPMS"
	HorizSync	28-64
	VertRefresh	43-60
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"ATI Technologies, Inc. Radeon Mobility X700 (RV410 PCIE)"
	Monitor		"Generic Monitor"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1280x800" "1280x768" "1200x800" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1280x800" "1280x768" "1200x800" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1280x800" "1280x768" "1200x800" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1280x800" "1280x768" "1200x800" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1280x800" "1280x768" "1200x800" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1280x800" "1280x768" "1200x800" "1152x864" "1152x768" "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"
	InputDevice	"Synaptics Touchpad"
EndSection

Section "DRI"
	Mode	0666
EndSection

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

Le direct rendering est bien activé :

brice@ubuntu:~$ glxinfo |grep render
libGL warning: 3D driver claims to not support visual 0x4b
direct rendering: Yes
OpenGL renderer string: Mesa DRI R300 20060815 TCL

et voilà ce que j'obtiens comme fps sachant que conky et l'horloge xtu tournent en fond :

brice@ubuntu:~$ glxgears -printfps
libGL warning: 3D driver claims to not support visual 0x4b
14926 frames in 5.0 seconds = 2985.131 FPS
14942 frames in 5.0 seconds = 2988.394 FPS
15024 frames in 5.0 seconds = 3004.680 FPS
14953 frames in 5.0 seconds = 2990.501 FPS
14966 frames in 5.0 seconds = 2993.040 FPS
14885 frames in 5.0 seconds = 2976.894 FPS
14959 frames in 5.0 seconds = 2991.661 FPS
14888 frames in 5.0 seconds = 2977.511 FPS
14751 frames in 5.0 seconds = 2950.037 FPS
14950 frames in 5.0 seconds = 2989.827 FPS
14799 frames in 5.0 seconds = 2959.743 FPS
14912 frames in 5.0 seconds = 2982.261 FPS
14843 frames in 5.0 seconds = 2968.593 FPS

Je vais poser mes autres questions dans d'autres posts.

Merci de vos idées et réponses, à bientôt.

Hors ligne

#2 Le 15/02/2007, à 19:25

HZoid

Re : Compositeur - ATI (radeon)

J'ai le même problème que toi avec ma radeon X300,impossible d'utiliser correctement le compositeur.... et je n'ai toujours pas trouvé de solutions.

Hors ligne

#3 Le 16/02/2007, à 03:22

xilef

Re : Compositeur - ATI (radeon)

le driver fglrx ne supporte pas les extensions composite de xorg...


.felix

Hors ligne

#4 Le 16/02/2007, à 08:41

Astier

Re : Compositeur - ATI (radeon)

@xilef : j'utilise le driver libre radeon roll Et j'ai bien rajouté une section "Extensions" avec dedans Composite à Enable...

Et pourtant le compositeur est tout lent ; et ce n'est pas parce que fglrx ne supporte pas l'extension Composite que le compositeur n'est pas utilisable avec, un des posts sur le forum A quoi resseble votre environnement le disant.

A bientôt.

Hors ligne