HDMI Audio not working on my r700 card with radeonhd
I've got the following in the device section of xorg.conf: Option "Audio" "true" Option "HDMI" "all" I'm running radeonhd from May25th in xorg-edgers in ubuntu jaunty and alsa 1.0.20 in ubuntu jaunty. When I play a sound the following shows up in /var/log/Xorg.0.log: (II) RADEONHD(0): RHDHdmiUpdateAudioSettings: playing with 2 channels, 44100 Hz sampling rate, 16 bits per sample, (II) RADEONHD(0): RHDHdmiUpdateAudioSettings: 0x01 IEC60958 status bits and 0x00 category code When I stop playing I get the following: (II) RADEONHD(0): RHDHdmiUpdateAudioSettings: stoped with 2 channels, 44100 Hz sampling rate, 16 bits per sample, (II) RADEONHD(0): RHDHdmiUpdateAudioSettings: 0x01 IEC60958 status bits and 0x00 category code I found a post on a suse forum stating that the 0x01 ought to be something other than 0x01 on success. All apps appear to think they are playing sound, and yet nothing is coming across the hdmi cable to the reciever. Previously tonight I was using fglrx and the audio was working fine through hdmi so there is no cable or receiver problem. Anyone have any ideas? Thanks, Jaren -- To unsubscribe, e-mail: radeonhd+unsubscribe@opensuse.org For additional commands, e-mail: radeonhd+help@opensuse.org
Am Samstag, den 30.05.2009, 02:17 -0700 schrieb Jaren Peterson:
I found a post on a suse forum stating that the 0x01 ought to be something other than 0x01 on success. The "status bits" and "category code" only matters if you want to use AC3 or DTS pass through, and most modern receivers seems to simply ignore them.
All apps appear to think they are playing sound, and yet nothing is coming across the hdmi cable to the reciever. Previously tonight I was using fglrx and the audio was working fine through hdmi so there is no cable or receiver problem.
Anyone have any ideas? Mhm, as far as i know nobody have testet HDMI audio on the RS780 before. So i think there is just something missing in the implementation, but since you have a working fglrx setup it should be possible to fix this.
To track down the problem i would suggest to look at the differences in how fglrx and radeonhd programs the HDMI registers. This has worked quite well in the past. Compile the rhd_dump utility in the utility/contest directory of the radeonhd driver, then make dumps of the 0x7000-0x8000 register range: sudo ./rhd_dump -r 7000,8000 1:00.0 > dump.log Once with fglrx and once with radeonhd, while audio is playing. (Where 1:00.0 is the pci-id of your graphics card, NOT of the audio codec). Send me the resulting files and i will take a look at it, and see what i can do. Bye, Christian. -- To unsubscribe, e-mail: radeonhd+unsubscribe@opensuse.org For additional commands, e-mail: radeonhd+help@opensuse.org
Am Montag, den 01.06.2009, 20:30 -0700 schrieb Jaren Peterson:
Please find the two dump files attached. Looks good so far. I've identified 20 register differences in the between radeonhd and fglrx that could matter for HDMI audio output. Try the following: Start some audio playback, and while playing run the following commands:
sudo ./rhd_dump -w 0x7300 0x8F1000F0 1:00.0 sudo ./rhd_dump -w 0x7308 0x00000001 1:00.0 sudo ./rhd_dump -w 0x733C 0x00000002 1:00.0 sudo ./rhd_dump -w 0x7394 0x00020070 1:00.0 sudo ./rhd_dump -w 0x7398 0x00000005 1:00.0 sudo ./rhd_dump -w 0x7400 0x00000011 1:00.0 sudo ./rhd_dump -w 0x7408 0x00060811 1:00.0 sudo ./rhd_dump -w 0x740C 0x00011000 1:00.0 sudo ./rhd_dump -w 0x7410 0x05001031 1:00.0 sudo ./rhd_dump -w 0x7454 0x80281D9A 1:00.0 sudo ./rhd_dump -w 0x7458 0x00000010 1:00.0 sudo ./rhd_dump -w 0x7460 0x02000000 1:00.0 sudo ./rhd_dump -w 0x74D4 0x00100000 1:00.0 sudo ./rhd_dump -w 0x74D8 0x00200000 1:00.0 sudo ./rhd_dump -w 0x74DC 0x00000000 1:00.0 sudo ./rhd_dump -w 0x74E0 0x00000000 1:00.0 sudo ./rhd_dump -w 0x74E4 0x00000000 1:00.0 sudo ./rhd_dump -w 0x74E8 0x00000000 1:00.0 sudo ./rhd_dump -w 0x74EC 0x00000000 1:00.0 sudo ./rhd_dump -w 0x74F0 0x00876543 1:00.0 Those command write the register values fglrx use. If you hear audio from the speakers after writing the values, try to figure out which values really matter by only writing some of them after a system reboot. I'm pretty sure that this will work. Bye, Christian. -- To unsubscribe, e-mail: radeonhd+unsubscribe@opensuse.org For additional commands, e-mail: radeonhd+help@opensuse.org
participants (2)
-
Christian König
-
Jaren Peterson