Jean,<br>
<br>
Here are some HDTV Performance tweaks I posted about a month ago:<br>
<br>
Things to check for best HDTV performance:<br>
<span class="q"><br>a) Right drivers for card with your kernel<br>b) Proper AGP bus speed and AGP interface driver in use<br>c) Proper user of openGL sync for retrace<br>d) Proper settings for deinterlace and, if used, xvmc
<br>e) Proper sound settings and handling of 5.1 sound and multiple streams<br>f) Real time scheduling of playback thread<br>g) Making sure disk or network speed is adequate<br>h) Nothing else sucking up CPU on the machine
<br><br>a) Right drivers for card with your kernel<br><br></span>Check /var/log/&lt;xservername&gt;.0.log. &nbsp;Excerpt from my<br>
/var/log/Xorg.0.log which shows nVidia driver version 7174:<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;(II) LoadModule: &quot;nvidia&quot;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;(II) Loading /usr/X11R6/lib/modules/drivers
<div id="mb_19">/nvidia_drv.o<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;(II) Module nvidia: vendor=&quot;NVIDIA Corporation&quot;<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp;compiled for 4.0.2, module version = 1.0.7174<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Module class: XFree86 Video Driver<br><span class="q"><br>b) Proper AGP bus speed and AGP interface driver in use<br><br></span> &nbsp; &nbsp; &nbsp; &nbsp;[mythtv@mythtvbe
 ~]$ cat /proc/driver/nvidia/agp/status<br> &nbsp; &nbsp; &nbsp; &nbsp;Status: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Enabled<br> &nbsp; &nbsp; &nbsp; &nbsp;Driver: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;AGPGART<br> &nbsp; &nbsp; &nbsp; &nbsp;AGP Rate: &nbsp; &nbsp; &nbsp; &nbsp;8x<br> &nbsp; &nbsp; &nbsp; &nbsp;Fast Writes: &nbsp; &nbsp; Disabled<br> &nbsp; &nbsp; &nbsp; &nbsp;SBA: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Enabled<br><span class="q">
