Intrusion 2

Intrusion 2

View Stats:
Intrusion 2 > General Discussions > Topic Details
stuff Feb 15, 2013 @ 2:12am
Sound Delay (Ubuntu)
the sound for this game is delayed about 1/2 sec. Any suggestions how to fix this? This happens on my desktop PC as well as on my laptop. Both running Ubuntu 12.04 64 Bit.
< >
Showing 1-4 of 4 comments
stuff Feb 15, 2013 @ 11:08am 
I have this problem in other flash games, too. For example Machinarium. But there it's not such a big deal. In Intrusion 2 the delayed sound really sucks :(
stuff Feb 15, 2013 @ 11:30am 
Ah, I found a solution! You must create a new file that contains:

exec / "$@"

And make this file executable. You can then launch the game with this new file without lag.
Kadath Feb 17, 2013 @ 1:12am 
Thanks, had the exact same problem. To fix it permanently with launching from Steam, run the following commands in terminal:

cd ~/.local/share/Steam/SteamApps/common/Intrusion\ 2 mv intrusion2 intrusion2-launch cat << EOF >> intrusion2 #!/bin/bash PULSE_LATENCY_MSEC=20 ./intrusion2-launch EOF chmod +x intrusion2

This will rename your game exec to intrusion2-launch and create a script that will apply stuff's solution each time you run the game.

Fhtagn Jun 10, 2013 @ 12:22pm 

I'm grateful for this solution.

I have applied it however as the game's launch option (using the proper Steam feature).

Rather than creating a script, and renaming the 'official' executable (it wouldn't pass an integrity check), one can make Steam set the PULSE_LATENCY_MSEC variable value at launch time thanks to the "Set launch options..." feature.

The string has to be (tested, it works!):
(yes, this is for Linux)

On a side note, if one needs Steam to use a particular command (as for bumblebee users), or, a variable/specific value for many games , it can probably be set as an environment variable in the /etc/environment . Here's an example:

# PATH is not to be affected PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games" # 'optirun' and 'primusrun' commands are useful on my laptop to enable # (or... force) a game to make use of the discreet GPU. # Steam usage: $OPTIMUS_PREFIX %command% OPTIMUS_PREFIX="primusrun" OPTIRUN_PREFIX="optirun" # Here, the sound latency fix, applied system-wide (or so I think) # I don't know if it can break things, but it is reversible anyway; # just delete this string if needed. PULSE_LATENCY_MSEC=20

I don't know how to make the system reparse /etc/environment and apply the changes, but rebooting just does the thing.
Adding PULSE_LATENCY_MSEC=20 to environment, if this works as intended, should exempt one from setting it anywhere as a launch option.
Last edited by Fhtagn; Jun 10, 2013 @ 12:27pm
< >
Showing 1-4 of 4 comments
Per page: 15 30 50

Intrusion 2 > General Discussions > Topic Details