Webrender on Linux with Nvidia proprietary causes the window manager to go laggy until Firefox is closed again
Categories
(Core :: Graphics: WebRender, defect, P5)
Tracking
()
Tracking | Status | |
---|---|---|
firefox67 | --- | disabled |
People
(Reporter: thepiguy0, Unassigned)
References
(Blocks 1 open bug)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:67.0) Gecko/20100101 Firefox/67.0
Steps to reproduce:
My system: Arch Linux with Nvidia proprietary drivers 430.26, GTX 1660ti and Firefox 67.0.4. Cinnamon DE. However, this is present in KDE Plasma on Opensuse Tumbleweed as well.
Once installed, open about:config and change gxfx.webrender.all to "true" and then reopen the browser.
Actual results:
Dragging the browser (and indeed any other windows on the desktop at the time) is slow and juddery. Once the browser is closed or webrendering is turned off, dragging becomes smooth again.
Expected results:
Having webrender on or off should not affect the dragging performance of the Window Manager.
Updated•5 years ago
|
Comment 1•5 years ago
•
|
||
KDE Plasma
Thanks for the report!
Is this just the usual Nvidia tearing problem? Would the following tutorial solve this?
https://www.gamingonlinux.com/articles/how-to-an-update-on-fixing-screen-tearing-on-linux-with-an-nvidia-gpu.8892/
Please also try out Nightly to see if things are already better.
(In reply to Jan Andre Ikenmeyer [:darkspirit] from comment #1)
KDE Plasma
Thanks for the report!
Is this just the usual Nvidia tearing problem? Would the following tutorial solve this?
https://www.gamingonlinux.com/articles/how-to-an-update-on-fixing-screen-tearing-on-linux-with-an-nvidia-gpu.8892/Please also try out Nightly to see if things are already better.
The screen tearing only occurs if webrender (or forced hardware acceleration) is disabled - with either of those enabled then it goes away.
However, when webrender is enabled then my entire DE goes laggy (dragging windows, even if unrelated to Firefox) until Firefox is closed.
I'll give the nightly build a go and see if this still occurs
(In reply to Jan Andre Ikenmeyer [:darkspirit] from comment #1)
KDE Plasma
Thanks for the report!
Is this just the usual Nvidia tearing problem? Would the following tutorial solve this?
https://www.gamingonlinux.com/articles/how-to-an-update-on-fixing-screen-tearing-on-linux-with-an-nvidia-gpu.8892/Please also try out Nightly to see if things are already better.
Having just tried the latest Linux nightly available on the website, the same issue occurs. It was worse dragging the Firefox window but other windows open on my desktop were also affected
Comment 4•5 years ago
|
||
Cinnamon
This problem has a long history: https://github.com/linuxmint/Cinnamon/issues/2465
Would this tutorial help? https://forums.linuxmint.com/viewtopic.php?t=277267 (Disable Vsync for the Clutter Compositor)
(In reply to Jan Andre Ikenmeyer [:darkspirit] from comment #4)
Cinnamon
This problem has a long history: https://github.com/linuxmint/Cinnamon/issues/2465
Would this tutorial help? https://forums.linuxmint.com/viewtopic.php?t=277267 (Disable Vsync for the Clutter Compositor)
When applying these tweaks, disabling "Sync to VBlank" actually massively improves overall input latency for my system but then I experienced screen tearing across the whole system. Enabling "Force Composition Pipeline" then removed the tearing for both software and hardware rendered Firefox.
With the above tweaks, the severity of the problem caused by webrender (Laggy DE) is significantly reduced but not completely gone. Dragging the Firefox window initially lags significantly but after about a second it smooths out. This problem does not exist with webrender disabled
Comment 6•5 years ago
|
||
(In reply to thepiguy0 from comment #5)
(In reply to Jan Andre Ikenmeyer [:darkspirit] from comment #4)
Cinnamon
This problem has a long history: https://github.com/linuxmint/Cinnamon/issues/2465
Would this tutorial help? https://forums.linuxmint.com/viewtopic.php?t=277267 (Disable Vsync for the Clutter Compositor)
When applying these tweaks, disabling "Sync to VBlank" actually massively improves overall input latency for my system but then I experienced screen tearing across the whole system. Enabling "Force Composition Pipeline" then removed the tearing for both software and hardware rendered Firefox.
With the above tweaks, the severity of the problem caused by webrender (Laggy DE) is significantly reduced but not completely gone. Dragging the Firefox window initially lags significantly but after about a second it smooths out. This problem does not exist with webrender disabled
Thanks for testing! Glad I could help! :)
Have you compared the situation with other OpenGL applications? The remaining issue sounds much like a Cinnamon/Nvidia bug, too, so we could close this Firefox bug report.
Otherwise your WebRender experience sounds as desired:
https://www.reddit.com/r/firefox/comments/c33z7b/laggy_firefox_window_dragging_with_webrender/
I was experiencing bad screen tearing on scrolling until I enabled webrender in about:config. Since then, the scrolling is massively improved
(In reply to Jan Andre Ikenmeyer [:darkspirit] from comment #6)
(In reply to thepiguy0 from comment #5)
(In reply to Jan Andre Ikenmeyer [:darkspirit] from comment #4)
Cinnamon
This problem has a long history: https://github.com/linuxmint/Cinnamon/issues/2465
Would this tutorial help? https://forums.linuxmint.com/viewtopic.php?t=277267 (Disable Vsync for the Clutter Compositor)
When applying these tweaks, disabling "Sync to VBlank" actually massively improves overall input latency for my system but then I experienced screen tearing across the whole system. Enabling "Force Composition Pipeline" then removed the tearing for both software and hardware rendered Firefox.
With the above tweaks, the severity of the problem caused by webrender (Laggy DE) is significantly reduced but not completely gone. Dragging the Firefox window initially lags significantly but after about a second it smooths out. This problem does not exist with webrender disabled
Thanks for testing! Glad I could help! :)
Have you compared the situation with other OpenGL applications? The remaining issue sounds much like a Cinnamon/Nvidia bug, too, so we could close this Firefox bug report.
Otherwise your WebRender experience sounds as desired:
https://www.reddit.com/r/firefox/comments/c33z7b/laggy_firefox_window_dragging_with_webrender/I was experiencing bad screen tearing on scrolling until I enabled webrender in about:config. Since then, the scrolling is massively improved
Sorry for the late reply. I've just tried glxgears to test another OpenGL application and you are indeed correct - something is up with my opengl acceleration for all apps as I experienced the exact same symptoms.
Sorry for the invalid bug report and thanks for helping me to find the cause of this. It's possible that an nvidia update from 430.18 to 430.26 caused this because in hindsight, I only experienced the issue on ubuntu with the 430.26 driver.
Description
•