﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	mlocked
2649	Opengl video renderer	mark_kendall@…	danielk	"Video renderer using opengl for the mythtv-vid branch. Highlighs/lowlights include:-

* Works with XGL
 - tested with XGL 7.0.0, Beryl 0.1.1 on Ubuntu 6.0.6 (Dapper).
 - but large(ish) performance penalty under xgl.
 - some window issues

* Hardware yuv to rgb conversion
 - based on xine/glitz fragment program
 - uses rectangular textures when available
 - added colour adjustment as well (enable xv colour controls to use) - brightness, contrast, colour only (no hue).

* Vertical sync
 - takes care of itself if opengl sync to vblank is enabled (nvidia-settings) and GPU can keep up
 - 'normal' opengl vsync will fail silently
 - better sync (less tearing) at 1080i when using buggy nvidia drivers (i.e. don't need to disable sync to vblank for xv)

* PiP
 - hardware scaling of pip
 - pip sizing should be accurate for XrandR/aspect ratios etc
 - but pip is currently rendered over osd

* XRandR
 - appears to be working pretty well (but see ticket:2648)

* Performance
 - worse than xvideo but seems to be on par with mplayer/xine using opengl
 - FX5200 seems to cope with main video and pip at SD resolutions

* EPG
 - preview EPG not currently supported

* To do
 - if RGB OSD surfaces become available, hardware rendering of OSD
 - scaling of video resize for interactive tv - easy; but dependant on OSD above.
 - support for non YV12 picture formats (e.g. YUV422p, RGB24 - should be easy enough)
 - preview EPG if using opengl painter in mythui?
 - use QGLWidget for portability?
 - bobdeint - I've tried more approaches than I can remember. Doubling the refresh rate is easy enough but impacts so badly on texture sampling that you lose the fields. You end up with nothing more than a form of linear blend.

You'll need to tweak your display profiles and use --override-setting UseOpenglVideo=1 (probably a short term hack) to get it working.

Regards

Mark"	enhancement	closed	minor	unknown	mythtv	head	medium	fixed			0
