[mythtv-users] MythTV 0.24 HDMI audio problem
Mr. Duncan McDonald
duncan.john.mcdonald at gmail.com
Thu Nov 18 22:19:45 UTC 2010
Hi folks,
Apologies for the delay in replying and thanks for all your replies - I remembered that I had specified something similar in my /etc/asound.conf with card 0 device 7 but unfortunately specifying the card/device in MythTV didn't work (I've tried all the other devices listed using aplay -l).
I might have to do like you've done Tom and set something up in /etc/rc.local to get around it (I have a separate backend/frontend and I like to shut the frontends down at night to save electricity :-)).
Here's the output of dmesg on my machine (hopefully I've got the bit you want):
-------------------------------------------------------
[ 22.257808] NVRM: loading NVIDIA UNIX x86 Kernel Module 195.36.24 Thu Apr 22 09:18:20 PDT 2010
[ 23.695248] HDMI hot plug event: Pin=5 Presence_Detect=1 ELD_Valid=0
[ 23.717761] HDMI hot plug event: Pin=5 Presence_Detect=1 ELD_Valid=1
[ 24.516052] HDMI: detected monitor DENON-AVAMP
[ 24.516055] at connection type HDMI[ 24.516060] HDMI: available speakers: FL/FR LFE FC RL/RR RC RLC/RRC[ 24.516066] ------------[ cut here ]------------
[ 24.516073] WARNING: at /build/buildd/linux-2.6.32/lib/vsprintf.c:1100 vsnprintf+0x3f2/0x410()
[ 24.516076] Hardware name: GA-MA69GM-S2H
[ 24.516078] Modules linked in: snd_hda_codec_nvhdmi nfs lockd nfs_acl auth_rpcgss sunrpc joydev usbhid hid binfmt_misc vboxnetadp vboxnetflt vboxdrv lirc_mceusb lirc_dev snd_hda_intel snd_hda_codec snd_hwde
p snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device fbcon tileblit font bitblit softcursor snd nvidia(P) ati_agp psmouse s
erio_raw k8temp soundcore vga16fb vgastate snd_page_alloc i2c_piix4 agpgart lp parport r8169 ohci1394 mii ieee1394 pata_atiixp ahci floppy
[ 24.516123] Pid: 705, comm: hd-audio0 Tainted: P 2.6.32-25-generic #45-Ubuntu
[ 24.516125] Call Trace:
[ 24.516132] [<c014c6e2>] warn_slowpath_common+0x72/0xa0
[ 24.516136] [<c0353722>] ? vsnprintf+0x3f2/0x410
[ 24.516140] [<c0353722>] ? vsnprintf+0x3f2/0x410
[ 24.516144] [<c014c72a>] warn_slowpath_null+0x1a/0x20
[ 24.516148] [<c0353722>] vsnprintf+0x3f2/0x410
[ 24.516152] [<c03537ca>] snprintf+0x1a/0x20
[ 24.516163] [<f84ec64d>] snd_print_pcm_bits+0x5d/0x80 [snd_hda_codec]
[ 24.516172] [<f84f57f7>] hdmi_show_short_audio_desc+0xf7/0x100 [snd_hda_codec]
[ 24.516177] [<c03537ca>] ? snprintf+0x1a/0x20
[ 24.516185] [<f84f585f>] snd_hdmi_show_eld+0x5f/0xa0 [snd_hda_codec]
[ 24.516193] [<f84f5b6c>] ? snd_hdmi_get_eld+0x29c/0x2d0 [snd_hda_codec]
[ 24.516199] [<f8847706>] hdmi_unsol_event+0x106/0x110 [snd_hda_codec_nvhdmi]
[ 24.516204] [<c013f0c3>] ? finish_task_switch+0x43/0xc0
[ 24.516211] [<f84ec106>] process_unsol_events+0x56/0x70 [snd_hda_codec]
[ 24.516217] [<c016399e>] run_workqueue+0x8e/0x150
[ 24.516224] [<f84ec0b0>] ? process_unsol_events+0x0/0x70 [snd_hda_codec]
[ 24.516228] [<c0163ae4>] worker_thread+0x84/0xe0
[ 24.516233] [<c0167a60>] ? autoremove_wake_function+0x0/0x50
[ 24.516237] [<c0163a60>] ? worker_thread+0x0/0xe0
[ 24.516241] [<c01677d4>] kthread+0x74/0x80
[ 24.516244] [<c0167760>] ? kthread+0x0/0x80
[ 24.516249] [<c0104087>] kernel_thread_helper+0x7/0x10
[ 24.516251] ---[ end trace d5449363ded9eab7 ]---
[ 24.516255] HDMI: supports coding type LPCM: channels = 8, rates = 44100 48000 88200 176400 192000 384000, bits = 16
[ 24.516260] HDMI: supports coding type DTS: channels = 6, rates = 48000 88200 176400 192000, max bitrate = 1536000
[ 24.516264] HDMI: supports coding type AC-3: channels = 6, rates = 44100 48000 88200, max bitrate = 640000
[ 24.516269] HDMI: supports coding type DTS-HD: channels = 8, rates = 48000 88200 176400 192000 384000
[ 24.516273] HDMI: supports coding type E-AC-3/DD+ (Dolby Digital Plus): channels = 8, rates = 48000 88200
[ 24.516278] HDMI: supports coding type MLP (Dolby TrueHD): channels = 6, rates = 48000 88200 176400 192000 384000
[ 24.516282] HDMI: supports coding type MLP (Dolby TrueHD): channels = 8, rates = 48000 88200 176400 192000
-------------------------------------------------------
Thanks!
On 17 Nov 2010, at 22:10, thigger 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.
>
>
> tom
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20101118/45016810/attachment.htm>
More information about the mythtv-users
mailing list