Please help a newbie to linux. Problem with wine!

Questions about Wine on Linux
Locked
tuvasmanger
Newbie
Newbie
Posts: 1
Joined: Sat Sep 21, 2019 11:29 am

Please help a newbie to linux. Problem with wine!

Post by tuvasmanger »

Please help a newbie to linux. I barely installed wine, but there were some problems and crashes with it. I could launch one application, but games do not want.




Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x007489ab).
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
EIP:007489ab ESP:0032efd0 EBP:00000000 EFLAGS:00210246( R- -- I Z- -P- )
EAX:00000000 EBX:00000001 ECX:00000012 EDX:00000000
ESI:00000000 EDI:00000002
Stack dump:
0x0032efd0: 00000000 0032f0c8 0032f048 0003004e
0x0032efe0: 0003004e 0032f000 0032f018 7e4cb830
0x0032eff0: 0003004e 00000001 0032f088 0003004e
0x0032f000: 0017a248 00008174 0032f088 7e4dafd3
0x0032f010: 00000012 00000018 0032f088 7e4de1fc
0x0032f020: 0003004e 0000001c 00000000 00000000
Backtrace:
=>0 0x007489ab EntryPoint+0xffffffff() in gtasa (0x00000000)
0x007489ab EntryPoint+0xffffffff in gtasa: movl 0x0(%eax),%ecx
Modules:
Module Address Debug info Name (173 modules)
PE 330000- 339000 Deferred ogg
PE 340000- 370000 Deferred eax
PE 400000- 24e0000 Export gtasa
PE 24e0000- 25e8000 Deferred vorbis
PE 10000000-10011000 Deferred vorbisfile
ELF 61c8f000-61d02000 Deferred libgstcoreelements.so
ELF 61d02000-61d3f000 Deferred libgstpbutils-1.0.so.0
ELF 61d5c000-61d79000 Deferred libgsttypefindfunctions.so
ELF 61d79000-61e1f000 Deferred libgstplayback.so
ELF 61e1f000-61e4b000 Deferred propsys<elf>
\-PE 61e30000-61e4b000 \ propsys
ELF 61e4b000-61ea6000 Deferred mfplat<elf>
\-PE 61e60000-61ea6000 \ mfplat
ELF 61ea6000-61f07000 Deferred libdw.so.1
ELF 61f07000-61f46000 Deferred libgsttag-1.0.so.0
ELF 61f46000-61fd5000 Deferred liborc-0.4.so.0
ELF 61fd5000-62063000 Deferred libgstbase-1.0.so.0
ELF 62063000-620ca000 Deferred libgobject-2.0.so.0
ELF 620ca000-6222c000 Deferred libgstreamer-1.0.so.0
ELF 6222c000-622b2000 Deferred libgstaudio-1.0.so.0
ELF 622b2000-62356000 Deferred libgstvideo-1.0.so.0
ELF 62390000-623d7000 Deferred winegstreamer<elf>
\-PE 623a0000-623d7000 \ winegstreamer
ELF 623d7000-624c6000 Deferred libasound.so.2
ELF 624d2000-624e9000 Deferred libunwind.so.8
ELF 624e9000-62500000 Deferred midimap<elf>
\-PE 624f0000-62500000 \ midimap
ELF 62611000-62658000 Deferred winealsa<elf>
\-PE 62620000-62658000 \ winealsa
ELF 72e59000-7489d000 Deferred libicudata.so.64
ELF 7489d000-7953f000 Deferred libllvm-8.so
ELF 7953f000-7a800000 Deferred r600_dri.so
ELF 7a800000-7a945000 Deferred opengl32<elf>
\-PE 7a840000-7a945000 \ opengl32
ELF 7a953000-7a973000 Deferred msdmo<elf>
\-PE 7a960000-7a973000 \ msdmo
ELF 7a973000-7a99d000 Deferred devenum<elf>
\-PE 7a980000-7a99d000 \ devenum
ELF 7a9dd000-7a9f8000 Deferred msacm32<elf>
\-PE 7a9e0000-7a9f8000 \ msacm32
ELF 7abb8000-7abff000 Deferred d3d9<elf>
\-PE 7abd0000-7abff000 \ d3d9
ELF 7b400000-7b83d000 Deferred kernel32<elf>
\-PE 7b430000-7b83d000 \ kernel32
ELF 7b844000-7b877000 Deferred msvfw32<elf>
\-PE 7b850000-7b877000 \ msvfw32
ELF 7b877000-7b8c6000 Deferred usp10<elf>
\-PE 7b880000-7b8c6000 \ usp10
ELF 7b8c6000-7ba30000 Deferred comctl32<elf>
\-PE 7b8f0000-7ba30000 \ comctl32
ELF 7ba30000-7ba95000 Deferred dinput8<elf>
\-PE 7ba40000-7ba95000 \ dinput8
ELF 7ba95000-7bb21000 Deferred libvorbisenc.so.2
ELF 7bb21000-7bc00000 Deferred libgcrypt.so.20
ELF 7bc00000-7bd43000 Deferred ntdll<elf>
\-PE 7bc30000-7bd43000 \ ntdll
ELF 7bd43000-7bd82000 Deferred uxtheme<elf>
\-PE 7bd50000-7bd82000 \ uxtheme
ELF 7bd82000-7be11000 Deferred libsndfile.so.1
ELF 7be11000-7bec4000 Deferred libsystemd.so.0
ELF 7bec4000-7c000000 Deferred oleaut32<elf>
\-PE 7bef0000-7c000000 \ oleaut32
ELF 7c000000-7c005000 Deferred <wine-loader>
ELF 7c00b000-7c02e000 Deferred libgpg-error.so.0
ELF 7c02e000-7c047000 Deferred libresolv.so.2
ELF 7c047000-7c08e000 Deferred libflac.so.8
ELF 7c08e000-7c0e1000 Deferred libdbus-1.so.3
ELF 7c0e1000-7c200000 Deferred ucrtbase<elf>
\-PE 7c110000-7c200000 \ ucrtbase
ELF 7c315000-7c3a4000 Deferred libpulsecommon-12.2.so
ELF 7c3a4000-7c400000 Deferred libpulse.so.0
ELF 7c40d000-7c43b000 Deferred libvorbis.so.0
ELF 7c475000-7c4a9000 Deferred winepulse<elf>
\-PE 7c480000-7c4a9000 \ winepulse
ELF 7c5ae000-7c6a9000 Deferred quartz<elf>
\-PE 7c5e0000-7c6a9000 \ quartz
ELF 7c810000-7c81b000 Deferred libogg.so.0
ELF 7c81b000-7c826000 Deferred librt.so.1
ELF 7c826000-7c84e000 Deferred mmdevapi<elf>
\-PE 7c830000-7c84e000 \ mmdevapi
ELF 7c84e000-7c89f000 Deferred dsound<elf>
\-PE 7c860000-7c89f000 \ dsound
ELF 7c8a2000-7c8a8000 Deferred libgmodule-2.0.so.0
ELF 7c8a8000-7c8bf000 Deferred avicap32<elf>
\-PE 7c8b0000-7c8bf000 \ avicap32
ELF 7cb68000-7cb94000 Deferred liblzma.so.5
ELF 7cb94000-7cd6b000 Deferred libicuuc.so.64
ELF 7cd6b000-7ceec000 Deferred libxml2.so.2
ELF 7ceec000-7cf5c000 Deferred libncursesw.so.6
ELF 7cf5c000-7cf79000 Deferred libgcc_s.so.1
ELF 7d154000-7d15f000 Deferred libdrm_nouveau.so.2
ELF 7d15f000-7d16c000 Deferred libdrm_amdgpu.so.1
ELF 7d16c000-7d18a000 Deferred libelf.so.1
ELF 7d18a000-7d199000 Deferred libdrm_radeon.so.1
ELF 7d199000-7d1aa000 Deferred libsensors.so.5
ELF 7d1ae000-7d1b6000 Deferred libasyncns.so.0
ELF 7d1e4000-7d1ed000 Deferred libxcb-sync.so.1
ELF 7d1ed000-7d1f2000 Deferred libxcb-present.so.0
ELF 7d1f2000-7d1f9000 Deferred libxcb-dri3.so.0
ELF 7d1f9000-7d1fe000 Deferred libxdamage.so.1
ELF 7d1fe000-7d205000 Deferred libxcb-dri2.so.0
ELF 7d205000-7d20a000 Deferred libx11-xcb.so.1
ELF 7d20a000-7d227000 Deferred libxcb-glx.so.0
ELF 7d227000-7d246000 Deferred libglapi.so.0
ELF 7d246000-7d2c1000 Deferred libglx_mesa.so.0
ELF 7d2c2000-7d2cb000 Deferred libffi.so.6
ELF 7d31b000-7d37d000 Deferred libgldispatch.so.0
ELF 7d37d000-7d3a0000 Deferred libglx.so.0
ELF 7d3a0000-7d404000 Deferred libgl.so.1
ELF 7d404000-7d594000 Deferred wined3d<elf>
\-PE 7d450000-7d594000 \ wined3d
ELF 7d594000-7d614000 Deferred ddraw<elf>
\-PE 7d5b0000-7d614000 \ ddraw
ELF 7d614000-7d61c000 Deferred libxfixes.so.3
ELF 7d61c000-7d629000 Deferred libxcursor.so.1
ELF 7d629000-7d63d000 Deferred libxi.so.6
ELF 7d63d000-7d642000 Deferred libxcomposite.so.1
ELF 7d642000-7d651000 Deferred libxrandr.so.2
ELF 7d651000-7d65f000 Deferred libxrender.so.1
ELF 7d65f000-7d666000 Deferred libxxf86vm.so.1
ELF 7d666000-7d66b000 Deferred libxinerama.so.1
ELF 7d66b000-7d6f8000 Deferred setupapi<elf>
\-PE 7d680000-7d6f8000 \ setupapi
ELF 7d6f8000-7d700000 Deferred libxdmcp.so.6
ELF 7d700000-7d72c000 Deferred libxcb.so.1
ELF 7d72c000-7d879000 Deferred libx11.so.6
ELF 7d879000-7d88f000 Deferred libxext.so.6
ELF 7d893000-7d8a9000 Deferred libdrm.so.2
ELF 7d8c9000-7d981000 Deferred winex11<elf>
\-PE 7d8f0000-7d981000 \ winex11
ELF 7d981000-7d9a8000 Deferred imm32<elf>
\-PE 7d990000-7d9a8000 \ imm32
ELF 7da2d000-7da59000 Deferred libexpat.so.1
ELF 7da59000-7daa5000 Deferred libfontconfig.so.1
ELF 7daa5000-7db1e000 Deferred libpcre.so.1
ELF 7db1e000-7dc56000 Deferred libglib-2.0.so.0
ELF 7dc56000-7dd69000 Deferred libharfbuzz.so.0
ELF 7dd69000-7dd83000 Deferred libz.so.1
ELF 7dd83000-7ddc3000 Deferred libpng16.so.16
ELF 7ddc3000-7de98000 Deferred libfreetype.so.6
ELF 7de9c000-7dea1000 Deferred libxau.so.6
ELF 7ded2000-7df10000 Deferred ws2_32<elf>
\-PE 7dee0000-7df10000 \ ws2_32
ELF 7df10000-7df41000 Deferred msacm32<elf>
\-PE 7df20000-7df41000 \ msacm32
ELF 7df41000-7dfdc000 Deferred rpcrt4<elf>
\-PE 7df60000-7dfdc000 \ rpcrt4
ELF 7dfdc000-7e14c000 Deferred ole32<elf>
\-PE 7e010000-7e14c000 \ ole32
ELF 7e14c000-7e228000 Deferred msvcrt<elf>
\-PE 7e170000-7e228000 \ msvcrt
ELF 7e228000-7e2ae000 Deferred advapi32<elf>
\-PE 7e240000-7e2ae000 \ advapi32
ELF 7e2ae000-7e408000 Deferred gdi32<elf>
\-PE 7e2d0000-7e408000 \ gdi32
ELF 7e408000-7e64b000 Deferred user32<elf>
\-PE 7e440000-7e64b000 \ user32
ELF 7e64b000-7e716000 Deferred winmm<elf>
\-PE 7e660000-7e716000 \ winmm
ELF 7ee53000-7eee4000 Deferred kernelbase<elf>
\-PE 7ee70000-7eee4000 \ kernelbase
ELF 7eee4000-7eef9000 Deferred libnss_files.so.2
ELF 7eef9000-7efc6000 Deferred libm.so.6
ELF 7efc6000-7efc9000 Deferred libxshmfence.so.1
ELF 7efd7000-7efe9000 Deferred libbz2.so.1.0
ELF 7efe9000-7f000000 Deferred version<elf>
\-PE 7eff0000-7f000000 \ version
ELF f7bbe000-f7bc4000 Deferred libdl.so.2
ELF f7bf4000-f7bfe000 Deferred libuuid.so.1
ELF f7bfe000-f7ddd000 Deferred libc.so.6
ELF f7ddd000-f7dff000 Deferred libpthread.so.0
ELF f7dff000-f7fb7000 Dwarf libwine.so.1
ELF f7fb9000-f7fe4000 Deferred ld-linux.so.2
Threads:
process tid prio (all id:s are in hex)
0000000e services.exe
0000002c 0
00000029 0
0000001d 0
0000001a 0
00000013 0
00000010 0
0000000f 0
00000011 plugplay.exe
00000017 0
00000016 0
00000012 0
00000018 winedevice.exe
0000002e 0
00000021 0
0000001e 0
0000001c 0
0000001b 0
00000019 0
0000001f explorer.exe
00000024 0
00000023 0
00000022 0
00000020 0
00000027 winedevice.exe
0000002d 0
0000002b 0
0000002a 0
00000028 0
0000002f (D) C:\Program Files (x86)\GTA San Andreas\gtasa.exe
00000042 0
0000003f 0
0000003e 0
0000003b 0
0000003a 0
00000039 0
00000038 0
00000037 0
00000035 15
00000034 0
00000031 0
00000030 0 <==
System information:
Wine build: wine-4.15
Platform: i386 (WOW64)
Version: Windows 7
Host system: Linux
Host version: 5.2.11-1-MANJARO
k3ck3c
Level 2
Level 2
Posts: 40
Joined: Wed Oct 22, 2014 12:42 am

