Bug 167473 - With version 26.2.0, the screen does not update correctly with Skia Vulkan.
Summary: With version 26.2.0, the screen does not update correctly with Skia Vulkan.
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
26.2.0.0 alpha0+ master
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Skia
  Show dependency treegraph
 
Reported: 2025-07-11 23:05 UTC by m_a_riosv
Modified: 2025-07-13 08:35 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot showing the issue. (159.44 KB, image/png)
2025-07-11 23:06 UTC, m_a_riosv
Details
Screenshot Windows registry (53.56 KB, image/png)
2025-07-12 21:07 UTC, m_a_riosv
Details

Note You need to log in before you can comment on or make changes to this bug.
Description m_a_riosv 2025-07-11 23:05:22 UTC
Description:
With version 26.2.0, the screen does not update correctly with Skia Vulkan.


Steps to Reproduce:
1. Open with a clean profile
2. Verify that 'Force Skia software rendering' is disabled.
3. From the start screen open e.g. Calc

Actual Results:
It is very visible that the row numbers are superposed over the start screen.
Attached screen.

Expected Results:
An updated screen.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
With 'Force Skia software rendering' not looks like.
But I think there is the issue, but very difficult to see it.
I have seen it moving the sheet with long formulas using the horizontal scroll bar, but only once, and not able to repeat it.

Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: e9632c5d3ab90a75d3615147e6ecec682f7bc15c
CPU threads: 16; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Vulkan; VCL: win
Locale: es-ES (es_ES); UI: es-ES
Calc: CL threaded

With Win in Dark mode.
Comment 1 m_a_riosv 2025-07-11 23:06:02 UTC
Created attachment 201762 [details]
Screenshot showing the issue.
Comment 2 m_a_riosv 2025-07-11 23:07:05 UTC
It doesn't happen with:

Version: 25.8.0.1.0+ (X86_64) / LibreOffice Community
Build ID: fc3baba5ee80226c0f11232dbf07ce507d4f63d1
CPU threads: 16; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Vulkan; VCL: win
Locale: es-ES (es_ES); UI: es-ES
Calc: CL threaded
Comment 3 V Stuart Foote 2025-07-12 00:09:18 UTC
IIANM skia libs through 25.8 are build m130, while for 26.2 it has been updated: to skia m136 -> m137 -> m138 -> and to latest m139 on 4 July.

Very likely the issue is with hw/driver support for your Win11 build. New features in skia/Vulkan end up non-supported on hw/driver under Win11 WDDM 3.1 or WDDM 3.2

If skia software rendering is working, great! Use it.

skia/Vulkan should probably not be active by default, but having it by default does expose weakness in os and hw/driver support of Vulkan. So some diagnostic value there.

Exactly the same as with OpenGL hw/driver as it evolved.
Comment 4 m_a_riosv 2025-07-12 02:39:52 UTC
Based on the date I am seeing the issue, I am not sure if it corresponds to Skia m139 on 4 July.

Last working for me:
Win-x86_64@tb77-TDF/2025-07-09_03.32.29
Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 12efeaf7b623e865e048fb4a8512a5f08f182760
CPU threads: 16; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Vulkan; VCL: win
Locale: es-ES (es_ES); UI: es-ES Calc: CL threaded

First failing:
Win-x86_64@tb77-TDF/2025-07-10_03.33.34
Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 7ef1c437f30b0869a5b9fa33809bac2c6665ace3
CPU threads: 16; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Vulkan; VCL: win
Locale: es-ES (es_ES); UI: es-ES Calc: CL threaded


I couldn't find a release date for a new version of WDDM on Win, but it looks like it will be 25H2 at the earliest, although it seems to be every two years >2026. And if it's not with 25H2, we'll be in a situation where we can't use Skia/Vulkan with Win 11.
At least until a Skia/Vulkan-compatible version of WDDM is available on Windows, I think “Force Skia software rendering” should be enabled by default.

With clean install (with no profile)
'Force Skia software rendering' is disabled

Skia log:
RenderMethod: vulkan
Vendor: 0x1002
Device: 0x1681
API: 1.4.308
Driver: 2.0.342
DeviceType: integrated
DeviceName: AMD Radeon(TM) Graphics
Denylisted: no

This is part of the information generated with dxdiag:
Driver Model: WDDM 3.2
Comment 5 V Stuart Foote 2025-07-12 11:13:31 UTC
(In reply to m_a_riosv from comment #4)
OK,  checked with a nightly past the 9 July build. Not affecting Vulkan rendering with a recent nVidia GPU and drivers. So not a general issue.

RenderMethod: vulkan
Vendor: 0x10de
Device: 0x2803
API: 1.4.303
Driver: 576.160.0  //LO generates it wrong, should be 576.40.0.0 (bug 160783)
DeviceType: discrete
DeviceName: NVIDIA GeForce RTX 4060 Ti
Denylisted: no

You could try to disable the "Hardware Accelerated GPU Scheduling" (HAGS) that WDDM 3.2 enables by default. Widows registry:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers
DWORD (32 bit): 'HwSchMode'  [hex 1 off, hex 2 on]

But don't forget to *turn it back on* if it has no effect. ;-)

=-testing-=
TB78 WIX based nightly 2025-07-12
Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: e38d4e8cf2b1a1b5c146acbe325d31f84da676b0
CPU threads: 28; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

Win11
WinVer: Verson 24H2 (OS Build 26100.4652) 
Display: Driver Version	32.0.15.7640
Comment 6 m_a_riosv 2025-07-12 21:07:25 UTC
Created attachment 201775 [details]
Screenshot Windows registry

Thanks for the effort.

But that Windows registry is not on my pc, I created it, but none of the values solves the issue.

I'll search a bit more about the issue.
Comment 7 m_a_riosv 2025-07-12 22:28:24 UTC
When asking Gemini AI about possible issues between WDDM and Skia/Vulkan, it looks that the matter is quite complex.

It even seems that Google is considering a new Skia Graphite rendering architecture.

In any case, I think the important thing is to anticipate how to act/avoid a widespread problem, with the negative impact on users' perception of LO.
Comment 8 m_a_riosv 2025-07-12 22:31:16 UTC
Someone having issues with this, Please paste here the information on Menu/Help/About LibreOffice (There is an icon to copy). And the Skia log, Menu>Tools>Options>LibreOffice>View - Copy skia.log.