Linux support (Wine) & Nvidia -
varelas - 07.05.2018
So Ive managed to install GTA:SA followed by SA:MP.
It works pretty good, have 1 or 2 minor bugs but I honestly dont care about that (fonts, even after winetricks corefonts).
So the main problem here is my graphics card: NVIDIA GT 520M, a bit outdated, yea, like my whole setup.
I cannot run the usual graphics drivers because it will mess up with my display manager so I had to opt in for Bumblebee, using Nvidia Optimus technology.
The problem is, whenever I launch SAMP over Nvidia (say $ optirun wine samp.exe) The SAMP.exe will run on optirun, but when I connect to any server the child process (gta_sa.exe) will start in a whole separated process and as a consequence It will run over Intel integrated graphics (bad performance, 30fps sometimes)
Ive tried almost anything I can remember of, from using Wine as an emulated virtual desktop to trying to inject samp.dll manually.
Because if I run the game directly (say $ optirun wine gta_sa.exe) it works fine, but it is single player mode.
Any way to launch gta_sa.exe through samp.exe with Optirun ?
Thanks in advance.
Specs:
K53SJ
Debian 9
NVIDIA Geforce GT 520M
wine-1.8.7 (Debian 1.8.7-2)
optirun (Bumblebee) 3.2.1
...
Doing a $ ps ax will return the following processes info:
Code:
20206 pts/1 S+ 0:00 optirun wine samp.exe
20213 ? Ssl 0:00 /usr/lib/xorg/Xorg :8 -config /etc/bumblebee/xorg.conf.nvidia -configdir /etc/bumblebee/xorg.conf.d -sharevts -nolisten tcp
20216 ? S 0:00 [irq/30-nvidia]
20217 ? S 0:00 [nvidia]
20229 pts/1 Sl+ 0:00 samp.exe
20242 ? Ss 0:00 /usr/lib/wine/wineserver32 -p0
20248 ? Ssl 0:00 C:\windows\system32\services.exe
20252 ? Sl 0:00 C:\windows\system32\winedevice.exe MountMgr
20260 ? Sl 0:00 C:\windows\system32\plugplay.exe
20267 ? Ssl 0:00 C:\windows\system32\explorer.exe /desktop
20273 ? Ssl 0:01 C:\Program Files\Rockstar Games\GTA San Andreas\gta_sa.exe -c -n disc0nnected -h 167.114.42.236 -p 7777
(as you can see, gta_sa.exe is not running with nvidia optirun...)
Re: Linux support (Wine) & Nvidia -
lenor - 21.05.2018
optirun wine samp.exe IP:Port(required) password(optional)
or try this if you must run gta_sa.exe:
http://forum.sa-mp.com/showpost.php?...4&postcount=13
i've ran the game best on manjaro with wine 3.x but what i'm trying to say is that even if you can start the game with wine 1.8.7 i promise you won't want to play with that version, nor 2.x after you tried 3.x
it's best to run the game on windows 7, as the performance with an 280x [7970] amd card was 25% of what it's capable [nvidia is far worse], and it wasn't reliable.
https://askubuntu.com/questions/1024...on-steam-games
https://stackoverflow.com/questions/...ee-performance