Ubuntu – Are embedded flash videos (like youtube) so heavy on the GPU

flashgputemperaturevideo

I have noticed (in psensor, and listening to the fan) that my GPU is terribly hot when playing youtube videos.

What happens at that point? Is this related to Flash in Ubuntu?

Youtube in Firefox and Chrome seems to take much more GPU resources than playing the same video or one with a higher resolution from the hard disk, or than playing it from youtube through smplayer (or VLC).

Related question here.

enter image description here
enter image description here

Best Answer

This is probably related to the implementation of Adobe Flash (in Ubuntu, or even in general); while the video codecs used by youtube are standardized, how they are implemented is up to Adobe and it may well be a poor implementation and/or one that uses the GPU excessively.

Compared to that, most Linux/Ubuntu video apps use the FFmpeg/libavcodec open-source codecs to decode video, and they generally do a pretty good job -- in your case, apparently better than the proprietary Flash!


Alternately, you can always give Flash a chance by disabling hardware acceleration (the graphs in the question show that SMPlayer is using software decoding). Full-screen the flash video (it's a bug), right-click, go to Settings and disable:

enter image description here

Related Question