You are not logged in.
Pages: 1
Running the following command
WINEARCH=win64 wine start SokuLauncher.exeleads to two errors:
Failed to created D3D object Failed to InitializeMore modern games work fine with integrated graphics, so it only seems to struggle with 32bit programs.
Here is the wine dump:
Unhandled exception: page fault on read access to 0x00000040 in wow64 32-bit code (0x004784e3).
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
EIP:004784e3 ESP:009afb0c EBP:79fa8bf0 EFLAGS:00010246( R- -- I Z- -P- )
EAX:009afb04 EBX:00000000 ECX:00000000 EDX:00000006
ESI:00000000 EDI:008a0028
Stack dump:
0x009afb0c: 00000000 0043c6d1 00000000 00440559
0x009afb1c: 0089ff90 0041e225 00407bd7 00400000
0x009afb2c: 0003006a 00000000 007fb8a6 00000002
0x009afb3c: 009aff50 000023f0 00000001 000000a0
0x009afb4c: 00000286 0003006a 00400000 00000000
0x009afb5c: 00000000 00000000 018f35e0 00000000
Backtrace:
=>0 0x004784e3 in th123 (+0x784e3) (0x79fa8bf0)
1 0x90907a07 (0xc15425ff)
0x004784e3 th123+0x784e3: movl 0x40(%esi), %eax
Modules:
Module Address Debug info Name (63 modules)
PE 400000- 8a4000 --none-- th123
PE 65780000-657c0000 Deferred th123e
PE-Wine 77870000-77919000 Deferred uxtheme
PE-Wine 77930000-77bc2000 Deferred dbghelp
PE-Wine 77be0000-77c15000 Deferred imagehlp
PE-Wine 77c30000-77cbf000 Deferred ws2_32
PE-Wine 77cd0000-77e29000 Deferred d3d9
PE-Wine 77e40000-77ec0000 Deferred d3dxof
PE-Wine 77ed0000-783cf000 Deferred opengl32
PE-Wine 783e0000-79721000 Deferred wined3d
PE-Wine 79740000-79805000 Deferred d3dcompiler_47
PE-Wine 79820000-79b10000 Deferred d3dx9_33
PE-Wine 79b20000-79c99000 Deferred winmm
PE-Wine 79cb0000-79edc000 Deferred rpcrt4
PE-Wine 79ef0000-79f34000 Deferred shcore
PE-Wine 79f50000-79f90000 Deferred win32u
PE-Wine 79fa0000-7a4a2000 Deferred user32
PE-Wine 7a4c0000-7a70d000 Deferred gdi32
PE-Wine 7a720000-7aa4f000 Deferred ucrtbase
PE-Wine 7aa60000-7aacf000 Deferred sechost
PE-Wine 7aae0000-7abcf000 Deferred advapi32
PE-Wine 7abe0000-7accf000 Deferred shlwapi
PE-Wine 7ace0000-7af9e000 Deferred msvcrt
PE-Wine 7afb0000-7b504000 Deferred kernelbase
PE-Wine 7b520000-7b692000 Deferred kernel32
PE-Wine 7b6b0000-7b9b6000 Deferred ntdll
PE-Wine 7b9d0000-7b9e3000 Deferred winex11
PE-Wine 7ba00000-7ba68000 Deferred msacm32
PE-Wine 7ba80000-7bacc000 Deferred coml2
PE-Wine 7bae0000-7bc2c000 Deferred combase
PE-Wine 7bc40000-7bf61000 Deferred ole32
PE-Wine 7bf80000-7bfe6000 Deferred imm32
ELF 7dd77000-7dd7e000 Deferred libxfixes.so.3
ELF 7dd7e000-7dd8a000 Deferred libxcursor.so.1
ELF 7e18b000-7e19e000 Deferred libxi.so.6
ELF 7e19e000-7e1ae000 Deferred libxrandr.so.2
ELF 7e1ae000-7e1ba000 Deferred libxrender.so.1
ELF 7e1ba000-7e1c1000 Deferred libxdmcp.so.6
ELF 7e1c1000-7e1ee000 Deferred libxcb.so.1
ELF 7e1ee000-7e329000 Deferred libx11.so.6
ELF 7e329000-7e33f000 Deferred libxext.so.6
ELF 7e346000-7e34c000 Deferred ws2_32.so
ELF 7e370000-7e3e0000 Deferred winex11.so
ELF 7e3e0000-7e46b000 Deferred opengl32.so
ELF 7e61d000-7e647000 Deferred libexpat.so.1
ELF 7e647000-7e69a000 Deferred libfontconfig.so.1
ELF 7e69a000-7e733000 Deferred libpcre2-8.so.0
ELF 7e733000-7e756000 Deferred libbrotlicommon.so.1
ELF 7e756000-7e8a3000 Deferred libglib-2.0.so.0
ELF 7e8a3000-7e8b2000 Deferred libbrotlidec.so.1
ELF 7e8b2000-7e9d6000 Deferred libharfbuzz.so.0
ELF 7e9d6000-7ea10000 Deferred libpng16.so.16
ELF 7ea10000-7ea23000 Deferred libbz2.so.1.0
ELF 7ea23000-7ea3b000 Deferred libz.so.1
ELF 7ea3b000-7eafc000 Deferred libfreetype.so.6
ELF 7eafc000-7eb31000 Deferred libgcc_s.so.1
ELF 7eb31000-7ec09000 Deferred libm.so.6
ELF 7ec3a000-7eda7000 Deferred win32u.so
ELF eb581000-eb586000 Deferred libxau.so.6
ELF eb58a000-eb635000 Export ntdll.so
ELF eb735000-eb96a000 Deferred libc.so.6
ELF eb99d000-eb9d3000 Deferred ld-linux.so.2
ELF eb9d3000-eb9d8000 Deferred <wine-loader>
Threads:
process tid prio name (all IDs are in hex)
00000038 services.exe
0000003c 0
00000040 0 wine_rpcrt4_server
0000004c 0 wine_rpcrt4_io
00000078 0 wine_rpcrt4_io
00000090 0 wine_rpcrt4_io
000000b4 0 wine_rpcrt4_io
000000c8 0 wine_rpcrt4_io
000000dc 0 wine_rpcrt4_io
000000e0 0
000000fc 0 wine_rpcrt4_io
00000044 winedevice.exe
00000048 0
00000054 0
00000058 0 wine_sechost_service
0000005c 0
00000060 0
00000064 0
0000009c 0
000000a0 0
00000068 plugplay.exe
0000006c 0
0000007c 0
00000080 0 wine_sechost_service
00000084 0 wine_rpcrt4_server
000000f4 0 wine_rpcrt4_io
00000070 explorer.exe
00000074 0
000000ac 0
000000b0 0 wine_explorer_display_settings_restorer
000000c4 0 wine_rpcrt4_server
00000088 svchost.exe
0000008c 0
00000094 0
00000098 0 wine_sechost_service
000000a4 winedevice.exe
000000a8 0
000000b8 0
000000bc 0 wine_sechost_service
000000c0 0
000000d0 0
000000d4 0
000000ec 0
000000f0 0
000000e4 rpcss.exe
000000e8 0
00000100 0
00000104 0 wine_sechost_service
00000108 0 wine_rpcrt4_server
0000010c 0 wine_rpcrt4_server
00000110 0 wine_rpcrt4_io
00000174 (D) Z:\home\Houha\Games\touhou-123\drive_c\users\Houha\Downloads\Touhou 12.3 - Hisoutensoku\Soku\th123.exe
00000178 0 <==
0000017c 15
00000194 0
0000018c conhost.exe
00000190 0
System information:
Wine build: wine-9.22
Platform: x86_64 (guest: i386)
Version: Windows 10
Host system: Linux
Host version: 6.12.9-arch1-1Last edited by Wheatman (2025-02-10 14:54:38)
Made of French Bread.
Offline
Does this also happen from a clean fresh wineprefix ?
Have you tried with wine 10.0 ?
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
I'd recommend using Bottles where you can download and try different flavours of wine and have things like dxvk, fsr built in
Offline
You don't need WINEARCH=win64 flag with wine 10.0 and above it has wow64 mode
does touhou hisoutensoku use ddraw or d3d9 ?
.:HalanoTheSmartMoth:.
Offline
Tried running it Through Bottles and it just crashed Without even showing the start screen.
When I run it through wine, it runs a sort of start screen then when then when the game is supposed to start it shows it show me those two errors I showed before, with this error also showing up in the console:
/var/hostdir/mono/mono/eglib/gpath.c:115: assertion 'filename != NULL' failedBefore it crashes.
Running it through lutris returns a similar error, so I doubt it was an error in my own wine prefix, especially since when I upgraded to wine 10, I got this erorr:
Unhandled exception: page fault on read access to 0x00000040 in wow64 32-bit code (0x004784e3).
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
EIP:004784e3 ESP:009afb0c EBP:79f88c30 EFLAGS:00010246( R- -- I Z- -P- )
EAX:009afb04 EBX:00000000 ECX:00000000 EDX:00000006
ESI:00000000 EDI:008a0028
Stack dump:
0x009afb0c: 00000000 0043c6d1 00000000 00440559
0x009afb1c: 0089ff90 0041e225 00407bd7 00400000
0x009afb2c: 0003006a 00000000 007fb8a6 00000002
0x009afb3c: 009aff50 000023f0 00000001 000000a0
0x009afb4c: 00000286 0003006a 00400000 00000000
0x009afb5c: 00000000 00000000 018f3590 00000000
Backtrace:
=>0 0x004784e3 in th123 (+0x784e3) (0x79f88c30)
1 0x90907a05 (0xd15c25ff)
0x004784e3 th123+0x784e3: movl 0x40(%esi), %eax
Modules:
Module Address Debug info Name (63 modules)
PE 400000- 8a4000 --none-- th123
PE 65780000-657c0000 Deferred th123e
PE-Wine 77780000-77829000 Deferred uxtheme
PE-Wine 77840000-77ad4000 Deferred dbghelp
PE-Wine 77af0000-77b26000 Deferred imagehlp
PE-Wine 77b40000-77bd0000 Deferred ws2_32
PE-Wine 77be0000-77d3a000 Deferred d3d9
PE-Wine 77d50000-77dd0000 Deferred d3dxof
PE-Wine 77de0000-782df000 Deferred opengl32
PE-Wine 782f0000-796f3000 Deferred wined3d
PE-Wine 79710000-797d5000 Deferred d3dcompiler_47
PE-Wine 797f0000-79ae1000 Deferred d3dx9_33
PE-Wine 79b00000-79c79000 Deferred winmm
PE-Wine 79c90000-79ebc000 Deferred rpcrt4
PE-Wine 79ed0000-79f15000 Deferred shcore
PE-Wine 79f30000-79f70000 Deferred win32u
PE-Wine 79f80000-7a486000 Deferred user32
PE-Wine 7a4a0000-7a6ee000 Deferred gdi32
PE-Wine 7a700000-7aa3f000 Deferred ucrtbase
PE-Wine 7aa50000-7aabf000 Deferred sechost
PE-Wine 7aad0000-7abbf000 Deferred advapi32
PE-Wine 7abd0000-7acbf000 Deferred shlwapi
PE-Wine 7acd0000-7af9b000 Deferred msvcrt
PE-Wine 7afb0000-7b505000 Deferred kernelbase
PE-Wine 7b520000-7b694000 Deferred kernel32
PE-Wine 7b6b0000-7b9b6000 Deferred ntdll
PE-Wine 7b9d0000-7b9e3000 Deferred winex11
PE-Wine 7ba00000-7ba69000 Deferred msacm32
PE-Wine 7ba80000-7bace000 Deferred coml2
PE-Wine 7bae0000-7bc2e000 Deferred combase
PE-Wine 7bc40000-7bf63000 Deferred ole32
PE-Wine 7bf80000-7bfe7000 Deferred imm32
ELF 7e148000-7e154000 Deferred libxcursor.so.1
ELF 7e15b000-7e161000 Deferred ws2_32.so
ELF 7e185000-7e198000 Deferred libxi.so.6
ELF 7e198000-7e1a8000 Deferred libxrandr.so.2
ELF 7e1a8000-7e1b4000 Deferred libxrender.so.1
ELF 7e1b4000-7e1bb000 Deferred libxdmcp.so.6
ELF 7e1bb000-7e1c0000 Deferred libxau.so.6
ELF 7e1c0000-7e1ed000 Deferred libxcb.so.1
ELF 7e1ed000-7e328000 Deferred libx11.so.6
ELF 7e328000-7e33e000 Deferred libxext.so.6
ELF 7e341000-7e348000 Deferred libxfixes.so.3
ELF 7e36f000-7e3df000 Deferred winex11.so
ELF 7e3df000-7e46a000 Deferred opengl32.so
ELF 7e61c000-7e646000 Deferred libexpat.so.1
ELF 7e646000-7e694000 Deferred libfontconfig.so.1
ELF 7e694000-7e72d000 Deferred libpcre2-8.so.0
ELF 7e72d000-7e750000 Deferred libbrotlicommon.so.1
ELF 7e750000-7e89d000 Deferred libglib-2.0.so.0
ELF 7e89d000-7e8ac000 Deferred libbrotlidec.so.1
ELF 7e8ac000-7e9d3000 Deferred libharfbuzz.so.0
ELF 7e9d3000-7ea0e000 Deferred libpng16.so.16
ELF 7ea0e000-7ea21000 Deferred libbz2.so.1.0
ELF 7ea21000-7ea39000 Deferred libz.so.1
ELF 7ea39000-7eafa000 Deferred libfreetype.so.6
ELF 7eafa000-7eb2f000 Deferred libgcc_s.so.1
ELF 7eb2f000-7ec07000 Deferred libm.so.6
ELF 7ec38000-7eda7000 Deferred win32u.so
ELF f2914000-f29c1000 Export ntdll.so
ELF f29c1000-f2bf6000 Deferred libc.so.6
ELF f2c29000-f2c5f000 Deferred ld-linux.so.2
ELF f2c5f000-f2c64000 Deferred <wine-loader>
Threads:
process tid prio name (all IDs are in hex)
00000038 services.exe
0000003c 0
00000040 0 wine_rpcrt4_server
0000004c 0 wine_rpcrt4_io
00000078 0 wine_rpcrt4_io
00000090 0 wine_rpcrt4_io
000000b8 0 wine_rpcrt4_io
000000bc 0 wine_rpcrt4_io
000000dc 0 wine_rpcrt4_io
000000e0 0
000000fc 0 wine_rpcrt4_io
00000044 winedevice.exe
00000048 0
00000054 0
00000058 0 wine_sechost_service
0000005c 0
00000060 0
00000064 0
0000009c 0
000000a0 0
00000068 plugplay.exe
0000006c 0
0000007c 0
00000080 0 wine_sechost_service
00000084 0 wine_rpcrt4_server
000000f4 0 wine_rpcrt4_io
00000070 explorer.exe
00000074 0
000000ac 0
000000b0 0 wine_explorer_display_settings_restorer
000000b4 0 wine_rpcrt4_server
00000088 svchost.exe
0000008c 0
00000094 0
00000098 0 wine_sechost_service
000000a4 winedevice.exe
000000a8 0
000000c4 0
000000c8 0 wine_sechost_service
000000cc 0
000000d0 0
000000d4 0
000000e4 0
000000f0 0
000000e8 rpcss.exe
000000ec 0
00000100 0
00000104 0 wine_sechost_service
00000108 0 wine_rpcrt4_server
0000010c 0 wine_rpcrt4_server
00000110 0 wine_rpcrt4_io
00000174 (D) Z:\home\Houha\Games\touhou-123\drive_c\users\Houha\Downloads\Touhou 12.3 - Hisoutensoku\Soku\th123.exe
00000178 0 <==
0000017c 15
00000194 0
0000018c conhost.exe
00000190 0
System information:
Wine build: wine-10.0
Platform: x86_64 (guest: i386)
Version: Windows 10
Host system: Linux
Host version: 6.12.10-arch1-1Here is the start screen I'm talking about if it helps :v

