WineHQ

Counter-Strike: Source

Counter-Strike: Source is the latest release of Counter-Strike, the planet's most popular squad-based Tactical Action FPS, where players co-operate as part of a team to achieve objectives.


When adding test results please specify video card and driver version you are using.

Application Details:

Version: Retail / Steam
License: Retail
URL: http://www.valvesoftware.com/
Votes: 79
Latest Rating: Garbage
Latest Wine Version Tested: 5.22

Maintainers: About Maintainership

Link http://steampowered.com/

Test Results

Old test results
The test results you have selected are very old and may not represent the current state of Wine.
Selected Test Results

What works

Almost everything; See exceptions noted in the next section.
Performance is 100+fps in Video Stress Test.

What does not

The HTML in the MotD is not displayed when joining a server.  (Bug 6095)

Voice chat does not work at all for me, though it was working at some time in the past (will do regression testing).  Currently, the mic test button fails, though using the mic in other Source-based games works. (Bug 19620)

When exiting, the game will frequently abend with a message stating HL2.exe has encountered a critical error.  You may simply close the dialog and continue back to Steam. (Bug 19621)

Workarounds

What was not tested

Everything was tested.

Hardware tested

Graphics:

  • GPU:
  • Driver:

Additional Comments

CSS/Wine/System Settings and Info: CSS Settings = Model: High, Texture: High, Shader detail: High, Water: Reflect world, Shadow: High, Color Correction: Enabled, Antialiasing: None, Filtering: Trilinear, Vert. sync: Disabled, HDR: Full. HW/SW DirectX level: DirectX v9.0 + clean .wine prefix, *No registry tweaks*. HL2.exe overridden to run as Win98. OS: Kubuntu 9.10 alpha (Karmic) 2.6.31-10-generic SMP File System: Ext4 Drivers: 185.18.36 Video Card: ASUS EN9800GTX+ (nVidia chipset) Audio: HDA nVidia (snd_hda_intel) CPU: Intel Core 2 Q6600 @ 2.4Ghz (No overclocking) FSB: 1066 Due to the inability for myself and others (bug 5159) to use the mic and for the lack of any workaround regarding the MotD (which will get you banned if you camp the wrong spot on the wrong server), this game cannot be considered anything but silver-level at this point. The game runs faster (almost 20fps) if you use the 190 beta drivers. However, bugs in the latest 190-dev packages will break the ability to compile Wine with OpenGL support - therefore I've temporarily gone back to 185.

selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
Workaround?
RatingSubmitter
ShowManjaro Linux 20.2Jan 14 20215.22Yes No NoGarbageAdel Khial 
ShowUbuntu 17.04 "Zesty" amd64 (+ variants like Kubuntu)Jul 15 20172.12Yes Yes NoPlatinumTheStraight 
ShowArch Linux x86_64May 26 20161.9.10Yes Yes NoPlatinumAsh Carvin 
ShowUbuntu 15.04 "Vivid" amd64 (+ variants like Kubuntu)Apr 09 20161.9.7N/A Yes NoGoldan anonymous user 
ShowUbuntu 15.04 "Vivid" amd64 (+ variants like Kubuntu)Apr 09 20161.6.2N/A Yes NoGoldan anonymous user 

Known Bugs

Bug # Description Status Resolution Other apps affected
5159 Microphone xmit in Half Life and HL:S games very harsh and goes in and out of "focus" REOPENED View
6095 MOTD in counter-strike 1.6 does not render REOPENED View
24684 Multiple Source engine based games (Steam): out-of-order rendering, bloom effect and lights are visible through walls when multicore rendering is enabled NEW View

Show all bugs

HowTo / Notes

HOWTO

All things going well, this game will work in current versions of wine (wine-1.0.1 and up) if you:

  1. Install steam and Counter Strike Source from the DVD or via the steam download.
  2. Select only "ALSA" sound driver in winecfg. OSS does not work anymore because Steam itself has sound open.
  3. Start Steam with the following command:
cd ~/.wine/drive_c/Program\ Files/Steam && WINEDEBUG=-all wine steam -applaunch 240

Note: Your path might differ, depending on language and installation directory. This is default for English install.
Note2: Additional command line options go after-applaunch * not before. Ex: -applaunch 240 -dxlevel 80 -console

For better graphics quality you might want to use -dxlevel 90 command option and enable GLSL shaders via registry (save this to a "file.reg" then import with 'wine regedit file.reg'):

[HKEY_CURRENT_USER\Software\Wine\Direct3D]
"UseGLSL"="enabled"

Note: GLSL is enabled by default as of wine-0.9.49

For better performance use -dxlevel 80 or even 70 and the following game settings:

cl_drawmonitors 0
r_WaterDrawRefraction 0
r_WaterDrawReflection 0
Also you can disable GLSL.

Known issues:

  • When starting a game Steam throws an error saying The registry was in use by another process.
    See Steam's HOWTO for possible solutions.
  • Counter Strike crashes as soon as it starts or you join a game.
    You most likely have other program(s) using sound. Run winecfg and select only ALSA sound driver. OSS is not the best choice anymore.

    For Ubuntu 8.04 and up - kill/disable pulseaudio. It is not compatible with Wine. And will cause all sorts of problems if left running.

    Another possible reason - you have "Steam Community In-Game" enabled. It does not work properly on Wine and causes all games to crash. Please disable it in settings -> In-game tab.

    On some distros with broken gcc (Ubuntu in particular) in winecfg libraries tab add "GameOverlayRenderer.dll" and set it to "disable".
  • MOTD/server description is not visible.
    This is a know bug and is not yet fixed. Some text might be visible but most is not.
  • Voice communication doesn't work (for some users).
    There are no known workarounds. Try using alsa as described bellow and using other voice communication software.
  • Steam will not work from ntfs partition mounted using ntfs-3g driver (2.6.25 kernels and older)
    This is a known limitation of the driver. Steam requires functionality (mmap with shared write access) which Wine can not emulate if it's not supported on file system. To fix: Install Steam and all content into native Linux file system.
  • Game crashes after a few minutes. You can fix this by putting this file into your "~/.wine/drive_c/Program Files/Steam/steamapps/YOURUSERNAME/counter-strike source/cstrike/resource" folder, or by applying this patch. See bug #7698 for more information. 
  • Lacking fonts. You need Tahoma and Lucida Console fonts for every text to show properly. Use winetricks to get them if you don't have a windows install handy.
  • Game crash after a while
    To fix:
    Run winecfg, click "Add application...", select "hl2.exe" (doesn't matter which one, only the filename is used, not the path) and click Open. Select "hl2.exe" in the list and change the "Windows version" to "Windows 98".

Thoughts -
(i) In the past Steam updates have been followed by serious errors running CS:S (or even just steam), including serious lockups. When running after an update, be sure that you're ready to switch to another tty at the first sign of trouble - preferably having a "wineserver -k" sitting ready in it just in case. Just a thought.

(ii) Sound latency issues (skipping, popping as everything struggles to keep up) - most notably sudden lag during firefights can sometimes be cleared up by running "soundlist" in the CS:S console. This is a more general CS:S issue, nothing to do with wine.

Other resources

If you have other good resource (at least as good as ones above) send vitamin a message with the link.

WARNING
Do not change mat_dxlevel if the CS-Source game renderer has been started one time or more. If you need to change it (for example, for join in a server with zblock), change it before you join a server or with the -dxlevel launch parameter. If not, the game will freeze for a very long time. Only try it if you have enough memory (1GB or more) and a good hard disk :)

Comments

Back