[mythtv-users] Status of OpenGL ES2.0 support?

Mark Kendall mark.kendall at gmail.com
Wed Feb 5 09:34:13 UTC 2014


On 5 February 2014 05:40, Jean-Yves Avenard <jyavenard at gmail.com> wrote:

> On 5 February 2014 15:58, Michael T. Dean <mtdean at thirdcontact.com> wrote:
> > That said, OpenGL (of any form) as a video renderer will require
> > software/CPU decode--something that's extremely unlikely to be possible
> with
> > your CPU.
> >
> > MythTV has no support for OpenMAX, which is what you probably want/need.
>
> Qt OpenGL ES implementation outside X only supports a single surface,
> and everything must be drawn into it.
> Unfortunately, that's not *at all* how mythtv handles its drawing.
>

Simply not true. That's exactly how mythtv handles its OpenGL drawing, with
the exception of the settings screens which are still handled by Qt
internals (and the code to get rid of that has been sitting in trac for 2
years - and as an aside, getting rid of the Qt painting would fix a number
of other issues with blank screens with some linux video drivers and OS X).


> So it's next to impossible to have a mythtv running on a low-end
> platform like an Apple TV or a raspberry pi (which has no opengl
> drivers available in X)
>

I had a frontend running on a beagleboard 4 years ago and on an ipad 2 1/2
years ago - both using OpenGL ES 2.0. Unless something has been broken,
there is no reason it shouldn't work now. Of course, all of the other
issues like OpenMax support and frontend memory consumption still need
addressing.

I don't know what the state of Qt5 support is with mythtv, but there is a
Qt5 package available for raspbian that has the correct OpenGL ES 2.0
configuration and uses the raspberry pi makespecs so the drivers are all
initialised correctly (http://twolife.be/raspbian/). That should require
minimal code to get a frontend working on the pi. It's doable with Qt4 but
more work and the Qt code is far less efficient.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20140205/69ef3583/attachment.html>


More information about the mythtv-users mailing list