On Wed, Nov 17, 2010 at 7:28 PM, Mr. Duncan McDonald <span dir="ltr">&lt;<a href="mailto:duncan.john.mcdonald@gmail.com">duncan.john.mcdonald@gmail.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

I&#39;m using Mythbuntu 10.4 with Alsa 1.0.23 (not Pulse Audio because for some reason I could never get this to work with 10.4) - the connection is over a Nvidia GT220 card using HDMI to a surround sound receiver.<br>
<br>
The problem is that when I first boot the machine I don&#39;t get audio out of MythTV until I run something like Mplayer<br></blockquote><br>I&#39;m using Ubuntu 10.04 (well, a hybrid with packages that probably go back several Ubuntu versions) and recently bought a GT220 to allow me to watch HD without burning the processor. I&#39;m running sound over HDMI direct to the TV (an LG 37LC2D I think).<br>
<br>The sound took a while to get set up properly - but in the end I found that using &quot;ALSA:plughw:1,7&quot; as my audio output seemed to be the best. (It&#39;s card 1 because the onboard audio takes position 0). I&#39;ve also had it working with ALSA:plughw:1,3 but that seems to be less reliable.<br>
<br>(you can get the IDs for your card by typing &#39;aplay -l&#39; at a bash prompt)<br><br>When I was fiddling around previously I found, like you, that it seemed to work best if a sound had been played previously from something else. I&#39;m not sure that&#39;s true any more (I was trying to get plughw:1,3 working previously) but I&#39;ve left the following command in /etc/rc.local:<br>
<br>aplay -D plughw:1,7 /home/thigger/scream4.wav<br>#wilhelm scream<br><br>The machine only gets rebooted every few months anyway, but it did upset the wife when I rebooted with the TV on :)<br><br>Let me know if that works for you or you want more info; I think I&#39;ve read almost everything on the internet on this topic getting it all working!<br>
<br>Also, is there any chance you can let me know what &#39;dmesg&#39; says for you in your HDMI section?<br>Mine:<br>[18161.599219] HDMI: detected monitor 37LC2D-EC<br>[18161.599224]    at connection type HDMI<br>[18161.599230] HDMI: available speakers: FL/FR<br>
[18161.599239] HDMI: supports coding type LPCM: channels = 2, rates = 44100 48000 88200, bits = 16<br><br>I&#39;m mostly interested as I thought my TV (with SRS TruSurround XT) was supposed to pretend it had 5.1 and supported dolby/dts whereas my nvidia drivers (version 195) - just want to see if this is a problem with the TV or whether the GT220/nvidia drivers/ALSA are reading it wrong.<br>
<br><br>tom<br></div>