You are not logged in.

#1 2020-04-07 16:34:57

imi
Member
Registered: 2017-05-13
Posts: 6

Screen tearing with nvidia + google chrome

Hello!

I have a problem on my laptop (Asus Zenbook with Geforce 940M).
I use KDE with bumblebee for discrete gpu switching. But google chrome with optirun, but the screen tearing is annoying and makes it totally unusable sad

The environment:

  • Arch Linux

  • KDE

  • Nvidia / bumblebee (optirun)

  • Google chrome started with optirun

  • Chrome flags:
    --ignore-gpu-blacklist
    --disable-gpu-driver-bug-workarounds
    --enable-gpu-rasterization
    --enable-native-gpu-memory-buffers
    --enable-zero-copy
    --use-gl=egl
    without flags the same happens

  • KDE Compositor: OpenGL3.1 / Full screen repaints

  • Only with Google Chrome, Firefox (with optirun) works well, also optirun glxgears

Do you have any idea what should I do, what can I try to solve this problem?
I've already set

KWIN_TRIPLE_BUFFER=1

but noting changed.

Screencast: https://www.youtube.com/watch?v=pnj8SsU2IWY

Thanks for your help and tips in advance!

Offline

#2 2020-04-09 15:02:33

bapperson
Member
Registered: 2020-04-01
Posts: 13

Re: Screen tearing with nvidia + google chrome

https://bbs.archlinux.org/viewtopic.php?id=254341

You may have to ditch bumblebee and generate the xorg configs yourself. I know the one that optimus-manager was generating was incorrect and was breaking prime synchronization.

Offline

#3 2020-04-09 18:28:12

bapperson
Member
Registered: 2020-04-01
Posts: 13

Re: Screen tearing with nvidia + google chrome

Oh, you might also try enforcing a full composition pipeline in nvidia-settings and see if that helps.

Offline

#4 2020-04-15 19:03:05

imi
Member
Registered: 2017-05-13
Posts: 6

Re: Screen tearing with nvidia + google chrome

Hello bapperson!

I have the same options with the Basic and Advanced setup in nvidia-settings
https://imgur.com/a/z8SB2EE

https://i.imgur.com/zCHywix.png

https://i.imgur.com/VKde6or.png
The full composition pipeline should be in advanced settings, but nothing appears there...

Mod note: Removed oversized images -- V1del

Last edited by V1del (2020-09-25 11:20:26)

Offline

#5 2020-09-25 09:48:52

imi
Member
Registered: 2017-05-13
Posts: 6

Re: Screen tearing with nvidia + google chrome

Anyone has idea? smile

Offline

#6 2020-09-25 11:19:21

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,422

Re: Screen tearing with nvidia + google chrome

Your nvidia GPU is not connected to your display and any xorg configuration you do that would influence that (like the full composition pipeline) is irrelevant.

The intel GPU needs to do the synchronisation. If you've changed that now to use the method mentioned here: https://wiki.archlinux.org/index.php/NV … phics_only you'll need to enable early KMS for the synchronisation to happen properly: https://wiki.archlinux.org/index.php/NV … de_setting

If you still use dynamic switching via optirun/bumblebee I see very little reason to even run Chrome on the dGPU unless you heavily play WebGL games or so (... and it's unlikely you will be able to do much about this, FWIW what happens if you drop all these flags?).

Last edited by V1del (2020-09-25 11:21:30)

Online

#7 2020-09-25 12:50:55

Anarconda
Member
Registered: 2002-12-23
Posts: 89

Re: Screen tearing with nvidia + google chrome

Check "Use hardware acceleration when available" option in Settings/Advanced/System it worked for me.


Scientia et sapientia patrimonium humanitatis sunt.

Offline

Board footer

Powered by FluxBB