[mythtv] OpenGL vsync broken on Intel i945

Daniel Kristjansson danielk at cuymedia.net
Fri Nov 23 15:29:23 UTC 2007


On Fri, 2007-11-23 at 16:26 +0100, Tino Keitel wrote:
> On Fri, Nov 23, 2007 at 08:59:42 +0100, Tino Keitel wrote:
> > On Thu, Nov 22, 2007 at 23:09:26 +0000, Riz wrote:
> > > As I understand it, the DRM method is the better method, as it access
> > > the video card directly to sync to vertical refresh. Have a look at
> > > the comments in libs/libmythtv/vsync.h
> > > 
> > > Unselecting "Enable OpenGL vertical sync for timing" in Playback
> > > options should use the DRM method, if it is available. You should have
> > 
> > When I unselect it, I have tearing video. That's why I want to select
> 
> For the records: I think the tearing video is caused by the fallback to
> USleep. DRM doesn't work because of driver restrictions, RTC doesn't
> work because of missing permissions (does the frontend has to run with
> root permissions to use RTC?). I'll try a patched intel driver that
> provides vblank even in 2D mode.

If you run this at root at startup:
   echo 1024 > /proc/sys/dev/rtc/max-user-freq
Then MythTV will be able to use RTC. It does not need root.

-- Daniel



More information about the mythtv-dev mailing list