[mythtv] [PATCH] Enable/Disable OpenGL VSync via mythfrontend or environment variable

Joe Votour joevph at yahoo.com
Fri May 27 22:02:57 UTC 2005


It was working fine for me, I'm pretty sure that I
attached the correct set of patches.  (Definitely, the
"connect" was not supposed to be there - having it
there gave me the greyed out option).

Maybe it worked for me because I had the database
entry present already, since I originally started
mucking about with it in 0.18.1.  I didn't do a
database reset, rather I just made a backup of my
database before migrating to CVS.  Since I have the
CVS and the 0.18.1 binaries on the machine, and switch
between them by changing /etc/ld.so.conf, I suppose I
could just delete the database and repopulate it from
scratch, and restore the backup when I want to go to
0.18.1.

I was definitely seeing the check mark retain it's
value though, because when I switched to LiveTV, I'd
get either SGI OpenGL, or RTC, depending on the value
of the checkbox.  I toggled it about five times just
to make sure that I wasn't missing something.

I'll redo the diffs and see what's going on...

-- Joe

--- Jarod Wilson <jarod at wilsonet.com> wrote:

> On Friday 27 May 2005 14:03, Jarod Wilson wrote:
> > On Wednesday 25 May 2005 22:23, Joe Votour wrote:
> > > I found the problems.  Two of them actually:
> > > 1. I mimicked the XvMC behavior too well - I put
> in
> > > the connect(...) slot and that led to the option
> being
> > > greyed out.
> > > 2. The mythfrontend program was never being
> compiled
> > > with OpenGL vsync support (which is why you
> didn't see
> > > the option).
> > >
> > > I have attached new patches that I made against
> CVS
> > > HEAD from about one hour ago.
> >
> > Hrm, still not completely working for me...
> >
> > > I'm still not 100% sure about the database
> retention -
> > > it's staying put for me, but I'd appreciate some
> extra
> > > feedback.
> >
> > This time around, the db setting was created and
> its staying there, but it
> > defaulted to on (1), but I'm still missing a
> settings checkbox and that
> > setting value seems to be getting ignored, because
> even when I set it to 0
> > manually in the db, opengl vsync is being used.
> >
> > I'm poking around and trying some things to see if
> I can figure out what's
> > up...
> 
> Okay, I just got it working. The connect(...) part
> wasn't actually a problem, 
> so far as I can tell, since the build I just did
> does include that part. I 
> believe the problem is with the DEFINES part in the
> mythfrontend.pro file, 
> because what I ended up doing was commenting out the
> #ifdef's for 
> USING_OPENGL_VSYNC to force that option on.
> 
> I'll keep beating on it, might have something that
> completely works ever so 
> shortly...
> 
> -- 
> Jarod Wilson
> jarod at wilsonet.com
> > _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
>
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
> 



		
__________________________________ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new Resources site
http://smallbusiness.yahoo.com/resources/


More information about the mythtv-dev mailing list