News for hackers. Stuff that matters.
Re:Firefox 84.0 by jansan on Tuesday December 15, 2020 @11:19AM (#25431669)
GPU acceleration is not a magic bullet it seems. In our case drawing large SVGs suddenly becomes really slow when GPU rasterization is enabled. Chrome has the same problem. I really hope we will see more polishing in this area and maybe a cooperation between Chrome and Firefox developers?
Re:Firefox 84.0 by ducktective on Tuesday December 15, 2020 @11:23AM (#25431711)
Thing is, when I play the same video with VLC which uses HW decoding, it doesn't even break a sweat. So I think there might be something wrong on the browser part...
Re:Firefox 84.0 by jansan on Tuesday December 15, 2020 @11:26AM (#25431745)
You can issue a bug report on https://bugzilla.mozilla.org/home Sometimes bugs are fixed really fast, sometimes never. Just give it a try.
Re:Firefox 84.0 by danielEM on Tuesday December 15, 2020 @12:40PM (#25432634)
There could be something related to FAN thresholds that resides in BIOS directly thus starting using GPU just slightly over some minimal limit might raise FAN speeds significantly and not be related to temperature raise as there is some inertia between temperature readings and real temperature inside GPU core.

I'm also experiencing FAN noise raise on my Ryzen APU based laptop.

Re:Firefox 84.0 by samoa42 on Wednesday December 16, 2020 @07:20AM (#25441702)
i mostly stopped bothering with in-browser video when mpv wiht youtube-dl integration came around. either drag the url to the player window or use an open-with addon.

hardware decoding, no ads, buffering as i please

Re:Firefox 84.0 by muizelaar on Tuesday December 15, 2020 @12:16PM (#25432345)
Do you have an example url for this?
Re:Firefox 84.0 by jansan on Tuesday December 15, 2020 @02:23PM (#25433940)
Here is a bug report that shows the issue on Chrome. It is roughly 7 times slower with hardware rasterization enabled:

https://bugs.chromium.org/p/chromium/issues/detail?id=114367...

This particular example is only slow on Chrome. Even if you move the edge of the shape into the viewport Firefox is much faster than Chrome. But I know from real life examples that Firefox becomes slow if handling large SVGs. I will have to investigate this and file a bug report.

Re:Firefox 84.0 by jansan on Tuesday December 15, 2020 @03:29PM (#25434820)
I checked again with our app on Firefox and performance is not that bad. Rendering gets a slower with large SVGs, but it is still good and there is not much difference between hardware rendering enabled and disabled. So I was either wrong about slow performance on Firefox or things have improved recently.