<p>Did you try with &quot;ALSA:hdmi:CARD=NVidia,DEV=3&quot; or DEV=7 in the audio setup? <br>
Sorry fot top post im typing this on my phone. If not available as selection i think you can manually edit it.<br>
</p>
<div class="gmail_quote">On Jun 13, 2012 12:33 PM, &quot;jr&quot; &lt;<a href="mailto:jraymyth@gmail.com">jraymyth@gmail.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Tue, Jun 12, 2012 at 9:53 PM, Igor Cicimov &lt;<a href="mailto:icicimov@gmail.com">icicimov@gmail.com</a>&gt; wrote:<br>
&gt; On Wed, Jun 13, 2012 at 3:40 AM, jr &lt;<a href="mailto:jraymyth@gmail.com">jraymyth@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; I have a fresh install of Ubuntu 12.04 and MythBuntu 0.25 FE/BE.  The<br>
&gt;&gt; install went without a hitch.  The tuners and channels are all<br>
&gt;&gt; configured.  Blah blah blah.  The problem I am having is with the<br>
&gt;&gt; audio.<br>
&gt;&gt;<br>
&gt;&gt; I went through the Setup Wizard and set the audio device<br>
&gt;&gt; (ALSA:hdmi:CARD=NVidia,DEV=1).  The speaker test hissed as expected.<br>
&gt;&gt; Video Playback Profile is set to VDPAU High Quality. Test High<br>
&gt;&gt; Definition plays me a nice movie intro of someone walking across icy<br>
&gt;&gt; mountains.  The incidental music is clear and audible.<br>
&gt;&gt;<br>
&gt;&gt; So I went to make a recording and played it.  The video was clear, but<br>
&gt;&gt; no audio was emitted.  The recording does have sound when played<br>
&gt;&gt; through VLC.  I figure that its a config problem, but of what?  ALSA<br>
&gt;&gt; is clearly working with the HDMI port.  MythTV is communicating with<br>
&gt;&gt; ALSA, in the setup at the least.  I don&#39;t mind digging in...but where<br>
&gt;&gt; do I dig?<br>
&gt;&gt;<br>
&gt;&gt; Thanks,<br>
&gt;&gt; jr<br>
&gt;&gt;<br>
&gt;&gt; Intel DQ67EP (i5) -- Onboard audio is disabled in the bios<br>
&gt;&gt; MSI N210-MD512H GeForce 210 512MB<br>
&gt;&gt; 4GB<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; mythuser@Jotun:~$ aplay -l<br>
&gt;&gt; **** List of PLAYBACK Hardware Devices ****<br>
&gt;&gt; card 0: PCH [HDA Intel PCH], device 0: ALC888 Analog [ALC888 Analog]<br>
&gt;&gt;  Subdevices: 1/1<br>
&gt;&gt;  Subdevice #0: subdevice #0<br>
&gt;&gt; card 0: PCH [HDA Intel PCH], device 1: ALC888 Digital [ALC888 Digital]<br>
&gt;&gt;  Subdevices: 1/1<br>
&gt;&gt;  Subdevice #0: subdevice #0<br>
&gt;&gt; card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]<br>
&gt;&gt;  Subdevices: 1/1<br>
&gt;&gt;  Subdevice #0: subdevice #0<br>
&gt;&gt; card 1: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]<br>
&gt;&gt;  Subdevices: 1/1<br>
&gt;&gt;  Subdevice #0: subdevice #0<br>
&gt;&gt; card 1: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]<br>
&gt;&gt;  Subdevices: 1/1<br>
&gt;&gt;  Subdevice #0: subdevice #0<br>
&gt;&gt; card 1: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]<br>
&gt;&gt;  Subdevices: 1/1<br>
&gt;&gt;  Subdevice #0: subdevice #0<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; mythtv-users mailing list<br>
&gt;&gt; <a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
&gt;&gt; <a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; &quot;2012-06-12 19:58:11.009507 E  ALSA: Error opening<br>
&gt; /proc/asound/card1/pcm7p/sub0/prealloc: Permission denied.<br>
&gt; 2012-06-12 19:58:11.009521 E  ALSA: Try to manually increase audio<br>
&gt; buffer with: echo 128 | sudo tee<br>
&gt; /proc/asound/card1/pcm7p/sub0/prealloc<br>
&gt; 2012-06-12 19:58:11.009535 E  ALSA: Unable to sufficiently increase<br>
&gt; ALSA hardware buffer size - underruns are likely<br>
&gt; 2012-06-12 19:58:11.009543 I  ALSA: OpenDevice<br>
&gt; hdmi:CARD=NVidia,DEV=1,AES0=6,AES1=0x82,AES2=0x00,AES3=0x01 for<br>
&gt; passthrough&quot;<br>
&gt;<br>
&gt; You might also check the user permissions on /dev/asound directory and if<br>
&gt; the user you are running MythTV with belongs to video and audio groups. I&#39;m<br>
&gt; not an expert in Myth audio but looks like it tries to open the device 7 on<br>
&gt; the Nvidia card for playback?<br>
&gt;<br>
&gt; You might also try to increase the buffer size manually as the error<br>
&gt; suggests. Run<br>
&gt;<br>
&gt; $ echo 4096 &gt; /proc/asound/card1/pcm7p/sub0/prealloc<br>
&gt;<br>
&gt; and see what happens. If the command fails with permissions issue then you<br>
&gt; really have a problem with your Myth user editing the ALSA files. Fix the<br>
&gt; permissions or run the command as root and start the playback again to see<br>
&gt; if things have improved.<br>
&gt;<br>
&gt; Igor<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; mythtv-users mailing list<br>
&gt; <a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
&gt; <a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>
&gt;<br>
<br>
I added my user to the audio group : usermod -a -G audio mythuser<br>
and did a<br>
echo 4096 &gt; /proc/asound/card1/pcm7p/sub0/prealloc<br>
<br>
The overrun and permission denied lines went away. but still no sound<br>
during playback.  No change when running mythfrontend as root.<br>
<br>
Is sound managed differently in the Setup Wizard than it is during playback?<br>
<br>
***Latest Log***<br>
2012-06-12 22:26:37.674113 I  AFD: Opened codec 0x470ef50, id(AC3) type(Audio)<br>
2012-06-12 22:26:37.674128 I  AFD: Audio Track #2, with type 0 is A/V<br>
stream #2 and has 2 channels in the Spanish; Castilian<br>
language(7565409).<br>
2012-06-12 22:26:37.674143 I  AFD: Trying to select default track<br>
2012-06-12 22:26:37.674148 I  AFD: Trying to select audio track (w/lang)<br>
2012-06-12 22:26:37.674608 I  AFD: Selected track 1: English AC3 2ch<br>
(A/V Stream #1)<br>
2012-06-12 22:26:37.674621 I  AFD: Initializing audio parms from audio track #1<br>
2012-06-12 22:26:37.674639 I  AFD: Audio format changed<br>
                        from id(NONE)     -1Hz -1ch -1bps     (profile 0) to id( AC3)<br>
48000Hz  2ch 16bps  pt (profile 0)<br>
2012-06-12 22:26:37.674656 I  AO: Setting AC3 passthrough<br>
2012-06-12 22:26:37.675238 I  SPDIFEncoder: Creating spdif encoder (for AC3)<br>
2012-06-12 22:26:37.675243 I  AO: Killing AudioOutputDSP<br>
2012-06-12 22:26:37.675251 I  AO: Original codec was AC3, signed 16<br>
bit, 48 kHz, 2 channels<br>
2012-06-12 22:26:37.675266 I  AO: enc(0), passthru(1), features<br>
(AC3,DTS) configured_channels(2), 2 channels supported(1)<br>
max_channels(2)<br>
2012-06-12 22:26:37.675278 I  AO: Opening audio device<br>
&#39;hdmi:CARD=NVidia,DEV=1&#39; ch 2(2) sr 48000 sf signed 16 bit reenc 0<br>
2012-06-12 22:26:37.675285 I  ALSA: OpenDevice<br>
hdmi:CARD=NVidia,DEV=1,AES0=6,AES1=0x82,AES2=0x00,AES3=0x01 for<br>
passthrough<br>
2012-06-12 22:26:37.683536 I  ALSA: SetParameters(format=2,<br>
channels=2, rate=48000, buffer_time=500000, period_time=4)<br>
2012-06-12 22:26:37.683615 I  ALSA: Buffer size range from 64 to 1048576<br>
2012-06-12 22:26:37.683625 I  ALSA: Period size range from 32 to 524288<br>
2012-06-12 22:26:37.683652 I  ALSA: Buffer time = 500000 us<br>
2012-06-12 22:26:37.683673 I  ALSA: Period time = 5 periods<br>
2012-06-12 22:26:37.802580 I  ALSA: Buffer size = 24000 | Period size = 4800<br>
2012-06-12 22:26:37.898559 I  AO: Audio fragment size: 9600<br>
2012-06-12 22:26:37.898584 I  AO: Audio Stretch Factor: 1<br>
2012-06-12 22:26:37.898693 I  AO: Ending Reconfigure()<br>
2012-06-12 22:26:37.898723 I  Dec: Selected track #1 in the Unknown language(0)<br>
2012-06-12 22:26:37.898739 I  Dec: Resyncing position map.<br>
posmapStarted = 0 livetv(0) watchingRec(0)<br>
2012-06-12 22:26:37.898851 I  AO: kickoffOutputAudioLoop: pid = 3096<br>
2012-06-12 22:26:37.898874 I  AO: OutputAudioLoop: Play Event<br>
2012-06-12 22:26:37.899499 I  Dec: Position map filled from DB to: 2352<br>
2012-06-12 22:26:37.899516 I  Dec: SyncPositionMap prerecorded, from<br>
DB: 99 entries<br>
2012-06-12 22:26:37.899528 I  Dec: SyncPositionMap, new totframes:<br>
2352, new length: 39, posMap size: 99<br>
2012-06-12 22:26:38.141460 I  AFD: Position map found<br>
2012-06-12 22:26:38.141479 I  AFD: Successfully opened decoder for<br>
file: &quot;/var/lib/mythtv/recordings/1081_20120612111100.mpg&quot;. novideo(0)<br>
_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>
</blockquote></div>