My experience with browsers on Linux is terrible

I think another install is a good thing to try and if it were me i would stick to another desktop for the best comparison not a tiling wm but ultimately it’s your choice. I don’t believe continuing to change all kinds of settings in the browser or otherwise is going to resolve anything. But like i say it’s your choice, your system and your time.

I also see a lot of kernel parameters in your default grub.

i915 enable_fbc=0 apparmor=1 lsm=lockdown,yama,apparmor,bpf

Are these something you have added? Have you tried removing them and also not using some of the apps that are security related?

1 Like

I added the first parameter because it is suggested here as a possible solution

I added the other parameters to activate apparmor, as the Arch wiki suggests
Even if they seem to have changed, so I’ll have to change them

I will also try without apparmor, even if honestly it doesn’t excite me

I have exactly the same experience with intel 7200/620 and I have tried everything.

I tried many desktop environments, gnome (xorg and wayland), cinnamon, kde, xfce, I tried all the latest generic and low latency kernels (xanmod, liquorix and the official) and using various tweaks, I updated the GPU drivers, I tried the performance CPU governor, I tried countless flag combinations in chrome, gpu rasterizer, use-gl=desktop, Hardware accelerated video decode, ignore-gpu-blocklist just to name a few and I can confirm that acceleration works from “chrome://media-internals/” and in the media tab in dev tools and also intel gpu top shows that gpu is being used. And after all those things I only gained very little improvement and it’s still uncomparable to windows.

I tested this on ubuntu from 20.04 to 21.04 (latest version).

Did you find any solution?

I’m thinking about trying fedora again because as far as I remember the last time I tried it, I think it was version 32 or more likely 33, chrome performed noticeably better.

@petiy6194 Unfortunately, I have not found any solutions.
The problem becomes unbearable when I have a video open on the second screen, otherwise it is annoying but not unbearable

I don’t like Fedora’s release model and so I’m reluctant to try it out, but if you ever try it and notice a marked improvement it would help if you leave feedback here. I could force myself to try it

1 Like

Using Schedutil on an Intel CPU is a big no no

Intel_Pstate in passive mode + schedutil is a recipe for garbage performance. Your best options are

If keeping pstate passive use ondemand tuned for aggressive up/down scaling

or

use Pstate active and set it to performance, still a bit slower than ondemand in passive in my experience but newer intel CPUs should be fine with this.

if you use firefox what does your about:support tell you?

under compositing does it say

Compositing WebRender (Software) ?

I know some have suggested a different DE but I dont think your DE is the issue.

Now as far as hardware video acceleration in Chromium afaik using VAAPI on linux is a crap shoot at best. You can enable it but it isnt considered a supported feature and using it could lead to issues as its not supported. If youre getting videos served in VP9 or similar on services with chromium acceleration doesnt work afaik, you may need to force h264. You may be enabling acceleration and being served content that isnt supported for it and using CPU anyway.

You can replicate some of Fedoras settings on Arch

One difference besides the obvious is they enable Zram on default. You can set this up fairly easily and is something i actually use even with 32gb or ram. Zram for when i start putting a bit extra pressure on memory then finally when im SoL itll use disk swap. This can help on systems with less than 16gb of ram.

@Echoa Well, I’ve noticed that Chromium’s hardware acceleration isn’t the best.
Furthermore, the fact that flags often have to be changed from one version to another is really annoying.
I followed all the hardware acceleration methods, including disabling vp9 on Youtube. Actually Youtube is not a big problem, more sites like twitch are super heavy (on linux)

I’ve tried with zram already, installing zramd via aur

Firefox apparently looks snappier, but when put under stress it’s almost the same thing (on my pc)

Firefox doesnt enable video acceleration on default on linux either. You have to force enable it in about:config. Youre probably rendering video on CPU. I would also see how well Epiphany or one of the other Webkit browsers does when you enable hardware acceleration on Twitch. Epiphany is generally better than FF for video in my experience with butter smooth playback.

@Echoa Sorry, I didn’t specify it, of course I enabled hardware acceleration by following the guide on the Arch Wiki

If I type sudo intel_gpu_top the video part is actually active

The weird thing is that the browser also slows down when I use twitch with stramlink and MPV

Strange…seems like youve thrown the kitchen sink at the issue but its still cropping up. :thinking:

Is your system memory single or dual channel? also what speed is your storage? Maybe try moving browser caches to ram? could also try changing dom.ipc.processCount to a lower value in FF. Kinda just spit balling at this point.

If your video decoder is active then its gotta be something else obviously. possible it could be a driver issue with the intel GPU but i havent heard anything.

Sure if i ever try it again, cuz to be honest im not big fan of it either but i’ll let you know. Firstly i wanna try a few more things on Ubuntu.

@Salvaju29ro I finally tried fedora 34 gnome on xorg and I can say that is noticeably better than ubuntu but I don’t know if it performs better than endeavouros. It’s still not as smooth as windows but it’s mostly acceptable.

My settings are:

Go to chrome://flags and enable ignore-gpu-blocklist, disable-accelerated-video-decode, enable-gpu-rasterization, enable-zero-copy and disable enable-vulkan.

Then run chrome with these flags: google-chrome-stable --enable-features=VaapiVideoDecoder --disable-features=UseOzonePlatform

You may also try this flag --use-gl=desktop but in my case it made the performance worse.

Make sure from the following guide that hard acceleration works.

Here is a guide that may help you: https://www.linuxuprising.com/2021/01/how-to-enable-hardware-accelerated.html

Let me know if you ever try it.

Edit: You can also try one of these extensions to make scrolling smoother. IMHO the first one works better.