Bug 138219 - Libreoffice 7.0.x => Skia Vulkan - Intel HD Graphics 520 problems ( windows 7 SP1 )
Summary: Libreoffice 7.0.x => Skia Vulkan - Intel HD Graphics 520 problems ( windows 7...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: graphics stack (show other bugs)
Version:
(earliest affected)
7.0.1.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:7.1.0 target:7.0.4
Keywords:
Depends on:
Blocks: Skia
  Show dependency treegraph
 
Reported: 2020-11-14 20:25 UTC by Pierre
Modified: 2020-11-17 10:38 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pierre 2020-11-14 20:25:29 UTC
Description:
For Libreoffice 7.0.1, 7.0.2, 7.0.3

Intel HD Graphics 520 is not compatible with Skia under Windows 7.
At the first Writer start: Dialog box frozen, checkbox unusable. 
At the second Libreoffice start Libreoffice windows is blank ( after profile created ).

If Skia is disabled in safe mode first, everything is working fine in normal mode after Libreoffice is restarted.

At the first start after standard installation:
ProductName=LibreOffice
Version=7.0.3.1
BuildID=d7547858d014d4cf69878db179d326fc3483e082
URL=https://crashreport.libreoffice.org/submit/
VulkanVendor=0x8086
VulkanDevice=0x1916
VulkanAPI=1.0.31
VulkanDriver=0.16.3
VulkanDeviceType=integrated
VulkanDeviceName=Intel(R) HD Graphics 520
UseSkia=true
Language=fr-FR
ShutDown=true

Skia should be disable for this device.

Steps to Reproduce:
1.Install Libreoffice
2.Launch Writer
3.Clic on the checkbox in the popup (frozen).

Actual Results:
Many graphics problems ( checkbox, trees, blank windows, ... )

Expected Results:
If Skia is disabled, everything seem working fine


Reproducible: Always


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:
ProductName=LibreOffice
Version=7.0.3.1
BuildID=d7547858d014d4cf69878db179d326fc3483e082
URL=https://crashreport.libreoffice.org/submit/
VulkanVendor=0x8086
VulkanDevice=0x1916
VulkanAPI=1.0.31
VulkanDriver=0.16.3
VulkanDeviceType=integrated
VulkanDeviceName=Intel(R) HD Graphics 520
UseSkia=true
Language=fr-FR
ShutDown=true
Comment 1 V Stuart Foote 2020-11-14 21:13:51 UTC
The Skia denylist [1]currently blocks Skia Vulkan vector rendering on all Intel GPUs with driver builds <=0.16.2 

Guess the Intel stanza needs to include the 0.16.3 driver build of this report

For OP you might update to latest Intel drivers for the Intel HD Garphics 520 GPU [2] and see if it improves the Skia Vulkan Driver and API level for your GPU.

=-ref-=
[1] https://opengrok.libreoffice.org/xref/core/vcl/skia/skia_denylist_vulkan.xml?r=f8d6eb6f

[2] https://downloadcenter.intel.com/download/29972/Intel-Graphics-Driver-for-Windows-15-45-?product=88355
Comment 2 Pierre 2020-11-15 11:45:03 UTC
Intel HD Graphics 520 drivers version used: 21.20.16.5127 ( Lastest from Lenovo site for this Notebook ( L470 i5-6300U ))

I tried with the lastest Intel ( 21.20.16.5164 ) ( your link ) but same problems.

Skia must be disable, so that everything works.
Comment 3 V Stuart Foote 2020-11-15 14:19:40 UTC
(In reply to Pierre from comment #2)
> Intel HD Graphics 520 drivers version used: 21.20.16.5127 ( Lastest from
> Lenovo site for this Notebook ( L470 i5-6300U ))
> 
> I tried with the lastest Intel ( 21.20.16.5164 ) ( your link ) but same
> problems.
> 

Thanks for testing with updated Win7sp1 suported drivers. 

The Intel HD Graphics 520 GPU *is* capable of Skia Vulkan 1.2 API support, think we only need 1.1 for full function on LibreOFfice. 

Apparently not with older driver base line still supporting Windows 7sp1--your hardware would probably support Vulkan rendering with a Windows 10 reload. But we know that would be painful choice.

> Skia must be disable, so that everything works.

Fortunately Skia is supported fine with that driver, what is not supported is only the Vulkan rendering engine (as replacement for OpenGL accelerated rendering).  The denylist process simply disables the Vulkan accelerated vector rendering. The rendering remains Skia but is done fully with raster. Alternative rendering (fully disabling Skia lib based rendering) and using GDI calls remains possible, as does reactivating OpenGL vector rendering.

Anyhow, the action for you and others would be the denylist entry change, blocking Vulkan use for Intel drivers "less_equal" "0.16.3"
Comment 4 V Stuart Foote 2020-11-15 14:29:33 UTC
For OP so we have a record, would you post the content of the Skia log after the driver updates. Does Vulkan API or Driver change with the latest driver build?
Comment 5 Pierre 2020-11-16 01:01:29 UTC
(In reply to V Stuart Foote from comment #4)
> For OP so we have a record, would you post the content of the Skia log after
> the driver updates. Does Vulkan API or Driver change with the latest driver
> build?

Skia.log after driver update:

RenderMethod: vulkan

Vendor: 0x8086

Device: 0x1916

API: 1.0.31

Driver: 0.16.3

DeviceType: integrated

DeviceName: Intel(R) HD Graphics 520

Blacklisted: no
Comment 6 Commit Notification 2020-11-16 11:42:19 UTC
Luboš Luňák committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/a72b0ae16684feb438558686253d9b4701313017

disable Vulkan for Windows 7 (tdf#138219)

It will be available in 7.1.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 7 Commit Notification 2020-11-17 10:38:35 UTC
Luboš Luňák committed a patch related to this issue.
It has been pushed to "libreoffice-7-0":

https://git.libreoffice.org/core/commit/a3fbd4903c50496774405bcfa16246ceaa2e1f50

disable Vulkan for Windows 7 (tdf#138219)

It will be available in 7.0.4.

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.