[mythtv-users] Re: OpenGLVideoSync: Bad Context for Vsync

Joe Votour joevph at yahoo.com
Sat Jun 4 23:36:05 UTC 2005


Axel,

When I originally started working on the patch, I at
first did it against the 0.18.1 release at the time. 
Then, when I decided to submit it, I re-worked it
against CVS HEAD (what will become 0.19 eventually),
and submitted it.  Jarod then backported it to 0.18.1.
 I was running CVS HEAD located in /usr/local/bin, but
my modified 0.18.1 code was sitting in /usr/bin.  I
just switched between the two by modifying
/etc/ld.so.conf, and the PATH variable.  (Well, and
swapping databases.)

I can tell this because there's a check for an
environment variable that I put in CVS HEAD that made
it's way to the 0.18.1 branch - the code that I was
running doesn't have that (because it was using
patches that I made against 0.18.1).  I noticed that
CVS HEAD was allowing for environment variables to
turn off features, as well as the GUI.

The RPMs that I fetched were from "stable", so they
must be the 0.18.1 new release (right?).  The actual
OpenGL VSync patch is not in the "mythtv-0.18.tar.bz2
" tarball, but in a patch file
"mythtv-0.18.1-cvsfixes.patch".

Anyway, I should have some time this afternoon, and
I'm not watching or recording anything for a few
hours, so I'll try to figure out what's going on.

-- Joe

--- Axel Thimm <Axel.Thimm at ATrpms.net> wrote:

> On Sat, Jun 04, 2005 at 12:33:04PM -0700, Joe Votour
> wrote:
> > Well, it looks like OpenGL support is broken in
> the RPMS.  I removed
> > all of my MythTV RPMs and fetched the new ones via
> apt-get.
> > 
> > I see the checkbox in mythfrontend, and I have
> verified that it
> > toggles the checkbox (and updates the DB
> appropriately), but OpenGL
> > will never start, it always dumps me back to RTC
> timing.
> > 
> > I'll look into it when I get a chance.  I haven't
> tried CVS yet, I
> > don't have the time right now.
> 
> OK, thanks for testing and verifying the bug. Just
> to clarify one
> thing: The CVS bits used in the rpms are from
> release-0-18-fixes, not
> HEAD. Perhaps you were (successfully) running HEAD,
> instead?
> 
> > > On Fri, Jun 03, 2005 at 08:55:58PM -0700, Joe
> Votour
> > > wrote:
> > > > I'm not running the new 0.18.1 RPMs, but I'm
> > > running my hacked up
> > > > MythTV 0.18.1, which contains the additions to
> > > allow OpenGL VSync to
> > > > work as a run-time option (I haven't tested
> the
> > > RPMs).
> > > > 
> > > > I can indeed verify that the idea is sound and
> > > does work.  (Really,
> > > > all I did was add in a checkbox to
> mythfrontend to
> > > act as a flag for
> > > > whether or not to add OpenGL to the list of
> timing
> > > methods checked
> > > > for.  Previously, it was just based on an
> #ifdef.)
> > > 
> > > Could you test the mainstream rpms, too? Thanks!
> > > 
> > > > I just looked at the MythTV source code that
> is
> > > bundled in with the
> > > > RPM, and it is possible that the VERBOSE macro
> is
> > > being called,
> > > > which would show some extra logging
> information.
> > > 
> > > The sources for the rpms are what has been
> committed
> > > into CVS.
> > > 
> > > > I'm attaching my .nvidia-settings-rc file,
> which I
> > > use with the
> > > > OpenGL VSync (I'm running the 7174 driver).  I
> > > hope that this helps,
> > > > but if not, I'm afraid that I can't really
> offer
> > > any more
> > > > suggestions, since the functionality was
> already
> > > in MythTV, nothing
> > > > was really added.
> > > 
> > > A quick rpm test would be very appreciated! :)
> :) :)
> > > 
> > > Thanks!
> -- 
> Axel.Thimm at ATrpms.net
> > _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
>
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> 



		
__________________________________ 
Discover Yahoo! 
Use Yahoo! to plan a weekend, have fun online and more. Check it out! 
http://discover.yahoo.com/


More information about the mythtv-users mailing list