Re: Please help a newbie to linux. Problem with wine!

Post by k3ck3c »

So it seems you try to install GTASan Andreas

see the doc
https://appdb.winehq.org/objectManager. ... n&iId=8757
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Please help a newbie to linux. Problem with wine!

Post by Bob Wya »

@tuvasmanger

Please use the forum Code tags, when posting terminal commands and output:

Code: Select all

...
As k3ck3c stated your first port of call would be the AppDB. Obviously you would look at:
WineHQ AppDB: Grand Theft Auto: San Andreas and not:
WineHQ AppDB: Grand Theft Auto IV. :lol:
GTA: SA is subject to regressions, from time to time, but should work OK, with Wine.

It may be worth trying it with D9VK (for better D3D9 performance) - if your graphics card + driver has Vulkan support.
Other users are reporting that GTA: SA is working with D9VK.
E.g. see: Github : Joshua-Ashton/d9vk : Grand Theft Auto: San Andreas has graphics and gameplay issues #270.

Bob
User avatar
rawfox
Level 3
Level 3
Posts: 59
Joined: Tue Oct 05, 2010 10:59 am

Re: Please help a newbie to linux. Problem with wine!

Post by rawfox »

Understanding wine isnt too easy because its so incredible flexable ...

There is the winefiles wich are in /usr/ when you installed wine from your distro.
When you build it yourself, it went to /usr/local by default, but thats the thing with wine, once all related files are together, it can run from literally everywhere, so with the right $PATH and $LD_LIBRARY_PATH setup you are able to run different wine versions on your computer, all in their own bottle/capsule.
Lutris makes use of that concept and offers different "runners" ... different wine builds for certain purposes.
New Linux gamers want to try Lutris anyways at one point^^
https://lutris.net/

