|05-10-09, 07:33 PM||#13|
Join Date: Sep 2002
Re: Firefox + Flash terribly slow
Flash is pure software video playback. That is why it is so slowly. Do not blame Nvidia because Nvidia can not do anything with this. The hardware acceleration checkbox you see in recent flash 10 release allows only partial hardware acceleration if flash animation/video author enabled such option in flash animation script. In 99% of flash content hw acceleration is not enabled because author do not knows or did not know about it when flash content was created. The only acceleration you can have in flash is to use multicore CPU. Flash10 plugin can use max 4 cores by splitting rendering work to 4 threads. That is why owners of multicore CPUs usually better enjoy flash content on Linux.
1. Huge CPU usage in Linux flash is main topic in complains to Adobe Flash Linux.
2. Linux Flash developers refused to provide 2D acceleration saying that quality of acceleration is varying in GPUs drivers. They say also it takes more overhead to accelerate in hardware so it is better to optimize CPU code than add GPU acceleration.
I do not buy such explanation. Using XRender and/or Cairo library can improve 2D very much.
3. They say that Flash does not need Xv acceleration because the flash output is RGB already and Xv hardware conversion from YUV to RGB is not needed. I think they do not have right because compressed video is always in YUV format. I do not buy argument that software YUV to RGB conversion in flash has better performance than Xv hardware YUV to RGB converter. Now VDPAU could improve performance even more for mpeg-4 like streams.
Since 2 years on penguin.swf - the Adobe blog about Linux Flash I try to convince flash developers to use Cairo library for 2D drawing to stop hogging the CPU. firefox3 uses Cairo already so why not using this library also in Flash? (Cairo library uses XRender or OpenGL via glitz acceleration).
This is what I understood from blogs/user comments/author responses:
Here are Flash Linux plugin blogs where you can contact people responsible for Flash Linux plugin or read more:
|05-11-09, 01:54 AM||#14|
Join Date: Aug 2007
Location: Austin, TX
Re: Firefox + Flash terribly slow
Flash performance is quite demonstrably not tied to CPU performance alone. I have no doubt that it doesn't (and never did) take advantage of hardware acceleration with Compiz running but the performance of the unaccelerated rendering path it does use is tied closely to Xorg and the display driver.
My Phenom II X3 720 with 64-bit Flash 10 barely gets 10 FPS from a fullscreen low-quality Youtube video. Others have had the same problem only to magically see great performance under some conditions (notably by fiddling with vsync) only for it to revert to poor performance after a reboot.
Flash may be written badly but that alone cannot account for the highly variable performance experienced on the same and different graphics hardware by different people. I cannot attribute the problem directly to one component of the system but it is very relevant discussion to this forum, regardless.
|Thread||Thread Starter||Forum||Replies||Last Post|
|Nvidia 173.14.35: Fedora 17 x86 terribly slow||Mr Wolf||NVIDIA Linux||25||07-02-12 01:44 AM|
|May browser usage: Firefox users still avoiding updates||News||Archived News Items||0||06-04-12 07:30 PM|
|Internet Explorer 10: embedded Flash, Do Not Track, and stable standards||News||Archived News Items||0||06-02-12 03:10 AM|
|Gnome3 with composite is very slow on Geforce FX 5200 with 173.14.31 driver||Artox||NVIDIA Linux||0||05-26-12 10:33 AM|
|Very slow X startup||Jeremy||NVIDIA Linux||96||05-23-03 10:11 AM|