Last edited by Wheatman (2025-02-03 07:24:53)
Made of French Bread.
Offline
Mono fails you probably need to install some Dotnet dependency via winetricks or the dependency manager in bottles. You need to figure out which version of dotnet your game uses
Last edited by ugjka (2025-02-03 16:53:44)
Offline
If you haven't already, look up the games you want to run on https://appdb.winehq.org/. It provides instructions, workarounds, and tells you which dependencies are required for each individual game.
Intel Pentium 4 Northwood C 3.4 GHz | NVIDIA GeForce2 MX | ASRock P4i65GV | 1.5 GB DDR333 | 80 GB WD HDD + 150 GB Maxtor HDD
Offline
You don't need WINEARCH=win64 flag with wine 10.0 and above it has wow64 mode
does touhou hisoutensoku use ddraw or d3d9 ?
It needs d3d9IIRC, I also found a file with Necessary installs, though installing them through lutris didn't seem to have an effect.
Here is the full log from the console if it helps.
00d8:err:hid:udev_bus_init UDEV monitor creation failed
0124:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0124:fixme:msg:ChangeWindowMessageFilter c034 00000001
0124:fixme:dwmapi:DwmAttachMilContent (000000000001005C) stub
0148:fixme:gdi:GdiEntry13 stub
0148:fixme:dwrite:dwritefactory_CreateMonitorRenderingParams (0000000000000001): monitor setting ignored
0124:fixme:win:RegisterPowerSettingNotification (0000000000010076,{02731015-4510-4526-99e6-e5a17ebd1aea},0): stub
0124:fixme:wtsapi:WTSRegisterSessionNotification Stub 0000000000010070 0x00000000
0124:fixme:msg:ChangeWindowMessageFilterEx 0000000000010070 c031 1 00007FFFFE1FD4C8
0124:fixme:msg:ChangeWindowMessageFilterEx 0000000000010070 111 1 00007FFFFE1FD4C8
015c:fixme:wmp:OleObject_QueryInterface (0000764D650E1160)->({6d6cf803-1ec0-4c8d-b3ca-f18e27282074} 0000764D6485F838)
[Grian@TheWheatArch Touhou 12.3 - Hisoutensoku]$ wine SokuLauncher.exe > errors.txt
0190:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0190:fixme:msg:ChangeWindowMessageFilter c034 00000001
0190:fixme:dwmapi:DwmAttachMilContent (0000000000030058) stub
01b4:fixme:gdi:GdiEntry13 stub
01b4:fixme:dwrite:dwritefactory_CreateMonitorRenderingParams (0000000000000001): monitor setting ignored
[Grian@TheWheatArch Touhou 12.3 - Hisoutensoku]$ wine SokuLauncher.exe
01f8:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
01f8:fixme:msg:ChangeWindowMessageFilter c034 00000001
01f8:fixme:dwmapi:DwmAttachMilContent (000000000004008E) stub
021c:fixme:gdi:GdiEntry13 stub
021c:fixme:dwrite:dwritefactory_CreateMonitorRenderingParams (0000000000000001): monitor setting ignored
01f8:fixme:win:RegisterPowerSettingNotification (0000000000040076,{02731015-4510-4526-99e6-e5a17ebd1aea},0): stub
01f8:fixme:wtsapi:WTSRegisterSessionNotification Stub 0000000000020096 0x00000000
01f8:fixme:msg:ChangeWindowMessageFilterEx 0000000000020096 c031 1 00007FFFFE1FD4C8
01f8:fixme:msg:ChangeWindowMessageFilterEx 0000000000020096 111 1 00007FFFFE1FD4C8
022c:fixme:wmp:OleObject_QueryInterface (0000716A676087B0)->({6d6cf803-1ec0-4c8d-b3ca-f18e27282074} 0000716A6C10F838)
022c:fixme:wmp:WMPSettings_put_enableErrorDialogs (0000716A676087B0)->(0)
022c:fixme:wmp:WMPSettings_put_invokeURLs (0000716A676087B0)->(0)
022c:fixme:wmp:OleObject_QueryInterface (0000716A67608890)->({6d6cf803-1ec0-4c8d-b3ca-f18e27282074} 0000716A6C10F838)
022c:fixme:wmp:WMPSettings_put_enableErrorDialogs (0000716A67608890)->(0)
022c:fixme:wmp:WMPSettings_put_invokeURLs (0000716A67608890)->(0)
022c:fixme:wmp:OleObject_QueryInterface (0000716A67608970)->({6d6cf803-1ec0-4c8d-b3ca-f18e27282074} 0000716A6C10F838)
022c:fixme:wmp:WMPSettings_put_enableErrorDialogs (0000716A67608970)->(0)
022c:fixme:wmp:WMPSettings_put_invokeURLs (0000716A67608970)->(0)
022c:fixme:wmp:OleObject_QueryInterface (0000716A67608A50)->({6d6cf803-1ec0-4c8d-b3ca-f18e27282074} 0000716A6C10F838)
022c:fixme:wmp:WMPSettings_put_enableErrorDialogs (0000716A67608A50)->(0)
022c:fixme:wmp:WMPSettings_put_invokeURLs (0000716A67608A50)->(0)
01f8:fixme:wincodecs:ColorTransform_Initialize ignoring color contexts
01f8:fixme:dwrite:dwritetextanalyzer_AnalyzeNumberSubstitution (0000716A67F847E0 0 18 0000716A67F86420): stub
022c:fixme:wmp:OleObject_Close Unsupported option 1
022c:fixme:wmp:OleObject_Close Unsupported option 1
022c:fixme:wmp:OleObject_Close Unsupported option 1
022c:fixme:wmp:OleObject_Close Unsupported option 1
021c:fixme:seh:WerRegisterMemoryBlock (00006FFFFA3E7FF0 10240) stub
021c:fixme:seh:WerRegisterMemoryBlock (00006FFFFA3E5370 4) stub
021c:fixme:dwmapi:DwmGetCompositionTimingInfo (0000000000000000 0000716AA86EF820)
021c:fixme:dwmapi:DwmFlush () stub
/var/hostdir/mono/mono/eglib/gpath.c:115: assertion 'filename != NULL' failed
01f8:fixme:exec:SHELL_execute flags ignored: 0x00004100
01f8:fixme:win:UnregisterPowerSettingNotification (00000000DEADBEEF): stub
01f8:fixme:wtsapi:WTSUnRegisterSessionNotification Stub 0000000000020096
01f8:fixme:dwmapi:DwmDetachMilContent (000000000004008E) stubLast edited by Wheatman (2025-02-03 22:38:45)
Made of French Bread.
Offline
It may be ared herring , but
/var/hostdir/mono/mono/eglib/gpath.c:115: assertion 'filename != NULL' failedthat folder path looks very weird, is there actually a /var/hostdir folder on your system ?
The gpath.c file appears to come from mono-debug , try removing that package
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
It may be ared herring , but
/var/hostdir/mono/mono/eglib/gpath.c:115: assertion 'filename != NULL' failedthat folder path looks very weird, is there actually a /var/hostdir folder on your system ?
The gpath.c file appears to come from mono-debug , try removing that package
Not only is there no folder /var/hostdir, there is also no package named mono-debug either installed nor through the AUR.
Made of French Bread.
Offline
The stuff that's relevant for wine mono is in the wine-mono packages, is that installed? Though if it's not installed wine should install it itself on first run of a new version.
Offline
The stuff that's relevant for wine mono is in the wine-mono packages, is that installed? Though if it's not installed wine should install it itself on first run of a new version.
I checked and wine-mono is already installed, I reinstalled just to be sure, and the only warning was about permissions
warning: directory permissions differ on /usr/
filesystem: 777 package: 755
warning: directory permissions differ on /usr/share/
filesystem: 777 package: 755
:: Running post-transaction hooks...Which I doubt has any effect, maybe it's a driver issue?
EDIT: Reinstalled wine-mono and suddenly the game works now, thank you (:
Last edited by Wheatman (2025-02-10 08:05:20)
Made of French Bread.
Offline
you should fix those perms, you should have no reason for either of these directories to be 777, and if you actually have a reason it's very likely misguided and a major security hole.
Last edited by V1del (2025-02-11 00:50:11)
Offline
Pages: 1