Yeah, I've been preaching this for YEARS, but most people apparently still like to believe in fairies.Shader-based video decoding is simply useless for the vast majority of configurations. You can't offload some of the most demanding parts of the pipeline, it's WAY more power-guzzling than CPU decoding, and you need a somewhat beefy GPU to start with.
But it's still good to have VDPAU, as it provides a very capable presentation layer, much better than the old Xvideo.
Well, here's a quick list. Xv doesn't provide
- frame queueing and accurate display timing. This is especially problematic if video FPS are higher or equal to the display refresh rate
- any notable control over colorspace conversion and only limited control over image color settings
- any notable control over scaling quality
- subpicture composition for OSD/subtitles
- deinterlacing
- RGB formats (only few implementations of Xv can do that)
- 10bpp formats
- interoperability with OpenGL
and these are, IMHO, very important features. Xvideo is still common because it is usually the least common denominator, but this is really holding Linux back with respect to video output quality and capability, compared to OS X or Windows.
Thanks.
Doesn't seem I'm missing much then, not being that big a movie-phile. My XV output does vsync, offers either bilinear or bicubic scaling, and mplayer seems to manage to show subtitles![]()
I know one can use fglrx but ufortunetly it is not without issues either which quick search shows. Therefore I much rather follow development of the open source driver version - r600 in my case.
Well for me regular John Doe shaders or not I would love to see improvements in video decoding department for AMD chips so I would not have think twice before purchasing their hardware in the future, but I do admit it went long way already for both fglrx and r600 with the resources comitted to the development
EDIT: More bugs out of fglrx here, but seems there is progres on that part which I was not aware of. Anyone can confirm this trick works which I found on the very end of this thread?
amdconfig --set-pcs-u32=MCIL,HWUVD_H264Level51Support,1
EDIT2: I hope I did not piss anyone off as this happened right after my post
http://cgit.freedesktop.org/mesa/mes...61cf0955c33072
Last edited by ryszardzonk; 10-09-2012 at 04:22 PM.
Maybe as 3rd party library? But not in mainland mesa.
![]()
Yes, with Xvideo subtitles and OSD have to be rendered into the video, with all associated problems. I.e. blurry text with low-res video, video aspect ratio affects subtitle/OSD rendering, and subtitle/OSD rendering is restricted to the same colorspace and video mixer settings as the video.
If you have a capable driver, MPlayer's OpenGL output is similarly efficient as Xv or VDPAU. That is, the overhead is negligible.
Last edited by brent; 10-10-2012 at 04:50 AM.
It works with XBMC-XvBA and patched xvba-va-driver.