Summary: | nVidia GPU Skia Vulkan -- Quadro K2000 (Device: 0xffe)-- resizing floating Sidebar and dragging deck wider while crossing onto main LO window frame. | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | V Stuart Foote <vsfoote> |
Component: | graphics stack | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | l.lunak, serval2412, vsfoote, xiscofauli |
Priority: | medium | ||
Version: | 7.2.0.1 rc | ||
Hardware: | All | ||
OS: | Windows (All) | ||
Whiteboard: | |||
Crash report or crash signature: | https://crashreport.libreoffice.org/stats/signature/GrVkPipelineState::setAndBindInputAttachment(GrVkGpu%20*,GrVkRenderTarget%20*,GrVkCommandBuffer%20*) | Regression By: | |
Bug Depends on: | |||
Bug Blocks: | 129062 | ||
Attachments: |
WinDbg stack trace of crash with nVidia GPU and Skia Vulkan rendering
GPU device IDs for nVidia product family GK107 -- 0x0fc0-0x0fff |
Description
V Stuart Foote
2021-07-15 22:03:51 UTC
Crash does not depend on the floating Sidebar deck active, just dragging wider and passing the edge of the main LO window frame results in crash. Does not occur with Skia Raster rendering mode--just Vulkan for this GPU/Driver pair. This bug was filed from the crash reporting server and is br-fe84b049-360c-481f-8e9b-29c5b035ceb9. ========================================= Luboš: since it concerns Skia, thought you might be interested in this one. So on another system with nVidia GTX 750 Ti GPU and Version: 7.2.0.1 (x64) / LibreOffice Community Build ID: 32efc3b7f3a71cfa6a7fa3f6c208333df48656cc 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: 0x1380 API: 1.2.168 Driver: 465.356.0 DeviceType: discrete DeviceName: NVIDIA GeForce GTX 750 Ti Denylisted: no STR (undocked sidebar and minimumwidth set false, dragging width across main frame edge) do not crash. Will see if driver update for the Quadro K2000 has any effect. Created attachment 173641 [details] WinDbg stack trace of crash with nVidia GPU and Skia Vulkan rendering updated driver to nVidia 471.11 (2021-06-21) Still getting crash with STR and with Vulkan rendering with this GPU RenderMethod: vulkan Vendor: 0x10de Device: 0xffe API: 1.2.175 Driver: 471.44.0 DeviceType: discrete DeviceName: Quadro K2000 Denylisted: no Attached soffice.bin to WinDbg session and get this stack trace with LO build symbols, if it helps. Also got slightly different signature, with this crashreport https://crashreport.libreoffice.org/stats/crash_details/e1d41aa4-791c-4bae-99a8-8ac0749500e3 Hello V Stuart, is this issue still reproducible in a master build ? Yes still happens. Refinement for the STR: 1. open Writer 2. Undock Sidebar, should be floating middle of document canvas 3. Grab SideBar's left edge (i.e. changes to horizontal resize mouse cursor) 4. drag it to left passing the LO application frame left edge 5. crash with Skia/Vulkan rendering, no crash with Skia/raster mode 2021-10-29 TB77 nightly Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community Build ID: e06ba31a037ea3ff192c9a00db6152179eb298a6 CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Vulkan; VCL: win Locale: en-US (en_US); UI: en-US Calc: CL =-skia.log-= RenderMethod: vulkan Vendor: 0x10de Device: 0xffe API: 1.2.175 Driver: 471.272.0 DeviceType: discrete DeviceName: Quadro K2000 Denylisted: no STR cause crash & immediate document recovery also with Version: 7.2.3.1 (x64) / LibreOffice Community Build ID: 1d5dee817bde88d78dbcc0d00f88492568e131d5 CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Vulkan; VCL: win Locale: en-US (en_US); UI: en-US Calc: CL and on the 2021-11-08 TB77 nightly of trunk Version: 7.3.0.0.alpha1+ (x64) / LibreOffice Community Build ID: 73334560b2dd2d60ac58d2cc2b1a5295490b03e1 CPU threads: 8; OS: Windows 10.0 Build 19043; 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.175 Driver: 471.272.0 DeviceType: discrete DeviceName: Quadro K2000 Denylisted: no All cases following the crash crossing the left edge of the app frame with Vulkan, the LO build will open having fallen back to Skia/raster mode. So issue is something in the way the app frame is referenced for this nVidia Vulkan driver instance for this GPU. Don't think we'd want to blacklist Vulkan generically for this nVidia driver. OK, had an opportunity to test on a more modern nVidia Quadro RTX 4000 with Version: 7.2.2.2 (x64) / LibreOffice Community Build ID: 02b2acce88a210515b4a5bb2e46cbfb63fe97d56 CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Vulkan; VCL: win Locale: en-US (en_US); UI: en-US Calc: CL resize dragging width of the undocked SideBar deck across the app frame does not crash. A Geforce GTX-750 TI and this Quadro RTX 4000 have no issues with crossing the app frame. So, probably the best thing is to deny list the Quadro K2000 (Device: 0xffe) from Vulkan rendering. =-skia.log-= RenderMethod: vulkan Vendor: 0x10de Device: 0x1eb1 API: 1.2.155 Driver: 462.124.0 DeviceType: discrete DeviceName: Quadro RTX 4000 Denylisted: no Created attachment 176196 [details]
GPU device IDs for nVidia product family GK107 -- 0x0fc0-0x0fff
Luboš, *
Doing some manual edits of the share/skia/skia_denylist_vulkan.xml, and got to looking at its syntax from driverblocklist.cxx/.hxx
Seems we can now only handle individual deviceIDs with some testing of vendor and range of driver versions.
But, would there be any utility to handling devices from a block of vendor device ids? For example, the troubled nVidia K2000 here comes from the nVidia Product GK107, device IDs in range 0x0fc0-0x0fff
I'd not be surprised if all of the GPUs in the product block have the same flawed Vulkan (or OpenGL) rendering and the range could be treated the same.
Would it be worth some effort to be able to deny list and force Skia raster rendering by vendor block of device IDs in addition to our current driver only testing?
(In reply to V Stuart Foote from comment #10) > Would it be worth some effort to be able to deny list and force Skia raster > rendering by vendor block of device IDs in addition to our current driver > only testing? Apparently the way to block several devices is to list them like this: https://cgit.freedesktop.org/libreoffice/core/tree/vcl/source/opengl/opengl_denylist_windows.xml#n33 . Is that enough here? It'll be a number of lines, but it's not that many. Revisting this while testing work on bug 125931 The floating SB deck being dragged across the vertical edge of the LO app frame will crash LO with Skia Vulkan rendering, no issue with Skia Raster rendering. More recent Vulkan driver does not help for this Driver/GPU pair. =-testing-= RenderMethod: vulkan Vendor: 0x10de Device: 0xffe API: 1.2.175 Driver: 473.188.0 DeviceType: discrete DeviceName: Quadro K2000 Denylisted: no Version: 7.4.0.0.alpha1+ (x64) / LibreOffice Community Build ID: 817b8fe7001a83cb74910eb09b7c14a3b95b8a39 CPU threads: 8; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win Locale: en-US (en_US); UI: en-US Calc: CL Dear V Stuart Foote, To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug As I no longer have access to the nVidia K2000 dGPU for testing, closing this => WF. STR are not reproducible on somewhat newer nVidia GTX 750 Ti, but could be related to OOM issues of current bug 161135 Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 47664e282da4999b8e471a6a916d7ec80414ac18 CPU threads: 8; OS: Windows 10 X86_64 (10.0 build 19045); UI render: Skia/Vulkan; VCL: win Locale: en-US (en_US); UI: en-US Calc: CL threaded |