[mythtv-users] Tearing in playback

Tom Hughes tom at compton.nu
Thu Jan 6 05:56:00 EST 2005


In message <53909.167.202.196.71.1105007318.squirrel at 167.202.196.71>
        Mark Wormgoor <mark at wormgoor.com> wrote:

>> What sync method are you using? I'm on RTC because the ATrpms build
>> of 0.16 seems to have OpenGL sync turned off and when I rebuilt with
>> it on something chewed so much CPU that playback kept breaking up.
>
> I use the same rpm as you (ATRPMS FC2 0.16), so my bet is RTC.  But where
> do you configure the  type of video sync used.  Or is that a build option?
> I do not have an OpenGL enabled driver (Xorg Radeon), so I can't use that.

It tries each sync type in order until it finds one that works. OpenGL
is only included if you specify it at build time however.

If you start the frontend with "-v playback" then the log messages
should include something like this when you start watching something:

2005-01-04 18:21:25 nVidiaVideoSync: VBlank ioctl did not work, unimplemented in this driver?
2005-01-04 18:21:25 DRMVideoSync: Could not open device /dev/dri/card0, No such file or directory
2005-01-04 18:21:25 Using audio as timebase
2005-01-04 18:21:25 Video timing method: RTC
2005-01-04 18:21:25 Refresh rate: 40000, frame interval: 40000

As you can see, it tried nVidia which didn't work as my drivers are
too new for that, and DRM which didn't work as DRI seems to be busted
in the nVidia drivers I'm using. It then went to RTC instead.

If you are using RTC and you are running the frontend as a non-root
user then make sure you have dev.rtc.max-user-freq set to 1024 in
/etc/sysctl.conf to get the best results.

> But the problem is not limited to MythTV. I had the same problem playing
> DVD's in Xine.

I haven't tried anything else on mine so I don't know about that.

Tom

-- 
Tom Hughes (tom at compton.nu)
http://www.compton.nu/


More information about the mythtv-users mailing list