https://bugs.winehq.org/show_bug.cgi?id=55009
Bug ID: 55009 Summary: DirectX11 application: assertion failed (vulkan) Product: Wine Version: 8.9 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winevulkan Assignee: wine-bugs@winehq.org Reporter: owl2@etersoft.ru Distribution: ---
Created attachment 74566 --> https://bugs.winehq.org/attachment.cgi?id=74566 Error window screenshot
I have a 3D application made using DirectX11, which works fine in Windows 10, but fails to run under wine with an error message "assertion failed!" (see screenshot) The problem is only present when using vulkan ($winetricks renderer=vulkan). With opengl it works fine.
Notably, the problem arouse after I added class linkage interface to the app https://learn.microsoft.com/en-us/windows/win32/direct3dhlsl/overviews-direc... Before that, it was working in wine without any issues.
The app can be downloaded here https://drive.google.com/drive/folders/1YvFSYH-lKLwqluxxtPwJysYlWHqfGaOC "Release.zip" is the compiled app, and "DirectX 11 Engine VS2017.zip" is the source code, if needed.
I'm using wine-8.9-201-g9e3f1a15066 built from git (64 bit version built using --enable-win64) Distro: AltLinux p10 Driver info: $lspci -k | grep -EA3 'VGA|3D|Display' 07:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [Radeon Vega Series / Radeon Vega Mobile Series] (rev c9) Subsystem: ASUSTeK Computer Inc. Device 8809 Kernel driver in use: amdgpu
https://bugs.winehq.org/show_bug.cgi?id=55009
--- Comment #1 from Oleg owl2@etersoft.ru --- Created attachment 74567 --> https://bugs.winehq.org/attachment.cgi?id=74567 Backtrace
https://bugs.winehq.org/show_bug.cgi?id=55009
--- Comment #2 from Oleg owl2@etersoft.ru --- Created attachment 74568 --> https://bugs.winehq.org/attachment.cgi?id=74568 Console output
This is printed in console when attempting to run the app
https://bugs.winehq.org/show_bug.cgi?id=55009
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|winevulkan |d3d CC| |z.figura12@gmail.com
--- Comment #3 from Zeb Figura z.figura12@gmail.com --- Class linkage isn't implemented, and it's decidedly nontrivial. That's probably crashing the Vulkan driver. GL will avoid crashing, but I'm surprised it actually works.
https://bugs.winehq.org/show_bug.cgi?id=55009
--- Comment #4 from Oleg owl2@etersoft.ru --- (In reply to Zeb Figura from comment #3)
Class linkage isn't implemented
Are there any plans to implement it?
https://bugs.winehq.org/show_bug.cgi?id=55009
--- Comment #5 from Zeb Figura z.figura12@gmail.com --- (In reply to Oleg from comment #4)
(In reply to Zeb Figura from comment #3)
Class linkage isn't implemented
Are there any plans to implement it?
It's in the scope of Wine and we have a bug report for it, so yes, it's on the list. But it's not easy, and we do have other priorities in terms of d3d work, so I can't promise that it'll be done soon.