GTA San Andreas in Wine

I’m running openSUSE 13.1 and I installed GTA San Andreas from the retail DVD. I’ve already done winetricks d3dx9, so what would I have to do to make it playable? The main menu doesn’t show up (black screen) and the menu sounds play but the game won’t start. This is the error report in Wine:

Unhandled exception: page fault on write access to 0x00000001 in 32-bit code (0x7e342a56).
Register dump:
CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
EIP:7e342a56 ESP:0177f280 EBP:0177f2b8 EFLAGS:00210206( R- – I - -P- )
EAX:00000001 EBX:7e3a3000 ECX:0177f2d0 EDX:ffffffff
ESI:00000001 EDI:00000000
Stack dump:
0x0177f280: 00000000 00000000 00000500 00000320
0x0177f290: 00000000 00000000 00000000 ffffffff
0x0177f2a0: 00000000 00000000 0177f2d0 7e3a3000
0x0177f2b0: 001100b8 00000000 0177f308 7e33b107
0x0177f2c0: 00000000 00000000 00000000 7e33b107
0x0177f2d0: 00000001 00000000 00000000 00000000
=>0 0x7e342a56 wined3d_texture_decref+0x26() in wined3d (0x0177f2b8)
1 0x7e33b107 wined3d_surface_decref+0x56() in wined3d (0x0177f308)
2 0x7e33e14d wined3d_swapchain_create+0x38c() in wined3d (0x0177f3e8)
3 0x7c902410 in d3d9 (+0x2240f) (0x0177f438)
4 0x7c8f347a in d3d9 (+0x13479) (0x0177f488)
5 0x7e2b79cb wined3d_device_init_3d+0x12a() in wined3d (0x0177f528)
6 0x7c8fcc7e in d3d9 (+0x1cc7d) (0x0177f708)
7 0x7c8fd574 in d3d9 (+0x1d573) (0x0177f778)
0x7e342a56 wined3d_texture_decref+0x26 in wined3d: lock xaddl %edx,0x0(%esi)
Module Address Debug info Name (108 modules)
PE 240000- 249000 Deferred ogg
PE 250000- 358000 Deferred vorbis
PE 360000- 390000 Deferred eax
PE 400000- 1577000 Export gta_sa
PE 10000000-10011000 Deferred vorbisfile
PE 51080000-510e1000 Deferred dsound
ELF 7b800000-7ba5d000 Deferred kernel32<elf>
-PE 7b810000-7ba5d000 \ kernel32
ELF 7bc00000-7bce3000 Deferred ntdll<elf>
-PE 7bc10000-7bce3000 \ ntdll
ELF 7bf00000-7bf04000 Deferred <wine-loader>
ELF 7bff8000-7c100000 Deferred comctl32<elf>
-PE 7c000000-7c100000 \ comctl32
ELF 7c247000-7c400000 Deferred
ELF 7c8de000-7c91b000 Dwarf d3d9<elf>
-PE 7c8e0000-7c91b000 \ d3d9
ELF 7c91b000-7c951000 Deferred uxtheme<elf>
-PE 7c920000-7c951000 \ uxtheme
ELF 7c951000-7c99c000 Deferred dinput<elf>
-PE 7c960000-7c99c000 \ dinput
ELF 7c99c000-7c9c8000 Deferred
ELF 7c9c8000-7c9d0000 Deferred
ELF 7c9d0000-7c9e8000 Deferred
ELF 7c9e8000-7cb60000 Deferred
ELF 7cb60000-7cba0000 Deferred
ELF 7cba0000-7cc16000 Deferred
ELF 7cc16000-7cc63000 Deferred
ELF 7cc63000-7ccd8000 Deferred
ELF 7ccd8000-7cd2a000 Deferred
ELF 7cd2c000-7cd48000 Deferred dinput8<elf>
-PE 7cd30000-7cd48000 \ dinput8
ELF 7cd48000-7ce31000 Deferred
ELF 7ce32000-7ce3d000 Deferred
ELF 7ce3d000-7ce47000 Deferred
ELF 7ce47000-7ce4f000 Deferred
ELF 7ce4f000-7ce7f000 Deferred winealsa<elf>
-PE 7ce60000-7ce7f000 \ winealsa
ELF 7ce7f000-7cfb7000 Deferred oleaut32<elf>
-PE 7cea0000-7cfb7000 \ oleaut32
ELF 7cfb7000-7cfd9000 Deferred mmdevapi<elf>
-PE 7cfc0000-7cfd9000 \ mmdevapi
ELF 7cfd9000-7d084000 Deferred msvcrt<elf>
-PE 7cff0000-7d084000 \ msvcrt
ELF 7da84000-7daa9000 Deferred imm32<elf>
-PE 7da90000-7daa9000 \ imm32
ELF 7db42000-7db4d000 Deferred
ELF 7db4d000-7db6a000 Deferred
ELF 7dc57000-7dc79000 Deferred
ELF 7dc79000-7e072000 Deferred
ELF 7e072000-7e0c3000 Deferred
ELF 7e0c3000-7e0d1000 Deferred
ELF 7e0d1000-7e0d7000 Deferred
ELF 7e0d7000-7e0f0000 Deferred
ELF 7e0f0000-7e0f3000 Deferred
ELF 7e0f3000-7e0f7000 Deferred
ELF 7e0f7000-7e10e000 Deferred
ELF 7e10e000-7e168000 Deferred
ELF 7e168000-7e266000 Deferred opengl32<elf>
-PE 7e180000-7e266000 \ opengl32
ELF 7e266000-7e3a7000 Dwarf wined3d<elf>
-PE 7e270000-7e3a7000 \ wined3d
ELF 7e3a7000-7e41c000 Deferred ddraw<elf>
-PE 7e3b0000-7e41c000 \ ddraw
ELF 7e41c000-7e422000 Deferred
ELF 7e422000-7e42e000 Deferred
ELF 7e42e000-7e43f000 Deferred
ELF 7e43f000-7e443000 Deferred
ELF 7e443000-7e44e000 Deferred
ELF 7e44e000-7e459000 Deferred
ELF 7e459000-7e45f000 Deferred
ELF 7e45f000-7e482000 Deferred
ELF 7e482000-7e5bd000 Deferred
ELF 7e5c4000-7e5cd000 Deferred
ELF 7e5db000-7e66d000 Deferred winex11<elf>
-PE 7e5f0000-7e66d000 \ winex11
ELF 7e6c7000-7e6f0000 Deferred
ELF 7e6f0000-7e72c000 Deferred
ELF 7e72c000-7e768000 Deferred
ELF 7e768000-7e77f000 Deferred
ELF 7e77f000-7e80d000 Deferred
ELF 7e80d000-7e820000 Deferred
ELF 7e82b000-7e862000 Deferred ws2_32<elf>
-PE 7e830000-7e862000 \ ws2_32
ELF 7e862000-7e88d000 Deferred msacm32<elf>
-PE 7e870000-7e88d000 \ msacm32
ELF 7e88d000-7e912000 Deferred rpcrt4<elf>
-PE 7e8a0000-7e912000 \ rpcrt4
ELF 7e912000-7ea51000 Deferred ole32<elf>
-PE 7e930000-7ea51000 \ ole32
ELF 7ea51000-7eac3000 Deferred advapi32<elf>
-PE 7ea60000-7eac3000 \ advapi32
ELF 7eac3000-7ebe2000 Deferred gdi32<elf>
-PE 7ead0000-7ebe2000 \ gdi32
ELF 7ebe2000-7ed3d000 Deferred user32<elf>
-PE 7ec00000-7ed3d000 \ user32
ELF 7ed3d000-7edf8000 Deferred winmm<elf>
-PE 7ed50000-7edf8000 \ winmm
ELF 7ef9c000-7efe2000 Deferred
ELF 7efe2000-7efe6000 Deferred
ELF 7efe6000-7f000000 Deferred version<elf>
-PE 7eff0000-7f000000 \ version
ELF b7352000-b7356000 Deferred
ELF b735d000-b7362000 Deferred
ELF b7362000-b7513000 Deferred
ELF b7513000-b7530000 Deferred
ELF b754e000-b7704000 Dwarf
ELF b7705000-b7728000 Deferred
ELF b7728000-b7729000 Deferred [vdso].so
process tid prio (all id:s are in hex)
0000000e services.exe
0000001e 0
0000001d 0
00000018 0
00000016 0
00000014 0
00000010 0
0000000f 0
00000012 winedevice.exe
0000001c 0
00000019 0
00000017 0
00000013 0
0000001a plugplay.exe
00000020 0
0000001f 0
0000001b 0
00000021 explorer.exe
00000023 0
00000022 0
00000024 (D) C:\Program Files\Rockstar Games\GTA San Andreas\gta_sa.exe
00000030 0
00000028 0
00000027 0
00000026 0
00000025 0 <==
System information:
Wine build: wine-1.7.2
Platform: i386
Host system: Linux
Host version: 3.11.10-7-default

On Tue, 25 Mar 2014 03:26:01 +0000, Handsofakiller209 wrote:

> I’m running openSUSE 13.1 and I installed GTA San Andreas from the
> retail DVD. I’ve already done winetricks d3dx9, so what would I have to
> do to make it playable? The main menu doesn’t show up (black screen) and
> the menu sounds play but the game won’t start.

You probably want to start here:

And after that, maybe ask on the WineHQ forums for assistance. :slight_smile:


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at

This game used to work quite well with various WINE versions earlier, and without having to use any extra windows libs (the winetrick d3dx9 installation you referred to); I had a look at the link Henderson provided and it seems like the 2nd edition of the game may be more problematic, as your game comes on a DVD, mine is on a cd, I thought that your problem may be related to that?

There might still be a solution provided somewhere on that page for the second edition also though, look around if this is the version you have.

There is also the possibility to try PlayOnLinux, the game is in their games DB. PlayOnLinux will try set up the most suited environment for the game, configuration, wine version etc.
But again, check whether PlayOnLinux supports the second edition if this applies to you.


I’m agree with you :slight_smile: