linux-surface icon indicating copy to clipboard operation
linux-surface copied to clipboard

Screen tearing when in portrait mode SP6

Open chronoloper opened this issue 6 years ago • 2 comments

Hey Jakeday,

I found an issue with excessive screen tearing when scrolling in portrait mode. Tried multiple apps (PDF viewer, browsers, text heavy, image heavy) and the issue persists. Entire columns of pixels become desynced from the rest of the page and will lag behind any scrolling. Rotation also takes quite long (~3s) to switch. Pull the latest commit, ran setup.sh, and rebooted just before posting.

Thanks for all the hard work!

chronoloper avatar Feb 20 '19 02:02 chronoloper

I seem to have managed to fix this by enabling Intel GPU's built-in anti-tearing mode by creating a .conf file under /usr/share/X11/xorg.conf.d with following content:

Section "Device"
  Identifier  "Intel Graphics"
  Driver      "intel"
  Option "AccelMethod" "sna"
  Option      "TearFree" "true"
  Option "DRI" "3"
EndSection

It's probably still not absolutely prefect but at the tearing in portrait mode is significantly reduced. I have not observed any performance decrease or increased battery consumption with acceleration mode set as SNA.

ZZZXXX0110 avatar Feb 22 '19 21:02 ZZZXXX0110

Had the same issue on the surface book 2 that fixed it. Thanks!

I seem to have managed to fix this by enabling Intel GPU's built-in anti-tearing mode by creating a .conf file under /usr/share/X11/xorg.conf.d with following content:

Section "Device"
  Identifier  "Intel Graphics"
  Driver      "intel"
  Option "AccelMethod" "sna"
  Option      "TearFree" "true"
  Option "DRI" "3"
EndSection

It's probably still not absolutely prefect but at the tearing in portrait mode is significantly reduced. I have not observed any performance decrease or increased battery consumption with acceleration mode set as SNA.

avanisubbiah avatar Mar 19 '20 18:03 avanisubbiah