Page 1 of 1

PM and Duolingo.com almost totally freezes together with Linux on one specific animated site[html5 animation?]

Posted: 2019-10-10, 04:36
by name108
Hi

As in Subject name. When I go to this sub-side of duolingo https://www.duolingo.com/plus the whole browser almost freezes together with the system(the website animation drops to like 1fps and the system is much more slower also) and then I have to kill the browser by system monitor or some other way(the ctrl+w or X button doesn't work).

Does it also happens to you? Is it specific for Linux? My Linux is Linux Mint 19.2 and PM 28.7.1

Re: PM and Duolingo.com almost totally freezes together with Linux on one specific animated site[html5 animation?]

Posted: 2019-10-10, 10:22
by Moonchild
The way they animate the little elements on the background (individually animating DIVs) is very expensive and will cause high CPU load due to having to recompute and composite the page for each frame. This isn't Linux specific -- on my Windows system it will also pretty much eat up one processor core for it, and that's -with- hardware acceleration. You may want to write to duolingo and let them know their animation kills website usability.

Re: PM and Duolingo.com almost totally freezes together with Linux on one specific animated site[html5 animation?]

Posted: 2019-10-10, 14:13
by name108
Thank you for the explanation.
I will write but I guess they will say I should change the browser, where it works normal(I tried only chromium and it was ok).
The CPU was almost the same, but the CPU "IOWait" was 60% more.

Re: PM and Duolingo.com almost totally freezes together with Linux on one specific animated site[html5 animation?]

Posted: 2019-10-15, 20:42
by athenian200
What kind of graphics card do you have? That site seems to work fine on my Solaris and Windows machines (maybe I'm not triggering the right animation, but interacting with that page is surprisingly smooth). It's worth noting that both machines have nVidia hardware acceleration, and that could be making a difference. If you're using software rendering or something like that, this might be REALLY slow/broken for you. I know because I've tried to struggle along with software rendering before, it really sucks.

If you are on Linux, make sure you're using the proprietary nVidia drivers and not those awful nouveau drivers that some distributions push by default... those don't work well and don't enable all features of the card.

Re: PM and Duolingo.com almost totally freezes together with Linux on one specific animated site[html5 animation?]

Posted: 2019-10-31, 09:19
by name108
athenian200 wrote:
2019-10-15, 20:42
What kind of graphics card do you have?
It's not my machine but yes I've checked that and it doesn't look good, meaning it's some Intel :thumbdown: pentium integrated card :thumbdown: :thumbdown: and I have even problems watching any videos full screen(media player, not in the browser).
However as I mentioned earlier, other browser doesn't have problem with that animations.

And also still, putting aside my case, I was wondering that maybe it would be important to somehow prevent such situations(to much overload in low-specs PC users up to the point that even the system isn't responsive) would be beneficial in general.

Re: PM and Duolingo.com almost totally freezes together with Linux on one specific animated site[html5 animation?]

Posted: 2019-10-31, 13:19
by athenian200
Well, to be honest, there are some performance issues with the software renderer. I'm aware of at least one such issue that Gecko-based browsers have historically, it involves subpixel rendering on X11. Is it possible you're using this with a display that doesn't have normal RGB subpixel rendering? https://en.wikipedia.org/wiki/Subpixel_ ... ng#PenTile If that were the case, the software renderer might be even slower than it usually is.

Sorry I'm asking so many weird, hardware-specific questions, it's just that I suspect there must be something about your hardware that's causing the software renderer to perform exceptionally poorly, worse than in other browsers even.