How do I fix Chromium-based browser lags

Good that you solved that display manager issue. If I was in your place I really would take a shot with the profile sync daemon unless you want to change the browser or you decide you can live with the situation.

I did not try it yet but I’m considering to test it because they promise great speed gain. Just for fun and new experiences. :wink:
And by they way it does not only support Chrome/Chromium.

# List browsers separated by spaces to include in the sync. Useful if you do not
# wish to have all possible browser profiles sync'ed which is the default if
# this variable is left commented.
#
# Possible values:
#  chromium
#  chromium-dev
#  conkeror.mozdev.org
#  epiphany
#  firefox
#  firefox-trunk
#  google-chrome
#  google-chrome-beta
#  google-chrome-unstable
#  heftig-aurora
#  icecat
#  inox
#  luakit
#  midori
#  opera
#  opera-beta
#  opera-developer
#  opera-legacy
#  otter-browser
#  qupzilla
#  qutebrowser
#  palemoon
#  rekonq
#  seamonkey
#  surf
#  vivaldi
#  vivaldi-snapshot
#
BROWSERS="chromium opera"
2 Likes

@unix_lover
Glad to see you finally have the modesetting and display manager properly configured thanks to @Trekkie00 @anotherusername and @Tasia91

3 Likes

Thanks for the link I will take a look at it.

Yes, if anything Linux works better on my laptop than on Windows, when playing animations through Blender, I get more fps on Linux than on Windows, I did some GPU benchmark tests, and it seems like Linux does tend to do better than on Windows on the exact same hardware/computer.

I read what it does and it is to do with how it reads and writes to disk, am I correct? I don;t think it is a read/write issue but I can still try it and see how it goes.

I hope it works for you.

Oh nice that is good.

While it is good that it is configured properly, it is still laggy on chromium browsers not much of a difference but yeah thank you all for the help and support.

Well what i was trying to get at and i don’t know maybe you already have gone through all of this was Force GPU Acceleration because by default Chromium on Linux doesn’t use any GPU acceleration. How do I fix Chromium-based browser lags

I wasn’t entirely sure that you had modesetting in order but it was the .conf file for xorg. I am not an expert here and i learn too. The Arch wikki is not easy as far as I’m concerned because it doesn’t exactly tell you how to do things step by step for a particular issue. There is a lot of technical jargon and a lot of reading between the lines if you can understand it. It is not as straight forward as some may have you believe. They may understand it … others don’t or may not. But even so…when someone gives an idea and maybe it’s not right or doesn’t work. It gets others thinking and you also thinking and even others who do know or possibly know or have experienced the same issue speak up and help out. This is the beauty of the EndeavourOS community. Hopefully you have also learned from this and even though you cannot achieve exactly what you wish you could it helps knowing that what you have at least is set up correctly and works the best it can with the hardware you have.

2 Likes

When you say GPU acceleration, do you mean this setting?

image

Yes that is true, that is also why I can’t quite figure out the issue and prevents anyone from learning how Linux works unless you already have some understanding. And yes on the Arch Wiki there were some other people who claimed they had similar issues that I had and when I tried their solutions nothing really happened.

Yes that is true.

I find that you guys are pretty nice as well, there are some communities where mods or standard users can be quite rude just for asking help so I don’t even bother using their distros nor do I want to even touch their communities but you guys are quite nice and helpful and therefore I like being in this community.

I have learned something and just the way how linux works even more.

Thank you for your help, if it weren’t for you guys my browsing performance would have been way worse. Because you guys have suggested to use those flags for the browser, it is better and more usable.

Sorry i messed up the link i posted. What i meant was the page that explains about Chromium. Not sure whether you read it over and tried those things in all of your posts.

https://www.google.com/search?client=firefox-b-d&q=arch+force+gpu+on+chromium

Anyway i leave you with this and i think you can call it a day on this one. :grinning:

1 Like

I actually tried it but it was laggier than using the other flags what you guys have suggested.

1 Like

Just to make one point a little clearer.

@ricklinux wrote

I wasn’t entirely sure that you had modesetting in order but it was the .conf file for xorg

xorg.conf nowadays ist obsolete. In earlier days it was standard in /etc/ or /etc/X11/. It is still possible to create one but one should know the risk that it can cause more trouble than it’s suited to solving problems. One should really know what to do. On modern distros the settings are autodetected by the X server.
If one wants to change some settings/parameters whatsoever just do a research which is the appropriate file to edit (mainly in /etc/conf.d/ or in one of the subfolders in /etc/X11/)`

Maybe I’m repeating what has been already suggested but, if you type chrome://flags/ into the address bar you can see all the supported experimental flags. Have you tried to enable GPU rasterization, Override software rendering list, Smooth Scrolling, Out of process rasterization, Zero-copy rasterizer ?
Maybe also : Latest stable JavaScript features, Heavy Ad Intervention and something else that I’m not considering that could potentially alleviate the issue?
It’s not really a fix, but maybe it can help a little bit to improve the browsing experience.

Yes I have through terminal though and it does improve a lot, however the CPU use is still the same and therefore this still causes lag.

tried it does not make a difference.

Already enabled.

Those I could try.

Thanks mate I will give those a go.

1 Like

Also, try to disable all the extensions while testing.

1 Like

The other options don’t seem to make a difference. Thanks anyways for your help :slight_smile:

1 Like

I was speaking to what @anotherusername had written. Maybe i referred to it incorrectly?

@unix_lover Here’s another flag you can try …

–disable-gpu-vsync=gpu

Put this in…

~/.config/chromium-flags.conf

1 Like

(I am sorry I have no idea how I sometimes miss your posts?)

Ok so I tried that it doesn’t seem to make a difference all though I tried this for brave (I believe I would be modifying this file ~/.config/brave-flags.conf?).

Yes

2 Likes

Thanks anyways

New version of Chromium just landed. Version 80.0.3987.132

2 Likes