Bug 141680 - SEVERE graphical tearing occurs when scrolling down Draw after introduction of new SKIA component, just Vulkan rendering
Summary: SEVERE graphical tearing occurs when scrolling down Draw after introduction o...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
7.2.0.0.alpha0+
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:7.2.0
Keywords: bibisectRequest, regression
: 141277 (view as bug list)
Depends on:
Blocks: Skia
  Show dependency treegraph
 
Reported: 2021-04-13 17:03 UTC by xordevoreaux
Modified: 2021-04-14 16:56 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments
Tearing in Draw (37.03 KB, image/png)
2021-04-13 17:04 UTC, xordevoreaux
Details
Skia Vulkan rendering glitch when moving slider up pushing canvas view down (76.74 KB, image/png)
2021-04-13 22:51 UTC, V Stuart Foote
Details

Note You need to log in before you can comment on or make changes to this bug.
Description xordevoreaux 2021-04-13 17:03:58 UTC
Description:
Graphical tearing when scrolling in LO Draw in Windows. I was using the mousewheel, thumb in the scrollbar, doesn't matter how you scroll.

Steps to Reproduce:
1. Launch LO Windows
2. Go to Draw
3. Draw anything at all, even just a basic shape
4. Scroll the page

Actual Results:
Severe tearing / disintegration of the image

Expected Results:
No such graphical anomaly.


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 88ca6d7834a9d710dc124ee845fd3c270e33b59a
CPU threads: 8; OS: Windows 10.0 Build 19042; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL
Comment 1 xordevoreaux 2021-04-13 17:04:49 UTC
Created attachment 171165 [details]
Tearing in Draw
Comment 2 V Stuart Foote 2021-04-13 22:22:27 UTC
@mwt, you are on Windows but what is the display resolution, and what is the os/DE scale factor?
Comment 3 V Stuart Foote 2021-04-13 22:37:27 UTC
Confirmed

Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 88ca6d7834a9d710dc124ee845fd3c270e33b59a
CPU threads: 8; OS: Windows 10.0 Build 18363; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL

RenderMethod: vulkan
Vendor: 0x10de
Device: 0xffe
API: 1.2.155
Driver: 461.368.0
DeviceType: discrete
DeviceName: Quadro K2000
Denylisted: no

On a 1920x1200 px screen with os/DE at 100% scale factor.
Comment 4 V Stuart Foote 2021-04-13 22:41:53 UTC
No issue with default GDI rendering. And no issue with Skia "raster" rendering.  Issue only with Skia Vulkan rendering this os & GPU.
Comment 5 V Stuart Foote 2021-04-13 22:51:09 UTC
Created attachment 171173 [details]
Skia Vulkan rendering glitch when moving slider up pushing canvas view down
Comment 6 xordevoreaux 2021-04-13 23:56:42 UTC
(In reply to V Stuart Foote from comment #2)
> @mwt, you are on Windows but what is the display resolution, and what is the
> os/DE scale factor?

Not sure this answers your question, but I'm using two 1920x1080 standard resolution (non hi-DPI) monitors on Windows 10, and they're independent, not set up as a single 3840x1080 group.
Comment 7 xordevoreaux 2021-04-14 00:17:16 UTC
Side note, I must use Vulkan rendering because going with just hardware rendering 

Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 88ca6d7834a9d710dc124ee845fd3c270e33b59a
CPU threads: 8; OS: Windows 10.0 Build 19042; UI render: default; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL


still produces bug 117160 which leaves a 1-pixel-wide line top and left on a page when a Draw page has no margins (and I almost never have margins). If it wasn't for that bug I'd go with hardware rendering and be done with it.
Comment 8 Xisco Faulí 2021-04-14 07:44:25 UTC
I can't reproduce it in

Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: da6c70efbc991f1fc61aace267dd4f972dedce6c
CPU threads: 16; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: en-GB (en_GB); UI: en-US
Calc: threaded
Comment 9 Telesto 2021-04-14 08:40:24 UTC
(In reply to Xisco Faulí from comment #8)
> I can't reproduce it in
> 
> Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
> Build ID: da6c70efbc991f1fc61aace267dd4f972dedce6c
> CPU threads: 16; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
> Locale: en-GB (en_GB); UI: en-US
> Calc: threaded

It's Vulkan only, and likely - speculative! - related to the recent Skia m91 bump
https://gerrit.libreoffice.org/c/core/+/113978
Comment 10 Commit Notification 2021-04-14 16:55:05 UTC
Luboš Luňák committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/302fb4c1ec4a24112f9a2028be4d424891f10b4c

Revert "update Skia to chrome/m91" (tdf#141680)

It will be available in 7.2.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 11 Luboš Luňák 2021-04-14 16:56:22 UTC
*** Bug 141277 has been marked as a duplicate of this bug. ***