Kalandozó ATI felhasználó, második rész: a radeonhd meghajtó

Miután az előző részben már elfogadható minőségű megjelenítést és gyorsítást sikerült elérni, arra gondoltam, hogy a HDMI kép és hang problémájának megoldására koncentrálok. Mint kiderült, a HDMI kép megfelelő megjelenítése, azaz hogy egyszerre legyen kép a laptop LCD kijelzőjén és a HDMI bemenetről hajtott TV-n is, egyszerűbb, mint gondoltam.


Section "Device"
	Driver	"radeonhd # eddig radeon driverrel próbálkoztam

illetve ugyanebben a részben:


	Option	"Audio" "on"
	Option	"HDMI" "all"  

Újraindítás után a két megjelenítő jó dolgozik össze, egymás mellett lévő munkafelületként viselkedik, így simán áthúzható az egyik ablak a másikra. Megjegyezendő, hogy a modern xorg.conf szemléletnek megfelelően a konfigurációs állomány egy Device bekezdést használ. Az ablakok kezelését xrandr segítségével oldom meg.

Elrettentésül, például, segítségül és kijavítandó feladatnak közlöm a jelenlegi xorg.conf állományomat:


# xorg.conf (X.Org 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 xorg.conf manual page.
# (Type "man 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
# commented out by update-manager, HAL is now used and auto-detects devices
# Keyboard settings are now read from /etc/default/console-setup
#Section "InputDevice"
#	Identifier  "Generic Keyboard"
#	Driver      "kbd"
#	Option	    "XkbRules" "xorg"
#	Option	    "XkbModel" "pc105"
#	Option	    "XkbLayout" "hu"
#EndSection
# commented out by update-manager, HAL is now used and auto-detects devices
# Keyboard settings are now read from /etc/default/console-setup
#Section "InputDevice"
#	Identifier  "Configured Mouse"
#	Driver      "mouse"
#	Option	    "CorePointer"
#EndSection
# commented out by update-manager, HAL is now used and auto-detects devices
# Keyboard settings are now read from /etc/default/console-setup
#Section "InputDevice"
#	Identifier  "Synaptics Touchpad"
#	Driver      "synaptics"
#	Option	    "SendCoreEvents" "true"
#	Option	    "Device" "/dev/psaux"
#	Option	    "Protocol" "auto-dev"
#	Option	    "HorizEdgeScroll" "0"
#EndSection

Section "Monitor"
	Identifier   "Integrated LCD"
	Option	    "VendorName" "ATI Proprietary Driver"
	Option	    "ModelName" "Generic Autodetecting Monitor"
	Option	    "DPMS" "true"
	Option	    "PreferredMode" "1440x900"
	Option	    "TargetRefresh" "60"
	Option	    "Position" "0 0"
	Option	    "Disable" "false"
EndSection

Section "Monitor"
	Identifier      "External HDMI"
	Option	    	"PreferredMode" "1360x768"
	Option	    	"TargetRefresh" "60"
EndSection

Section "Monitor"
	Identifier      "External VGA"
	Option	    	"PreferredMode" "1360x768"
	Option	    	"TargetRefresh" "60"
EndSection

Section "Screen"
	Identifier 	"Default Screen"
	Device     	"Configured Video Device"
	Monitor    	"Integrated LCD"
	DefaultDepth     24
	SubSection 	"Display"
		Viewport	0 0
		Depth		24
		Modes		"1440x900"
		Virtual		4720 1080
	EndSubSection
EndSection

Section "Module"
	Load  "GLcore"
	Load  "glx"
	Load  "dri2"
EndSection

Section "ServerLayout"
	Identifier     "Default Layout"
	Screen      0  "Default Screen" 0 0
	# commented out by update-manager, HAL is now used and auto-detects devices
	# Keyboard settings are now read from /etc/default/console-setup
	#	InputDevice    "Synaptics Touchpad"
	#	Screen         "aticonfig-Screen[0]-1" RightOf "Default Screen"
EndSection

Section "Device"
	Identifier  "Configured Video Device"
	Driver	"radeonhd"

	Option	"DynamicPM" "on"	# Dynamic powersaving.
	Option	"DynamicClocks" "on"	# Enable dynamic clock scaling. The on-chip clocks will scale dynamically based on usage. This can help reduce heat and increase battery life by reducing power usage.
	Option	"ClockGating" "on"	# Assisting option for powersaving.

	Option	"RenderAccel" "on"
	Option	"DRI" "1"
	Option	"AccelMethod" "EXA"

	Option	"AGPMode" "8"		# Set AGP data transfer rate. (used only when DRI is enabled)
	Option	"AGPFastWrite" "on" 

	Option	"Backingstore" "on"

	Option	"Audio" "on"
	Option	"HDMI" "all"

	Option	"MergedFB" "on" 
 
	Option	"Monitor-PANEL"		"Integrated LCD"
	Option	"Monitor-VGA_1"		"External VGA"
	Option	"Monitor-DVI-D_1"	"External HDMI"
EndSection

Section "ServerFlags"
	Option	"Xinerama" "off"
	Option	"DontZap" "off"		#allow ctrl+alt+backspace to shutdown
EndSection

Section "DRI"
	# Access to OpenGL ICD is allowed for all users:
	Mode	0666
EndSection

Pár beállítás azonban itt csak a radeon driver öröksége, azaz nem úgy működik radeonhd meghajtó alatt. Ezeket a X.org nem veszi figyelembe. Például a HDMI kimenetet beállító részt a radeonhd driver egyszerűen más néven nevezi:


DVI-D_1 connected 1920x1080+1440+0 (normal left inverted right x axis y axis) 708mm x 398mm
   1920x1080      50.0*+
   720x576        50.0  
   640x480        60.0  

A fenti példafájlban már átírtam a kimenetek elnevezését. Sajnos köztes felbontást nem sikerült elérni a HDMI kimenet számára. Mondjuk a 1360x768 felbontás lenne a cél. De a HDMI kimenet képátvitele így is jól működik, videot jól lehet rajta nézni, hang azonban még nincs sajnos.

Hozzászólások

Hangra azt írták a radeonfeature oldalon, hogy todo. Most nézem, a 700-ra már kész elvileg. 600 wip, itt is várható hamarosan.

>>: sys-admin.hu :<<

(**) RADEONHD(0): Depth 24, (--) framebuffer bpp 32
(**) RADEONHD(0): Option "AccelMethod" "EXA"
(**) RADEONHD(0): Option "DRI" "1"
(**) RADEONHD(0): Option "Audio" "on"
(**) RADEONHD(0): Option "HDMI" "all"
(**) RADEONHD(0): Selected EXA 2D acceleration.

(II) RADEONHD(0): RHDAudioSetSupported: config 0x60040 codec 0x1

KAMI | 神
--
Támogatás | OxygenOffice | Fordításaim és SeaMonkey

Jól tudod, van a régebbi xf86-video-ati, ami nemrég kapta meg az R6/700 támogatást. És van a frisebb xf86-video-radeonhd. A radeonhd jövője az hogy szépen lassan beleolvad az atiba. Powersaving feltétele a KMS, ami most jött a 2.6.32es kernellel bár még sajnos közel sem tökéletes.

xf86-video-ati driverben nem tudom mióta, de 1 éve biztos van HDMI videó támogatás, azzal használóm jó ideje
--
\\-- blog --//