This is only happening on chrome after I resume from sleep and start scrolling. It started from version 82 I think, I report only now because I thought that it will get fixed . I googled and tried several solutions with no avail this and this and similar stuff.
So it only happens after resuming, right? In fact gpu acceleration is still buggy on linux and i have also the same issue. I just restart the chrome browser and it is fixed. Could be more a chrome issue than a linux one, idk.
There’s no point enabling flags in Chrome, hardware acceleration won’t work as it’s not supported on Linux. However, Chromium is compiled with VA-API support. See: Chromium - ArchWiki
I tried brave-browser which is chromium based, I think it uses the same engine, so its same over there.
I use nvidia gpu, I did a tutorial from the old forum that sets nvidia as only gpu, like from day 1 when I switched to linux ( almost two years now )
I have created and tired file 20-nvidia.conf, which doesn’t do anything for this problem, because this is only chrome and chrome based browsers problem I think. In Firefox I don’t have any problems its buttery smooth , with hardware acceleration on.
Btw I deleted the 20-nvidia.conf 'cause I dont’t see any difference in regards to my overall system.
yes , temporary solution is either restart browser on resume or turnoff hardware acceleration in settings/advanced/system in chrome.
For me personally the first is annoying, and the second is making my cpu go haywire if I have more than 2 tabs opened which is no good.
@Yochanan
Well it use to work prior to 82 version I think. I mean since I installed chrome on my machine it worked with hardware acceleration enabled.Its like I said almost two years with manjaro, prior was windows 7.
I will look into the link you posted and see what comes up
Thanks@Yochanan’s link I found a solution, by reading whole thing and other stuff
So it turns out that I was missing VDPAU driver with VAAPI backend so I installed libvdpau-va-gl package. Its available in the manjaro official repositories as well.
So now I have
libvdpau - Nvidia VDPAU library
libvdpau-va-gl - VDPAU driver with OpenGL/VAAPI backend
chrome-flags.conf - in ~/.config/ with one simple flag inside --use-gl=desktop
If you don’t have chrome-flags.conf file create it touch ~/.config/chrome-flags.conf
For chromium browser the file would be chromium-flags.conf.
All other flags are just like in the picture above.
That’s it enjoy
@megavolt just to mention you in case you don’t see this. Try this if you haven’t
Which wasn’t the case before. And on 10 opened tabs 6 youtube videos and 4 other ones the cpu is stable around 15-20% and temperature is 45-47 celsius, so its good enough for me.