<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2655.35">
<TITLE>PVR 350 TV-Out Frame Dropping</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2 FACE="Tahoma">I am new to Linux so please bear with any ignorance that I may display. First off, here is my hardware setup:</FONT>
</P>

<P><FONT SIZE=2 FACE="Tahoma">ASUS P3V4X Motherboard (VIA Apollo Pro133A Chipset)</FONT>
<BR><FONT SIZE=2 FACE="Tahoma">Pentium III 1Ghz Processor</FONT>
<BR><FONT SIZE=2 FACE="Tahoma">384Mb of RAM</FONT>
<BR><FONT SIZE=2 FACE="Tahoma">STB Velocity 4400 RIVATNT AGP Graphics Card (TV-Out is not being used)</FONT>
<BR><FONT SIZE=2 FACE="Tahoma">ViewSonic GT775 Monitor</FONT>
<BR><FONT SIZE=2 FACE="Tahoma">Netgear MA311 802.11b Wireless PCI Adapter</FONT>
<BR><FONT SIZE=2 FACE="Tahoma">Hauppauge PVR 350</FONT>
<BR><FONT SIZE=2 FACE="Tahoma">Western Digital WD1200PJ 120G Hard Drive (7200 RPM, 8Mb Buffer)</FONT>
<BR><FONT SIZE=2 FACE="Tahoma">SoundBlaster Live!</FONT>
<BR><FONT SIZE=2 FACE="Tahoma">Gentoo Linux (Kernel 2.4.20-gentoo-r6)</FONT>
<BR><FONT SIZE=2 FACE="Tahoma">KDE 3</FONT>
</P>

<P><FONT SIZE=2 FACE="Tahoma">I loaded the latest nvidia driver for my graphics card. I installed the latest ivtv alpha release, which supports tv-out for the PVR 350. To compile the driver I had to change the line in ivtv-fb.c that reads &quot;pte_offset(pmd_offset&quot; to &quot;pte_offset_kernel(pmd_offset&quot;. I modified the XF86Config file for dual-display as noted in ivtv-fb.c, using the appropriate framebuffer device, which is&nbsp; &quot;/dev/fb0&quot;, and the appropriate BusID obtained using &quot;lspci -v&quot;, which is &quot;0:10:0&quot;. I updated modules.conf as follows: </FONT></P>

<P><FONT SIZE=2 FACE="Tahoma">alias char-major-81 videodev</FONT>
<BR><FONT SIZE=2 FACE="Tahoma">alias char-major-81-0 ivtv</FONT>
<BR><FONT SIZE=2 FACE="Tahoma">alias char-major-61 lirc_i2c</FONT>
<BR><FONT SIZE=2 FACE="Tahoma">options ivtv debug=1</FONT>
<BR><FONT SIZE=2 FACE="Tahoma">options tuner type=2</FONT>
<BR><FONT SIZE=2 FACE="Tahoma">options msp3400 once=1 simple=1</FONT>
<BR><FONT SIZE=2 FACE="Tahoma">options saa7127 pal=0 enable_output=1 output_select=0</FONT>
<BR><FONT SIZE=2 FACE="Tahoma">add below ivtv msp3400 saa7115 tuner</FONT>
<BR><FONT SIZE=2 FACE="Tahoma">add above lirc_dev lirc_i2c</FONT>
</P>

<P><FONT SIZE=2 FACE="Tahoma">I set modules.autoload to load the modules in the following order nvidia, ivtv, ivtv-fb and saa7127. I downloaded and installed MythTV version 0.12, enabling native ALSA (I have the latest drivers installed) and LIRCD support. After booting up the system, I can see KDE on both my monitor and the TV. When I run Myth on my monitor everything runs fine. I can pause live tv, set recordings, record, playback, etc. with no problems. However, when I run Myth on the TV, everything works fine, except that live tv and recording playback drop frames and no sound can be heard. Here is what mythfrontend reports back to me:</FONT></P>

<P><FONT SIZE=2 FACE="Courier New">&nbsp; generating cache image for: /usr/share/mythtv/themes/default/blank.png</FONT>
<BR><FONT SIZE=2 FACE="Courier New">&nbsp; connecting to backend server: 127.0.0.1:6543</FONT>
<BR><FONT SIZE=2 FACE="Courier New">&nbsp; Opening OSS audio device '/dev/dsp'.</FONT>
<BR><FONT SIZE=2 FACE="Courier New">&nbsp; Over/underscanning. V: 0.000000, H: 0.000000, XOff: 0, YOff: 0</FONT>
<BR><FONT SIZE=2 FACE="Courier New">&nbsp; ***</FONT>
<BR><FONT SIZE=2 FACE="Courier New">&nbsp; * Couldn't find Xv support, falling back to non-Xv mode.</FONT>
<BR><FONT SIZE=2 FACE="Courier New">&nbsp; * MythTV performance will be much slower since color</FONT>
<BR><FONT SIZE=2 FACE="Courier New">&nbsp; * conversion and scaling will be done in software.</FONT>
<BR><FONT SIZE=2 FACE="Courier New">&nbsp; * Consider upgrading your video card or X server if</FONT>
<BR><FONT SIZE=2 FACE="Courier New">&nbsp; * you would like better performance.</FONT>
<BR><FONT SIZE=2 FACE="Courier New">&nbsp; Changing from None to WatchingLiveTV</FONT>
<BR><FONT SIZE=2 FACE="Courier New">&nbsp; ***</FONT>
<BR><FONT SIZE=2 FACE="Courier New">&nbsp; * Your system is not capable of displaying the</FONT>
<BR><FONT SIZE=2 FACE="Courier New">&nbsp; * full framerate at 720x480 resolution.&nbsp; Frames</FONT>
<BR><FONT SIZE=2 FACE="Courier New">&nbsp; * will be skipped in order to keep the audio and</FONT>
<BR><FONT SIZE=2 FACE="Courier New">&nbsp; * video in sync.</FONT>
<BR><FONT SIZE=2 FACE="Courier New">&nbsp; Changing from WatchingLiveTV to None</FONT>
<BR><FONT SIZE=2 FACE="Courier New">&nbsp; Changing from None to None</FONT>
</P>

<P><FONT SIZE=2 FACE="Tahoma">Shouldn't the PVR 350 be shouldering the bulk of the video processing? I've heard other's say that all works great for them with respect to PVR 350 TV-Out.</FONT></P>

<P><FONT SIZE=2 FACE="Tahoma">I apologize if I am a bit long-winded, but I wanted to give you as much info as possible to work with. Once again, I am pretty much a newbee when it comes to all of this, so please keep that in mind when responding.</FONT></P>

<P><FONT SIZE=2 FACE="Tahoma">Thanks,</FONT>
<BR><B><FONT COLOR="#000080" SIZE=2 FACE="Tahoma">Jim Sager</FONT></B>
</P>

</BODY>
</HTML>