Announcement

Collapse
No announcement yet.

HDMI audio support for RV730 in radeon/radeonhd?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • AndyW
    started a topic HDMI audio support for RV730 in radeon/radeonhd?

    HDMI audio support for RV730 in radeon/radeonhd?

    Is there support in either of the OSS drivers for HDMI audio on the RV730 GPU?

    I have an Asus HD 4670 card in what is going to be an HTPC. We have just got ourselves a Sony Bravia KDL37W5500 HDTV. Video output over HDMI is fine but no sound - I get a pop-up message to the effect that device HDS ATI HDMI does not work and the system is dropping to PulseAudio. The TV works fine as a TV and HDMI sound works in WinXP and with fglrx (on F10) so not a direct hardware problem.

    The system is a clean build of F11 and fully updated - I had the same problem on F10, which was the main reason for upgrading. xorg.conf was rebuilt from scratch using Xorg -configure. Version levels are:-
    Fedora 11 (kernel 2.6.29.6-217.2.3.fc11.x86_64)
    xorg-x11-drv-ati.x86_64 6.12.2-14.fc11
    xorg-x11-drv-radeonhd.x86_64 1.2.5-2.10.20090714git.fc11

    I have Option "Audio" "on" and Option "HDMI" "all" in the "Device" section of xorg.conf. I tried removing PulseAudio but made no difference so put it back. I was using mostly radeonhd up until now but switched to radeon as I can't use xrandr to change the resolution on HDMI with radeonhd - although it detects the HDMI port is connected and shows avalable modes, and worked fine with CRT previously. However both drivers appear to behave the same in respect to HDMI sound.

    This looks like the relevant section from syslog:-
    http://pastebin.com/f4d285e08

    This is my current xorg.conf:-
    Code:
    Section "ServerLayout"
    	Identifier     "X.org Configured"
    	Screen      0  "Screen0" 0 0
    	InputDevice    "Mouse0" "CorePointer"
    	InputDevice    "Keyboard0" "CoreKeyboard"
    EndSection
    
    Section "Files"
    	ModulePath   "/usr/lib64/xorg/modules"
    	FontPath     "catalogue:/etc/X11/fontpath.d"
    	FontPath     "built-ins"
    EndSection
    
    Section "Module"
    	Load  "glx"
    	Load  "dri2"
    	Load  "dbe"
    	Load  "record"
    	Load  "extmod"
    	Load  "dri"
    EndSection
    
    Section "InputDevice"
    	Identifier  "Keyboard0"
    	Driver      "kbd"
    EndSection
    
    Section "InputDevice"
    	Identifier  "Mouse0"
    	Driver      "mouse"
    	Option	    "Protocol" "auto"
    	Option	    "Device" "/dev/input/mice"
    	Option	    "ZAxisMapping" "4 5 6 7"
    EndSection
    
    Section "Monitor"
    	#DisplaySize	 1600   900	# mm
    	DisplaySize	500	281	# mm
    	Identifier   "Monitor0"
    	VendorName   "SNY"
    	ModelName    "SONY TV"
    	HorizSync    14.0 - 70.0
    	VertRefresh  48.0 - 62.0
    EndSection
    
    Section "Device"
            ### Available Driver options are:-
            ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
            ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
            ### [arg]: arg optional
            #Option     "NoAccel"            	# [<bool>]
            #Option     "SWcursor"           	# [<bool>]
            #Option     "Dac6Bit"            	# [<bool>]
            #Option     "Dac8Bit"            	# [<bool>]
            #Option     "BusType"            	# [<str>]
            #Option     "CPPIOMode"          	# [<bool>]
            #Option     "CPusecTimeout"      	# <i>
            #Option     "AGPMode"            	# <i>
            #Option     "AGPFastWrite"       	# [<bool>]
            #Option     "AGPSize"            	# <i>
            #Option     "GARTSize"           	# <i>
            #Option     "RingSize"           	# <i>
            #Option     "BufferSize"         	# <i>
            #Option     "EnableDepthMoves"   	# [<bool>]
            #Option     "EnablePageFlip"     	# [<bool>]
            #Option     "NoBackBuffer"       	# [<bool>]
            #Option     "DMAForXv"           	# [<bool>]
            #Option     "FBTexPercent"       	# <i>
            #Option     "DepthBits"          	# <i>
            #Option     "PCIAPERSize"        	# <i>
            #Option     "AccelDFS"           	# [<bool>]
            #Option     "IgnoreEDID"         	# [<bool>]
            #Option     "DisplayPriority"    	# [<str>]
            #Option     "PanelSize"          	# [<str>]
            #Option     "ForceMinDotClock"   	# <freq>
            #Option     "ColorTiling"        	# [<bool>]
            #Option     "VideoKey"           	# <i>
            #Option     "RageTheatreCrystal" 	# <i>
            #Option     "RageTheatreTunerPort" 	# <i>
            #Option     "RageTheatreCompositePort" 	# <i>
            #Option     "RageTheatreSVideoPort" 	# <i>
            #Option     "TunerType"          	# <i>
            #Option     "RageTheatreMicrocPath" 	# <str>
            #Option     "RageTheatreMicrocType" 	# <str>
            #Option     "ScalerWidth"        	# <i>
            #Option     "RenderAccel"        	# [<bool>]
            #Option     "SubPixelOrder"      	# [<str>]
            #Option     "ShowCache"          	# [<bool>]
            #Option     "DynamicClocks"      	# [<bool>]
            #Option     "VGAAccess"          	# [<bool>]
            #Option     "ReverseDDC"         	# [<bool>]
            #Option     "LVDSProbePLL"       	# [<bool>]
            #Option     "AccelMethod"        	# <str>
            #Option     "DRI"                	# [<bool>]
            #Option     "ConnectorTable"     	# <str>
            #Option     "DefaultConnectorTable" 	# [<bool>]
            #Option     "DefaultTMDSPLL"     	# [<bool>]
            #Option     "TVDACLoadDetect"    	# [<bool>]
            #Option     "ForceTVOut"         	# [<bool>]
            #Option     "TVStandard"         	# <str>
            #Option     "IgnoreLidStatus"    	# [<bool>]
            #Option     "DefaultTVDACAdj"    	# [<bool>]
            #Option     "Int10"              	# [<bool>]
            #Option     "EXAVSync"           	# [<bool>]
            #Option     "ATOMTVOut"          	# [<bool>]
            #Option     "R4xxATOM"           	# [<bool>]
    	Option      "Audio"	"on"
    	Option      "HDMI"	"all"
            Option      "AccelMethod" "exa"
            Option      "DRI" "on"
    	Identifier  "Card0"
    	Driver      "radeon"
    	VendorName  "ATI Technologies Inc"
    	BoardName   "RV730XT [Radeon HD 4670]"
    	BusID       "PCI:1:0:0"
    EndSection
    
    Section "Screen"
    	Identifier "Screen0"
    	Device     "Card0"
    	Monitor    "Monitor0"
    	SubSection "Display"
    		Viewport   0 0
    		Depth     1
    	EndSubSection
    	SubSection "Display"
    		Viewport   0 0
    		Depth     4
    	EndSubSection
    	SubSection "Display"
    		Viewport   0 0
    		Depth     8
    	EndSubSection
    	SubSection "Display"
    		Viewport   0 0
    		Depth     15
    	EndSubSection
    	SubSection "Display"
    		Viewport   0 0
    		Depth     16
    	EndSubSection
    	SubSection "Display"
    		Viewport   0 0
    		Depth     24
    	EndSubSection
    EndSection
    Thanks in advance for any help...

    Andrew

  • shura
    replied
    First sorry for my English but I am French

    I have installed radeonhd from git wich support my chipset RV730
    My card is working with ati-drivers.

    I have put in my xorg.conf your settings.

    Here is my xorg.conf

    http://pastebin.com/hw9wGSCg

    Here is my Xorg.log

    http://pastebin.com/LvXqLyH2

    My aplay -l

    card 0: Intel [HDA Intel], device 0: HDA Generic [HDA Generic]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: HDMI [HDA ATI HDMI], device 3: ATI HDMI [ATI HDMI]
    Subdevices: 1/1
    Subdevice #0: subdevice #0

    When I try
    aplay -D plughw:1,3 /usr/share/sounds/alsa/Front_Center.wav
    I have
    Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
    But no sound

    I have no error so I don't know where to search.

    Thanks

    P.S: Sorry if double post but I don't find my first message

    Leave a comment:


  • shura
    replied
    First, sorry for my English but I'm French.

    I add in my xorg.conf your setting but no sound.

    HDMI audio is working fine with ati-drivers.

    I've update radeonhd fron git wich support my chipset RV730.

    Here is my xorg.conf

    http://pastebin.com/K6DMhZib

    Here is var/log/Xorg.0.log

    http://pastebin.com/P8D8ux3z

    aplay -l

    Code:
    **** List of PLAYBACK Hardware Devices ****
    card 0: Intel [HDA Intel], device 0: HDA Generic [HDA Generic]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 1: HDMI [HDA ATI HDMI], device 3: ATI HDMI [ATI HDMI]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    If I run aplay -D plughw:1,3 /usr/share/sounds/alsa/Front_Center.wav

    Code:
    Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
    But no sound

    I don't see any error message and I don't find what is wrong.

    Leave a comment:


  • AndyW
    replied
    Here it is: http://pastebin.com/j5CVRwiK

    Pretty much the only place you need to check for HDMI audio settings is in Section "Device", and there I think it is only
    Code:
    	Option	    "Audio" "on"
    that is required.

    Can you give more info on what you have done & what the problem is?

    Leave a comment:


  • shura
    replied
    @AndyW can you post your xorg.conf.

    No sound on my HD 4650 on gentoo with radeonhd from git.

    Thanks

    Leave a comment:


  • wswartzendruber
    replied
    Originally posted by AndyW View Post
    Yes - Christian Konig got it fixed just before Christmas, and it was commited to radeonhd git master at end of December. Not sure if it has made it into any distro packages yet. Works great on my HD 4670!
    My 4350 won't take it. I've got the two xorg.conf lines in there, aplay -l clearly shows it, MPlayer acts like everything is okay, I'm using 48 KHz sound with 16-bits per sample, alsamixer says it's unmuted...BUT NO SOUND!!!

    I think I'll just wait for KMS to support it. That sounds like a much easier approach anyway.

    Leave a comment:


  • AndyW
    replied
    Yes - Christian Konig got it fixed just before Christmas, and it was commited to radeonhd git master at end of December. Not sure if it has made it into any distro packages yet. Works great on my HD 4670!

    Leave a comment:


  • wswartzendruber
    replied
    Have there been any recent developments with this?

    Leave a comment:


  • agd5f
    replied
    I'll check on their status today.

    Leave a comment:


  • AndyW
    replied
    Originally posted by agd5f View Post
    I've got a set of patches on top of Christian's to clean up and document the registers and bits. Might also fix rv730, but I don't have an hdmi sink to test with at the moment. As soon as the patches are approved, I'll post them to the ML.
    agd5f: You mentioned your patches again in the #radeonhd IRC channel the other night - any idea when they will get approved, or if can I get hold of them before to test on RV730 / HDMI audio?

    Thanks,

    Andrew

    Leave a comment:

Working...
X