Hi, Am Samstag, den 11.07.2009, 21:01 -0500 schrieb Samir Unni:
I'm running the latest Git revision of the driver on Arch Linux x86 with the 2.6.30 kernel & KDEmod 4.2, if that's relevant. I saw that support for HDMI audio on R700 chipsets (the 4350 is one of them) was added fairly recently, but didn't see anyone having mentioned getting it to work on the 4350 in particular. Can anyone confirm that it is indeed supported? i can't confirm it 100%. We got a R700 working at least once by switching just one more addition bit, but since this bit isn't documented i don't know if it will work on every card that uses this chipset.
Having a working (but unstable) fglrx setup is a god starting point, we managed to steadily increase the number of supported chipsets by comparing of how fglrx programs the hardware registers compared radeonhd.
Anyway, this is what I know so far: 1. My xorg.conf includes the ``Option "Audio" "on"'' and ``Option "HDMI "all"'' settings. Looks god so far.
2. ``aplay -l'' includes this output: card 1: HDMI [HDA ATI HDMI], device 3: ATI HDMI [ATI HDMI] Subdevices: 1/1 Subdevice #0: subdevice #0
3. KDE recognizes the ATI HDMI sound device, and has it set as the preferred audio device for all output.
4. alsamixer has both columns unmuted. The ``PCM'' column is set to ``100<>100'', while the ``IEC958'' column is set to ``OO''. KMix doesn't show a volume slider for the HDMI audio output, but it is unmuted.
5. My ~/.asoundrc contains: defaults.ctl.card 1 defaults.pcm.card 1 defaults.pcm.device 3
6. I also ran alsaconf (as root) after changing the driver from fglrx to radeonhd. You don't need to change anything at the alsa config when switching from fglrx to radeonhd, make sure your current alsa setup works with fglrx, then it should work with radeonhd also.
7. This is what happens when I try to play an audio file with aplay: $ aplay -D hw:1,3 /usr/share/alsa/speaker-test/sample_map.csv Playing raw data '/usr/share/alsa/speaker-test/sample_map.csv' : Unsigned 8 bit, Rate 8000 Hz, Mono aplay: set_params:979: Sample format non available
8. This is what happens when I try to play an audio file with MPlayer: $ mplayer -ao alsa:device=hw=1.3 /usr/share/alsa/speaker-test/sample_map.csv MPlayer UNKNOWN-4.4.0 (C) 2000-2009 MPlayer Team 137 audio & 296 video codecs mplayer: could not connect to socket mplayer: No such file or directory Failed to open LIRC support. You will not be able to use your remote control. Playing /usr/share/alsa/speaker-test/sample_map.csv. Exiting... (End of file) At least on my ubuntu installation sample_map.csv looks like a playlist, and not like an usable file for testing. Try some of the wave files unter /usr/share/sounds instead, or just use one of your favourite MP3s.
9. /proc/asound/HDMI/pcm3p/sub0/info contains: card: 1 device: 3 subdevice: 0 stream: PLAYBACK id: ATI HDMI name: ATI HDMI subname: subdevice #0 class: 0 subclass: 0 subdevices_count: 1 subdevices_avail: 1 While I play an audio file with MPlayer, /proc/asound/HDMI/pcm3p/sub0/status contains: state: RUNNING trigger_time: 32317.502694751 tstamp : 32318.546675126 delay : 15722 avail : 662 avail_max : 662 ----- hw_ptr : 46040 appl_ptr : 61762 When the playback ends, it just says ``closed'', so clearly something is being played back. Please supply a complete Xorg logfile (/var/log/Xorg.0.log), you should see some messages about audio starting/stopping in it.
Bye, Christian. -- To unsubscribe, e-mail: radeonhd+unsubscribe@opensuse.org For additional commands, e-mail: radeonhd+help@opensuse.org