[mythtv] XvMc-OpenGL and OpenGL-OSD

Daniel and Mary-Beth Sherwood jackanddougal at yahoo.co.uk
Tue May 6 07:15:42 UTC 2008


Mark

Cheers for the reply.  I am aware that my patch (also in Ticket #5279) doesn't fix all the issues with the XvMC-OpenGL renderer, it simply fixed the first show-stopper in my attempt to get it working.

The other issues I am investigating are:

1) tearing near the top of the screen.  I believe this is due to doing so much in the Show() method after waiting for VSYNC.  I have resolved thos by moving everything except the glXSwapBuffers() function to the PrepareFrame() method and this seems to work (although I'm not sure it is what you would want:)).

2) video isn't always displayed.  Haven't looked into this yet, but I expect to find an issue in the teardown code.

Other than that, it looks good to me.

I am happy to keep running with my modified build for the time being, but would be interested to know your plan (timescales) for merging with the normal OpenGL renderer.  When you get around to it I will be happy to help but if you won't be doing it for a while, I would appreciate it if #5279 & #5265 could be submitted so I can maintain my SVN copy with less local patches.

Do you want me to submit patches for the other issues if I resolve them?

Cheers

Daniel



--- On Tue, 6/5/08, Mark Kendall <mark.kendall at gmail.com> wrote:

> From: Mark Kendall <mark.kendall at gmail.com>
> Subject: Re: [mythtv] XvMc-OpenGL and OpenGL-OSD
> To: "Development of mythtv" <mythtv-dev at mythtv.org>
> Date: Tuesday, 6 May, 2008, 6:21 AM
> 2008/5/1 Daniel and Mary-Beth Sherwood
> <jackanddougal at yahoo.co.uk>:
> >  If you get something displayed but it appears to be
> corrupt (I have seen various comments describing vertical
> bars, horizontal bars or just a subsection of the image
> being displayed) then apply the attached patch to
> libs/libmythtv/util-opengl.cpp and try again.
> 
> Apologies for the late response to this  - just catching up
> :)
> 
> There is a further problem with the xvmc-opengl renderer
> that your
> patch does not address. The xvmc-opengl osd is passed the
> wrong window
> size on creation (the error is in
> VideoOutputXv::GetTotalOSDBounds).
> You may not be seeing it if your display resolution is the
> same as
> your video source resolution.
> 
> The fix is simple enough but currently  I'm more
> interested in
> 'merging' the xvmc-opengl code into the openglvideo
> code.
> 
> Regards
> 
> Mark
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


      __________________________________________________________
Sent from Yahoo! Mail.
A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html


More information about the mythtv-dev mailing list