doitsujin / dxvk

Vulkan-based implementation of D3D8, 9, 10 and 11 for Linux / Wine
zlib License
12.41k stars 796 forks source link

iTunes renders a white(windows)/black(linux) screen #3760

Open BareGamer opened 7 months ago

BareGamer commented 7 months ago

Please describe your issue as accurately as possible.

If you use Windows, please check the following page: https://github.com/doitsujin/dxvk/wiki/Windows

Software information

Name of the game, settings used etc.

iTunes 12.13.1.3

When launched on Windows, the program renders normally. When launched on Linux with wined3d/dxvk, it renders a black screen with some of the text and the search bar visible. Popups render properly and menu buttons show up when hovered over and seem functional, just like the close/minimize buttons. Interestingly, in Windows, the screen is white if you use dxvk, lags if you move the window too quickly and causes visual corruptions if you resize the window, with menus seemingly broken but not the close button.

https://github.com/doitsujin/dxvk/assets/78811370/d2c19b31-b9d7-46cc-b2a6-f6542f4cf9be

Also, there seems to be another interesting thing about the program: it doesn't need one, but two dxvk dlls to render: 10 and 11. Even though apitrace shows only calls to DX11 and DXGI, wine sometimes outputs a call to dx10, which gave me an idea to try both dlls. Surprisingly, it "worked"(as in broke on windows too), before it was failing to load dlls. Possibly uses dx10 for dxgi? APITrace worked, but even more weirly, rendered the app better.

obraz

System information

Apitrace file(s)

For instructions on how to use apitrace, see: https://github.com/doitsujin/dxvk/wiki/Using-Apitrace

Log files

Please attach Proton or Wine logs as a text file:

doitsujin commented 7 months ago

Does this even work with wined3d?

This app heavily relies on d2d/dwrite, and Windows d2d is known not to work with DXVK, albeit the reason for that is unknown (already wasted hours trying to find out, not planning to revisit this).

As for wine, the reason for it not working could be one of three different libraries at this point. Please actually post a log.

BareGamer commented 7 months ago

@doitsujin doesn’t work in wined3d either, interestingly looks exactly the same as in dxvk, I even wondered if the backend changed at all when I tried dxvk. Away from the PC right now, so I’ll post both the wine log and how it looks on linux a bit later. By 3 different libraries, you mean the dx9/10/11 dlls?

Blisto91 commented 7 months ago

He means stuff besides dxvk can also affect it. Would need a log to see what is going on. It might be nice to have the Wine output ran with WINEDEBUG=+loaddll

doitsujin commented 7 months ago

By 3 different libraries, you mean the dx9/10/11 dlls?

I mostly mean d2d/dwrite (which are outside of our control) and d3d11.

BareGamer commented 6 months ago

Hey, sorry for keeping you waiting for so long, but I finally launched it through wine, here's the log and a screenshot of how it looks(prefix uses dxvk, looks identical to wined3d) itunes.log itunes

BareGamer commented 6 months ago

@doitsujin just pinging

doitsujin commented 6 months ago

I mean, yeah, not a lot we can do here, problem is almost certainly on the d2d/dwrite side.

If this ever runs on wined3d then I guess it's worth taking another look.