Mario 64 PC port with DirectX 12 won´t work

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
lcrndrrr
Level 2
Level 2
Posts: 31
Joined: Thu Jun 13, 2019 10:54 am

Mario 64 PC port with DirectX 12 won´t work

Post by lcrndrrr »

I tried to run this new port someone made https://www.youtube.com/watch?v=z_7pJzzhuyk and it won´t work. It has ray tracing support (which I don´t intend to be supported by wine, but the game doesn´t even start so that should not be the problem). The game only shows a black window and then exits.
I have vkd3d installed and my gpu supports vulkan.

I get this:

Code: Select all

wine mario.exe 
000b:fixme:winediag:__wine_start_process Wine Staging 5.7 is a testing version containing experimental patches.
000b:fixme:winediag:__wine_start_process Please mention your exact version when filing bug reports on winehq.org.
000f:fixme:service:scmdatabase_autostart_services Auto-start service L"dgpservice" failed to start: 2
002d:err:winediag:wined3d_dll_init Setting multithreaded command stream to 0x1.
Loading configuration from 'sm64config.txt'
option: 'fullscreen', value: 'false'
option: 'key_a', value: '38'
option: 'key_b', value: '51'
option: 'key_start', value: '57'
option: 'key_r', value: '54'
option: 'key_z', value: '37'Threads:
process  tid      prio (all id:s are in hex)
0000000c winemenubuilder.exe
        [C:\windows\system32\winemenubuilder.exe -a]
        0000000d    0
0000000e services.exe
        [C:\windows\system32\services.exe]
        00000028    0
        00000022    0
        0000001d    0
        00000017    0
        00000016    0
        00000015    0
        00000010    0
        0000000f    0
00000011 explorer.exe
        [C:\windows\system32\explorer.exe /desktop]
        0000002b    0
        0000002a    0
        00000029    0
        00000012    0
00000013 winedevice.exe
        [C:\windows\system32\winedevice.exe]
        0000001a    0
        00000019    0
        00000018    0
        00000014    0
0000001b plugplay.exe
        [C:\windows\system32\plugplay.exe]
        0000001f    0
        0000001e    0
        0000001c    0
00000020 winedevice.exe
        [C:\windows\system32\winedevice.exe]
        00000027    0
        00000026    0
        00000025    0
        00000024    0
        00000023    0
        00000021    0
0000002c (D) Z:\run\media\ruben\RYU\Descargas\mario.exe
        ["Z:\run\media\ruben\RYU\Descargas\mario.exe"]
        0000002f    0
        0000002d    0 <==
System information:
    Wine build: wine-5.7 (Staging)
    Platform: x86_64
    Version: Windows 7
    Host system: Linux
    Host version: 4.19.119-1-MANJARO
