https://bugs.winehq.org/show_bug.cgi?id=47216
Bug ID: 47216 Summary: Regression: dxgi: Adobe Lightroom 8.1 crashes with X error Product: Wine Version: 4.8 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d Assignee: wine-bugs@winehq.org Reporter: bugs@bzatek.net Distribution: ---
Created attachment 64487 --> https://bugs.winehq.org/attachment.cgi?id=64487 console log
Adobe Photoshop Lightroom 8.1 (x86_64) crashes with X Error randomly when working with UI (switching modules, switching to fullscreen, etc.). Lightroom GPU Acceleration is enabled, Lightroom then uses D3D for picture canvas.
0029:fixme:d2d:d2d_path_geometry_Stream iface 0x43681040, sink 0x7fb81033fa18 stub! 0029:warn:d2d:d2d_path_geometry_triangulate Geometry has 0 vertices. 0029:fixme:d2d:d2d_device_context_PushLayer iface 0x401b2880, layer_parameters 0x23e358, layer 0x7fb810291750 stub! 0029:fixme:d2d:d2d_device_context_PopLayer iface 0x401b2880 stub! 0029:fixme:dxgi:dxgi_surface_GetDC iface 0x3e73db00, discard 0, hdc 0x23eaa8 semi-stub! 0029:warn:d3d:wined3d_texture_load_location Operation requires 0x2 access, but texture only has 0x1. X Error of failed request: BadWindow (invalid Window parameter) Major opcode of failed request: 10 (X_UnmapWindow) Resource id in failed request: 0x3a00001 Serial number of failed request: 8240 Current serial number in output stream: 8243
Windowmanager is Marco (Metacity clone), two 2560x2880 screens, xinerama disabled during wine build, compositing enabled also in the WM. X.org running amdgpu DDX driver (GPU Polaris 12), mesa 19.1-rc1/rc2, RADV vulkan driver.
--
Tested on 4.8 (and git master from May 16). This is a regression from 4.7 where the application was running stable for hours.
Blind reverting of the following commits make things work again.
086f263a9e8457b97 dxgi: Acquire Vulkan image just before present when we have user images. 711e68c9b8819219a dxgi: Add some asserts for Vulkan swapchains. 3084ea826966e7a28 dxgi: Make Vulkan swapchain image count independent of DXGI buffer count.
https://bugs.winehq.org/show_bug.cgi?id=47216
pattietreutel katyaberezyaka@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |katyaberezyaka@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=47216
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Regression: dxgi: Adobe |Adobe Lightroom 8.1 crashes |Lightroom 8.1 crashes with |with X error |X error | Keywords| |regression
https://bugs.winehq.org/show_bug.cgi?id=47216
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEW
--- Comment #1 from Józef Kucia joseph.kucia@gmail.com --- Please attach a WINEDEBUG=+dxgi,d3d12 log. Could you check if running with WINEDLLOVERRIDES="d3d12=d" fixes the issue?
https://bugs.winehq.org/show_bug.cgi?id=47216
--- Comment #2 from Tomáš Bžatek bugs@bzatek.net --- Created attachment 64535 --> https://bugs.winehq.org/attachment.cgi?id=64535 WINEDEBUG=+dxgi,d3d12 console log
Tested with wine git compiled today. No difference observed with WINEDLLOVERRIDES="d3d12=d", the logs look the same.
There are different ways to crash Lightroom, the messages look more or less the same though:
0029:trace:dxgi:dxgi_device_AddRef 0x406ab9b0 increasing refcount to 45 0029:trace:dxgi:dxgi_device_AddRef 0x406ab9b0 increasing refcount to 46 0029:trace:dxgi:dxgi_device_AddRef 0x406ab9b0 increasing refcount to 47 0029:trace:dxgi:dxgi_device_AddRef 0x406ab9b0 increasing refcount to 48 0029:trace:dxgi:dxgi_device_Release 0x406ab9b0 decreasing refcount to 47. 0029:trace:dxgi:dxgi_device_Release 0x406ab9b0 decreasing refcount to 46. 0029:trace:dxgi:dxgi_device_Release 0x406ab9b0 decreasing refcount to 45. 0029:trace:dxgi:dxgi_device_Release 0x406ab9b0 decreasing refcount to 44. 0029:fixme:dxgi:dxgi_surface_GetDC iface 0x41f5b3d0, discard 0, hdc 0x23f2c8 semi-stub! 0029:trace:dxgi:dxgi_surface_ReleaseDC iface 0x41f5b3d0, rect (0,0)-(0,0) X Error of failed request: BadWindow (invalid Window parameter) Major opcode of failed request: 10 (X_UnmapWindow) Resource id in failed request: 0x3600001 Serial number of failed request: 7921 Current serial number in output stream: 7924
Oh and this is with mesa 19.1.0_rc3.
https://bugs.winehq.org/show_bug.cgi?id=47216
Tomáš Bžatek bugs@bzatek.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID Distribution|--- |Gentoo
--- Comment #3 from Tomáš Bžatek bugs@bzatek.net --- Hmm, running wine-4.11 for a couple of days now, the issue is gone. Not sure what has changed, stability of Lightroom is back at wine-4.7 levels.
Closing for now, will reopen should the issue appear again.
https://bugs.winehq.org/show_bug.cgi?id=47216
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Ken Sharp imwellcushtymelike@gmail.com --- Closing bugs marked as invalid.
https://bugs.winehq.org/show_bug.cgi?id=47216
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Keywords|regression |download URL| |https://web.archive.org/web | |/20190408041923/http://prdl | |-download.adobe.com/Lightro | |om/CA4674BB70B54A1A9DE0B083 | |1F85443E/1544440684794/LR_8 | |.0_1193777_win64_Release_ES | |D.zip