https://bugs.winehq.org/show_bug.cgi?id=54175
Bug ID: 54175 Summary: MAME 0.224 (windows version) cannot start any machine due to Direct3d 9 initialization failure Product: Wine Version: 7.0.1 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: VladimirVSC@yandex.ru Distribution: ---
Created attachment 73697 --> https://bugs.winehq.org/attachment.cgi?id=73697 MAME crash when starting any machine (NES in this case)
The windows version of MAME 0.224 cannot start any machine because of direct3d 9 initialization error (as it is written in console output) in stable 7.0.1 version (with dxvk 1.10.3 installed). However, everything was working fine in stable 7.0. It seems to be some kind of regression in 7.0.1. I cannot test dxvk 2.0 version (if it is the reason) because of my GTX 760 support abandoning. The drivers tested were 470.131.03 and the latest 470.161.03.
https://bugs.winehq.org/show_bug.cgi?id=54175
--- Comment #1 from VladimirVSC VladimirVSC@yandex.ru --- The same for 8.0-rc1
https://bugs.winehq.org/show_bug.cgi?id=54175
--- Comment #2 from VladimirVSC VladimirVSC@yandex.ru --- Created attachment 73698 --> https://bugs.winehq.org/attachment.cgi?id=73698 MAME_crash_8.0-rc1 (if necessary)
https://bugs.winehq.org/show_bug.cgi?id=54175
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com
--- Comment #3 from Zeb Figura z.figura12@gmail.com --- DXVK is not supported in this bug tracker; please test with builtin wined3d or report this bug to the DXVK project.
https://bugs.winehq.org/show_bug.cgi?id=54175
--- Comment #4 from VladimirVSC VladimirVSC@yandex.ru --- Created attachment 73730 --> https://bugs.winehq.org/attachment.cgi?id=73730 MAME Directx initialization failure (without DXVK installed)
https://bugs.winehq.org/show_bug.cgi?id=54175
--- Comment #5 from VladimirVSC VladimirVSC@yandex.ru --- Created attachment 73731 --> https://bugs.winehq.org/attachment.cgi?id=73731 MAME DirectX initialization failure (without DXVK installed)
https://bugs.winehq.org/show_bug.cgi?id=54175
VladimirVSC VladimirVSC@yandex.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #73730|MAME Directx initialization |MAME Directx initialization description|failure (without DXVK |failure (without DXVK |installed) |installed) (8.0-rc2)
https://bugs.winehq.org/show_bug.cgi?id=54175
VladimirVSC VladimirVSC@yandex.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #73731|MAME DirectX initialization |MAME DirectX initialization description|failure (without DXVK |failure (without DXVK |installed) |installed) (7.0.1 version)
https://bugs.winehq.org/show_bug.cgi?id=54175
--- Comment #6 from VladimirVSC VladimirVSC@yandex.ru --- (In reply to Zeb Figura from comment #3)
DXVK is not supported in this bug tracker; please test with builtin wined3d or report this bug to the DXVK project.
What I meant was that MAME was working fine on 7.0 with DXVK 1.10.3 installed, while it doesn't work on 7.0.1 with exact the same version of DXVK 1.10.3, which means that some change has been made in Wine (it is not a bug of DXVK, I guess), preventing MAME machines from starting. Anyway, on native wined3d the result is the same (console output attached).
https://bugs.winehq.org/show_bug.cgi?id=54175
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Product|Wine |vkd3d Summary|MAME 0.224 (windows |MAME 0.224 (windows |version) cannot start any |version) cannot start any |machine due to Direct3d 9 |machine: "Unable to |initialization failure |initialize Direct3D 9" | |(needs SamplerState and | |user-defined functions) URL| |https://github.com/mamedev/ | |mame/releases/download/mame | |0224/mame0224b_64bit.exe Version|7.0.1 |1.6 Keywords| |download Component|-unknown |hlsl
--- Comment #7 from Zeb Figura z.figura12@gmail.com --- From the log it looks like it's breaking on HLSL compilation.
For future reference, can you please provide reproduction instructions? It's not quite clear how to use the software, and I think it needs a ROM to test; I don't know where to get those.
https://bugs.winehq.org/show_bug.cgi?id=54175
--- Comment #8 from Nikolay Sivov bunglehead@gmail.com --- According to [1] it's using fx_2_0 effects. There are some shaders bundled, no idea if that's what was used when crashed.
[1] https://github.com/mamedev/mame/archive/refs/tags/mame0224.zip