dadler / thumbnail-zoom

Thumbnail Zoom Plus is a Firefox plug-in which shows a full-size image pop-up when you hover over a thumbnail or image link. When you hover your mouse over a thumbnail or an image or video link, the add-on displays the full-size image or video still-frame in a floating window. Supported sites include Amazon, Bing, Facebook, Flickr, Google, IMDb, LinkedIn, Netflix, Pinterest, Reddit, Tumblr, Twitter, Yandex.ru, YouTube, Wikipedia, WordPress, Yahoo Images, and many more.
30 stars 7 forks source link

High CPU/GPU usage & fan running when using TZP in Firefox 33.0+ on Windows #178

Closed dadler closed 9 years ago

dadler commented 10 years ago

Several users have reported high CPU or GPU usage when TZP shows a pop-up on certain images. Some users report this as TZP causing the fan to run fast or GPU "coil whine".

It seems to be related to Firefox's recent feature OMTC "off main thread compositing", which was enabled in 33 (at least on Windows).

The workaround is to OMTC off by setting this to false in the about:config firefox page:

I've filed a bug report with Mozilla but they say they haven't had a chance to investigate yet: Bug 1089297 - High CPU or GPU usage with Thumbnail Zoom Plus & OMTC (offmainthreadcomposition) on Windows

One user also reported:

[Turning off layers.offmainthreadcomposition.enabled] did something, still going into 3D mode on certain reddit pictures, not sure which ones seems random. I think gifs don’t trigger the problem at all (with OMTC on). With OMTC off it doesn’t sound like its rendering at 1000+ fps either. I have a AMD 7850 btw.

Related support emails:

dadler commented 10 years ago

I've filed a bug against Firefox: Bug 1089297 - High CPU or GPU usage with Thumbnail Zoom Plus & OMTC (offmainthreadcomposition) on Windows

dadler commented 10 years ago

For repro steps see my entry in comment 11 of the Bugzilla bug report. Thanks to user pls... for emailing me the clue which unlocked the achievement!

The problem appears to happen only when the pop-up is overlapped by the Windows task bar in always-on-top mode (at least in my testing). Positioning the Firefox window differently so they don't overlap may work around the problem.

Seagulls commented 9 years ago

Just to comment on this, setting layers.offmainthreadcomposition.enabled to false has stopped the coil whine - using ff 33 windows 7 x64