GTA San Andreas problem, Wine 1.6.1

Questions about Wine on Linux
Locked
thegamer1204
Level 1
Level 1
Posts: 5
Joined: Sun Sep 21, 2014 3:40 am

GTA San Andreas problem, Wine 1.6.1

Post by thegamer1204 »

Hey there!
I could run D3D games like Sins of a Solar Empire: Rebellion, NFS: Most Wanted,but when i try to start a new game in GTA:SA it "encounters a serious problem" after the "Airport,Liberty City, 1992" text.
Here's the backtrace:

Code: Select all

Unhandled exception: page fault on read access to 0x000000e8 in 32-bit code (0x67156822).
Register dump:
 CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
 EIP:67156822 ESP:0177f814 EBP:0177fad8 EFLAGS:00010206(  R- --  I   - -P- )
 EAX:00000000 EBX:00000003 ECX:000000e8 EDX:7e19d000
 ESI:000084c0 EDI:001f34e8
Stack dump:
0x0177f814:  000000e8 66d1c05f 000084c0 000000e8
0x0177f824:  23c14ff4 00000001 23b42bbd 000084c0
0x0177f834:  000000e8 00000000 00000258 00000258
0x0177f844:  4d430000 03b2f860 00000008 00000000
0x0177f854:  00000000 00000000 4d430003 00000000
0x0177f864:  00000000 00000000 00000000 00000000
Backtrace:
=>0 0x67156822 in libglcore.so.1 (+0x5ea822) (0x0177fad8)
  1 0x23b2e48d wined3d_device_draw_indexed_primitive+0x8c() in wined3d (0x0177fb28)
  2 0x20135bca in d3d9 (+0x15bc9) (0x0177fb74)
  3 0x007fa391 in gta_sa (+0x3fa390) (0x0356f178)