option: 'key_cup', value: '328'
option: 'key_cdown', value: '336'
option: 'key_cleft', value: '331'
option: 'key_cright', value: '333'
option: 'key_stickup', value: '17'
option: 'key_stickdown', value: '31'
option: 'key_stickleft', value: '30'
option: 'key_stickright', value: '32'
002d:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
002d:fixme:dxgi:d3d12_swapchain_init Ignoring swap effect 0x3.
002d:fixme:dxgi:wined3d_swapchain_desc_from_dxgi Ignoring scaling 0x1.
002d:fixme:dxgi:wined3d_swapchain_desc_from_dxgi Ignoring alpha mode 0.
002d:fixme:dxgi:wined3d_swapchain_flags_from_dxgi Unhandled flags 0x40.
002d:fixme:dxgi:d3d12_swapchain_resize_buffers Ignoring flags 0x40.
fixme:d3d12_root_signature_init: Ignoring root signature flags 0x3.
fixme:d3d12_root_signature_init: Ignoring root signature flags 0x3.
fixme:d3d12_root_signature_init: Ignoring root signature flags 0x3.
fixme:d3d12_root_signature_init: Ignoring root signature flags 0x3.
fixme:d3d12_root_signature_init: Ignoring root signature flags 0x3.
fixme:d3d12_root_signature_init: Ignoring root signature flags 0x3.
fixme:d3d12_root_signature_init: Ignoring root signature flags 0x3.
fixme:d3d12_root_signature_init: Ignoring root signature flags 0x3.
fixme:d3d12_root_signature_init: Ignoring root signature flags 0x3.
fixme:d3d12_root_signature_init: Ignoring root signature flags 0x3.
fixme:d3d12_root_signature_init: Ignoring root signature flags 0x3.
fixme:d3d12_root_signature_init: Ignoring root signature flags 0x3.
fixme:d3d12_root_signature_init: Ignoring root signature flags 0x3.
fixme:d3d12_root_signature_init: Ignoring root signature flags 0x3.
fixme:d3d12_root_signature_init: Ignoring root signature flags 0x3.
fixme:d3d12_root_signature_init: Ignoring root signature flags 0x3.
fixme:d3d12_root_signature_init: Ignoring root signature flags 0x3.
fixme:d3d12_root_signature_init: Ignoring root signature flags 0x3.
fixme:d3d12_root_signature_init: Ignoring root signature flags 0x3.
fixme:d3d12_root_signature_init: Ignoring root signature flags 0x3.
fixme:d3d12_root_signature_init: Ignoring root signature flags 0x3.
fixme:d3d12_root_signature_init: Ignoring root signature flags 0x3.
fixme:d3d12_root_signature_init: Ignoring root signature flags 0x3.
002d:err:ole:CoCreateInstanceEx apartment not initialised
002d:fixme:dxgi:d3d12_swapchain_GetFrameStatistics iface 0x250bc60, stats 0x32dde0 stub!
fixme:d3d12_command_queue_Wait: iface 0x7d46d850, fence 0x7d4fb120, value 0x1 stub!
002d:fixme:dxgi:d3d12_swapchain_set_sync_interval Unsupported sync interval 2.
002d:fixme:dxgi:d3d12_swapchain_GetLastPresentCount iface 0x250bc60, last_present_count 0x32debc stub!
002d:fixme:dxgi:d3d12_swapchain_GetFrameStatistics iface 0x250bc60, stats 0x32df40 stub!
wine: Unhandled page fault on read access to 0000000000000008 at address 000000000056581A (thread 002d), starting debugger...
0031:fixme:dbghelp:elf_search_auxv can't find symbol in module
0031:fixme:dbghelp:elf_search_auxv can't find symbol in module
0031:fixme:dbghelp:elf_search_auxv can't find symbol in module
0031:fixme:dbghelp:elf_search_auxv can't find symbol in module
0031:fixme:dbghelp:elf_search_auxv can't find symbol in module
0031:fixme:dbghelp:elf_search_auxv can't find symbol in module
0031:fixme:dbghelp:elf_search_auxv can't find symbol in module
0031:fixme:dbghelp:elf_search_auxv can't find symbol in module
0031:fixme:dbghelp:elf_search_auxv can't find symbol in module
0031:fixme:dbghelp:elf_search_auxv can't find symbol in module
0031:fixme:dbghelp:elf_search_auxv can't find symbol in module
0031:fixme:dbghelp:elf_search_auxv can't find symbol in module
0031:fixme:dbghelp:elf_search_auxv can't find symbol in module
0031:fixme:dbghelp:elf_search_auxv can't find symbol in module
0031:fixme:dbghelp:elf_search_auxv can't find symbol in module
0031:fixme:dbghelp:elf_search_auxv can't find symbol in module
0031:fixme:dbghelp:elf_search_auxv can't find symbol in module
0031:fixme:dbghelp:elf_search_auxv can't find symbol in module
0031:fixme:dbghelp:elf_search_auxv can't find symbol in module
0031:fixme:dbghelp:elf_search_auxv can't find symbol in module
0031:fixme:dbghelp:elf_search_auxv can't find symbol in module
0031:fixme:dbghelp:elf_search_auxv can't find symbol in module
0031:fixme:dbghelp:elf_search_auxv can't find symbol in module
0031:fixme:dbghelp:elf_search_auxv can't find symbol in module
0031:fixme:dbghelp:elf_search_auxv can't find symbol in module
Unhandled exception: page fault on read access to 0x00000008 in 64-bit code (0x000000000056581a).
0031:fixme:dbghelp:elf_search_auxv can't find symbol in module
Register dump:
 rip:000000000056581a rsp:000000000032de88 rbp:000000000032deb0 eflags:00010246 (  R- --  I  Z- -P- )
 rax:0000000000000000 rbx:000000007d4f9ba0 rcx:000000000148b6c8 rdx:000000000148b6c8
 rsi:00007fd164c73e40 rdi:0000000000000001  r8:0000000000000000  r9:0000000000000000 r10:0000000000000000
 r11:00007fd1628894b0 r12:0000000000506687 r13:0000000000000000 r14:0000000000000000 r15:000000000000000f
