[mythtv-users] xv-blit used instead of opengl

Joey Morris rjmorris at nc.rr.com
Sat Jul 30 16:58:27 UTC 2011


I'm running mythfrontend 0.24-fixes on an Intel i3-540 with no video
card. I'm experimenting to see whether the playback performance is
acceptable or if I want to add an nvidia card. I've selected the
opengl renderer, but mythfrontend doesn't seem to want to use it,
falling back to xv-blit instead. Here are a few relevant lines from
the output of mythfrontend -v playback when playing a 1080i mpeg2
recording:

2011-07-30 11:35:03.677 Using the OpenGL painter
2011-07-30 11:35:03.704 OpenGL: OpenGL vendor  : Tungsten Graphics, Inc
2011-07-30 11:35:03.704 OpenGL: OpenGL renderer: Mesa DRI Intel(R) Ironlake Desk
top GEM 20100330 DEVELOPMENT x86/MMX/SSE2
2011-07-30 11:35:03.704 OpenGL: OpenGL version : 2.1 Mesa 7.10.2
2011-07-30 11:35:03.704 OpenGL: Max texture size: 4096 x 4096
2011-07-30 11:35:03.704 OpenGL: Max texture units: 8
2011-07-30 11:35:03.704 OpenGL: Direct rendering: Yes
2011-07-30 11:35:03.704 OpenGL: Initialised MythRenderOpenGL
...
2011-07-30 11:35:18.505 VDP: Accepting: cmp(> 0 0,< 0 0) dec(ffmpeg) cpus(2) ski
ploop(enabled) rend(opengl) osd(opengl2) osdfade(enabled) deint(opengldoublerate
yadif,none) filt()
...
2011-07-30 11:35:19.027 VideoOutput: Allowed renderers (filt: ffmpeg): xlib,xshm
,xv-blit,opengl,vdpau
...
2011-07-30 11:35:19.125 VideoOutput: Trying video renderer: 'vdpau'
...
2011-07-30 11:35:19.491 VDP: Accepting: cmp(> 0 0,< 0 0) dec(ffmpeg) cpus(2) ski
ploop(enabled) rend(opengl) osd(opengl2) osdfade(enabled) deint(opengldoublerate
yadif,none) filt()
...
2011-07-30 11:35:19.492 Clearing OpenGL painter cache.
...
2011-07-30 11:35:19.495 VDP: SetVideoRenderer(vdpau)
2011-07-30 11:35:19.495 VDP: Old preferences: rend() osd() deint(,) filt()
2011-07-30 11:35:19.495 VDP: New preferences: rend(vdpau) osd(vdpau) deint(none,
none) filt()
...
2011-07-30 11:35:19.497 VDPAU Error: Failed to create VDPAU device.
2011-07-30 11:35:19.497 VDPAU Error: No VDPAU device
2011-07-30 11:35:19.497 Failed to create VDPAU render device.
...
2011-07-30 11:35:19.497 VideoOutput: Trying video renderer: 'xv-blit'
...
2011-07-30 11:35:19.517 VDP: Accepting: cmp(> 0 0,< 0 0) dec(ffmpeg) cpus(2) ski
ploop(enabled) rend(opengl) osd(opengl2) osdfade(enabled) deint(opengldoublerate
yadif,none) filt()
...
2011-07-30 11:35:19.517 VideoOutputXv: ctor
2011-07-30 11:35:19.517 VideoOutWindow::SetPIPState. pip_state: 0]
2011-07-30 11:35:19.517 VDP: LoadBestPreferences(2048x2048, 29.97)
2011-07-30 11:35:19.517 VideoOutputXv: Creating gc
2011-07-30 11:35:19.517 VideoOutputXv: XJ_screen_num: '0'
...
2011-07-30 11:35:19.519 VideoOutputXv: InitSetupBuffers() render: , allowed: xv-
blit,xshm,xlib
2011-07-30 11:35:19.519 VideoOutputXv: Desired video renderer '' not available.
codec 'MPEG2' makes 'xv-blit,xshm,xlib,' available, usin
g 'xv-blit' instead.
2011-07-30 11:35:19.519 VDP: SetVideoRenderer(xv-blit)
2011-07-30 11:35:19.519 VDP: Old preferences: rend() osd() deint(,) filt()
2011-07-30 11:35:19.519 VDP: New preferences: rend(xv-blit) osd(softblend) deint
(onefield,onefield) filt()
...
(From here it goes on to successfully use xv and play the video.)

In case it matters, this was using the Yadif 2X (HW) deinterlacer. I
also tried Yadif and Linear Blend but got the same results.

Any thoughts on why opengl isn't being used? Please let me know if I
should post additional details from the logs or about my system.
Thanks for you help.

I'm using mythfrontend from the Mythbuntu repos. Below is the output
of mythfrontend --version:

MythTV Version   : v0.24-249-g4fe108c
MythTV Branch    : fixes/0.24
Network Protocol : 63
Library API      : 0.24.20101129-1
QT Version       : 4.7.0
Options compiled in:
 linux debug using_alsa using_oss using_pulse using_pulseoutput
 using_backend using_bindings_perl using_bindings_python using_dvb
 using_firewire using_frontend using_hdhomerun using_hdpvr using_iptv
 using_ivtv using_joystick_menu using_lirc using_mheg using_opengl_video
 using_opengl_vsync using_qtdbus using_qtwebkit using_v4l using_v4l2
 using_x11 using_xrandr using_xv using_bindings_perl using_bindings_python
 using_mythtranscode using_opengl using_vdpau using_ffmpeg_threads
 using_live using_mheg
 


More information about the mythtv-users mailing list