GTA San Andreas not working (stack overflow)

Questions about Wine on Linux
Locked
megamind6155
Newbie
Newbie
Posts: 2
Joined: Wed Nov 24, 2021 5:39 am

GTA San Andreas not working (stack overflow)

Post by megamind6155 »

Hello,

I recently installed GTA:SA from my DVD and it doesn't seem to be working.

Here is the error message I get when I run
# wine gta_sa.exe

Code: Select all

00c4:err:module:import_dll Library WDFLDR.SYS (which is needed by L"C:\\windows\\system32\\drivers\\vjoy.sys") not found
00c4:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\vjoy": c0000142
003c:fixme:service:scmdatabase_autostart_services Auto-start service L"vjoy" failed to start: 1114
0024:err:virtual:virtual_setup_exception stack overflow 1220 bytes in thread 0024 addr 0x7bc5324d stack 0x1580b3c (0x1580000-0x1581000-0x1780000)
I'm running wine 6.21-3 from archlinux repos
I tried it out on a few versions of wine which I downloaded through lutris but all of them them showed the same error.

Any help will be appreciated.
megamind6155
Newbie
Newbie
Posts: 2
Joined: Wed Nov 24, 2021 5:39 am

Re: GTA San Andreas not working (stack overflow)

Post by megamind6155 »

UPDATE

Well turns out that a sysctl parameter was causing the issue of the stack overflow.
The solution was to comment out all custom parameters I had set. That seemed to fix that issue but lead to another issue.

Here's the new log:
00c4:err:module:import_dll Library WDFLDR.SYS (which is needed by L"C:\\windows\\system32\\drivers\\vjoy.sys") not found
00c4:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\vjoy": c0000142
003c:fixme:service:scmdatabase_autostart_services Auto-start service L"vjoy" failed to start: 1114
0024:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
ALSA lib dlmisc.c:337:(snd_dlobj_cache_get0) Cannot open shared library libasound_module_pcm_pipewire.so (/usr/lib32/alsa-lib/libasound_module_pcm_pipewire.so: cannot open shared object file: No such file or directory)
ALSA lib dlmisc.c:337:(snd_dlobj_cache_get0) Cannot open shared library libasound_module_pcm_pipewire.so (/usr/lib32/alsa-lib/libasound_module_pcm_pipewire.so: cannot open shared object file: No such file or directory)
0064:fixme:imm:ImeSetActiveContext (0x258f40, 0): stub
0064:fixme:imm:ImmReleaseContext (0000000000010020, 0000000000258F40): stub
0024:fixme:imm:ImeSetActiveContext (0x24d900, 1): stub
0024:fixme:imm:ImmReleaseContext (00010054, 0024D900): stub
0024:fixme:d3d:resource_check_usage Unhandled usage flags 0x20.
0024:fixme:system:SystemParametersInfoW Unimplemented action: 59 (SPI_SETSTICKYKEYS)
0130:fixme:d3d:state_linepattern_w Setting line patterns is not supported in OpenGL core contexts.
0024:fixme:d3d:resource_check_usage Unhandled usage flags 0x20.
0024:fixme:ntdll:NtQuerySystemInformation (0x00000007,0x4113178,0x00000018,0x177ecc8) stub
0024:fixme:ntdll:NtQuerySystemInformation (0x00000050,0x4113178,0x00000054,0x177ecc8) stub
0024:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_CACHE_INFORMATION
0024:fixme:ntdll:NtQuerySystemInformation (0x00000021,0x41132e0,0x00000010,0x177ecc8) stub
0024:fixme:ntdll:NtQuerySystemInformation (0x0000002d,0x41132e0,0x00000020,0x177ecc8) stub
0024:fixme:ntdll:NtQuerySystemInformation (0x0000003d,0x41132f8,0x00000a90,0x177ecc8) stub
0024:fixme:ntdll:NtQuerySystemInformation (0x00000012,0x41132f8,0x00000a90,0x177ecc8) stub
0024:fixme:ntdll:NtQuerySystemInformation (0x0000002a,0x4113310,0x00000a78,0x177ecc8) stub
0024:fixme:reg:RegQueryInfoKeyW security argument not supported.
0024:fixme:reg:RegQueryInfoKeyW security argument not supported.
0024:fixme:reg:RegQueryInfoKeyW security argument not supported.
0024:fixme:reg:RegQueryInfoKeyW security argument not supported.
0024:fixme:reg:RegQueryInfoKeyW security argument not supported.
0024:fixme:reg:RegQueryInfoKeyW security argument not supported.
0024:fixme:reg:RegQueryInfoKeyW security argument not supported.
0024:fixme:reg:RegQueryInfoKeyW security argument not supported.
0024:fixme:reg:RegQueryInfoKeyW security argument not supported.
0024:fixme:reg:RegQueryInfoKeyW security argument not supported.
0024:err:ole:apartment_getclassobject DllGetClassObject returned error 0x80040111 for dll L"C:\\windows\\system32\\devenum.dll"
0024:err:ole:com_get_class_object no class object {da4e3da0-d07d-11d0-bd50-00a0c911ce86} could be created for context 0x1
0148:err:module:ntdll_init_syscalls syscall count mismatch 0 / 96
The game launches and I see the first two logos (EAX and Nvidia) and then the game crashes.
Locked