Stack dump:
0x000000000032de88:  0000000000559ddb 000000000032dec0
0x000000000032de98:  00000000005549c8 000000000032df78
0x000000000032dea8:  000000000148b6c8 000000000032def0
0x000000000032deb8:  0000000000552e23 000000000032dee8
0x000000000032dec8:  0000000000553250 000000000032df78
0x000000000032ded8:  000000000148b6c0 0000000000000001
0x000000000032dee8:  000000000148b6c8 000000000032df80
0x000000000032def8:  00000000005086d0 000000000032df78
0x000000000032df08:  000000000148b6c0 00000000015036c0
0x000000000032df18:  000000000150e1a0 0000000000000000
0x000000000032df28:  0000000000000000 0000000000000000
0x000000000032df38:  0000000000000000 0000000001572aa0
Backtrace:
=>0 0x000000000056581a in mario (+0x16581a) (0x000000000032deb0)
  1 0x0000000000559ddb in mario (+0x159dda) (0x000000000032deb0)
  2 0x0000000000552e23 in mario (+0x152e22) (0x000000000032def0)
  3 0x00000000005086d0 in mario (+0x1086cf) (0x000000000032df80)
  4 0x000000000050237a in mario (+0x102379) (0x000000000032dff0)
  5 0x00000000004fca86 in mario (+0xfca85) (0x000000000032e080)
  6 0x0000000000506714 in mario (+0x106713) (0x000000000032f160)
  7 0x00007fd165250be1 EditWndProcA+0xa80() in user32 (0x000000000032f788)
  8 0x00007fd165251fab EditWndProcA+0x1e4a() in user32 (0x000000000000000f)
  9 0x00007fd165252f30 EditWndProcA+0x2dcf() in user32 (0x000000000001005a)
  10 0x00007fd1652034b3 DispatchMessageA+0xe2() in user32 (0x000000000032f980)
  11 0x0000000000507651 in mario (+0x107650) (0x000000000032f9e0)
  12 0x00000000004fcb9f in mario (+0xfcb9e) (0x000000000032fa10)
  13 0x00000000004fcbbe in mario (+0xfcbbd) (0x000000000032fa40)
  14 0x00000000004013b4 EntryPoint+0xffffffffffffffff() in mario (0x0000000000000000)
  15 0x00000000004014db in mario (+0x14da) (0x000000000032ffd0)
  16 0x000000007b457b56 __wine_start_process+0x295() in kernel32 (0x000000000032ffd0)
0x000000000056581a: cmpq        %rcx,0x0000000000000008(%rax)
Modules:
Module  Address                                 Debug info      Name (93 modules)
PE                400000-         1e58000       Dwarf           mario
ELF             7a800000-        7aa14000       Deferred        opengl32<elf>
  \-PE          7a850000-        7aa14000       \               opengl32
ELF             7b000000-        7b0d9000       Deferred        kernelbase<elf>
  \-PE          7b010000-        7b0d9000       \               kernelbase
ELF             7b400000-        7b680000       Dwarf           kernel32<elf>
  \-PE          7b420000-        7b680000       \               kernel32
ELF             7bc00000-        7bd94000       Deferred        ntdll<elf>
  \-PE          7bc20000-        7bd94000       \               ntdll
ELF             7c000000-        7c005000       Deferred        <wine-loader>
PE             180000000-       18043e000       Deferred        d3dcompiler_47
ELF         7fd15d09d000-    7fd15d0b8000       Deferred        hid<elf>
  \-PE      7fd15d0a0000-    7fd15d0b8000       \               hid
