VDPAU + Radeon r600 driver, v. slow windowed vs fast fullscreen video playback
Well recently I installed ubuntu 13.10, which by the way is really so great, and works better and better on my foxconn brazos nettop (nt-3700 to be exact).
I also setup VDPAU with radeon open source driver (r600), and in general at youtube I get accelerated video rendering & accelerated video decoding, and 1080p works smoothly with ~20% CPU usage each core.
But there are some videos that does not work with acceleration, like: http://www.youtube.com/watch?v=T6ixMKU1YT8
When I click statistics for nerds I get black stats (not small transparent window, without accel/soft information), what is the problem? Since terminal doesn't split anything and both cores are used nearly 100% playing 360p video file with multiple frame drops. Where can I seek help? Where do I have to check...
And I also noticed that other websites (think triple x category ;) ), where we have embeeded video, when I start playback everything chokes as hell (so you can figure out that IS an inconvenience :P ) , and when I switch playback to fullscreen, playback is smooth and beautiful.
This situation is in both firefox and chromium-browser.
Thanks in advance.
Well I did some additional research :)
And there seems to be a problem with adobe-flash plugin and vdpau.
After disabling adblock plus I've noticed that some flash banners and some elements of pages are unreadable and whole made of graphical artifacts so I've installed google chrome to check the behavior of their libpepflash plugin.
So fast configuration:
Override software rendering list = ON
Graphics Feature Status
- Canvas: Hardware accelerated
- Compositing: Hardware accelerated on all pages
- 3D CSS: Hardware accelerated
- CSS Animation: Accelerated
- WebGL: Hardware accelerated
- WebGL multisampling: Hardware accelerated
- Flash 3D: Hardware accelerated
- Flash Stage3D: Hardware accelerated
- Flash Stage3D Baseline profile: Hardware accelerated
- Texture Sharing: Hardware accelerated
- Video Decode: Hardware accelerated
- Video: Hardware accelerated
Test: libflashplayer.so (Version:11.2 r202):
Everything seems to be in order
Youtube: accelerated video rendering & accelerated video decoding, full speed gpu decoding ;)
video which I posed earlier was in html5 so no acceleration at all.
Rubbing site ;) : I've noticed that player has another layer to serve ads, so libflashplayer is not handling it too good with vdpau (when you resize the video, aspect of the video changes, and the layer also changes, but the video isn't fulling the layer, so there are those artifacts...), very slow in window player, after choosing fullscreen, v. fast, coz there is no additional layer in fullscreen mode!
Test2: libpepflashplayer.so (Version:11.9.900.117)
Youtube: accelerated video rendering & software video decoding, ehhh, no luck. Slow.
Same rubbing site, same video ;): EUREKA! I hit play, and no visible artifacts! Change of aspect, and resize of video ALSO! Everything works good (as for software decoding ofcoz), but 80%-90% of CPU is used. Switching to fullscreen is not a good option since no acceleration is made, but it works with a few frame drops.
As for now you can just switch between libflash and libpep manually, but I'm wondering if libpep can be made to use gpu?
Well I've tested libflash against software decoding and it works well with windowed videos. So the reason of this behavior (broken flash banners) is that flash just bites with hardware acceleration, no easy solution...