protonscr

[d3d9] Karumaruka * Circle (カルマルカ*サークル) crash at startup

dxvkclosed
doitsujin/dxvk#3205 · opened 2023-01-21 by ghost · updated 2023-01-21 · 3 comments · github
?ghost 2023-01-21 github

Crashes at startup with DXVK 2.0:

002c:fixme:winediag:LdrInitializeThunk wine-staging 8.0-rc4 is a testing version containing experimental patches.
002c:fixme:winediag:LdrInitializeThunk Please mention your exact version when filing bug reports on winehq.org.
007c:fixme:wineusb:query_id Unhandled ID query type 0x5.
...
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
...
002c:fixme:ver:GetCurrentPackageId (000000000021FD70 0000000000000000): stub
0034:fixme:ver:GetCurrentPackageId (000000000021FD70 0000000000000000): stub
0108:fixme:toolhelp:CreateToolhelp32Snapshot Unimplemented: heap list snapshot
0108:fixme:heap:RtlSetHeapInformation handle 00000000, info_class 1, info 00000000, size 0 stub!
0108:fixme:wbemprox:client_security_SetBlanket 71061810, 06651850, 10, 0, (null), 3, 3, 00000000, 0
0108:fixme:wbemprox:client_security_Release 71061810
0108:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
info:  Game: SiglusEngine.exe
info:  DXVK: v2.0
......
info:  DXVK: Graphics pipeline libraries not supported
info:  D3D9DeviceEx::ResetSwapChain:
info:    Requested Presentation Parameters
info:      - Width:              0
info:      - Height:             0
info:      - Format:             D3D9Format::X8R8G8B8
info:      - Auto Depth Stencil: true
info:                  ^ Format: D3D9Format::D24S8
info:      - Windowed:           true
info:  Presenter: Actual swap chain properties:
info:    Format:       VK_FORMAT_B8G8R8A8_UNORM
info:    Present mode: VK_PRESENT_MODE_IMMEDIATE_KHR
info:    Buffer size:  1280x720
info:    Image count:  3
info:    Exclusive FS: 0
warn:  D3D9DeviceEx::SetRenderState: Unhandled render state 161
008c:fixme:imm:ImeSetActiveContext (0000000000010026, 0): stub
008c:fixme:imm:ImmReleaseContext (0000000000010020, 0000000000010026): stub
0108:fixme:imm:ImmReleaseContext (00010066, 00000000): stub
info:  Presenter: Actual swap chain properties:
info:    Format:       VK_FORMAT_B8G8R8A8_UNORM
info:    Present mode: VK_PRESENT_MODE_FIFO_KHR
info:    Buffer size:  1280x720
info:    Image count:  4
info:    Exclusive FS: 0
info:  D3D9DeviceEx::ResetSwapChain:
info:    Requested Presentation Parameters
info:      - Width:              1280
info:      - Height:             720
info:      - Format:             D3D9Format::X8R8G8B8
info:      - Auto Depth Stencil: true
info:                  ^ Format: D3D9Format::D24S8
info:      - Windowed:           true
wine: Unhandled page fault on read access to 00000008 at address 0BE8014A (thread 0108), starting debugger...
018c:fixme:imm:ImeSetActiveContext (000100AE, 1): stub
018c:fixme:imm:ImmReleaseContext (000100B8, 000100AE): stub
0198:fixme:imm:ImeSetActiveContext (000000000001007E, 0): stub
0198:fixme:imm:ImmReleaseContext (0000000000010078, 000000000001007E): stub
018c:fixme:dbghelp:elf_search_auxv can't find symbol in module
.....
018c:fixme:dbghelp:elf_search_auxv can't find symbol in module
Process of pid=0104 has terminated
No process loaded, cannot execute 'echo Modules:'
Cannot get info on module while no process is loaded
No process loaded, cannot execute 'echo Threads:'
.......
winedbg: Internal crash at 0041ECE1

Works fine with DXVK 1.10.3 or with wined3d.

Software information

Karumaruka * Circle (カルマルカ*サークル) demo (trial) version can be found at https://www.getchu.com/soft.phtml?id=771490 but it's a PITA to make it work so I don't know if demo can reproduce the issue. I'll try harder if necessary.

System information

  • GPU: AMD Radeon RX 5500 XT
  • Driver: MESA 22.3.3
  • Wine version: 8.0-rc4
  • DXVK version: 2.0

Apitrace file(s)

It failed to start properly with apitrace probably due to some exceptions in apitrace but I attach it anyway.
SiglusEngine.1.trace.zip

Log files

BBlisto91 2023-01-21 github

Hello.

I was able to reproduce with dxvk 2.0. It seems to have already been fixed again on master and so should work again in next release.
Are you able to confirm this by downloading current master from https://github.com/doitsujin/dxvk/actions/runs/3974754280 ?

?ghost 2023-01-21 github

Yes, I replaced d3d9.dll to artifact version and it seems to work. Thanks.

BBlisto91 2023-01-21 github

Np

DLLs