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.