<div dir="ltr"><br><div class="gmail_extra">On Sun, Jan 6, 2013 at 9:44 AM, Andréas Kühne <span dir="ltr"><<a href="mailto:andreas@kuhne.se" target="_blank">andreas@kuhne.se</a>></span> wrote:<br><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I checked now again.<div><br></div><div>I tried to set the max value (as you indicated below), but after setting the value and then trying to read the value again, it doesn't work. The default value is reset.</div>
<div>
<br></div><div>I am also using Mythbuntu (version 12.04, myth 0.26)</div><div><br></div><div>// Andréas<div><div class="h5"><br></div></div></div></blockquote><div><br></div><div>This is what mine is set to atm:<br><br><b></b>igorc@mythtv:~$ cat /proc/asound/card1/pcm3p/sub0/prealloc<br>
32768<br></div><div><br></div><div>This is mine startup script, sorry I was wrong it is not set in the user login but as system init script:<br><br>igorc@mythtv:~$ cat /etc/init.d/sound_card_buffer_prealloc<br>#!/bin/bash<br>
<br>[ -f /proc/asound/card1/pcm3p/sub0/prealloc ] && echo 32768 > /proc/asound/card1/pcm3p/sub0/prealloc<br>[ -f /proc/asound/card0/pcm3p/sub0/prealloc ] && echo 32768 > /proc/asound/card0/pcm3p/sub0/prealloc<br>
[ -f /proc/asound/card2/pcm3p/sub0/prealloc ] && echo 32768 > /proc/asound/card2/pcm3p/sub0/prealloc<br><br></div><div>I have to check for 3 devices since ALSA constantly changes my device order (still no idea why).<br>
<br>This is the structure and permissions on my sound directory:<br><br>igorc@mythtv:~$ ls -l /proc/asound/<br>total 0<br>dr-xr-xr-x 7 root root 0 Jan 6 09:51 card0<br>dr-xr-xr-x 3 root root 0 Jan 6 09:51 card1<br>dr-xr-xr-x 3 root root 0 Jan 6 09:51 card2<br>
-r--r--r-- 1 root root 0 Jan 6 09:51 cards<br>lrwxrwxrwx 1 root root 5 Jan 6 09:51 CX8811 -> card2<br>-r--r--r-- 1 root root 0 Jan 6 09:51 devices<br>lrwxrwxrwx 1 root root 5 Jan 6 09:51 Generic -> card1<br>-r--r--r-- 1 root root 0 Jan 6 09:51 hwdep<br>
-r--r--r-- 1 root root 0 Jan 6 09:51 modules<br>dr-xr-xr-x 2 root root 0 Jan 6 09:51 oss<br>-r--r--r-- 1 root root 0 Jan 6 09:51 pcm<br>lrwxrwxrwx 1 root root 5 Jan 6 09:51 SB -> card0<br>dr-xr-xr-x 2 root root 0 Jan 6 09:51 seq<br>
-r--r--r-- 1 root root 0 Jan 6 09:51 timers<br>-r--r--r-- 1 root root 0 Jan 6 09:51 version<br>igorc@mythtv:~$ ls -l /proc/asound/card1<br>total 0<br>-r--r--r-- 1 root root 0 Jan 6 09:51 codec#0<br>-rw-r--r-- 1 root root 0 Jan 6 09:51 eld#0.0<br>
-r--r--r-- 1 root root 0 Jan 6 09:51 id<br>dr-xr-xr-x 3 root root 0 Jan 6 09:51 pcm3p<br>igorc@mythtv:~$ ls -l /proc/asound/card1/pcm3p/<br>total 0<br>-r--r--r-- 1 root root 0 Jan 6 09:52 info<br>dr-xr-xr-x 2 root root 0 Jan 6 09:52 sub0<br>
igorc@mythtv:~$ ls -l /proc/asound/card1/pcm3p/sub0/<br>total 0<br>-r--r--r-- 1 root root 0 Jan 6 09:52 hw_params<br>-r--r--r-- 1 root root 0 Jan 6 09:52 info<br>-rw-r--r-- 1 root root 0 Jan 6 09:52 prealloc<br>-r--r--r-- 1 root root 0 Jan 6 09:52 prealloc_max<br>
-r--r--r-- 1 root root 0 Jan 6 09:52 status<br>-r--r--r-- 1 root root 0 Jan 6 09:52 sw_params<br><br></div><div> I'm using the HDMI output to Sony 32" HD TV, card1 device3.<br><br><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div><div><div class="h5"> <br><div class="gmail_quote">2013/1/5 Igor Cicimov <span dir="ltr"><<a href="mailto:icicimov@gmail.com" target="_blank">icicimov@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>On Sun, Jan 6, 2013 at 9:20 AM, Andréas Kühne <span dir="ltr"><<a href="mailto:andreas@kuhne.se" target="_blank">andreas@kuhne.se</a>></span> wrote:<br>
</div><div class="gmail_extra"><div class="gmail_quote"><div>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I have tried setting the following as well, however the setting never changes. Also, how would I set it so that the change is permanent after each restart?<div>
<br></div><div>Regards,</div><div><br></div><div>Andréas<div><div><br></div></div></div></blockquote><div><br></div></div><div>Hmmm works for me in Mythbuntu. I have it in startup script after ALSA gets initiated and the mythtv user gets auto logged in. I set it to 32768 though which is the max value for my device (found in /proc/asound/card0/pcm0p/sub0/max_prealloc file)<br>
<br></div><div><div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div><div><br>
<div class="gmail_quote">2013/1/5 Igor Cicimov <span dir="ltr"><<a href="mailto:icicimov@gmail.com" target="_blank">icicimov@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">On Sun, Jan 6, 2013 at 8:47 AM, Igor Cicimov <span dir="ltr"><<a href="mailto:icicimov@gmail.com" target="_blank">icicimov@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><p dir="ltr"><br>
On 06/01/2013 7:51 AM, "Stephen Robertson" <<a href="mailto:stephengrobertson@gmail.com" target="_blank">stephengrobertson@gmail.com</a>> wrote:<br>
><br>
> Hi all,<br>
><br>
> I'm getting this error when watching live TV. I don't think I ever<br>
> see this watching recorded or in progress recordings.<br>
><br>
> I've searched the archives and found references to this but they seem<br>
> to be from some time ago so I'm not sure whether this is a known<br>
> problem or whether it was thought to be fixed.<br>
><br>
> As far as I can tell it seems to happen a few minutes after the<br>
> program has changed (Not the channel, this happens with no user<br>
> action).<br>
><br>
> This is on a standalone FE connected via gigabit ethernet<br>
><br>
> Any thoughts/suggestions welcome.<br>
><br>
> Stephen<br>
></p>
</div><p dir="ltr">Is the problem showing on all channels or only SD or only HD? All stations or one specific? Looks like sound decoding error causing the video playback to back off waiting for the sound.</p><div>
<div>
<p dir="ltr">> Logs at:<br>
> <a href="http://pastebin.com/nCzZAdcy" target="_blank">http://pastebin.com/nCzZAdcy</a><br>
> <a href="http://pastebin.com/0WbCRLBi" target="_blank">http://pastebin.com/0WbCRLBi</a><br>
><br>
> MythTV Version : v0.26.0-55-g09ac5b2<br>
> MythTV Branch : fixes/0.26<br>
> Network Protocol : 75<br>
> Library API : 0.26.20120822-1<br>
> QT Version : 4.8.1<br>
> Options compiled in:<br>
> linux profile use_hidesyms using_alsa using_oss using_pulse<br>
> using_pulseoutput using_backend using_bindings_perl<br>
> using_bindings_python using_bindings_php using_crystalhd using_dvb<br>
> using_firewire using_frontend using_hdhomerun using_ceton using_hdpvr<br>
> using_iptv using_ivtv using_joystick_menu using_libcec using_libcrypto<br>
> using_libdns_sd using_libxml2 using_lirc using_mheg using_opengl_video<br>
> using_qtwebkit using_qtscript using_qtdbus using_v4l2 using_x11<br>
> using_xrandr using_xv using_bindings_perl using_bindings_python<br>
> using_bindings_php using_mythtranscode using_opengl using_vaapi<br>
> using_vdpau using_ffmpeg_threads using_live using_mheg using_libass<br>
> using_libxml2<br>
> _______________________________________________<br>
> mythtv-users mailing list<br>
> <a href="mailto:mythtv-users@mythtv.org" target="_blank">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>
</p>
</div></div></blockquote></div>CoreContext audio/audiooutputalsa.cpp:242 (IncPreallocBufferSize) ALSA:
Try to manually increase audio buffer with: echo 128 | sudo tee
/proc/asound/card0/pcm0p/sub0/prealloc<br>Jan 5 10:38:58 revo01
mythlogserver: mythfrontend[1714]: I CoreContext mythpainter_ogl.cpp:62
(ClearCache) Clearing OpenGL painter cache.<br><br></div><div class="gmail_extra">Yeah have seen this before the sound buffer is set too low. Do as the error message say:<br><br>$ echo 4096 | sudo tee
/proc/asound/card0/pcm0p/sub0/prealloc<br><br></div><div class="gmail_extra">with 4096 instead 128 to be on the safe side and see if the error goes away.<br><br></div></div>
<br>_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org" target="_blank">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></blockquote></div><br></div></div></div>
<br>_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org" target="_blank">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></blockquote></div></div></div><br></div></div>
<br>_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org" target="_blank">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></blockquote></div><br><br clear="all"><div><br></div></div></div><span class=""><font color="#888888">-- <br>vänliga hälsningar,<br><br>Andréas<br><br>Upplandsgatan 93 . 113 44 . Stockholm<br>Mobil 076 543 8825<br><a href="mailto:andreas@kuhne.se" target="_blank">andreas@kuhne.se</a>
</font></span></div>
<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></blockquote></div><br></div></div>