XCOM: Enemy Unknown Guide

[Linux] Run game with NVidia driver on Optimus graphic cards for XCOM: Enemy Unknown

[Linux] Run game with NVidia driver on Optimus graphic cards

Overview

Run XCOM games on NVidia driver in Linux

Run game with NVidia driver on Optimus graphic cards

If you have Optimus graphic card (Intel low power gfx card + NVidia gfx accelerator) please install Bumblebee gfx card switcher.
[link]

In default settings when you run game from Steam only Intel gfx card is available. Adding optirun wrapper to advanced command arguments doesn’t change anything. You have to edit game runing file. Go to ~/.local/share/Steam/steamapps/common/XCom-Enemy-Unknown/binaries/linux and edit xcom.sh file with your favorited text editor. In line 33 add ‘optirun’ before text.

Line 33, before:

${DEBUGGER} “${GAMEBINARY}” $@

Line 33, after:

optirun ${DEBUGGER} “${GAMEBINARY}” $@

Now you are able to run game on NVidia gfx card. If you have XCOM Enemy Within do the same change in ~/.local/share/Steam/steamapps/common/XCom-Enemy-Unknown/xew/binaries/linux/xcom_ew.sh file.

SteamSolo.com