[ATrpms-devel] Re: MythTV compile options

Jarod Wilson jcw at wilsonet.com
Sun Sep 19 06:52:06 CEST 2004


On Saturday 18 September 2004 20:45, Jarod Wilson wrote:
> On Friday 17 September 2004 14:20, Axel Thimm wrote:
> > On Tue, Sep 14, 2004 at 09:50:19AM -0500, Roger Little (Contractor) wrote:
> > > I compiled Myth last night and the OpenGL sync works great on both of
> > > my NVidia cards.  I didn't have time to try the ATI card.  The first
> > > sync method to be available is what will be used:
> > >
> > > 1.  NVidia sync (4363 driver only)
> > > 2.  DRM sync (not sure what this is)
> > > 3.  OpenGL sync (but has to be enabled in settings.pro, not sure if it
> > > works on other cards, will test tonight)
> > > 4.  RTC sync
> > > 5.  Busy Wait
> > >
> > > So basically if it fails on one of the sync methods it will try the
> > > next one.  Busy Wait should work on all systems.  I will test more
> > > tonight.
> >
> > I have uploaded mythtv builds, which (for FCx) enable opengl_vsync and
> > also xrandr.
>
> Someone else already mentioned it, add a me too... This build absolutely
> slaughters my cpu on playback (Athlon XP 3200). With the prior build, I saw
> about 70-80% cpu usage on HDTV playback, with perfectly smooth video and
> audio. With this one, the cpu is pegged, and both audio and video stutter
> very badly (completely unwatchable). I'm rebuilding right now with xrandr
> still enabled, but turning off the opengl stuff to see if that's the
> cause...

Rebuilt with opengl_vsync disabled, everything is happy again. Something is 
very wrong when that's enabled...

Actually, things are even more than happy again, they are actually happier, as 
a little patch from Doug Larrick fixed my issues with my only 720p channel 
(basically, Myth was still trying to deint on a 720p channel, which was a 
very bad idea). The very small patch is below, please do apply if you do a 
new build, Axel (and kill off opengl for now!).



diff -u -r1.374 NuppelVideoPlayer.cpp
--- libs/libmythtv/NuppelVideoPlayer.cpp        13 Sep 2004 06:09:23 -0000      
1.374
+++ libs/libmythtv/NuppelVideoPlayer.cpp        18 Sep 2004 19:36:48 -0000
@@ -508,6 +508,8 @@
                                 .arg(toQString(m_scan)).arg(video_height).arg(fps));
     // Set up deinterlacing in the video output method
     m_double_framerate = false;
+    if (videoOutput)
+        videoOutput->SetupDeinterlace(false);
     if (m_scan == kScan_Interlaced &&
         gContext->GetNumSetting("Deinterlace")) {
         if (videoOutput && videoOutput->SetupDeinterlace(true)) {



-- 
Jarod C. Wilson, RHCE
jcw at wilsonet.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: signature
Url : http://lists.atrpms.net/pipermail/atrpms-devel/attachments/20040918/b4a37da9/attachment.bin


More information about the atrpms-devel mailing list