Linux games
On-line gaming
Commercial games
Diablo3
requirement
You need to open some specific ports to play Diablo3.
- Blizzard official doc: https://us.battle.net/support/en/article/firewall-proxy-router-and-port-configuration
- Firewall configuration
installation
Very good tutorial: http://www.sysads.co.uk/2014/08/install-diablo-3-on-ubuntu-14-04/
graphic fix (ATI)
http://workinginavirtualspace.blogspot.com/2014/05/playonlinux-and-diablo-3-ros-get-past.html
Sound fix
If your sound is cracky or if you don't have any sound...
sudo vim /etc/pulse/default.pa
1. Comment the following lines if they are not already commented:
## Ensure following lines are commented
#load-module module-alsa-sink
#load-module module-alsa-source device=hw:1,0
## Comment the following block
.ifexists module-udev-detect.so
load-module module-udev-detect
.else
### Use the static hardware detection module (for systems that lack udev support)
load-module module-detect
.endif
2. Use the following configuration instead
## Wine hook
load-module module-alsa-sink device=dmix
load-module module-alsa-source device=dsnoop
# Automatically load the correct driver
load-module module-udev-detect
From now on your wine can use pulseaudio with ALSA. :-)
ALSA configuration. You need to create a configuration file:
vim ~/.asoundrc
Put the following content:
pcm.!default {
@func refer
name { @func concat
strings [ "pcm."
{ @func getenv
vars [ ALSA_DEFAULT_PCM ]
default "pulse"
}
]
}
}
ctl.!default {
@func refer
name { @func concat
strings [ "ctl."
{ @func getenv
vars [ ALSA_DEFAULT_CTL
ALSA_DEFAULT_PCM
]
default "pulse"
}
]
}
}
Restart pulseaudio
pulseaudio -k
pulseaudio --start
- Test your system sound (= play a music track)
- Test wine sound:
ALSA_DEFAULT_PCM="plug:dmix" winecfg
- Go to the Audio tab, click "Test Sound"
- If you hear the sound, and see messages like "The dmix plugin supports only playback stream", it's working.
Adjust the wine shortcut settings
vim ~/Desktop/Diablo\ III.desktop
# ALSA_DEFAULT_PCM="plug:dmix" ==> sound bug fix
# setarch i386 -3 ==> ATI graphic bug fix
Exec=setarch i386 -3 /usr/share/playonlinux/playonlinux --run "Diablo III" %F
alternate sound solution
The following solution is also mentioned a number of times and seems to work.
Edit the pulseaudio configuration
/etc/pulse/daemon.conf
Adjust the fragment size
default-fragment-size-msec = 5
Sources:
- https://www.reddit.com/r/linux_gaming/comments/22wewb/wine_162_sound_issues_plays_extremely_quickly/
- http://wiki.winehq.org/WineAndPulseaudio
- https://bbs.archlinux.org/viewtopic.php?id=177979&p=2
Open source games
Linux has some very good games too !
- 0AD : Open-Source Age of Empires with much, much better graphics! See http://play0ad.com/
- OpenRA : Open-Source Red Alert Command & Conquer. See http://www.openra.net/
- Xonotic : really good FPS. http://www.xonotic.org/