I have a problem in HD playback that I need help to solve.<br><br>My basic problem is that the audio frequently stutters.&nbsp; My log is filled with messages that say &quot;WriteAudio: buffer underrun&quot;.<br><br>Searching the mailing list archive, I find references to this problem.&nbsp; In each case these messages are linked to prebuffering pauses - and the recommended solutions seem to be focused on fixing the prebuffering pauses and the audio stutter will be fixed as well.
<br><br>My audio buffer underruns are not linked to prebuffering pauses. Here is a pertinent snippet from my frontend log.<br><br>2007-02-18 23:41:20.612 TV: Changing from None to WatchingPreRecorded<br>2007-02-18 23:41:20.669
 Realtime priority would require SUID as root.<br>[mpeg2video @ 0x364d4db050]ac-tex damaged at 92 20<br>[mpeg2video @ 0x364d4db050]Warning MVs not available<br>2007-02-18 23:41:20.810 Video timing method: SGI OpenGL<br>[mpeg2video @ 0x364d4db050]invalid mb type in B Frame at 114 49
<br>[mpeg2video @ 0x364d4db050]Warning MVs not available<br>2007-02-18 23:41:23.507 WriteAudio: buffer underrun<br>2007-02-18 23:41:27.305 WriteAudio: buffer underrun<br>2007-02-18 23:41:29.270 WriteAudio: buffer underrun
<br>2007-02-18 23:41:31.301 WriteAudio: buffer underrun<br>2007-02-18 23:41:34.594 WriteAudio: buffer underrun<br>2007-02-18 23:41:36.323 WriteAudio: buffer underrun<br>[mpeg2video @ 0x364d4db050]ac-tex damaged at 39 10<br>
2007-02-18 23:41:39.777 WriteAudio: buffer underrun<br>2007-02-18 23:41:41.373 WriteAudio: buffer underrun<br>[mpeg2video @ 0x364d4db050]00 motion_type at 66 14<br>2007-02-18 23:41:44.370 WriteAudio: buffer underrun<br>2007-02-18 23:41:
45.487 WriteAudio: buffer underrun<br>2007-02-18 23:41:48.358 WriteAudio: buffer underrun<br>2007-02-18 23:41:50.817 WriteAudio: buffer underrun<br>2007-02-18 23:41:53.534 WriteAudio: buffer underrun<br>2007-02-18 23:41:56.175
 WriteAudio: buffer underrun<br>[mpeg2video @ 0x364d4db050]00 motion_type at 28 45<br>2007-02-18 23:41:57.114 WriteAudio: buffer underrun<br>[mpeg2video @ 0x364d4db050]ac-tex damaged at 56 37<br>[mpeg2video @ 0x364d4db050]Warning MVs not available
