Bug 132498 - SVG is rendered improperly with Skia Vulkan
Summary: SVG is rendered improperly with Skia Vulkan
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
7.0.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:7.0.0
Keywords:
Depends on:
Blocks: Skia
  Show dependency treegraph
 
Reported: 2020-04-28 18:58 UTC by Telesto
Modified: 2020-05-11 08:17 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot (71.99 KB, image/jpeg)
2020-04-28 21:14 UTC, Telesto
Details
clip with Skia Vulkan rendering from Impress authoring (20.78 KB, image/png)
2020-04-28 21:50 UTC, V Stuart Foote
Details
clip with Skia Vulkan rendering from slide show -- both on nVidia K2000 (85.73 KB, image/png)
2020-04-28 21:51 UTC, V Stuart Foote
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-04-28 18:58:23 UTC
Description:
SVG is rendered improperly with Skia Vulkan

Steps to Reproduce:
1. Open attachment 160031 [details] look at the image
2. Press F5 -> Compare

Maybe another bug: circles are somewhat 'segmented' (look closely) in presentation mode with Skia/Vulkan Skia/Raster while being smooth in OpenGL/GDI

Actual Results:
Fat outer lines are missing

Expected Results:
Should be shown (compare presentation mode)


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.0.0.0.alpha0+ (x64)
Build ID: f924658e45f256544e43c3fdb2af9b585d0f0933
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Vulkan; VCL: win; 
Locale: nl-NL (nl_NL); UI-Language: en-US
Calc: CL
Comment 1 V Stuart Foote 2020-04-28 21:04:17 UTC
@Telesto, sorry going to need some screen clips.  

I do see a little difference (voids) in the color gradients, and I do see a segmented effect for the circle outlines--but nothing excessive. Nothing missing or misdrawn.

I'm on Windows 10 Ent 64-bit 1909 with nVidia K2000 with 2020-04-23 build of TB77.
Comment 2 Telesto 2020-04-28 21:14:36 UTC
Created attachment 160045 [details]
Screenshot
Comment 3 V Stuart Foote 2020-04-28 21:50:22 UTC
Created attachment 160046 [details]
clip with Skia Vulkan rendering from Impress authoring
Comment 4 V Stuart Foote 2020-04-28 21:51:30 UTC
Created attachment 160047 [details]
clip with Skia Vulkan rendering from slide show -- both on nVidia K2000

RenderMethod: vulkan
Vendor: 0x10de
Device: 0xffe
API: 1.1.119
Driver: 442.296.0
DeviceType: discrete
DeviceName: Quadro K2000
Blacklisted: no
Comment 5 V Stuart Foote 2020-04-28 21:54:32 UTC
the attachment 160031 [details] was from see also bug 132492
Comment 6 Telesto 2020-04-28 21:59:39 UTC
(In reply to V Stuart Foote from comment #4)
> Created attachment 160047 [details]
> clip with Skia Vulkan rendering from slide show -- both on nVidia K2000

I'm noticing the 'same' issue in authoring mode as your shows. Line thickness is off... 2 fat lines; 3 thin. Fine in presentation mode
Comment 7 QA Administrators 2020-04-29 03:42:15 UTC Comment hidden (obsolete)
Comment 8 Commit Notification 2020-05-05 18:37:23 UTC
Luboš Luňák committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/37f472c8d0e8a195c887e34cda796cdeae550ed6

fix line width in DrawPolyLine() with matrix (tdf#132498)

It will be available in 7.0.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 9 BogdanB 2020-05-11 08:17:28 UTC
Everything is ok now.

Verified on
Version: 7.0.0.0.alpha1
Build ID: 6a03b2a54143a9bc0c6d4c7f1...
CPU threads: 4; OS: Linux 5.4; UI render: Skia/Raster; VCL: x11; 
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded