[mythtv] XvMc-OpenGL and OpenGL-OSD

Daniel and Mary-Beth Sherwood jackanddougal at yahoo.co.uk
Tue Apr 29 18:44:07 UTC 2008


Hi

Having spend a lot of time getting the 'XvMC-Blit' video render working well (see Ticket #5265) with the greyscale 'IA44?' OSD, I thought I'd give the 'XvMc-OpenGL' video renderer and OpenGL-OSD a go to get colour OSD back on my Nvidia 6200.

Using the 'standard' ATRPMS package, it appears that the 'XvMC-OpenGL' renderer is not available with messages similar to the following appearing in the log.

    008-03-09 12:52:07.117 VideoOutputXv: Desired video renderer 'xvmc-opengl' not available.
                            codec 'MPEG2 IDCT' makes 'xvmc-blit,' available, using 'xvmc-blit' instead.

So I rebuilt MythTV (based on ATRPMS of Fedora-8) with '--disable-xvmc-pro --disable-xvmc-vld --disable-xvmcw --enable-xvmc-opengl' and 'mythfrontend --version' now reports the following which I think means it is now supported.

Please include all output in bug reports.
MythTV Version   : exported
MythTV Branch    : branches/release-0-21-fixes
Library API      : 0.21.20080304-1
Network Protocol : 40
Options compiled in:
linux release using_oss using_alsa using_arts using_jack using_backend using_dbox2 using_dvb using_firewire using_frontend using_hdhomerun using_iptv using_ivtv using_joystick_menu using_libfftw3 using_lirc using_opengl_vsync using_opengl_video using_v4l using_x11 using_xrandr using_xv using_xvmc ***using_xvmc_opengl*** using_glx_proc_addr_arb using_bindings_perl using_bindings_python using_opengl using_ffmpeg_threads using_libavc_5_3 using_live using_xvmc_pbuffer

And the playback log contains lines like...

2008-04-29 07:57:08.550 VDP: SetVideoRenderer(xvmc-opengl)
2008-04-29 07:57:08.551 VDP: SetVideoRender(xvmc-opengl) == GetVideoRenderer()
2008-04-29 07:57:08.551 XvMCTex: Init
2008-04-29 07:57:08.640 XvMCTex: InitXvMCGL: video_size: 720x576  vis_size: 720x576
2008-04-29 07:57:08.640 XvMCTex:
glx_fbconfig: 0x89
gl_window:    16777232
glx_window:   16777233
gl_vid_tex:   1
gl_osd_tex:   2

2008-04-29 07:57:08.641 VideoOutputXv: XvMCTex: Init succeeded

***Q1*** Please can someone confirm that XvMCW doesn't support XvMC-OpenGL and therefore a single MythTV binary cannot support both modes of operation.

If I now select 'XvMc-OpenGL' renderer and 'IA44?' OSD, everything is pretty much the same as with the 'XvMC-Blit' renderer.

However if I then go on to select 'OpenGL' OSD, the video has major problems.  Basically, 1) it appears to be magnified horizontally by around 1.5 times 2) it is in greyscale 3) it has white vertical bars around 2-3 pixels wide every 4-6 pixels (which probably accounts for the width problem) and 4) playback stutters like mad with loads of prebuffer pauses and the like.

On a positive note, the OSD is perfect:)

***Q2*** What is the current state of this configuration?  Is it stable and working? or is this behaviour expected?

***Q3*** Any suggestions on what I should to to diagnose/fix this.  I am happy to dig around in the code and thry to work out what is wrong but I could do with a few pointers on where to look.

For the record, here are some other bits of configuration info:

CPU:     PIII 866MHz
Memory:  512M
Display: SDTV(720x576 at 50i) analog TV connected via VGA->RGB-SCART connector.

Cheers

Daniel


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


More information about the mythtv-dev mailing list