Wine file_set_error on 64 bit games

I'm trying to play games with wine but all 64 bit games and benchmark give output like this with all of wines in latest repository:
Code:
[atesozgur@freebsd ~/TPS Demo Windows]$ wine Godot\ Third-Person\ Shooter\ Demo.exe  
0024:fixme:ntdll:create_logical_proc_info stub
0024:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
002c:fixme:ntdll:create_logical_proc_info stub
002c:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
002c:fixme:ntdll:get_firmware_info info_class SYSTEM_FIRMWARE_TABLE_INFORMATION
002c:fixme:ntdll:get_firmware_info info_class SYSTEM_FIRMWARE_TABLE_INFORMATION
002c:err:winediag:getaddrinfo Failed to resolve your host name IP
0034:fixme:ntdll:create_logical_proc_info stub
0034:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
003c:fixme:ntdll:create_logical_proc_info stub
003c:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
0040:fixme:thread:set_native_thread_name not implemented on this platform
0048:fixme:ntdll:create_logical_proc_info stub
0048:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
0058:fixme:thread:set_native_thread_name not implemented on this platform
006c:fixme:ntdll:create_logical_proc_info stub
006c:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
0074:fixme:ntdll:create_logical_proc_info stub
0074:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
0080:fixme:thread:set_native_thread_name not implemented on this platform
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0094:fixme:ntdll:create_logical_proc_info stub
0094:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
00a4:fixme:thread:set_native_thread_name not implemented on this platform
00b0:fixme:ntdll:create_logical_proc_info stub
00b0:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
00bc:fixme:thread:set_native_thread_name not implemented on this platform
00d0:fixme:ntdll:create_logical_proc_info stub
00d0:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
00d8:fixme:ntdll:create_logical_proc_info stub
00d8:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
00e0:fixme:thread:set_native_thread_name not implemented on this platform
00ec:fixme:ntdll:create_logical_proc_info stub
00ec:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
00fc:fixme:thread:set_native_thread_name not implemented on this platform
Godot Engine v4.2.1.stable.official.b09f793f5 - https://godotengine.org
00d8:fixme:powermgnt:PowerCreateRequest (0000000068C5F0B0): stub
Failed to enable screen_keep_on.
Vulkan API 1.3.278 - Forward+ - Using Vulkan Device #0: AMD - AMD Radeon RX 7700 XT (RADV NAVI32)
00d8:fixme:win:RegisterTouchWindow hwnd 0000000000010068, flags 0 stub!
0144:fixme:thread:set_native_thread_name not implemented on this platform
00d8:fixme:avrt:AvSetMmThreadCharacteristicsW (L"Games",0000000068C5F320): stub
00d8:fixme:avrt:AvSetMmThreadPriority (0000000012345678)->(2) stub
00d8:fixme:mmdevapi:client_GetSharedModeEnginePeriod (0000000005040690)->(0000000003E62DD0, 0000000068C5F470, 0000000068C5F46C, 0000000068C5F468, 0000000068C5F464) - stub

ERROR: Attempt to disconnect a nonexistent connection from 'Skeleton3D:<Skeleton3D#56136566661>'. Signal: 'bone_pose_changed', callable: ''.
   at: (core/object/object.cpp:1420)