<br>c) Proper user of openGL sync for retrace<br><br></span><span class="q"> &nbsp; &nbsp; &nbsp; &nbsp;Start mythfrontend with the &quot;--verbose playback&quot; option and redirect<br></span> &nbsp; &nbsp; &nbsp; &nbsp;output to a file. &nbsp;Check for Open GL Sync messages (SGI OpenGL)
<br><span class="q"> &nbsp; &nbsp; &nbsp; &nbsp;when a recording or live tv is played back.<br><br></span> &nbsp; &nbsp; &nbsp; &nbsp;mythfrontend.log:<br><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2005-04-25 22:29:36.515 Video timing method: SGI OpenGL<br><span class="q"><br>d) Proper settings for deinterlace and, if used, xvmc
<br><br></span><span class="q"> &nbsp; &nbsp; &nbsp; &nbsp;These are set via mythtv in the settings-&gt;tv-&gt;playback screens<br> &nbsp; &nbsp; &nbsp; &nbsp;(deinterlace on the first and xvmc on the fourth or fifth, IIRC). &nbsp;If<br> &nbsp; &nbsp; &nbsp; &nbsp;xvmc is set properly, the OSD will be black and white. &nbsp;If xvmc
<br> &nbsp; &nbsp; &nbsp; &nbsp;doesn't show up on the options screen, then it wasn't compiled into<br> &nbsp; &nbsp; &nbsp; &nbsp;the program. &nbsp;If xvmc is used, the &quot;filters&quot; field (which can also be<br> &nbsp; &nbsp; &nbsp; &nbsp;used to set deinterlace) isn't used. &nbsp;My personal opinion is that
<br> &nbsp; &nbsp; &nbsp; &nbsp;kernel deint appears to give a better picture (in terms of motion<br> &nbsp; &nbsp; &nbsp; &nbsp;artifacts) than the others (including BOB).<br><br></span><span class="q">e) Proper sound settings and handling of 5.1 sound and multiple streams
<br><br></span><span class="q"> &nbsp; &nbsp; &nbsp; &nbsp;I am using ALSA:digital for sound (via the Digital Sound HOWTO on <a href="http://mythtv.info">mythtv.info</a>) <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; and I can confirm that it works since my DD receiver switches to digital mode.<br>
&nbsp; &nbsp; &nbsp;&nbsp; Not sure what</span> exactly to check here, but you can use &quot;aplay -L&quot; to get a listing<br> &nbsp; &nbsp; &nbsp; &nbsp;of the ALSA devices set up for your card / .asoundrc file. &nbsp;Testing<br> &nbsp; &nbsp; &nbsp; &nbsp;individual devices can be done with &quot;aplay -D &lt;device&gt; &lt;soundfile&gt;&quot;.
<br><span class="q"><br>f) Real time scheduling of playback thread<br><br></span> &nbsp; &nbsp; &nbsp; &nbsp;Need to do a couple of things to get this working:<br><br> &nbsp; &nbsp; &nbsp; &nbsp;1. chmod u+s mythfrontend<br> &nbsp; &nbsp; &nbsp; &nbsp;2. Need to modify /etc/sudoers to add your mythtv user
<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;(use ALL option and NOPASSWORD; example in sudoers file)<br> &nbsp; &nbsp; &nbsp; &nbsp;3. Start mythfrontend with sudo: &quot;sudo mythfrontend &amp;&quot;<br><br> &nbsp; &nbsp; &nbsp; &nbsp;At this point the mythfrontend logs should say something like &quot;using realtime priority&quot;
<br><span class="q"><br>h) Nothing else sucking up CPU on the machine<br><br></span><span class="q"> &nbsp; &nbsp; &nbsp; &nbsp;Check using &quot;top&quot; and confirm that mythfrontend and X are the top two<br> &nbsp; &nbsp; &nbsp; &nbsp;items (X may be lower if XvMC is used). &nbsp;Remaining items should be
<br> &nbsp; &nbsp; &nbsp; &nbsp;substantially less (not sure how to define &quot;substantial&quot;...).<br>
<br>
I tried several different settings and the best performance I get is with the following:<br>
<br>
xorg.conf<br>
&nbsp;&nbsp; NvAGP = 3 (I couldn't get NVAGP to work, so AGPGART is what I'm using)<br>
mythtv<br>
&nbsp;&nbsp; OpenGL enabled (compiled from CVS)<br>
&nbsp;&nbsp; Kernel deinterlace<br>
&nbsp;&nbsp; libmpeg2 enabled<br>
&nbsp;&nbsp; realtime priority enabled<br>
&nbsp;&nbsp; video for timebase enabled<br>
&nbsp;&nbsp; extra audio buffer enabled<br>
&nbsp;&nbsp; xvmc *not* enabled<br>
<br>
On my AMD XP 3200+ system with an NVidia GF4 5500, using FC3 (kernel
2.6.10.770), Nvidia driver 7174, and mythtv v0.18 (compiled), frontend
and backend on one box, I get the following performance results:<br>
<br>
glxgears:&nbsp;&nbsp; 2962<br>
SDTV:<br>
&nbsp;&nbsp;&nbsp; Idle: 83%<br>
&nbsp;&nbsp;&nbsp; mythfrontend: 12%<br>
&nbsp;&nbsp;&nbsp; X: 2%<br>
&nbsp;&nbsp;&nbsp; FPS: 30.42 (no frames dropped)<br>
HDTV (720p):<br>
</span><span class="q">&nbsp;&nbsp;&nbsp; Idle: 42%<br>
&nbsp;&nbsp;&nbsp; mythfrontend: 37%<br>
&nbsp;&nbsp;&nbsp; X: 14%<br>
&nbsp;&nbsp;&nbsp; FPS: 60.85 (no frames dropped)<br>
</span><span class="q">HDTV (1080i):<br>
</span><span class="q">&nbsp;&nbsp;&nbsp; Idle: 12%<br>
&nbsp;&nbsp;&nbsp; mythfrontend: 61%<br>
&nbsp;&nbsp;&nbsp; X: 17%<br>
&nbsp;&nbsp;&nbsp; FPS: 30.42 (no frames dropped)<br>
</span><br>
<br>
Hope this helps!<br>
phlepper<span class="q"></span><span class="q">  </span></div>
-- <br>I hear and I forget. I see and I remember. I do and I understand.&nbsp;&nbsp;--&nbsp;&nbsp;Confucius