<p>Did you try with "ALSA:hdmi:CARD=NVidia,DEV=3" 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, "jr" <<a href="mailto:jraymyth@gmail.com">jraymyth@gmail.com</a>> 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 <<a href="mailto:icicimov@gmail.com">icicimov@gmail.com</a>> wrote:<br>
> On Wed, Jun 13, 2012 at 3:40 AM, jr <<a href="mailto:jraymyth@gmail.com">jraymyth@gmail.com</a>> wrote:<br>
>><br>
>> I have a fresh install of Ubuntu 12.04 and MythBuntu 0.25 FE/BE. The<br>
>> install went without a hitch. The tuners and channels are all<br>
>> configured. Blah blah blah. The problem I am having is with the<br>
>> audio.<br>
>><br>
>> I went through the Setup Wizard and set the audio device<br>
>> (ALSA:hdmi:CARD=NVidia,DEV=1). The speaker test hissed as expected.<br>
>> Video Playback Profile is set to VDPAU High Quality. Test High<br>
>> Definition plays me a nice movie intro of someone walking across icy<br>
>> mountains. The incidental music is clear and audible.<br>
>><br>
>> So I went to make a recording and played it. The video was clear, but<br>
>> no audio was emitted. The recording does have sound when played<br>
>> through VLC. I figure that its a config problem, but of what? ALSA<br>
>> is clearly working with the HDMI port. MythTV is communicating with<br>
>> ALSA, in the setup at the least. I don't mind digging in...but where<br>
>> do I dig?<br>
>><br>
>> Thanks,<br>
>> jr<br>
>><br>
>> Intel DQ67EP (i5) -- Onboard audio is disabled in the bios<br>
>> MSI N210-MD512H GeForce 210 512MB<br>
>> 4GB<br>
>><br>
>><br>
>> mythuser@Jotun:~$ aplay -l<br>
>> **** List of PLAYBACK Hardware Devices ****<br>
>> card 0: PCH [HDA Intel PCH], device 0: ALC888 Analog [ALC888 Analog]<br>
>> Subdevices: 1/1<br>
>> Subdevice #0: subdevice #0<br>
>> card 0: PCH [HDA Intel PCH], device 1: ALC888 Digital [ALC888 Digital]<br>
>> Subdevices: 1/1<br>
>> Subdevice #0: subdevice #0<br>
>> card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]<br>
>> Subdevices: 1/1<br>
>> Subdevice #0: subdevice #0<br>
>> card 1: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]<br>
>> Subdevices: 1/1<br>
>> Subdevice #0: subdevice #0<br>
>> card 1: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]<br>
>> Subdevices: 1/1<br>
>> Subdevice #0: subdevice #0<br>
>> card 1: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]<br>
>> Subdevices: 1/1<br>
>> Subdevice #0: subdevice #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>
><br>
><br>
><br>
> "2012-06-12 19:58:11.009507 E ALSA: Error opening<br>
> /proc/asound/card1/pcm7p/sub0/prealloc: Permission denied.<br>
> 2012-06-12 19:58:11.009521 E ALSA: Try to manually increase audio<br>
> buffer with: echo 128 | sudo tee<br>
> /proc/asound/card1/pcm7p/sub0/prealloc<br>
> 2012-06-12 19:58:11.009535 E ALSA: Unable to sufficiently increase<br>
> ALSA hardware buffer size - underruns are likely<br>
> 2012-06-12 19:58:11.009543 I ALSA: OpenDevice<br>
> hdmi:CARD=NVidia,DEV=1,AES0=6,AES1=0x82,AES2=0x00,AES3=0x01 for<br>
> passthrough"<br>
><br>
> You might also check the user permissions on /dev/asound directory and if<br>
> the user you are running MythTV with belongs to video and audio groups. I'm<br>
> not an expert in Myth audio but looks like it tries to open the device 7 on<br>
> the Nvidia card for playback?<br>
><br>
> You might also try to increase the buffer size manually as the error<br>
> suggests. Run<br>
><br>
> $ echo 4096 > /proc/asound/card1/pcm7p/sub0/prealloc<br>
><br>
> and see what happens. If the command fails with permissions issue then you<br>
> really have a problem with your Myth user editing the ALSA files. Fix the<br>
> permissions or run the command as root and start the playback again to see<br>
> if things have improved.<br>
><br>
> Igor<br>
><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>
><br>
<br>
I added my user to the audio group : usermod -a -G audio mythuser<br>
and did a<br>
echo 4096 > /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>
'hdmi:CARD=NVidia,DEV=1' 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: "/var/lib/mythtv/recordings/1081_20120612111100.mpg". 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>