0x67156822: flds	0x0(%ecx)
Modules:
Module	Address			Debug info	Name (150 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
ELF	20000000-20076000	Deferred        ddraw<elf>
  \-PE	20010000-20076000	\               ddraw
ELF	20076000-20078000	Deferred        libnvidia-tls.so.1
ELF	20078000-2008d000	Deferred        avicap32<elf>
  \-PE	20080000-2008d000	\               avicap32
ELF	2008d000-20094000	Deferred        libffi.so.6
ELF	20094000-200a0000	Deferred        libgstmpeg2dec.so
ELF	200a0000-20112000	Deferred        libsndfile.so.1
ELF	20112000-2011a000	Deferred        libogg.so.0
ELF	2011a000-20158000	Dwarf           d3d9<elf>
  \-PE	20120000-20158000	\               d3d9
ELF	20158000-20171000	Deferred        msacm32<elf>
  \-PE	20160000-20171000	\               msacm32
ELF	20171000-20187000	Deferred        midimap<elf>
  \-PE	20180000-20187000	\               midimap
ELF	20187000-201e7000	Deferred        libgstbase-0.10.so.0
ELF	201e7000-2033e000	Deferred        libgio-2.0.so.0
ELF	2033e000-20357000	Deferred        libgstvideoparsersbad.so
ELF	20357000-20371000	Deferred        libmpeg2.so.0
ELF	20371000-203a3000	Deferred        libgstflump3dec.so
ELF	203a3000-203b8000	Deferred        wmvcore<elf>
  \-PE	203b0000-203b8000	\               wmvcore
ELF	20551000-20643000	Deferred        libasound.so.2
ELF	21361000-21380000	Deferred        libselinux.so.1
ELF	22b4b000-22cc3000	Deferred        libvorbisenc.so.2
ELF	23ad9000-23c1a000	Dwarf           wined3d<elf>
  \-PE	23af0000-23c1a000	\               wined3d
ELF	247b8000-247e3000	Deferred        libvorbis.so.0
ELF	27571000-275c0000	Deferred        libpulse.so.0
ELF	28ba5000-28c09000	Deferred        libpulsecommon-2.0.so
ELF	2ea8e000-2eab3000	Deferred        imm32<elf>
  \-PE	2ea90000-2eab3000	\               imm32
ELF	2ed31000-2ed6a000	Deferred        winegstreamer<elf>
  \-PE	2ed40000-2ed6a000	\               winegstreamer
ELF	34545000-34679000	Deferred        oleaut32<elf>
  \-PE	34560000-34679000	\               oleaut32
ELF	35ea2000-35f1f000	Deferred        liboil-0.3.so.0
ELF	37ed0000-37eec000	Deferred        dinput8<elf>
  \-PE	37ee0000-37eec000	\               dinput8
ELF	3b1ec000-3b216000	Deferred        libgstcodecparsers-0.10.so.0
ELF	3c2bb000-3c305000	Deferred        libdbus-1.so.3
ELF	3cfe0000-3d033000	Deferred        libgstffmpegcolorspace.so
ELF	40f36000-40fc6000	Deferred        liborc-0.4.so.0
ELF	44106000-44124000	Deferred        libgcc_s.so.1
ELF	46bef000-46bf4000	Deferred        libgmodule-2.0.so.0
ELF	470be000-47108000	Deferred        libgstcoreelements.so
ELF	4760c000-47642000	Deferred        uxtheme<elf>
  \-PE	47610000-47642000	\               uxtheme
ELF	47978000-47a71000	Deferred        libglib-2.0.so.0
ELF	49c64000-49cac000	Deferred        dsound<elf>
  \-PE	49c70000-49cac000	\               dsound
ELF	4ad44000-4ad66000	Deferred        mmdevapi<elf>
  \-PE	4ad50000-4ad66000	\               mmdevapi
ELF	4df81000-4df8e000	Deferred        libgstapp-0.10.so.0
ELF	4e9a8000-4e9d4000	Deferred        msvfw32<elf>
  \-PE	4e9b0000-4e9d4000	\               msvfw32
ELF	4f504000-4f522000	Deferred        libgstvideo-0.10.so.0
ELF	50467000-5054f000	Deferred        libgstreamer-0.10.so.0
ELF	51f70000-51f77000	Deferred        libgstcoreindexers.so
ELF	5264a000-52686000	Deferred        libgstbluetooth.so
ELF	54710000-54727000	Deferred        libgsttypefindfunctions.so
ELF	56c6b000-56c72000	Deferred        libasyncns.so.0
ELF	57643000-5764c000	Deferred        libjson.so.0
ELF	57ff3000-5807e000	Deferred        libgl.so.1
ELF	5a4ea000-5a4ed000	Deferred        libgthread-2.0.so.0
ELF	5b9d3000-5ba0f000	Deferred        libpcre.so.3
ELF	5cb9c000-5cca4000	Deferred        comctl32<elf>
  \-PE	5cba0000-5cca4000	\               comctl32
ELF	5ccf2000-5ccfc000	Deferred        libwrap.so.0
ELF	5ee13000-5ee8d000	Deferred        shlwapi<elf>
  \-PE	5ee20000-5ee8d000	\               shlwapi
ELF	60297000-602b5000	Deferred        libgstdecodebin2.so
ELF	60e2d000-60e45000	Deferred        libgstrtp-0.10.so.0
ELF	6142f000-61452000	Deferred        libgstpbutils-0.10.so.0
ELF	625c8000-625e0000	Deferred        libresolv.so.2
ELF	65160000-65187000	Deferred        devenum<elf>
  \-PE	65170000-65187000	\               devenum
ELF	66b6c000-673f2000	Export          libglcore.so.1
ELF	67aaa000-67af9000	Deferred        libgobject-2.0.so.0
ELF	68000000-68022000	Deferred        ld-linux.so.2
ELF	68022000-681d8000	Dwarf           libwine.so.1
ELF	681d8000-681dd000	Deferred        libdl.so.2
ELF	681dd000-681e6000	Deferred        librt.so.1
ELF	681e6000-68212000	Deferred        libm.so.6
ELF	68212000-6821b000	Deferred        libnss_compat.so.2
ELF	6821b000-68235000	Deferred        libnsl.so.1
ELF	68235000-68242000	Deferred        libnss_files.so.2
ELF	68242000-682fc000	Deferred        winmm<elf>
  \-PE	68250000-682fc000	\               winmm
ELF	682fc000-68457000	Deferred        user32<elf>
  \-PE	68310000-68457000	\               user32
ELF	68457000-68574000	Deferred        gdi32<elf>
  \-PE	68460000-68574000	\               gdi32
ELF	68574000-686b0000	Deferred        ole32<elf>
  \-PE	68590000-686b0000	\               ole32
ELF	686b0000-68731000	Deferred        rpcrt4<elf>
  \-PE	686c0000-68731000	\               rpcrt4
ELF	68731000-6875c000	Deferred        msacm32<elf>
  \-PE	68740000-6875c000	\               msacm32
ELF	6875c000-68792000	Deferred        ws2_32<elf>
  \-PE	68760000-68792000	\               ws2_32
ELF	68792000-6882c000	Deferred        libfreetype.so.6
ELF	6882c000-68860000	Deferred        libfontconfig.so.1
ELF	68860000-688f2000	Deferred        winex11<elf>
  \-PE	68870000-688f2000	\               winex11
ELF	688f2000-68913000	Deferred        libxcb.so.1
ELF	68913000-68917000	Deferred        libxau.so.6
ELF	68917000-6891e000	Deferred        libxdmcp.so.6
ELF	6891e000-68922000	Deferred        libxinerama.so.1
ELF	68922000-6892c000	Deferred        libxrender.so.1
ELF	6892c000-68935000	Deferred        libxrandr.so.2
ELF	68935000-68939000	Deferred        libxcomposite.so.1
ELF	68939000-68944000	Deferred        libxcursor.so.1
ELF	68a6b000-68b79000	Deferred        opengl32<elf>
  \-PE	68a90000-68b79000	\               opengl32
ELF	68c44000-68d36000	Deferred        quartz<elf>
  \-PE	68c60000-68d36000	\               quartz
ELF	6984e000-6987e000	Deferred        winealsa<elf>
  \-PE	69850000-6987e000	\               winealsa
ELF	6997d000-69998000	Deferred        libpthread.so.0
ELF	6a3b6000-6a3c8000	Deferred        libxext.so.6
ELF	6a76e000-6a798000	Deferred        libexpat.so.1
ELF	6acc7000-6ae71000	Deferred        libc.so.6
ELF	6b833000-6b839000	Deferred        libxfixes.so.3
ELF	6e952000-6e963000	Deferred        libxi.so.6
ELF	70e7d000-70fca000	Deferred        libxml2.so.2
ELF	71d93000-71da9000	Deferred        libz.so.1
ELF	733d0000-733e6000	Deferred        libgstaudioparsers.so
ELF	755bf000-755cb000	Deferred        libnss_nis.so.2
ELF	7676d000-76787000	Deferred        version<elf>
  \-PE	76770000-76787000	\               version
ELF	76c3a000-76c71000	Deferred        libgstmpegdemux.so
ELF	773df000-77415000	Deferred        libgsttag-0.10.so.0
ELF	7774a000-777b9000	Deferred        advapi32<elf>
  \-PE	77760000-777b9000	\               advapi32
ELF	78af4000-78b42000	Deferred        libflac.so.8
ELF	796ef000-79823000	Deferred        libx11.so.6
ELF	79b51000-79b9b000	Deferred        dinput<elf>
  \-PE	79b60000-79b9b000	\               dinput
ELF	79d74000-79d7a000	Deferred        libxxf86vm.so.1
ELF	7b800000-7ba5b000	Deferred        kernel32<elf>
  \-PE	7b810000-7ba5b000	\               kernel32
ELF	7bc00000-7bcdc000	Deferred        ntdll<elf>
  \-PE	7bc10000-7bcdc000	\               ntdll
ELF	7bf00000-7bf04000	Deferred        <wine-loader>
Threads:
process  tid      prio (all id:s are in hex)
0000000e services.exe
	0000001d    0
	0000001c    0
	00000014    0
	00000010    0
	0000000f    0
00000012 winedevice.exe
	0000001b    0
	00000018    0
	00000017    0
	00000013    0
00000019 plugplay.exe
	0000001f    0
	0000001e    0
	0000001a    0
00000020 explorer.exe
	00000022    0
	00000021    0
00000023 (D) C:\Program Files\Rockstar Games\GTA San Andreas\gta_sa.exe
	00000043    0
	00000042    0
	00000041   15
	0000002b    0
	0000002a    0
	00000028    0
	00000027    0
	00000025    0
	00000024    0 <==
System information:
    Wine build: wine-1.6.1
    Platform: i386
    Host system: Linux
    Host version: 3.2.0-69-generic-pae
I trying it to run under my Ubuntu 12.04 with all PulseAudio components removed.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: GTA San Andreas problem, Wine 1.6.1

Post by dimesio »

Your Wine version is old. Upgrade to the latest development release.
thegamer1204
Level 1
Level 1
Posts: 5
Joined: Sun Sep 21, 2014 3:40 am

Re: GTA San Andreas problem, Wine 1.6.1

Post by thegamer1204 »

I updated Wine to version 1.7.18 and GTA:SA don't even want to start,it quits after 2s when i launch it.
I enabled "emulate desktop" option in winecfg,in case of hanging
When i run it from terminal,it won't quit, but hangs until i press ctrl+c
Terminal output:

Code: Select all

gamer@gamer-ubuntu:~$ wine "/home/gamer/.wine/drive_c/Program Files/Rockstar Games/GTA San Andreas/gta_sa.exe"
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
fixme:process:GetProcessWorkingSetSize (0xffffffff,0x73e91c,0x73e920): stub
fixme:win:RegisterDeviceNotificationA (hwnd=0x194700, filter=0x93e698,flags=0x00000001) returns a fake device notification handle!
fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB!
fixme:win:RegisterDeviceNotificationA (hwnd=0x194700, filter=0x93e5dc,flags=0x00000001) returns a fake device notification handle!
fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB!
fixme:win:RegisterDeviceNotificationA (hwnd=0x194700, filter=0x93e5dc,flags=0x00000001) returns a fake device notification handle!
fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB!
fixme:win:RegisterDeviceNotificationA (hwnd=0x194700, filter=0x93e5dc,flags=0x00000001) returns a fake device notification handle!
fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB!
fixme:win:RegisterDeviceNotificationA (hwnd=0x194700, filter=0x93e5dc,flags=0x00000001) returns a fake device notification handle!
fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB!
fixme:win:RegisterDeviceNotificationA (hwnd=0x194700, filter=0x93e5dc,flags=0x00000001) returns a fake device notification handle!
fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB!
fixme:win:RegisterDeviceNotificationA (hwnd=0x194700, filter=0x93e5dc,flags=0x00000001) returns a fake device notification handle!
fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB!
fixme:win:RegisterDeviceNotificationA (hwnd=0x194700, filter=0x93e5dc,flags=0x00000001) returns a fake device notification handle!
fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB!
fixme:win:RegisterDeviceNotificationA (hwnd=0x194700, filter=0x93e5dc,flags=0x00000001) returns a fake device notification handle!
fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB!
fixme:win:RegisterDeviceNotificationA (hwnd=0x194700, filter=0x93e5dc,flags=0x00000001) returns a fake device notification handle!
fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB!
fixme:win:RegisterDeviceNotificationA (hwnd=0x194700, filter=0x93e5dc,flags=0x00000001) returns a fake device notification handle!
fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB!
fixme:win:RegisterDeviceNotificationA (hwnd=0x194700, filter=0x93e5dc,flags=0x00000001) returns a fake device notification handle!
fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB!
fixme:win:RegisterDeviceNotificationA (hwnd=0x194700, filter=0x93e5dc,flags=0x00000001) returns a fake device notification handle!
fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB!
fixme:win:RegisterDeviceNotificationA (hwnd=0x194700, filter=0x93e5dc,flags=0x00000001) returns a fake device notification handle!
fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB!
fixme:win:RegisterDeviceNotificationA (hwnd=0x194700, filter=0x93e5dc,flags=0x00000001) returns a fake device notification handle!
fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB!
c^Cfixme:console:CONSOLE_DefaultHandler Terminating process 8 on event 0
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: GTA San Andreas problem, Wine 1.6.1

Post by dimesio »

The current development release is 1.7.27.
thegamer1204
Level 1
Level 1
Posts: 5
Joined: Sun Sep 21, 2014 3:40 am

Re: GTA San Andreas problem, Wine 1.6.1

Post by thegamer1204 »

The 1.7.18 is the newest available in the Ubuntu Wine PPA.
I deleted the problematic gta_sa.set file but i didn't got further than yesterday.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: GTA San Andreas problem, Wine 1.6.1

Post by dimesio »

If there are no distro packages for 1.7.27, you will have to build it yourself.

Code: Select all

gamer@gamer-ubuntu:~$ wine "/home/gamer/.wine/drive_c/Program Files/Rockstar Games/GTA San Andreas/gta_sa.exe"
That's not how to run apps from the command line. http://wiki.winehq.org/FAQ#run_from_terminal
thegamer1204
Level 1
Level 1
Posts: 5
Joined: Sun Sep 21, 2014 3:40 am

Re: GTA San Andreas problem, Wine 1.6.1

Post by thegamer1204 »

I solved it by installing it in PlayOnLinux,which offered me the 1.3.26 version of Wine,and it works at Platinum rank,and when i tested it with 1.7.27 from PlayOnLinux, the same thing happened with 1.7.18: It won't even start. Is there a radical change between 1.3 and 1.6? Because when i ran it with 1.6,it crashed with wined3d errors when i started a new game,or joined an SA-MP server.
1.3.26 runs GTASA very well.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: GTA San Andreas problem, Wine 1.6.1

Post by dimesio »

Lots of things have changed since 1.3.x, and while a regression in Wine is possible, you're the only one reporting this problem. The AppDB has gold and platinum rated test reports for this game in 1.7.x.

You didn't mention what graphics card/driver you're using, but if it's older Intel, you might be encountering https://bugs.winehq.org/show_bug.cgi?id=34238.
thegamer1204
Level 1
Level 1
Posts: 5
Joined: Sun Sep 21, 2014 3:40 am

Re: GTA San Andreas problem, Wine 1.6.1

Post by thegamer1204 »

It's an Nvidia Geforce MX4000. It works with the "nvidia-96" driver.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: GTA San Andreas problem, Wine 1.6.1

Post by dimesio »

That's an ancient card with a legacy driver, and my guess is that, as with Mesa, newer Wine is exposing a deficiency in the driver. But if you really think it's a bug in Wine, run a regression test. http://wiki.winehq.org/RegressionTesting
Locked