On 12/6/24 17:19, zhengxianwei wrote:
Hello, I am trying to run Photoshop 23 using the DLL generated by VKD3D-Proton.
I noticed that after opening an image, dragging it causes display issues.
Here’s a video showing the problem: https://www.youtube.com/watch?v=JgWrsFx4GrM https://www.youtube.com/watch?v=JgWrsFx4GrM (Because I have not been using the successful obs recording, so I switched to recording with my cell phone, the result is worse, sorry!)
When I capture frames with RenderDoc, the images appear normal.
I suspect the issue might be related to the desktop gui composition process, but I’m unsure how to analyze such problems. Do you have any suggestions?
Looks like the `recent` window is fighting for z-order with its image window. Use spy++ and see if they're the same window. If there are different windows, then it might be some window manager/winex11.drv bugs. You can also try running it on macOS with winemac.drv to check if it's caused by WM. Then if they're the same window, then there might be bugs in d3d/d2d, for example, related to clip distance etc. You can try reproducing a renderdoc record on Windows and turn on traces like +d3d,+d2d,+d3d11,+dxgi,+winediag. Find out what the application uses for rendering the window then focus on that area. Also, try to figure out what dragging did that might be related the bug. For example, is it sending new messages? what if I filter out some of those messages? what if I filter out the calls to render the dragged icon? etc.
Software information
Photoshop23
System information
- GPU: GTX 1070ti
- Driver: 535.183.01
- Wine version: 9.2 (latest, not proton-wine)
- VKD3D-Proton version: (latest)