[mythtv-users] MythTV 0.24 HDMI audio problem

Steven Adeff adeffs.mythtv at gmail.com
Wed Nov 17 22:17:00 UTC 2010


On Wed, Nov 17, 2010 at 5:10 PM, thigger <thigger at gmail.com> wrote:
> On Wed, Nov 17, 2010 at 7:28 PM, Mr. Duncan McDonald
> <duncan.john.mcdonald at gmail.com> wrote:
>>
>> I'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.
>>
>> The problem is that when I first boot the machine I don't get audio out of
>> MythTV until I run something like Mplayer
>
> I'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'm running sound over HDMI direct to the TV
> (an LG 37LC2D I think).
>
> The sound took a while to get set up properly - but in the end I found that
> using "ALSA:plughw:1,7" as my audio output seemed to be the best. (It's card
> 1 because the onboard audio takes position 0). I've also had it working with
> ALSA:plughw:1,3 but that seems to be less reliable.
>
> (you can get the IDs for your card by typing 'aplay -l' at a bash prompt)
>
> 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'm not
> sure that's true any more (I was trying to get plughw:1,3 working
> previously) but I've left the following command in /etc/rc.local:
>
> aplay -D plughw:1,7 /home/thigger/scream4.wav
> #wilhelm scream
>
> The machine only gets rebooted every few months anyway, but it did upset the
> wife when I rebooted with the TV on :)
>
> Let me know if that works for you or you want more info; I think I've read
> almost everything on the internet on this topic getting it all working!
>
> Also, is there any chance you can let me know what 'dmesg' says for you in
> your HDMI section?
> Mine:
> [18161.599219] HDMI: detected monitor 37LC2D-EC
> [18161.599224]    at connection type HDMI
> [18161.599230] HDMI: available speakers: FL/FR
> [18161.599239] HDMI: supports coding type LPCM: channels = 2, rates = 44100
> 48000 88200, bits = 16
>
> I'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.

Duncan, I seem to have the same problem. I was able to get it to work
using "ALSA:plughw:1,7" except the new audio code doesn't seem to like
that if you do a device scan. I haven't had time to play with it, but
the last time I tried I was able to get it to work with the ALSA:HDMI.

I too, like Tom have a GT220 as the second audio device. I think this
may be why the ALSA:HDMI setting doesn't work?

I also can't get Myth to play 96KHz FLAC I've downloaded from
HDTracks, all I get is static, which I was under the impression should
be working in 0.24.

-- 
Steve
http://www.mythtv.org/wiki/User:Steveadeff
Before you ask, read the FAQ!
http://www.mythtv.org/wiki/index.php/Frequently_Asked_Questions
then search the Wiki, and this list,
http://www.gossamer-threads.com/lists/mythtv/
Mailinglist etiquette -
http://www.mythtv.org/wiki/index.php/Mailing_List_etiquette


More information about the mythtv-users mailing list