wine: Unhandled page fault on write access to 0000000000000000 at address 00000001406C7B98 (thread 0410), starting debugger...
0418:fixme:ntdll:create_logical_proc_info stub
0418:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
wineserver: file_set_error() can't map error: Cannot allocate memory
wineserver: file_set_error() can't map error: Cannot allocate memory
wineserver: file_set_error() can't map error: Cannot allocate memory
wineserver: file_set_error() can't map error: Cannot allocate memory
wineserver: file_set_error() can't map error: Cannot allocate memory
wineserver: file_set_error() can't map error: Cannot allocate memory
wineserver: file_set_error() can't map error: Cannot allocate memory
wineserver: file_set_error() can't map error: Cannot allocate memory
wineserver: file_set_error() can't map error: Cannot allocate memory
wineserver: file_set_error() can't map error: Cannot allocate memory
wineserver: file_set_error() can't map error: Cannot allocate memory
wineserver: file_set_error() can't map error: Cannot allocate memory
wineserver: file_set_error() can't map error: Cannot allocate memory
wineserver: file_set_error() can't map error: Cannot allocate memory
wineserver: file_set_error() can't map error: Cannot allocate memory
wineserver: file_set_error() can't map error: Cannot allocate memory
wineserver: file_set_error() can't map error: Cannot allocate memory
wineserver: file_set_error() can't map error: Cannot allocate memory
wineserver: file_set_error() can't map error: Cannot allocate memory
wineserver: file_set_error() can't map error: Cannot allocate memory
wineserver: file_set_error() can't map error: Cannot allocate memory
wineserver: file_set_error() can't map error: Cannot allocate memory
wineserver: file_set_error() can't map error: Cannot allocate memory
wineserver: file_set_error() can't map error: Cannot allocate memory
wineserver: file_set_error() can't map error: Cannot allocate memory
wineserver: file_set_error() can't map error: Cannot allocate memory
wineserver: file_set_error() can't map error: Cannot allocate memory
wineserver: file_set_error() can't map error: Cannot allocate memory
wineserver: file_set_error() can't map error: Cannot allocate memory
wineserver: file_set_error() can't map error: Cannot allocate memory
wineserver: file_set_error() can't map error: Cannot allocate memory
wineserver: file_set_error() can't map error: Cannot allocate memory
wineserver: file_set_error() can't map error: Cannot allocate memory
wineserver: file_set_error() can't map error: Cannot allocate memory
wineserver: file_set_error() can't map error: Cannot allocate memory
wineserver: file_set_error() can't map error: Cannot allocate memory
wineserver: file_set_error() can't map error: Cannot allocate memory
wineserver: file_set_error() can't map error: Cannot allocate memory
wineserver: file_set_error() can't map error: Cannot allocate memory
wineserver: file_set_error() can't map error: Cannot allocate memory
wineserver: file_set_error() can't map error: Cannot allocate memory
wineserver: file_set_error() can't map error: Cannot allocate memory
wineserver: file_set_error() can't map error: Cannot allocate memory
wineserver: file_set_error() can't map error: Cannot allocate memory
wineserver: file_set_error() can't map error: Cannot allocate memory
wineserver: file_set_error() can't map error: Cannot allocate memory
wineserver: file_set_error() can't map error: Cannot allocate memory
wineserver: file_set_error() can't map error: Cannot allocate memory
Unhandled exception: page fault on write access to 0x0000000000000000 in 64-bit code (0x000001406c7b98).
Register dump:
 rip:00000001406c7b98 rsp:00000000df20fde0 rbp:000000001b10e2a0 eflags:00010246 (  R- --  I  Z- -P- )
 rax:000000001b4a2780 rbx:000000001b4e27c0 rcx:0000000000000000 rdx:0000000069320000
 rsi:000000001b4a27c0 rdi:00000000122d9be8  r8:0000000000001800  r9:0000000000000080 r10:000000000000c019
 r11:000000000000003d r12:0000000000000000 r13:000000001b4a2780 r14:00000000122d9bc0 r15:00006ffffffa83b0
Stack dump:
0x000000df20fde0:  00000000122d0ed0 00000000441f0ccc
0x000000df20fdf0:  00000000441f0ce0 00000000441f0d60
0x000000df20fe00:  0000000000000000 fffffffffffa84e0
0x000000df20fe10:  0000000000000000 ffffffffffbc554e
0x000000df20fe20:  0000000000000000 000000001b4a2780
0x000000df20fe30:  0000000000000021 0000000012145c28
0x000000df20fe40:  0000000012145c28 00000000000000ba
0x000000df20fe50:  0000000000000000 0000000000000000
0x000000df20fe60:  0000000000000000 0000000000000000
0x000000df20fe70:  0000000000000000 00000000406c7fbc
0x000000df20fe80:  00000000406c7fa0 00000000406c7fa0
0x000000df20fe90:  0000000012145c28 00000000000000ba
Backtrace:
=>0 0x000001406c7b98 in godot third-person shooter demo (+0x6c7b98) (0x0000001b10e2a0)
0x000001406c7b98 godot third-person shooter demo+0x6c7b98: xchg %rax, (%rcx)
Modules:
Module  Address                                 Debug info      Name (49 modules)
PE-Wine         7af50000-        7b02d000       Deferred        opengl32
PE             140000000-       144420000       Export          godot third-person shooter demo
PE-Wine     6ffffe0e0000-    6ffffe0ed000       Deferred        wsock32
PE-Wine     6ffffe100000-    6ffffe11a000       Deferred        msacm32
PE-Wine     6ffffe130000-    6ffffe177000       Deferred        winmm
PE-Wine     6ffffe190000-    6ffffe400000       Deferred        wined3d
PE-Wine     6ffffe410000-    6ffffe43c000       Deferred        dxgi
PE-Wine     6ffffe450000-    6ffffe4ba000       Deferred        dwrite
PE-Wine     6ffffe4d0000-    6ffffe4db000       Deferred        dwmapi
PE-Wine     6ffffe4f0000-    6ffffe4fe000       Deferred        hid
PE-Wine     6ffffe510000-    6ffffe629000       Deferred        comctl32
PE-Wine     6ffffe640000-    6ffffe674000       Deferred        dinput8
PE-Wine     6ffffe690000-    6ffffe71a000       Deferred        crypt32
PE-Wine     6ffffe730000-    6ffffe744000       Deferred        bcrypt
PE-Wine     6ffffe760000-    6ffffe769000       Deferred        avrt
PE-Wine     6ffffe780000-    6ffffe7b1000       Deferred        uxtheme
PE-Wine     6ffffe7d0000-    6ffffe7da000       Deferred        nsi
PE-Wine     6ffffe7f0000-    6ffffe803000       Deferred        dnsapi
PE-Wine     6ffffe820000-    6ffffe842000       Deferred        iphlpapi
PE-Wine     6ffffe8c0000-    6ffffe8d3000       Deferred        winex11
PE-Wine     6ffffe970000-    6ffffe98b000       Deferred        imm32
PE-Wine     6ffffea30000-    6ffffea88000       Deferred        setupapi
PE-Wine     6ffffeac0000-    6fffff34a000       Deferred        shell32
PE-Wine     6fffff360000-    6fffff373000       Deferred        shcore
PE-Wine     6fffff390000-    6fffff3ce000       Deferred        shlwapi
PE-Wine     6fffff410000-    6fffff51a000       Deferred        oleaut32
PE-Wine     6fffff530000-    6fffff543000       Deferred        coml2
PE-Wine     6fffff560000-    6fffff5d3000       Deferred        rpcrt4
PE-Wine     6fffff5f0000-    6fffff633000       Deferred        combase
PE-Wine     6fffff650000-    6fffff686000       Deferred        win32u
PE-Wine     6fffff6a0000-    6fffff718000       Deferred        gdi32
PE-Wine     6fffff730000-    6fffff8c0000       Deferred        user32
PE-Wine     6fffff8d0000-    6fffff9c4000       Deferred        ole32
PE-Wine     6fffff9f0000-    6fffffa21000       Deferred        rsaenh
PE-Wine     6fffffa40000-    6fffffa4a000       Deferred        winealsa
PE-Wine     6fffffa60000-    6fffffa69000       Deferred        version
PE-Wine     6fffffa80000-    6fffffaa1000       Deferred        mmdevapi
PE-Wine     6fffffac0000-    6fffffad0000       Deferred        xinput1_4
PE-Wine     6fffffae0000-    6fffffb08000       Deferred        winevulkan
PE-Wine     6fffffb20000-    6fffffb2c000       Deferred        vulkan-1
PE-Wine     6fffffb40000-    6fffffb4f000       Deferred        wintab32
PE-Wine     6fffffb60000-    6fffffb84000       Deferred        ws2_32
PE-Wine     6fffffba0000-    6fffffc3e000       Deferred        msvcrt
PE-Wine     6fffffc50000-    6fffffd1f000       Deferred        ucrtbase
PE-Wine     6fffffd30000-    6fffffd55000       Deferred        sechost
PE-Wine     6fffffd70000-    6fffffdaa000       Deferred        advapi32
PE-Wine     6fffffdc0000-    6fffffec8000       Deferred        kernelbase
PE-Wine     6fffffee0000-    6ffffff33000       Deferred        kernel32
PE-Wine     6ffffff50000-    6ffffffed000       Deferred        ntdll
Threads:
process  tid      prio    name (all IDs are in hex)
00000020 start.exe
        00000024    0
