Web browsing is much slower at 4K
So I've noticed that web browsing seemed a lot slower after switching to 4K. I did some tests, and yes it is significantly slower compared to 1440p.
Here are the approximate times in seconds (measured with the stop watch on my phone) when loading https://old.reddit.com/r/archlinux/. I define it as finished when the spinner in the tab goes away.
1440p @ 60hz 100% scaling:
Firefox: 3.2 3.2 3.0
Chrome: 1.9 2.3 1.9
4K @ 60hz 100% scaling:
Firefox: 8.1 8.75 8.4
Chrome: 6.6 4.9 4.8
Both browsers were open at the same time, and I didn't clear any cache between test runs. I'm running on Xorg Gnome at 100% scaling. I'm using integrated graphics on a Skylake i7-6600U.
Any ideas how to investigate this further?
Edit:
So I figured it out. After turning off (yes on -> off) hardware acceleration in both Firefox and Chrome it greatly increased performance. Even YouTube videos play better (a 1080p60 video would stutter before, but now it's smooth). The only downside is scrolling sometimes tears, but it's an acceptable trade off for making everything faster at 4K.
Edited 13 Sep 2019. We only hold this version.
About this post
- Posted
- Archived
- Edited
- Score
- 37 · 100% up
- Kind
- Text
- ID
- d38yi3
23 comments
The biggest factor should be Reddit's lazy loading, which avoids loading content outside the viewport. Since you increased the resolution without increasing the scaling, the viewport is bigger, meaning more content is visible that has to be loaded.
This feature really pisses me off. Ctrl+F just straight up doesn't work on Reddit unless the content is very close to the visible area, which kind of defeats the purpose.
But browsing generally is slower on 4K, there's just more load being put onto the system, there's so many more pixels. I'm using GNOME Wayland with Intel UHD graphics.
I tried GNOME a couple of years ago on my then new XPS13 with a nice QHD screen. BOY was that terrible! There was at least 2GiGs of RAM taken at all times, and a constant 30% CPU load with an empty browser open.
EDIT: me no type good
Also in the old. link?
Some. I see 85 requests at 100% zoom and 97 requests at 50% zoom.
PS: It's probably the ads.
Web browsing is going to be a tough metric for this kind of thing. There’s a lot of ways the site could differ what it serves based on resolution, can be difficult to get right. Lazy loading and being able to fit more on your screen could be a factor, graphics size differences for various resolutions.
I’d bet there are some browser performance test suites that would yield more quantifiable results.
A quick google search yielded this browser benchmarking site (I’ve not used it but it may help.)
https://browserbench.org/
Good luck!
Like everyone else said I am not sure what did you expect from a gpu in a laptop.. just because it 'supports' some resolutions does not mean they should be used.. I'd say it is working as intended.
If you view a text file, pure html no graphics, you may have different analogies than when viewing an HD image, let's say 6000x4000pixels 64k colors.
A 10x10 pixel image with 32colors would be 3,200
A 40x30 56k colors = 67,200,000 2000 times more information, it is not 2-3 more as people tend to think. Where most likely the bottle neck exists is in the memory capacity of the video handling.
I was viewing this subreddit, on the old Reddit, so it's basically just text.
For Firefox you could try to run with hardware rendering and set these config values to true: (that is not hardware video decoding)
Seems like what you'd expect. Maybe more RAM so your integrated graphics can use more? Or a dedicated graphics card that can do 4K better than the integrated graphics.
This is a laptop so no I can't go dedicated. 20GB RAM should be enough for everyone no?
Yeah, more RAM probably wouldn't help much then. I didn't know how much you were running so thought if it was something like a more typical 8GB, a little more might speed things up.
I'm not sure there's much more to investigate. 4K has a lot more space to render so will put more load on the graphics processor and CPU (depending on the operations going on and the software's implementation). Things are definitely a bit more sluggish on my 4K laptop than on my 1920x1080 laptop. I think the browsers and the DE stack like the compositor just need to keep getting improvements like they have been. Browsers in particular on linux aren't going to be using much hardware acceleration, if any.
Are you actually running 4k@60? I ask because a lot of integrated graphics will drop down to 30 automatically when running 4k. Also a lot of TVs don't do 4k@60 either.
I dont think things scale well (performance wise) on the Linux desktop when the display scale change. 4k will obviously be slower but it shouldn't be noticeably slower.
The same test in Windows is probably just fine.
I definitely see the same thing - xorg here, which probably plays a role in that - but I'm talking out of my butt here.
Welcome to linux for the desktop.
People who use 4k on their laptops will now have another reason to rethink their life. There is no good reason to have 4k resolution on a laptop screen.
You think that's laughable? They put 4K on phones lol
Definitely not. I have a 15.6" 4k laptop and there's a huge improvement in line and font clarity when using 4k than when on a 1920x1080 display. It's very noticeable.
I also heard the human eye can't see more than 30fps
Human eye can't see more than 30PPI