Then is there the magic WINEPREFIX, what is default at ~/.wine (/home/you/.wine).
I think your problem is the prefix, because if you want to use 32bit software, you need a 32bit wine prefix to let winecfg place the 32bit Windows files into.
Your wine is a WoW64 build, that is both, 32 and 64 bit but will create a 64bit prefix by default if you dont set the WINEARCH variable with

Code: Select all

export WINEARCH=win32
before you start winecfg.
So you can either delete the existing wineprefix and let wine create a new one, or you create a new one by exporting the propriate bash enviroment variable like

Code: Select all

export WINEPREFIX /home/you/games/gtasa
Just enter that in a bash and then do winecfg and see wine creating the prefix on your harddisk.

But thats still not all ...
You want to make use of winetricks (https://github.com/Winetricks/winetricks), a famous script to let you install a lot Windows components like fonts, directx and so on.
Lutris has all that automated, so you really wanna try it

Manually its like
- make prefix

Code: Select all

export WINEARCH=win32
export WINEPREFIX=~/your/path
- install corefonts and dxvk (or d9vk or just directx9 for dx9 games)

Code: Select all

winetricks corefonts dxvk
- install game

Code: Select all

wine yourgame_installer.exe
- make a startscript with the exports and thelike, and give it an icon for your menu

Good luck^^
Locked