00000038 services.exe
        0000003c    0
        00000040    0     wine_rpcrt4_server
        0000004c    0     wine_rpcrt4_io
        00000078    0     wine_rpcrt4_io
        0000009c    0     wine_rpcrt4_io
        000000b4    0     wine_rpcrt4_io
        000000c8    0
        000000f0    0     wine_rpcrt4_io
00000044 winedevice.exe
        00000048    0
        00000054    0
        00000058    0     wine_sechost_service
        0000005c    0
        00000060    0
        000000c0    0
00000068 explorer.exe
        0000006c    0
        000000dc    0
        000000e0    0     wine_rpcrt4_server
00000070 winedevice.exe
        00000074    0
        0000007c    0
        00000080    0     wine_sechost_service
        00000084    0
        00000088    0
        0000008c    0
        00000098    0
00000090 plugplay.exe
        00000094    0
        000000a0    0
        000000a4    0     wine_sechost_service
        000000a8    0     wine_rpcrt4_server
        0000014c    0     wine_rpcrt4_io
        00000150    0     wine_threadpool_worker
000000ac svchost.exe
        000000b0    0
        000000b8    0
        000000bc    0     wine_sechost_service
000000cc conhost.exe
        000000d0    0
000000d4 (D) Z:\home\atesozgur\TPS Demo Windows\Godot Third-Person Shooter Demo.exe
        000000d8   15
        00000110    0
        00000114    0
        00000118    0
        0000011c    0
        00000120    0
        00000124    0
        00000128    0
        0000012c    0
        00000130    0
        00000134    0
        00000138    0
        0000013c    0
        00000140    0
        00000144    0     wine_xinput_hid_update
        00000148    0     wine_sechost_device_notify
        00000154    0     wine_mmdevapi_notification
        0000015c    0
        00000160   15     audio_client_timer
        00000164    0
        00000410    0 <==
        0000041c    0
000000e8 rpcss.exe
        000000ec    0
        000000f8    0
        000000fc    0     wine_sechost_service
        00000100    0     wine_rpcrt4_server
        00000104    0     wine_rpcrt4_server
        00000108    0     wine_rpcrt4_io
System information:
    Wine build: wine-9.0
    Platform: x86_64 (guest: i386)
    Version: Windows 10
    Host system: FreeBSD
    Host version: 14.1-RELEASE-p4
For Godot Third Person Shooter demo it works flawlessly on native Godot and can only display main menu with wine. I tested wine with Elementral DX12 Demo and Assasin's Creed Odyseey too but they crushes before getting main menu with wine gives same wineserver: file_set_error() can't map error: Cannot allocate memory error.
 
Back
Top