<br>2007-02-18 23:41:59.323 WriteAudio: buffer underrun<br>2007-02-18 23:42:01.180 WriteAudio: buffer underrun<br>2007-02-18 23:42:03.520 WriteAudio: buffer underrun<br>2007-02-18 23:42:05.108 WriteAudio: buffer underrun<br>
2007-02-18 23:42:06.466 WriteAudio: buffer underrun<br>2007-02-18 23:42:09.106 WriteAudio: buffer underrun<br>2007-02-18 23:42:11.261 WriteAudio: buffer underrun<br>2007-02-18 23:42:12.479 TV: Attempting to change from WatchingPreRecorded to None
<br><br>Here is a brief description of my setup.<br><br>My frontend runs on a AMD64 Sempron 2800+ with 1 gb of RAM and an NVIDIA FX-5200 video card.<br>My backend runs on a similar machine AMD64 Sempron 2800+ with 1 gb of RAM and an NVIDIA FX-5200 video card.
<br>My recordings are stored on an Ubuntu LAMP server in the closet.<br><br>My frontend is configured with Standard MPEG decoder and the BOB deinterlace algorithm.&nbsp; For HD playback, my CPU utilization runs about 90%.<br><br>
I have tried XVMC. My CPU utilization drops to 20-30%; but the audio stutter does not go away.<br><br>Turning off deinterlacing yield no improvement either.&nbsp; I have also tried all of the other deinterlace algorithms.&nbsp; No difference.
<br><br>Here are the important sections of my xorg.conf:<br><br>Section &quot;Module&quot;<br>&nbsp;&nbsp;&nbsp; Load&nbsp; &quot;dbe&quot;<br>&nbsp;&nbsp;&nbsp; Load&nbsp; &quot;extmod&quot;<br>&nbsp;&nbsp;&nbsp; Load&nbsp; &quot;fbdevhw&quot;<br>&nbsp;&nbsp;&nbsp; Load&nbsp; &quot;glx&quot;<br>&nbsp;&nbsp;&nbsp; Load&nbsp; &quot;record&quot;
<br>&nbsp;&nbsp;&nbsp; Load&nbsp; &quot;freetype&quot;<br>&nbsp;&nbsp;&nbsp; Load&nbsp; &quot;type1&quot;<br>EndSection<br><br>Section &quot;Monitor&quot;<br>&nbsp;&nbsp;&nbsp; Identifier&nbsp;&nbsp; &quot;Monitor0&quot;<br>&nbsp;&nbsp;&nbsp; VendorName&nbsp;&nbsp; &quot;Panasonic&quot;<br>&nbsp;&nbsp;&nbsp; ModelName&nbsp;&nbsp;&nbsp; &quot;42in EDTV&quot;
<br>&nbsp;&nbsp;&nbsp; ModeLine&nbsp;&nbsp;&nbsp;&nbsp; &quot;ATSC-1080-60i&quot; 74.2 1920 1960 2016 2200 1080 1082 1088 1125 interlace<br>&nbsp;&nbsp;&nbsp; Option&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &quot;dpms&quot;<br>&nbsp;&nbsp;&nbsp; Option&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &quot;UseEdidDpi&quot; &quot;False&quot;<br>&nbsp;&nbsp;&nbsp; Option&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &quot;DPI&quot; &quot;100 x 100&quot;
<br>EndSection<br>&nbsp;<br>Section &quot;Device&quot;<br>&nbsp;&nbsp;&nbsp; Identifier&nbsp; &quot;Videocard0&quot;<br>&nbsp;&nbsp;&nbsp; Driver&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;nvidia&quot;<br>&nbsp;&nbsp;&nbsp; Option&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &quot;UseDisplayDevice&quot; &quot;DFP&quot;<br>&nbsp;&nbsp;&nbsp; Option&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &quot;NVAGP&quot; &quot;2&quot;
<br>&nbsp;&nbsp;&nbsp; Option&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &quot;XvmcUsesTextures&quot; &quot;True&quot;<br>&nbsp;&nbsp;&nbsp; Option&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &quot;UseEvents&quot; &quot;True&quot;<br>&nbsp;&nbsp;&nbsp; Option&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &quot;ConnectedMonitor&quot; &quot;DFP&quot;<br>EndSection<br><br>Section &quot;Screen&quot;
<br>&nbsp;&nbsp;&nbsp; Identifier &quot;Screen0&quot;<br>&nbsp;&nbsp;&nbsp; Device&nbsp;&nbsp;&nbsp;&nbsp; &quot;Videocard0&quot;<br>&nbsp;&nbsp;&nbsp; Monitor&nbsp;&nbsp;&nbsp; &quot;Monitor0&quot;<br>&nbsp;&nbsp;&nbsp; DefaultDepth&nbsp;&nbsp;&nbsp;&nbsp; 24<br>&nbsp;&nbsp;&nbsp; SubSection &quot;Display&quot;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Viewport&nbsp;&nbsp; 0 0<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Depth&nbsp;&nbsp;&nbsp;&nbsp; 24
<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Modes&nbsp;&nbsp;&nbsp; &quot;ATSC-1080-60i&quot;<br>&nbsp;&nbsp;&nbsp; EndSubSection<br>EndSection<br><br>Any help is appreciated.<br><br>Tom<br><font color="black" face="Verdana,Arial,Helvetica" size="2"><font color="black" face="Verdana,Arial,Helvetica" size="2">
 </font></font>