https://bugs.winehq.org/show_bug.cgi?id=51665
Bug ID: 51665 Summary: HITMAN 2 (2018) crashes on launch in Direct3D 12 mode Product: Wine Version: 6.15 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: directx-d3d Assignee: wine-bugs@winehq.org Reporter: andrey.goosev@gmail.com Distribution: ---
0538:fixme:dxgi:dxgi_output_GetDisplayModeList iface 0x4a8b0e0, format DXGI_FORMAT_R8G8B8A8_UNORM, flags 0, mode_count 0x11b7b8, modes (nil) partial stub! 0538:fixme:dxgi:dxgi_output_GetDisplayModeList iface 0x4a8b0e0, format DXGI_FORMAT_R8G8B8A8_UNORM, flags 0, mode_count 0x11b7b8, modes 0x7fdaf48728d0 partial stub! 0538:fixme:dxgi:dxgi_adapter_QueryVideoMemoryInfo Returning fake video memory info. 0538:fixme:dxgi:dxgi_adapter_SetVideoMemoryReservation iface 0x4a8b090, node_index 0, segment_group 0, reservation 0xc0000000 stub! 0538:fixme:dxgi:dxgi_adapter_SetVideoMemoryReservation iface 0x4a8b090, node_index 0, segment_group 0x1, reservation 0x0 stub! 0538:fixme:dxgi:dxgi_adapter_RegisterVideoMemoryBudgetChangeNotificationEvent iface 0x4a8b090, event 0x2f8, cookie 0x7fdaf4870de0 stub! 0538:fixme:seh:EnumProcessModulesEx (FFFFFFFFFFFFFFFF, 0000000000000000, 0, 00000000001102B0, 3) semi-stub 0538:fixme:seh:EnumProcessModulesEx (FFFFFFFFFFFFFFFF, 000000000010FE30, 688, 00000000001102B0, 3) semi-stub wine: Unhandled exception 0x80000003 in thread 538 at address 00000001410C1C84 (thread 0538), starting debugger...
wine-6.15-194-g7d60044e187
https://bugs.winehq.org/show_bug.cgi?id=51665
Andrey Gusev andrey.goosev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|HITMAN 2 (2018) crashes on |HITMAN 2 (2018) crashes on |launch in Direct3D 12 mode |launch in Direct3D 12 mode | |(needs | |dxgi_adapter_RegisterVideoM | |emoryBudgetChangeNotificati | |onEvent() implementation)
https://bugs.winehq.org/show_bug.cgi?id=51665
bridge.remove.de0abd@gizmotik.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bridge.remove.de0abd@gizmot | |ik.com
--- Comment #1 from bridge.remove.de0abd@gizmotik.com --- Please create an appdb entry for the game as well with your test, for future reference!
https://bugs.winehq.org/show_bug.cgi?id=51665
DrkShadow winehq.10.drkshadow@spamgourmet.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winehq.10.drkshadow@spamgou | |rmet.com
--- Comment #2 from DrkShadow winehq.10.drkshadow@spamgourmet.com --- Adding a MeToo! with additional info.
Lightroom v11 is crashing with this fixme, fixme:dxgi:dxgi_adapter_RegisterVideoMemoryBudgetChangeNotificationEvent
At the suggestion from IRC, I modified `wine-7.1/dlls/dxgi/adapter.c` to return S_OK instead of E_NOTIMPL for this function.
return E_NOTIMPL: Lightroom would crash after start, when I go to File | New Catalog. The fixme above would appear.
return S_OK: Lightroom creates the new catalog and restarts to load the new catalog. I'm able to import photos and perform edits. Everything appears to be working appropriately.
--- Not thoroughly tested. The function is about budget change notifications, and this S_OK return value does not implement the notifications. It's hard to know the ramifications - memory leaks? undefined behavior? crashes/corruption on resizing windows? Probably nothing worse than returning E_NOTIMPL, except that the program continues instead of faults.
May or may not work for this game or others, I haven't tested with anything but lightroom.
https://bugs.winehq.org/show_bug.cgi?id=51665
--- Comment #3 from DrkShadow winehq.10.drkshadow@spamgourmet.com --- Created attachment 71802 --> https://bugs.winehq.org/attachment.cgi?id=71802 return value E_NOTIMPL -> S_OK
Only tested with Lightroom, only in minor usage.
https://bugs.winehq.org/show_bug.cgi?id=51665
Zhiyi Zhang zzhang@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|wine-bugs@winehq.org |zzhang@codeweavers.com CC| |zzhang@codeweavers.com
https://bugs.winehq.org/show_bug.cgi?id=51665
Zhiyi Zhang zzhang@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED Fixed by SHA1| |fd6e137dfe16700e0a0a7ebb23b | |413019bc18193
--- Comment #4 from Zhiyi Zhang zzhang@codeweavers.com --- Fixed by fd6e137dfe16700e0a0a7ebb23b413019bc18193
https://bugs.winehq.org/show_bug.cgi?id=51665
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gi85qht0z@relay.firefox.com
--- Comment #5 from Zeb Figura z.figura12@gmail.com --- *** Bug 49364 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=51665
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|HITMAN 2 (2018) crashes on |Multiple applications need |launch in Direct3D 12 mode |IDXGIAdapter3::RegisterVide |(needs |oMemoryBudgetChangeNotifica |dxgi_adapter_RegisterVideoM |tionEvent() (HITMAN 2 |emoryBudgetChangeNotificati |(2018), FAR mod for Nier: |onEvent() implementation) |Automata) CC| |z.figura12@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=51665
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 7.10.