ELF         7fd15de27000-    7fd15fe84000       Deferred        libnvidia-rtcore.so.430.64
ELF         7fd15fe84000-    7fd1600d2000       Deferred        libnvidia-fatbinaryloader.so.430.64
ELF         7fd1600d2000-    7fd160338000       Deferred        libnvidia-cbl.so.430.64
ELF         7fd160338000-    7fd161322000       Deferred        libnvidia-glvkspirv.so.430.64
ELF         7fd161322000-    7fd161381000       Deferred        libvulkan.so.1
ELF         7fd161a85000-    7fd16375a000       Deferred        libnvidia-glcore.so.430.64
ELF         7fd16375a000-    7fd16395e000       Deferred        libnvidia-tls.so.430.64
ELF         7fd16395e000-    7fd163c76000       Deferred        libglx_nvidia.so.0
ELF         7fd163c76000-    7fd163d2d000       Deferred        libgldispatch.so.0
ELF         7fd163d2d000-    7fd163db3000       Deferred        libgl.so.1
ELF         7fd16407b000-    7fd164084000       Deferred        libxfixes.so.3
ELF         7fd164084000-    7fd164090000       Deferred        libxcursor.so.1
ELF         7fd164090000-    7fd1640a5000       Deferred        libdrm.so.2
ELF         7fd1640a5000-    7fd1640d8000       Deferred        libglx.so.0
ELF         7fd1641d2000-    7fd1641db000       Deferred        libuuid.so.1
ELF         7fd1641db000-    7fd16420b000       Deferred        libexpat.so.1
ELF         7fd16420b000-    7fd164252000       Deferred        libfontconfig.so.1
ELF         7fd164252000-    7fd1642c4000       Deferred        libpcre.so.1
ELF         7fd1642c4000-    7fd1642e9000       Deferred        libgraphite2.so.3
ELF         7fd1642e9000-    7fd164411000       Deferred        libglib-2.0.so.0
ELF         7fd164411000-    7fd164515000       Deferred        libharfbuzz.so.0
ELF         7fd164515000-    7fd16452f000       Deferred        libz.so.1
ELF         7fd16452f000-    7fd164567000       Deferred        libpng16.so.16
ELF         7fd164567000-    7fd16457a000       Deferred        libbz2.so.1.0
ELF         7fd16457a000-    7fd164648000       Deferred        libfreetype.so.6
ELF         7fd164648000-    7fd16465b000       Deferred        libxi.so.6
ELF         7fd16465b000-    7fd164660000       Deferred        libxcomposite.so.1
ELF         7fd164660000-    7fd16466d000       Deferred        libxrandr.so.2
ELF         7fd16466d000-    7fd16467a000       Deferred        libxrender.so.1
ELF         7fd16467a000-    7fd1646a4000       Deferred        libxcb.so.1
ELF         7fd1646a4000-    7fd1647e4000       Deferred        libx11.so.6
ELF         7fd16482e000-    7fd1648f7000       Deferred        winex11<elf>
  \-PE      7fd164840000-    7fd1648f7000       \               winex11
ELF         7fd1648f7000-    7fd164968000       Deferred        libncursesw.so.6
ELF         7fd164968000-    7fd16496f000       Deferred        libxxf86vm.so.1
ELF         7fd16496f000-    7fd164977000       Deferred        libxdmcp.so.6
ELF         7fd164977000-    7fd16498c000       Deferred        libxext.so.6
ELF         7fd16498c000-    7fd1649b2000       Deferred        imm32<elf>
  \-PE      7fd164990000-    7fd1649b2000       \               imm32
ELF         7fd164ab2000-    7fd164c67000       Deferred        wined3d<elf>
  \-PE      7fd164ae0000-    7fd164c67000       \               wined3d
ELF         7fd164c67000-    7fd164cd7000       Deferred        libvkd3d.so.1
ELF         7fd164cd9000-    7fd164d21000       Deferred        dxgi<elf>
  \-PE      7fd164ce0000-    7fd164d21000       \               dxgi
ELF         7fd164d21000-    7fd164d3f000       Deferred        d3d12<elf>
  \-PE      7fd164d30000-    7fd164d3f000       \               d3d12
ELF         7fd164d3f000-    7fd164d58000       Deferred        xinput9_1_0<elf>
  \-PE      7fd164d50000-    7fd164d58000       \               xinput9_1_0
