Bug 131696 - Skia: Crash clicking 'Force skia software rendering' with AMD Radeon (OpenGL disabled)
Summary: Skia: Crash clicking 'Force skia software rendering' with AMD Radeon (OpenGL ...
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
Hardware: All All
: medium normal
Assignee: Not Assigned
: 131705 (view as bug list)
Depends on:
Blocks: Skia
  Show dependency treegraph
Reported: 2020-03-30 09:44 UTC by Telesto
Modified: 2020-05-13 21:03 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:

Backtrace (13.85 KB, text/plain)
2020-03-30 18:01 UTC, Telesto
Screenshot Info tool (83.85 KB, image/jpeg)
2020-04-10 21:41 UTC, Telesto
Screenshot (171.67 KB, image/jpeg)
2020-04-17 12:59 UTC, Telesto

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-03-30 09:44:03 UTC
Crash clicking Force skia software rendering with Use skia for all rendering enabled (OpenGL disabled)

Steps to Reproduce:
1. Open LibreOffice
2. Tools Options -> LibreOffice Dev -> View -> 
Use skia for all rendering enabled & disabled Force skia software rendering & Press Apply and restart
3. Tools Options -> LibreOffice Dev -> View & enable Force skia software rendering -> Crash

Actual Results:

Expected Results:
No crash

Reproducible: Always

User Profile Reset: No

Additional Info:
Version: (x64)
Build ID: 7ae9c9572ccac55c0926b8a9779bb63c4236291c
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win; 
Locale: nl-NL (nl_NL); UI-Language: en-US
Calc: CL
Comment 1 Julien Nabet 2020-03-30 11:40:00 UTC
I put it as a blocker for tdf#129062 but in the same time, perhaps we may expect a crash if we force Skia use.
Comment 2 Roman Kuznetsov 2020-03-30 12:21:52 UTC
no crash in

Версия: (x64)
ID сборки: 4501a0ba623ad61c5a4e0b807da2e96f0e4ce82c
Потоков ЦП: 4; ОС: Windows 10.0 Build 18362; Отрисовка ИП: Skia/растр; VCL: win; 
Локаль: ru-RU (ru_RU); Язык интерфейса: ru-RU
Calc: threaded
Comment 3 Luboš Luňák 2020-03-30 17:26:22 UTC
I cannot reproduce either. Please provide more information, such as a backtrace of the crash (see e.g. https://wiki.documentfoundation.org/How_to_get_a_backtrace_with_WinDbg).
Comment 4 Telesto 2020-03-30 18:01:56 UTC
Created attachment 159164 [details]

It's driver related
Comment 5 Luboš Luňák 2020-03-31 09:14:57 UTC
I suggest you first verify your drivers. The 'ICD' part in the backtrace suggests the possibility that your driver installation may be corrupted. And I use the latest AMD drivers and they seem to work fine.
If that doesn't help, then we'll need to blacklist the drivers, for which the version will be needed (the Vulkan version, which is printed by LO debug builds if you use "SAL_LOG=+INFO.vcl.skia soffice", or which can be seen in the AMD Radeon Software system information). The PCI device ID could be useful as well, if it's maybe specific to your gfx card type.
Comment 6 Telesto 2020-03-31 19:55:50 UTC
*** Bug 131705 has been marked as a duplicate of this bug. ***
Comment 7 Telesto 2020-03-31 19:56:49 UTC
Naam	AMD Radeon HD 7700 Series
PNP-apparaat-id	PCI\VEN_1002&DEV_683D&SUBSYS_25561458&REV_00\4&12B449C0&0&0009
Adaptertype	AMD Radeon Graphics Processor (0x683D), compatibel met Advanced Micro Devices, Inc.
Beschrijving	AMD Radeon HD 7700 Series
RAM-geheugen	1,00 GB (1.073.741.824 bytes)
Geïnstalleerde stuurprogramma's	aticfx64.dll,aticfx64.dll,aticfx64.dll,aticfx32,aticfx32,aticfx32,atiumd64.dll,atidxx64.dll,atidxx64.dll,atiumdag,atidxx32,atidxx32,atiumdva,atiumd6a.cap,atitmm64.dll
Versie van stuurprogramma	21.19.407.0
INF-bestand	oem26.inf (WB64A_ati2mtag_R575A-gedeelte)
Comment 8 QA Administrators 2020-04-01 03:36:16 UTC Comment hidden (obsolete)
Comment 9 Luboš Luňák 2020-04-10 19:35:29 UTC
Vulkan version numbers have only 3 fields, so that info doesn't include it. Current master builds dump information to [home]/AppData\Roaming\LibreOffice\4\cache\skia.log , so you can paste that here, or alternatively you can use https://wiki.documentfoundation.org/OpenGL#Windows , the current version of that tool reportedly provides also Vulkan information.

But before blacklisting anything, there are 2 things:
- I said that the crash reports look a lot like this is just your local setup broken. Have you checked that?
- The version you provided looks old. I'm not entirely sure what version number that is, but it looks most likely to be the OpenGL driver version, and current AMD drivers have that at 26.20.x.x . Does updating your drivers help (done after getting the Vulkan version of the current ones, so that we can blacklist the old ones if necessary)?
Comment 10 Telesto 2020-04-10 21:41:58 UTC
Created attachment 159482 [details]
Screenshot Info tool

Driver installation is fine as far I know. 
Vulkan 1.0.30

I will report back after updating the drivers to a newer generation..
Comment 11 QA Administrators 2020-04-11 03:29:58 UTC Comment hidden (obsolete)
Comment 12 Dieter 2020-04-14 07:53:55 UTC Comment hidden (obsolete)
Comment 13 Telesto 2020-04-17 12:59:50 UTC
Created attachment 159657 [details]

What a messed up driver can look like [for QA]. One or 2 crashes and it jumps to Raster
Comment 14 QA Administrators 2020-04-18 03:35:50 UTC Comment hidden (obsolete)
Comment 15 Luboš Luňák 2020-05-04 14:09:04 UTC
The screenshot is probably bug #132333 and either way is unrelated to the original problem. So back to comment #9. And the version needs to be Vulkan driver version, not Vulkan version. Since since an AMD card works fine here, if this needs blacklisting (which still has not been confirmed), then the whole skia info from skia.log is probably needed.
Comment 16 BogdanB 2020-05-11 13:40:39 UTC
No crash on
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
Comment 17 Telesto 2020-05-13 21:03:23 UTC
Lets start with blacklisting :-)
RenderMethod: vulkan
Vendor: 0x1002
Device: 0x683d
API: 1.0.30
Driver: 1.4.1
DeviceType: discrete
DeviceName: AMD Radeon HD 7700 Series
Blacklisted: no