2011-05-19, 22:54
draggy Wrote:I wanted to add my experience and thank the OP for this awesome thread!
Following the directions in Ubuntu 10.10 produced the expected results. I could get audio and passthrough, but no menu sounds. Also Mupen64Plus did not work at all after removing pulse (it didn't have sound in the first place).
The magic touch was this:
Note: Installing that will also remove libsdl1.2debian-pulseaudioCode:sudo apt-get install libsdl1.2debian-alsa
But once libsdl1.2debian-alsa was installed, mupen64plus worked, and so did all of the xbmc menu sounds, as well as mp3s, and digital passthrough. Amazing!!!!
Under Ubuntu 10.10, here were my steps to get my SPDIF passthrough (to hdmi) working with all sounds:
removed ~/.asoundrc
sudo apt-get purge pulseaudio gstreamer0.10-pulseaudio
sudo apt-get autoremove
sudo apt-get install alsa-base alsa-tools alsa-tools-gui alsa-utils alsa-oss linux-sound-base alsamixergui
sudo apt-get install esound esound-clients esound-common libesd0 gnome-alsamixer
sudo apt-get install libsdl1.2debian-alsa
reboot
run gstreamer-properties
Plugin: alsa
Device: default
xbmc settingsOptical/Coax
Audio Device: Defaults
Audio Passthrough: plughw:0,0
THANK YOU!
With that magic line: sudo apt-get install libsdl1.2debian-alsa
I got HDMI menu Sounds!
My setup: Zotac h55-xti. Ubuntu 10.04
HDMI 5.1 movie and menu sounds on XBMC and ubuntu sounds as well
(HDMI goes to Onkyo TX-SR508 receiver. directly to TV (samsung 40'') I only hear surround sounds with 5.1 settings. have to set 2.0 on XBMC obviously)
What I did:
sudo apt-get purge pulseaudio gstreamer0.10-pulseaudio
sudo apt-get autoremove
sudo apt-get install alsa-base alsa-tools alsa-tools-gui alsa-utils alsa-oss linux-sound-base alsamixergui
sudo apt-get install esound esound-clients esound-common libesd0 gnome-alsamixer
Set default alsa on gstreamer-properties
XBMC config: 5.1 HDMI. Audio Device: Default. Passthrough: HDMI
But HDMI audio not working on ubuntu 10.04 (it worked on 11.04 though)
So I did an ALSA Upgrade with this: http://ubuntuforums.org/showthread.php?t=1681577
I then got XBMC movie sounds and Ubuntu intro sounds working, but no Menu sounds.
got the .asoundrc with pcm.dmixer and pcm.!default lines: http://pastebin.com/0xbrkAye
explained here: http://wiki.xbmc.org/index.php?title=XBM...ecific_FAQ
Then the magic line: sudo apt-get install libsdl1.2debian-alsa
reboot
BINGO!
Hope it helps people using this motherboard or strugling with Ubuntu Digital 5.1 sound
Edit Note:
I made some further testing and I realized that:
- menu sounds are not enabled without the .asoundrc
- if you put pasthrough in HDMI you get a delay of 1 or 2 seconds everytime you play or fastforward
- if you set pasthrough to plug:dmixer you get only delay the first time (probably because the Amplifier changes to DTS) and then you can fastforward without delays.
- you never hear the XBMC intro audio because its inside the delay time.
- I don't get audio if I open xbmc while another app is using audio (like firefox)
- If I am playing a Movie and try to use firefox audio I get static (but when am I going to do that?)
- Other than that everything is good. No weird sounds when playing, fastforwarding, changing sources: MP3, DTS, Dolby or anything like that.