ELF         7fd164d58000-    7fd164f0b000       Deferred        gdi32<elf>
  \-PE      7fd164d70000-    7fd164f0b000       \               gdi32
ELF         7fd164f0b000-    7fd164fa2000       Deferred        rpcrt4<elf>
  \-PE      7fd164f20000-    7fd164fa2000       \               rpcrt4
ELF         7fd164fa2000-    7fd1650dd000       Deferred        ucrtbase<elf>
  \-PE      7fd164fd0000-    7fd1650dd000       \               ucrtbase
ELF         7fd1650dd000-    7fd165169000       Deferred        setupapi<elf>
  \-PE      7fd1650f0000-    7fd165169000       \               setupapi
ELF         7fd165169000-    7fd1653fc000       Dwarf           user32<elf>
  \-PE      7fd165190000-    7fd1653fc000       \               user32
ELF         7fd1653fc000-    7fd165492000       Deferred        advapi32<elf>
  \-PE      7fd165410000-    7fd165492000       \               advapi32
ELF         7fd165492000-    7fd1655fe000       Deferred        ole32<elf>
  \-PE      7fd1654c0000-    7fd1655fe000       \               ole32
ELF         7fd1655fe000-    7fd1656eb000       Deferred        msvcrt<elf>
  \-PE      7fd165620000-    7fd1656eb000       \               msvcrt
ELF         7fd1657eb000-    7fd1657ff000       Deferred        libnss_files.so.2
ELF         7fd166060000-    7fd166088000       Deferred        liblzma.so.5
ELF         7fd166088000-    7fd1660a2000       Deferred        libgcc_s.so.1
ELF         7fd1660a2000-    7fd1661e8000       Deferred        libm.so.6
ELF         7fd1661e8000-    7fd166202000       Deferred        libunwind.so.8
ELF         7fd166202000-    7fd16620d000       Deferred        librt.so.1
ELF         7fd16620f000-    7fd166214000       Deferred        libxinerama.so.1
ELF         7fd166214000-    7fd166219000       Deferred        libxau.so.6
ELF         7fd166219000-    7fd166230000       Deferred        version<elf>
  \-PE      7fd166220000-    7fd166230000       \               version
ELF         7fd166241000-    7fd166257000       Deferred        wow64cpu<elf>
ELF         7fd166259000-    7fd16641f000       Deferred        libc.so.6
ELF         7fd16641f000-    7fd166424000       Deferred        libdl.so.2
ELF         7fd166424000-    7fd166446000       Deferred        libpthread.so.0
ELF         7fd166446000-    7fd1665d9000       Dwarf           libwine.so.1
ELF         7fd1665db000-    7fd166609000       Deferred        ld-linux-x86-64.so.2
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: Mario 64 PC port with DirectX 12 won´t work

Post by jkfloris »

I don't know how legal is Mario port is, but there is a native Linux port or you could try the OpenGL port.
lcrndrrr
Level 2
Level 2
Posts: 31
Joined: Thu Jun 13, 2019 10:54 am

Re: Mario 64 PC port with DirectX 12 won´t work

Post by lcrndrrr »

jkfloris wrote: Tue May 05, 2020 4:37 pm I don't know how legal is Mario port is, but there is a native Linux port or you could try the OpenGL port.
Well of course, and I can play it in an emulator, but the thing is that wine should be able to run it, since it already has DX12 support.
crhiggin
Level 2
Level 2
Posts: 13
Joined: Tue May 05, 2020 4:15 pm

Re: Mario 64 PC port with DirectX 12 won´t work

Post by crhiggin »

I had same problem with Diablo 3 (black window) when I upgraded to staging 5.7. Went back to 5.6 and all is good.
lcrndrrr
Level 2
Level 2
Posts: 31
Joined: Thu Jun 13, 2019 10:54 am

Re: Mario 64 PC port with DirectX 12 won´t work

Post by lcrndrrr »

crhiggin wrote: Tue May 05, 2020 9:27 pm I had same problem with Diablo 3 (black window) when I upgraded to staging 5.7. Went back to 5.6 and all is good.
Hmm I have the same behavior on 5.6
Locked