[mythtv] OpenGL vsync broken on Intel i945

Tino Keitel tino.keitel at gmx.de
Fri Nov 23 15:49:30 UTC 2007


On Fri, Nov 23, 2007 at 10:29:23 -0500, Daniel Kristjansson wrote:
> 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

This doesn't work with the new RTC driver (rtc_cmos, or
CONFIG_RTC_DRV_CMOS).

Regards,
Tino


More information about the mythtv-dev mailing list