[mythtv-users] Fwd: Digital Audio on HDMI MB not working
Andrew Close
aclose at gmail.com
Tue Jan 20 03:48:35 UTC 2009
On Mon, Jan 19, 2009 at 9:25 PM, Andrew Close <aclose at gmail.com> wrote:
> common thread, good idea :)
>
> i think Phil has commented in my thread, and i have commented in his
> thread. now Allen is bringing us all together. :D
>
> i was originally trying to get audio out via SPDIF just because audio
> over HDMI is so new, but hey, bonus if it works. ;)
> so up until now, my MythBox has had audio out via coaxial SPDIF to my
> AVR and video out via HDMI also routed through my AVR. since Phil is
> having 'some' luck with audio over HDMI, i'm disconnecting my coaxial
> SPDIF and going the HDMI route as well. maybe we'll figure something
> out on our systems that helps each other.
> so now i'm HDMI only to my Denon 3808. video rocks at 1920x1080 :D
> but still no audio.
>
> here's some details:
> MythBuntu 8.10
> Asus P5E-VM HDMI with Realtek ALC883 8 channel audio
>
> aclose at MythBoxHD:~$ aplay -l
> **** List of PLAYBACK Hardware Devices ****
> card 0: Intel [HDA Intel], device 0: ALC883 Analog [ALC883 Analog]
> Subdevices: 1/1
> Subdevice #0: subdevice #0
> card 0: Intel [HDA Intel], device 1: ALC883 Digital [ALC883 Digital]
> Subdevices: 1/1
> Subdevice #0: subdevice #0
> card 0: Intel [HDA Intel], device 3: ATI HDMI [ATI HDMI]
> Subdevices: 1/1
> Subdevice #0: subdevice #0
>
> aclose at MythBoxHD:~$ aplay -L
> default:CARD=Intel
> HDA Intel, ALC883 Analog
> Default Audio Device
> front:CARD=Intel,DEV=0
> HDA Intel, ALC883 Analog
> Front speakers
> surround40:CARD=Intel,DEV=0
> HDA Intel, ALC883 Analog
> 4.0 Surround output to Front and Rear speakers
> surround41:CARD=Intel,DEV=0
> HDA Intel, ALC883 Analog
> 4.1 Surround output to Front, Rear and Subwoofer speakers
> surround50:CARD=Intel,DEV=0
> HDA Intel, ALC883 Analog
> 5.0 Surround output to Front, Center and Rear speakers
> surround51:CARD=Intel,DEV=0
> HDA Intel, ALC883 Analog
> 5.1 Surround output to Front, Center, Rear and Subwoofer speakers
> surround71:CARD=Intel,DEV=0
> HDA Intel, ALC883 Analog
> 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
> iec958:CARD=Intel,DEV=0
> HDA Intel, ALC883 Digital
> IEC958 (S/PDIF) Digital Audio Output
> null
> Discard all samples (playback) or generate zero samples (capture)
>
> 'aplay -l' always showed the HDMI device, 'aplay -L' did not. to get
> SPDIF to show up i added the following to my /etc/modprobe.d/alsa-base
> file:
>
> options snd-hda-intel model=6stack-dig
>
> apparently /etc/modprobe.d/alsa-base is Debian/Ubuntu related, so if
> you're using something other than a Debian based distro you'll need to
> look for another file.
> the '6stack-dig' is particular to my ALC883 sound setup on this
> motherboard. although any similar ALC88X with 6 jacks and digital out
> could probably use it. i don't remember exactly where i found the
> '6stack-dig' setting, somewhere in UbuntuForums. there are some links
> i've been collecting in my user profile:
> http://www.mythtv.org/wiki/User:Aclose
>
> utilities/setup -> setup -> general (audio on pg 3) i've tried setting
> my audio output device = ALSA:hw=0,3 as mentioned by Rob earlier in
> this thread. too bad it isn't that easy for me.
> when playing AC3 content with that setting, i see the following in my
> mythfrontend.log:
>
> 2009-01-19 20:38:56.402 AFD: Opened codec 0x97ff2c0, id(MPEG4) type(Video)
> 2009-01-19 20:38:56.402 AFD: codec AC3 has 6 channels
> 2009-01-19 20:38:56.415 AFD: Opened codec 0x97ff630, id(AC3) type(Audio)
> 2009-01-19 20:38:56.417 Opening audio device 'hw=0,3'. ch 2(2) sr 48000
> 2009-01-19 20:38:56.417 Opening ALSA audio device 'hw=0,3'.
> ALSA lib pcm.c:2196:(snd_pcm_open_noupdate) Unknown PCM hw=0,3
> 2009-01-19 20:38:56.427 AudioOutput Error: snd_pcm_open(hw=0,3): No
> such file or directory
> 2009-01-19 20:38:56.427 NVP: Disabling Audio, reason is:
> snd_pcm_open(hw=0,3): No such file or directory
>
> i'll have to play around with manually changing that around.
> passthrough is set to default, max audio is stereo, upmix is passive,
> AC3 and DTS passthrough are both checked.
>
> still playing...
w00t!
minor success.
in Myth utilities/setup->setup->general (pg3) audio output device:
ALSA:hw:0,3 i got sound!
well, my left speaker sounded like machine gun static. :)
/var/log/mythtv/mythfrontend.log:
2009-01-19 21:44:21.172 AFD: Opened codec 0x9845930, id(MPEG4) type(Video)
2009-01-19 21:44:21.172 AFD: codec AC3 has 6 channels
2009-01-19 21:44:21.172 AFD: Opened codec 0x9db39e0, id(AC3) type(Audio)
2009-01-19 21:44:21.173 Opening audio device 'hw:0,3'. ch 2(2) sr 48000
2009-01-19 21:44:21.173 Opening ALSA audio device 'hw:0,3'.
2009-01-19 21:44:21.186 Opening audio device 'hw:0,3'. ch 2(2) sr 48000
2009-01-19 21:44:21.186 Opening ALSA audio device 'hw:0,3'.
2009-01-19 21:44:21.209 VideoOutputXv: Desired video renderer
'xvmc-blit' not available.
codec 'MPEG4' makes 'xv-blit,xshm,opengl,xlib,' available, using
'xv-blit' instead.
2009-01-19 21:44:21.210 VideoOutputXv: XVideo Adaptor Name: 'Intel(R)
Textured Video'
2009-01-19 21:44:21.341 OSD Theme Dimensions W: 640 H: 480
2009-01-19 21:44:21.543 TV: Changing from None to WatchingPreRecorded
2009-01-19 21:44:21.543 Realtime priority would require SUID as root.
2009-01-19 21:44:23.781 NVP: Timed out waiting for free video buffers.
2009-01-19 21:44:24.542 Video timing method: USleep with busy wait
2009-01-19 21:44:24.544 WriteAudio: buffer underrun
2009-01-19 21:44:24.551 WriteAudio: buffer underrun
2009-01-19 21:44:24.559 WriteAudio: buffer underrun
2009-01-19 21:44:24.567 WriteAudio: buffer underrun
2009-01-19 21:44:24.575 WriteAudio: buffer underrun
--
Andrew Close
More information about the mythtv-users
mailing list