It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
high rated
So despite not getting the native port from Feral, the GOG version does work under Wine. What are some of your performance tips and tricks to run this outstanding game, buttery smooth? What about other tips to enhance your gaming experience?

INI performance tweaks (not only for Linux)

- XComEngine.ini
- Change 'Poolsize=10' to 'Poolsize=number' where 'number' = VRAM / 4. For example, my VRAM is 8192mb / 4 =
2048mb would be my number.

^This is the single most important tweak for the game, it will effectively eliminate the stuttering, even during heavy
explosions or when landing on the...lander thingie at the start of a mission.

WINE variables/options and tips & tricks

- Some useful variables/options under Wine (declare before wine command)
- Shader cache variables (low effort)
__GL_SHADER_DISK_CACHE=1 #this should be on by default anyways
__GL_SHADER_DISK_CACHE_SKIP_CLEANUP=1 # this eliminates the 256mb cap on the shader cache
__GL_SHADER_DISK_CACHE_PATH=[insert your wine prefix, mine for example is '~/wineprefixes/GOG/']

- Exotic variables (high effort, usually requires building your own packages, such as for kernel or DXVK)
WINEFSYNC=1 #Proton Fsync only works if you have a kernel version supporting it
DXVK_ASYNC=1 #Only works if you have a DXVK version supporting it

Feral (grrr) gamemode

- Install, and prefix the wine command with 'gamemoderun'. Might squeeze in a few FPS or reduce stuttering by prioritising the game CPU and I/O loads, plus other stuff.
Thank you for this, good work. Ironically Humble have an offer for this game at more or less the same price with Linux support and the other bells and whistles. Registers on Steam. Foot meet Shotgun.
avatar
skivvy: Thank you for this, good work. Ironically Humble have an offer for this game at more or less the same price with Linux support and the other bells and whistles. Registers on Steam. Foot meet Shotgun.
Thanks!

Really? Damn, I'm partly regretting picking this up on GOG. No Linux support, no mod support (convenient that is), and no multiplayer (not a huge deal for me but still). I think some goodies were missing too, not sure.

At least it was cheap.

I already have it on STeam with 900 hours racked up, but I wanted to support a great game (and GOG for some misguided reason) by buying it here too.
avatar
skivvy: Thank you for this, good work. Ironically Humble have an offer for this game at more or less the same price with Linux support and the other bells and whistles. Registers on Steam. Foot meet Shotgun.
avatar
rojimboo: Thanks!

Really? Damn, I'm partly regretting picking this up on GOG. No Linux support, no mod support (convenient that is), and no multiplayer (not a huge deal for me but still). I think some goodies were missing too, not sure.

At least it was cheap.

I already have it on STeam with 900 hours racked up, but I wanted to support a great game (and GOG for some misguided reason) by buying it here too.
Yup, me too :o(
hi, did you had to make some kind of tweaks to the default wine configuration in order to be able to move the units?

On my system I can install it and launch it, but inside the missions there is no way to move any of my units. Apparently I can do everything except moving them.
avatar
foogog: hi, did you had to make some kind of tweaks to the default wine configuration in order to be able to move the units?

On my system I can install it and launch it, but inside the missions there is no way to move any of my units. Apparently I can do everything except moving them.
That's... weird...

Can you perhaps provide more info? For example do you play on a controller? What buttons are used for units movement? Do you have qwerty keyboard layout? What keyboard type do you have SET IN THE SYSTEM? (like PC104 and such) What is your system, what is your wine version and branch, etc.
( Fyi I'm not sure if you maybe shouldn't start a separate thread for this issue )
avatar
foogog: hi, did you had to make some kind of tweaks to the default wine configuration in order to be able to move the units?

On my system I can install it and launch it, but inside the missions there is no way to move any of my units. Apparently I can do everything except moving them.
No, I made no special tweaks for something like that particular bug - it seems to be a game bug with the vanilla version without the expansion WOTC. Is this the case with you? Do you have the expansion and ran its executable?

There's another thread here on the XCOM2 forums, where they mentioned this. That's where I got it from. If you have the expansion, then it works. If you don't, then there appears no solution so far :(

I wonder if it's even Linux specific...?

Most people probably grabbed the expansion during the (ridiculous) sale, so we haven't heard too much about this.
avatar
foogog: hi, did you had to make some kind of tweaks to the default wine configuration in order to be able to move the units?

On my system I can install it and launch it, but inside the missions there is no way to move any of my units. Apparently I can do everything except moving them.
avatar
rojimboo: No, I made no special tweaks for something like that particular bug - it seems to be a game bug with the vanilla version without the expansion WOTC. Is this the case with you? Do you have the expansion and ran its executable?

There's another thread here on the XCOM2 forums, where they mentioned this. That's where I got it from. If you have the expansion, then it works. If you don't, then there appears no solution so far :(

I wonder if it's even Linux specific...?

Most people probably grabbed the expansion during the (ridiculous) sale, so we haven't heard too much about this.
yes I have the vanilla version. Seems like I'm in the same situation as mentioned in the other thread https://www.gog.com/forum/xcom_2/unable_to_move_operatives (thanks I didn't spot this). I'll try to do some searches to figure out if this is linux specific or not.
avatar
B1tF1ghter: Can you perhaps provide more info? For example do you play on a controller? What buttons are used for units movement? Do you have qwerty keyboard layout? What keyboard type do you have SET IN THE SYSTEM? (like PC104 and such) What is your system, what is your wine version and branch, etc.
USB mouse and keyboard, DXVK 1.6, wine 5.6, AMD graphics card with the radv drivers under wayland (same issue also under X11).

Thanks to both I'll try to do some searches based on this information. If I find something I'll post on the other thread :)
high rated
avatar
foogog: hi, did you had to make some kind of tweaks to the default wine configuration in order to be able to move the units?

On my system I can install it and launch it, but inside the missions there is no way to move any of my units. Apparently I can do everything except moving them.
I had the same issue....so I installed under Windows 7 and it complained that I did not have MS Virtual C++ lib 2013 version installed...once installed it worked.

I went back to Linux and installed the same file and now I can control the units. FYI, my wine install never complained about the missing dll...but this install fixed it

Also...it has to be the 64bit 2013 version of MS Virtual C++ lib to work.

One other note...I used winetricks to install the missing files and it did NOT work. I had to use the actual install package from ms
avatar
foogog: hi, did you had to make some kind of tweaks to the default wine configuration in order to be able to move the units?

On my system I can install it and launch it, but inside the missions there is no way to move any of my units. Apparently I can do everything except moving them.
avatar
fwfa: I had the same issue....so I installed under Windows 7 and it complained that I did not have MS Virtual C++ lib 2013 version installed...once installed it worked.

I went back to Linux and installed the same file and now I can control the units. FYI, my wine install never complained about the missing dll...but this install fixed it

Also...it has to be the 64bit 2013 version of MS Virtual C++ lib to work.

One other note...I used winetricks to install the missing files and it did NOT work. I had to use the actual install package from ms
This completely solved not being able to move characters in game.
I'm using the following.

Fedora Silverblue 40
Gnome 46
Bottles flatpak using default settings with dxvk 2.3 and Soda-8.0-2.

I simply downloaded the installer for Microsoft Visual C++ 2013.
Moved the file to the virtual bottle filesystem at ~/.var/app/com.usebottles.bottles/data/bottles/bottles/[Your_Bottle]/drive_c/
Ran the installer in my XCOM bottle.
Started game, characters move now. Not using WOTC.
Post edited May 04, 2024 by Kick_King