Category: Main Games 1st Person Shooter Half-Life 2 Retail (32-bit)

Half-Life 2

Full retail version of the Half-Life 2.

Application Details:

Version: Retail (32-bit)
License: Retail
Votes: 46
Latest Rating: Platinum
Latest Wine Version Tested: 1.7.21

Maintainers: About Maintainership

Test Results

Old test results
The test results for this version are very old, and as such they may not represent the current state of Wine. Please consider submitting a new test report.
Selected Test Results

What works

Maximum Settings

What does not

No problem at all

What was not tested


Additional Comments

Better than its native version

GPU: GeForce 9600 GT
GPU Driver: Nouveau Driver
CPU: Core 2 Quad Q9550 @ 2.83 GHz
selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?RatingSubmitter
CurrentLinux Mint Debian x86_64Jul 01 20141.7.21Yes Yes PlatinumPhilipglo Joshua Opulencia 
ShowArch Linux x86_64Jul 24 20131.6Yes Yes PlatinumArtur h0m3 
ShowFedora 16 x86_64Apr 01 20121.5.1Yes Yes PlatinumJohn P Sims 
ShowGentoo LinuxMay 13 20111.3.19Yes Yes PlatinumAnonymus Someones 
ShowUbuntu 11.04 "Natty" i386 (+ variants like Kubuntu)May 08 20111.3.19Yes Yes PlatinumArtur h0m3 

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
12453 Bad performance in Source based games REOPENED View
22912 Half Life 2 and Portal subtitles unreadable NEW 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
27453 Lag when loading new sound in source games NEW View
34080 Half-life 2 : Ammo doesn't display when loading game UNCONFIRMED View

Show all bugs

HowTo / Notes



First of all install Steam and make sure it's working properly. It is a simple and fast install. You don't want to go through all CDs installing HL2 to find-out that Steam is foo-bared.

Half-Life 2 can be installed from a) multiple CDs; b) DVD or c) downloaded from Steam. b) and c) should work as-is without any major problems.

For multi-CD install:
- Run winecfg and make sure that your cd-rom drive is mapped to a drive (d: for example).
- Start install from outside mount point ex: open CD-ROM in winefile then double click on hl2.exe

cd ~ && wine explorer d:\\
- When asked to change CD, in the separate terminal run
wine eject d:
- Insert next CD and mount it (browse to it with Window Manager's "file browser"). If CD isn't mounted Wine won't see it



In Steam -> File -> Settings -> In-game disable "Steam Community In-Game". Of left enabled Half-Life 2 will not crash on the startup.


Half-Life 2 doesn't work well/at all without sound. Use ALSA (recommended) or OSS (problematic on most hardware).


On modern GPUs Half-Life 2 should be able to run in all dx-levels (70, 80, 81, 90). However there are might be some visual problems on higher dx-levels. Some drivers known to have problems:
- nVidia: recommended driver: 1.0-9631. Older 87xx drivers have number of bugs.
- ATI: Appears to have numerous problems with advanced features. Ok for dxlevel 70 & 80. Anything above won't work or will be exactly the same as 80.

For better graphics quality you might want to use "-dxlevel 90" command option (might be much slower then with -dxlevel 81)

To fix number of problems with "water in the sky" and lighting add this to the registry:



You can start Half-Life 2 by double clicking on it in Steam. Also you can start it with:

cd ~/.wine/drive_c/Progam\ Files/Steam
WINEDEBUG=-all wine steam.exe -applaunch 220 -novid -dxlevel 90 -width 1024 -height 768

Known problems

  • Some objects are over-bright or too dark
  • Shadows are broken
  • Several areas with noticeable FPS slowdowns.


The following comments are owned by whoever posted them. WineHQ is not responsible for what they say.

Half-life 2 subtitles unreadable
by Deve on Monday December 10th 2012, 13:28
Workaround for bug 22912:


There you have a lot of options, for example:
"italic" "1"

You can set it to 0. Also you can change font, disable antialiasing or do anything other.

If you are playing Episode 1, you should edit:

Other games should have similar files.
HL2 crashing
by mushroomi on Saturday May 5th 2012, 5:03
I've been having this problem and I'm running out of ideas. HL2 starts normally. After playing the game for a minute or so the game starts to run slower and sound stuttering until it freezes completely. Same thing happens if I save the game a couple of times or the game autosaves. I've tried many things this far and none worked:

-different wine versions, from 1.0 to 1.5.3, pre-built or compiled myself
-disabling in-game community from steam
-disabling gameoverlayrenderer from winecfg
-setting OffscreenRenderingMode to fbo, pbo and backbuffer
-setting dxlevel to 70, 80 and 90
-disabling sound

when game freezes, terminal outputs this message:
err:ntdll:RtlpWaitForCriticalSection section 0xb3ffd28 "?" wait timed out in thread 005f, blocked by 0017, retrying (60 sec)

I'm not sure if this is just a HL2 problem, or does it apply to other source-based games too, I don't have the chance to test. I can play HL1-based games with no trouble, with in-game community on or off.
Help would be appreciated.
by Leonard Schiff on Monday November 28th 2011, 8:13

I'm trying to run HL2 on Arch x86_64. Works fine so far, but the sound doesn't work at all. If I use winecfg the sound seems to work normal, but when I start Half Life, not even the startup-screen makes a noise.

Graphic and everything else works fine. And Half Life 2 worked fine a few days ago (with sound) on Gentoo on the same PC.

I found the suggestion here that I should turn 'Hardware Acceleration' to 'Emulation', but I can't find that option anywhere.

Any suggestion would be appreciated.
  • RE: Sound by Alexey Loukianov on Monday November 28th 2011, 20:36
    • RE: Sound by Roland Haeder on Tuesday November 29th 2011, 9:13
      • RE: Sound by Alexey Loukianov on Tuesday November 29th 2011, 11:58
  • RE: Sound by anonymous on Friday May 30th 2014, 22:04
lighting issues
by Daniel Bond on Tuesday July 26th 2011, 19:41
when i run the game it runs smoothly enough but there is one ennoying issue i can see light trough walls and they strobe rapidly when i can't see them directly help anyone
Bug assignment
by quaker on Friday May 20th 2011, 9:21
Can some maintainer here assign this bug to the application? It's not only TF2 specific.
Freeze when Gordon drops in water
by Nietzsche Jung on Sunday May 8th 2011, 15:48
When Gordon gets teleported and the device is failing, he drops in the water somewhere. The game freezes at this point. I can see the colorful lights, the "Aux Power Oxygen" and the closed captions. It freezes right after the "Growl..." sound. Then the sound just starts to stutter.
Thank you.
Yes, absolutely
by Anonymus Someones on Monday May 2nd 2011, 15:21
Actually i already submitted new test - it awaits approval.
New Wine version
by nomeutente94 on Monday April 4th 2011, 14:51
From Wine 1.3.16 the mouse is too slow, useless. Anyone has this problem?
Strange lockups
by Brock on Monday January 31st 2011, 10:20
I'm getting great fps kind of if I load a new game on route canal I get ~299fps if I walk down the steps the game locks up goes to 0fps as if it's loading something then returns to ~299fps when I walk through the door it locks up abit then goes to 150 as I progress more it just lags as it drops from 150-10 fps anyone know whats causing the lockups. Is it just my pc can't handle it? Intel Q6600 Quad Core @ 2.4ghz 4gb DDR3 Ram Evga Nvidia 480gtx Wine 1.3.11. I see people posting it works great...
Gameplay Video
by Jake ward on Sunday January 2nd 2011, 16:28

Shows the game runs great, The slight lag is caused from hardware and recordmydesktop

I also used directx level 81, if anyone wants to know how to use this just ask!
Wine 1.3.6
by Andrew on Wednesday November 3rd 2010, 12:39
In wine 1.3.6 the installer crash with a wine dialog just after agreeding with the contract. If i regret to 1.2 it installs flawlessy.
I have to open a regression bug? Someone can confirm this?
Black screen
by chris ogloff on Tuesday October 26th 2010, 18:34
If you're using Ubuntu 10.04 or a variant with NVIDIA drivers version 260.19.12 on wine-1.2, you might get just a black screen when starting a game in Half-Life 2. If this occurs, a possible workaround is to add "-dxlevel 81" (without quotes, of course.) to your launch parameters in Steam. This is what works for me at least.

I did notice that in the graphics options, high-quality shadows are no longer available after using directx 8.1, but it's not much of a difference I would think.
Mysterious freezes
by Albin Stjerna on Tuesday September 21st 2010, 3:27
I'm running debian testing's latest Catalyst drivers (1:10-9-1) with an ATI Radeon HD 4800 Series (according to fglrxinfo). When playing the Highway 17 section of Half-Life² (installed from Steam), I'm getting mysterious image freezes when quick save/loading -- almost every time. I can, however, still control the game, and sound and menu works. If I exit to console and kill the hl2.exe process, the entire screen will be filled with strange colors and the computer will hang completely.

However, If I manage to hit the right menu buttons and exit the game normally without seeing anything but the frozen still image of the game, I can restart it and play again. Changing H-L's settings doesn't seem to improve the situation in any way (except making the game more ugly). The problem is present both in wine 1.2, 1.3.2, 1.3.3 using both debian's stock kernel 2.6.32 and 2.6.35 from experimental. I also tried a slightly older version of the Catalyst drivers with no effect.

I also tried the dx9-winetricks, which improved performance greatly but did nothing for the freezes.
by pablo pg on Sunday July 4th 2010, 19:28
of course it runs perfect for you, you got 4 times more hardware that what the game needs in win, thats the whole story in wine people
freezing and stuttering
by Kyle Bishop on Saturday June 5th 2010, 12:50
So I'm having an issue where the game will freeze for 1-2 seconds every minute, and the sound will stutter during those seconds. Other than this, the game works perfectly.

This even happens if I stand there, doing nothing, while all other programs are closed and video settings set to the lowest.

Any ideas?

Note: my video settings don't seem to affect it happening more or less
by Duane on Monday May 31st 2010, 2:38
To be honest, this game doesn't deserve platinum here. There are many issues that need to be included in the test results, and the game does not run perfectly.

Anti-aliasing is always disabled making the game look like crap, massive input lag, and always low frame rate no matter what I look at. I'd say the game barely works.
  • RE: Issues by Alexey Loukianov on Sunday June 6th 2010, 18:20
    • RE: Issues by Silent-Hunter on Tuesday September 21st 2010, 0:40
      • RE: Issues by Alexey Loukianov on Tuesday September 21st 2010, 1:56
        • RE: Issues by Silent-Hunter on Tuesday September 21st 2010, 3:19
          • RE: Issues by Alexey Loukianov on Tuesday September 21st 2010, 10:14
            • RE: Issues by Silent-Hunter on Wednesday September 22nd 2010, 0:34
by lupusrex on Sunday May 30th 2010, 16:16
While I harbor nothing but goodwill toward those for whom this game functions at a "platinum" level, I'm not sure that it warrants such a rating overall. I'm not asking for help (I've gone the lazy man's route and started dual booting with Windows 7), merely making note of my experiences.

10.04 Ubuntu, fully updated; ATI Radeon HD 4350 with the latest possible proprietary drivers; Wine 1.2-rc2 with a brand spankin' new Wine prefix; hardware in other categories which should be more than sufficient.

Having had almost no success with any other game besides WoW (which works perfectly), I noticed that this appeared on the top 10 platinum list and, wishing to play *something,* downloaded it from Steam in the hopes of a few days' nostalgic entertainment. It was not fated to be. First, I had no sound except at the intro movie and the screen would flicker to and from black. Changing the sound hardware acceleration to Emulation and disabling the virtual desktop fixed these problems.

With these settings, strangely, characters possessed eyes without pupils or irises. I never did manage to fix this problem. -novid and various -dxlevel settings appeared to have no effect. It seemed at least playable, so I soldiered on. Wine crashed out at a particular save/load point (on the rooftop, the first time that Civil Protection fires on Gordon). As a final insult, my desktop background picture was stolen away, and I had to change back my resolution manually. =)
segfault after some hours
by Christoph Haag on Friday March 26th 2010, 8:22
When playing half life 2 for some hours it always segfaults:

wine: Unhandled page fault on write access to 0x00000022 at address 0xd3e8a37 (thread 003f), starting debugger...

Is this known or should I try to get more information when it happens next time?
Gameplay video
by Jake ward on Wednesday March 24th 2010, 2:31

Shows game runs perfectly, worthy of platinum ^_^

by Bálint Dávid on Friday March 5th 2010, 15:14
"OffscreenRenderingMode"="fbo" made Half-Life 2 crash after every auto-save for me.
Changing it to "OffscreenRenderingMode"="backbuffer" solved the problem

by Donovan Dunnigan on Thursday February 25th 2010, 21:13
i have a problem, everytime i stick in the second disc and it starts reading, it goes for a while but then it stops and says a fatal error has stopped the installation, anyone have a suggestion
Unhandled exception code c0000005
by tr on Wednesday January 20th 2010, 18:37
I get "err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x7ee07470" when I try to launch either the Half-Life2 or the Portal demos.

I'm running slackware 13 and NVIDIA-Linux-x86-190.53. I compiled wine-1.1.36 myself.

I see this is the code for STATUS_ACCESS_VIOLATION, but how do I get a more useful error message? Any clues?
no picture
by sam on Wednesday December 23rd 2009, 15:04
When i start half life 2 it runs fine untill i try to load a mission. The screen goes black and i half to force quit hl2 plzz help ,thks sam
Half Life 2 Deathmatch crashing
by James on Friday October 16th 2009, 21:44
Half Life 2's single player component works fine for me. However, every time I join a server in Half Life 2 Deathmatch I get this error:
Runtime Error!

Program: ...steam\steamapps\\half-life 2 deathmatch\hl2.exe

-pure virtual function call

..and the game crashes. Anyone else getting this?
Downgrade or upgrade
by Night Nord on Saturday August 22nd 2009, 16:09
This issue was introduced into wine-1.1.27. Dunno about 28. Looks like color gamma problems - just like if you'll switch 16colors for high-color image =)
Textures problems
by Łukasz on Saturday August 22nd 2009, 14:12
I am suffering from some textures issues in source-based games and F.E.A.R.
At the beginning everything looks fine. But after some time of playing those games textures are becoming... hmm.. broken. They have various colours, checked yellow-black guns for example, pink walls. I couldn't find, that anybody else have this problem.
Textures are breaking when game is loading new area or saving etc. Helps reloading textures (chainging textures detail from low to medium or medium to high or whatever).
There is no additional output in console.
I can attach some screenshots.
Does anybody can help me with this?
by Arch Linux on Thursday August 13th 2009, 12:31
My Half-life is running perfectly on win nt 3.5 except for the italic fonts.
on installation
by james on Sunday August 9th 2009, 15:48
in the middile of the instalation of the second disk a window pops up and says "instalation has quit do to an unexpected error".

and it the exit the instalation, what went wrong i mean i did everything that is said to do in the guide. i dont think its because i dont have administrative privileges because steam installed correctly; and so did half-life 1
on the installation
by james on Sunday August 9th 2009, 15:45
in the middile of the instalation of the second disk a window pops up and says "instalation has quit do to an unexpected error"
Half-Life 2 not starting
by Jack Diaz on Wednesday June 10th 2009, 1:52
HL2 wont start up and in my terminal all I get is
This sound card's driver does not support direct access
The (slower) DirectSound HEL mode will be used instead.
I checked ALSA sound in winecfg, I don't know what is wrong.
Wine 11.1.23 has problems with Direct3D games
by Arucard on Sunday June 7th 2009, 6:58
The new 1.1.23 breaks a major of DirectX games that uses Direct3D, like Half Life 2, but OpenGL and DirectDraw ones works fine.
The problem arises when I try to start one of them: it fails displaying a page segment fault (crash), like one of those:
wine: Unhandled page fault on read access to 0x00000018 at address 0x7c89a2e7 (thread 0038), starting debugger...
Unhandled exception: page fault on read access to 0x00000018 in 32-bit code (0x7c89a2e7).

Or the Atlantis puzzle game from GameTop-com, shows the similar:
wine: Unhandled page fault on read access to 0x00000018 at address 0x0000:0x7ad2d2e7 (thread 0009), starting debugger...
First chance exception: page fault on read access to 0x00000018 in 32-bit code (0x7ad2d2e7).

That's mean, I found a possible regression from Direct3D.
When I use Wine 1.1.22 all those games works fine!
Something happened recently and slowed games down.
by Steve on Saturday June 6th 2009, 19:00
This seems to have affected all Source games on my system.

I'm not sure what had changed about three or four weeks ago, but since then I have reinstalled my OS and graphics drivers, Steam, and all source-engine games to no avail. The best thing that I can come up with is that the updates to Steam about a month ago borked my computer's ability to run Half-Life. At this point, the game is laggy, sluggish, a lot of audio skips and pops, and all dialogue happens well before the action on screen which synchs up.

Previous to this, everything I played (Portal and HL2, I'm now trying to get Lost Coast to run) ran marvellously, without problem. Since either the Steam Update or the Wine update to 1.1.21, it didn't work.

Any thoughts? Anywhere I can get a printout for why it's slugging along? I've mucked with -dxlevels, with resolutions, with graphics settings, but nothing works.
All Source-based games fail to run on Intel graphics
by Mike Swanson on Monday May 18th 2009, 2:41
Given that pretty much everyone is playing this on ATI or NVIDIA, I'll assume that my problem is related to the graphics card, which is an Intel GM965. I know this isn't exactly a card that's meant for modern games like HL2, but in Windows, this very same card gets me around 50 fps in HL2, so it's very playable there.

Basically, the issue I have is that once the game's titlescreen begins to load, the entire X server crashes, and of course, I can't play the game.
Debian 5.0 amd64
Pentium Dual-Core 1.4GHz
2GB of RAM
Intel GM965 graphics
Trouble with running out of graphics memory
by Dan on Friday May 15th 2009, 15:57
I keep getting frequent crashes in HL2 and other Source based games (Portal, TF2) that seem to relate to running out of memory; I've noticed that I'm getting a lot of fixme errors related to "EvictManagedResources" not being implemented. A while later, something else will fail due to a GL_OUT_OF_MEMORY error, which I think is an OpenGL error, not a WINE error. Searching for similar issues has turned up nothing, so I now have to ask: is this a widespread problem, or is it just me?
Game runs fine when it loads.
by Steve on Sunday April 26th 2009, 19:42
I just bought the Orange Box from Steam, and it installed without a hitch. It also ran without a hitch after following many of the faqs on this page.

It also runs fine when it loads up, but these days the following happens:

1. The Valve sound plays, as does the logo video, but the video is noticeably slower. The sound will have faded and the logo will follow about 15-20 seconds later.

2. The fuzzy loading screen does not come up. It just sits there, black.

What I have discovered is that it will often work fine if I load into Portal (which gives me no trouble whatsoever) first, exit, and then load Half-Life 2.

Any suggestions as to what is going on, and what I can do about it?
Graphic settings
by Dan on Friday March 6th 2009, 7:31
Hi all
Having problems setting graphics on this game. Can change the resolution no probs but when I goto advance and change any of the settings it just closes the program. Nothing unusual in terminal.
Running on wine 1.1.16, Tried all the OS available, Tried the regedit things suggested to fix problems for this game. Tried running in terminal with various DX's. Only thing I havent tried is downgrading to another wine version but my other games are working great in this wine version so you can see that I dont wanna downgrade :P.
Thanks in advance
Current GIT fixes performance problems
by DL on Sunday February 22nd 2009, 0:42
Current git runs at 60+ fps versus 20+ fps, because of SRGB fixes.
About last result ("Jan 10 2009")
by Night Nord on Sunday January 11th 2009, 9:55
This seems to be common problem. See - there is a workaround for this (you may notice %SystemDrive% or something like that in your homedir)
Half Life 2 does not run and Steam freezes
by Pawel Badenski on Friday January 9th 2009, 21:41
When I try to run Half Life 2 (either by clicking on the menu item in Steam or from a shell) Steam freezes. In the latter case wine sometimes exit with a Segmentation fault. There are also *.mdmp files being created in wine directory but I got no clue what to do with them. I tried the latest (dev) version of Wine and it doesn't help.

I also tried almost every tip I found on the web but it just does not do the trick.

I'm running 'Ubuntu Intrepid amd64' on:
- Athlon X2 5000+
- Geforce 9600 GSO.
Solving choppy sound in Ubuntu 8.04 and 8.10
by Rob Parker on Sunday December 7th 2008, 5:57
PulseAudio always seems to wreak havoc with games under Wine, so I've always disabled it (PulseAudio), this previously took two steps but now in Ubuntu 8.10 something still seems to start it and so there is a third (rather crude) step. But after performing these the sound should stop being choppy. Note that Wine should be set to use ALSA (normally default).

--Step one (both 8.04 and 8.10)--
1. Click through System > Preferences > Sound
2. On the first ('Devices') tab set all drop-down boxes (other than the last) to 'ALSA - Advanced Linux Sound Architecture'
3. Click the 'Close' button'

--Step two (both 8.04 and 8.10)--
1. Click through System > Preferences > Session
2. On the first ('Startup Programs') tab find the entry labelled 'PulseAudio Session Management' and remove the tick from it
3. Click the 'Close' button
4. If you are on 8.04 you will now need to log out and back in again and be done. Ever-wise ignore this step and continue onto step four

--Step four (8.10 only)--
1. Press Alt+F2, type ' gksudo 'nautilus /usr/bin' '
2. In the resulting file browser find the file labelled 'pulseaudio' (the keyboard can help you with this)
3. Right click on the file and select 'Properties' from the resulting menu
4. On the third ('Permissions') tab remove the tick from the option labelled 'Allow executing file as program'
5. Click the 'Close' button, close the file browser and log out and back in.

So long as Wine is set to use ALSA, your sound should now no longer be choppy in games in Wine. In addition Flash will be able to share sound with other native desktop applications.
by Kiernan Holland on Wednesday December 3rd 2008, 1:26
Get "winedoors" and install valve with it.. Install Orange box from there.. And all the Half Life 2 and such should install fine.. See the Guild Wars docs on how to increase display rates by turning off GL2 shaders in regedit.. I've got loads of videos on youtube showing my success in getting all the valve games to work..
sound is choppy in Half Life 2
by Shawn Vega on Sunday November 9th 2008, 22:41
hi I installed HL2 on two computers but on both of them the sound is choppy. does anyone else have this issue? Does anyone know how to solve it?
From the beginning...
by rich on Tuesday October 14th 2008, 5:59
Ok, I really want to get Wine working along with my Steam games. I have PlayOnLinux 3.1.2 installed along with Wine 1.1.5 (installed through PlayOnLinux). I have some of my Steam games installed (HL2, CS:S) and Steam seems to run fine. The only issue I'm having is a strange graphical one. I've uploaded a pic taken when HL2 loads.

Screen pic:

My fglrxinfo says:

[CODE] root@Obsidian:/home/rich# fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI RADEON 9600 Series
OpenGL version string: 2.1.7659 Release[/CODE]

This is my ATI Catalyst info:

I'm trying to be as detailed as possible so I can explain my situation. I also have another question. I chose to download the ATI drivers using EnvyNG (8.6 drivers) but why does my ATI Catalyst info say 8.50.3 ?

Am I missing something important? Is my ATI card just crap? (it ran perfect under windows). Can anyone recommend what I should do?

Any help would be greatly appreciated.


Blocky / pixelated Grphics at start-up
by rich on Sunday October 5th 2008, 12:55
I've been having some issues with getting the graphics to look right. When loading, the screen almost becomes split in two and it's incredibly pixelated. If I leave the game (with great difficulty) the screen resolution on the desktop is still messed up.

I used EnvyNG to get the latest drivers (8.6) for my card. I have an ATI Radeon 9600 Pro 256MB card. I run wine under Ubuntu 8.04 (Hardy Heron). I did the Direct3D edit using regedit (previous post) but that didn't help.

My Wine version is 1.0 (thats what it says on the About tab).

Has anyone had a similar problem? How do I change the -dxlevel via the terminal?

Any help would be really appreciated.
kubuntu 8.04 and ATI driver stability problem in 2D
by robert on Monday August 25th 2008, 5:56
This fix is very much relevant to the latest ATI drivers as many people still have the same problem. Even with 8.7 catalyst drivers using kubuntu 8.04. I have 8.6 catalyst drivers installed with envyng-qt and was experiencing desktop instability. The fix has completely cured my system errors relating to a conflict with Kubuntu 8.04 and the Xserver.

If you have kubuntu 8.04 and ATI drivers 8.6 or higher then you might still be experiencing desktop instability. There is a fix located here:

Many people still have this desktop instability with catalyst drivers 8.6 or 8.7 that will leave their system unstable. If you are experiencing desktop instability with ATI drivers then it will probably work for your system.

hope this helps someone
direct3d settings started up half life 2 with ATI HD 4850
by robert on Friday August 22nd 2008, 17:29
I'm using Kubuntu 8.04 with wine 1.0 - I've got envyng-qt installed 8.6 drivers with HD 4850. Could not get half life 2 working (and some others). Until...

REGEDIT (type regedit into konsole)


If you don't have direct3D key there right click and create it. Then enter the following strings within your new Direct3D key along with the command/mode (by right clicking your new string and entering the command eg. "DirectDrawRenderer" (right click once you have created the new string and you'll get a modify option, choose that) then enter the command/mode (for DirectDrawnRenderer in this case it is: opengl.
Continue entering all the new strings along with the = commands below(right click on new strings to modify and enter command/mode).

"DirectDrawRenderer"="opengl" "OffscreenRenderingMode"="backbuffer" "PixelShaderMode"="enabled" "UseGLSL"="disabled" "VertexShaderMode"="hardware" "VideoMemorySize"="256"

Video memory size is dependent on your card. My HD 4850 has 512mb so I obviously put 512 instead of 256. Your hardware determines this number.

After doing the above I was able to play half life 2 normally and it began with direct X9 effects enabled. Voila!

If the above doesn't work you can always manually input -dxlevel 81 or -dxlevel80 by right clicking on half life 2 within wine and going to properties and enter -dxlevel 80 or 81 within the command/input line. This might also start up the game for you.

As yet envyng-qt doesnt seem to have catalyst 8.7 within its repository or at least mine hasn't. I'm hoping the new driver will improve frame rates.
I hope this helps someone who is confused.

by Night Nord on Monday July 7th 2008, 8:37
Quite an interesting information, thank you, but how you get it?
Video settings not being saved is not a bug, it's a feature
by Wiebe Cazemier on Sunday July 6th 2008, 20:10
People are reporting that the video settings aren't being saved. This is not a bug in Wine, it's a feature in Half Life 2. When you start the game with -dxlevel xx, it automatically resets the video settings. If you want to run in dxlevel 80, you only have to run HL2 with the -dxlevel 80 flag ONCE. You can change your settings, and remove the -dxlevel 80 flag from wherever you start is (steam's launch options, wine command line, etc).
Issues with my install
by badger on Sunday June 1st 2008, 10:29
I have two very different issues and wonder if someone knows of a fix or work around for them; Steam is installed on 2 computers both running Opensuse10.3 and the latest kernel, wine 0.9.44

"PC 1" is AthlonXP2400 @ 2ghz, 512mb ram, NV6200 256mb gfx and Audigy2
"PC 2" is Intel P4HT @ 3ghz, 1GB ram, NV6200 256mb gfx with on-board intel s/card

The first problem only affects "PC 2" in that I have no sound for any Steam game (eg HL2 or Counterstrike source). I have set wine to OSS and I know it works as i run a lot of popcap games 100% fine with the current set-up, sound and all.

The second problem I have only observed on "PC 1" (but that's probably because I can't play with no sound!) is very low fps in a few places during the game. I notice this is shown as a known issue but no suggestions on how to beat it!

Any help/replies would be appreciated!
Last "Garbage" test result is wrong
by Night Nord on Sunday June 1st 2008, 10:24
For some reason, my new test result was not commited (even with changed), so I post disagree here.

1) On wine-1.0_rc* (tested on rc3 too) game NOT starts without virtual desktop. I use 1280x1024 virtual desktop (VD) (matches my resolution) without decorations (to prevent conflicts and blinking while game) and without wm control over window (to prevent mouse pointer offset from real in-game position). Game starts in fullscreen and overrides VD, so you just not notice it. Also VD allows to alt-tab (or change wm's virtual desktop) without crashing application.

2) Without GLSL some effects like reflections (reflections has no opacity, so you can't see through, and reflects from both sides (even from underwater)), wide energy beams (no opacity) in Citadel and Citadel Reactor (and Reactor Core on EpisodeOne) is broken.

3) On rc2 dx91 support completely broken. Many random crashes and some textures missing, also some bugs with skybox texture color ("color correction" does nothing).dx81 works greatly (crashes still exists, so save often, but much rare). Do _not_ use dx91 (on dx81 and with GLSL game has quite playable fps).

4) Video settings still not saving. Sound works without dissapearing only on Emulation level.

I have completed full compaing (also EP1) on Gentoo Linux x86_64, with NVidia 7600GT (256Mb), nvidia-drivers-173.14.05, Kernel 2.6.25-gentoo-r4, and CPU AMD Athlon 64 X2 4200+. Orange Box (steamless) version.
  • RE: Last by vitamin on Sunday June 1st 2008, 10:54
    • RE: Last by Night Nord on Sunday June 1st 2008, 11:24
wine 0.61, HDR and NTFS
by Felix H. Dahlke on Saturday May 10th 2008, 13:09
Hi there, great work on Half Life 2! Most works like a charm.

Just got some additional problems I'd like to point out:
- HL2 doesn't start for me with wine 0.61 (installation works fine) - my X dies.
- Steam.exe cannot be executed if it resides on an NTFS partition mounted with ntfs-3g. This is a problem - I solved it by reformating my files partition with XFS (faster anyways, don't know why I had been using NTFS)
- HDR is not working though my graphic card supports it and I activated it in the menu (HDRR is apparently patched back to HL2, or the graphics settings menu is merely fooling me).

But no details here, I'll file detailed bug reports about each of these :)

Keep up the good work!
xrandr + nvidia twinview issue
by rji on Saturday May 3rd 2008, 17:40
There is an issue with older versions of xrandr (Debian Etch) using nvidia's twinview, the game will crash after trying to set a refresh rate (60 hz) that isn't being reported by xrandr. The workaround is to use xvidmode to change resolution. How to do that is in the wiki with the useful registry keys.
not working
by Morfeus on Friday April 25th 2008, 7:18
lol using 0.9.59, this is platinum for wine, so why damn it crashes after playing that ugly AVI video with that weird guy
Just Congratulations
by David Lucena on Monday April 21st 2008, 13:27
Although it is true that there are performance issues, I have got a very big surprise in seing HL2 running on my debian machine.

This message is just to send congratulations to all the people that make possible wine, and to encourage them to keep the good work for the community.

Thank you very much.

HL2 vs ATI cards
by Petr Baudis on Thursday April 17th 2008, 20:25
If you have a new ATI card and want to run HL2 with the fglrx driver, the game might just refuse to load and quit before entering the main menu screen - there seems to be a bug in glActiveTextureARB() called from wine's tex_bumpenvmat(). This seems to be a fglrx bug, I will report it to ATI. There appears to be no way to work this around without recompiling your wine after manually disabling the ATI bit of dlls/wined3d/state.c:tex_bumpenvmat().
Terrible performance
by Dan Hall on Monday April 14th 2008, 17:31
I get the following error when attempting to run HL2. It is an error with Steam and (I'm pretty sure) not with the way I have wine configured or anything.

Your video drivers appear to be out of date and could cause problems if you choose to continue and run the game. We strongly recommend that you follow the link below and update your video drivers to the latest version available from your driver vendor.

Your driver details

Windows Version: Windows Vista
Description: Direct3D HAL

Go to driver update page... (this is just a link to

If I click on "continue anyway" and ignore the errors I get an extremely low (basically unplayable) framerate, which is a little strange cause in windows I would get around 70-80fps with all fhe graphic options enabled and set at the highest level. Is there a way to get around this issue? I've heard that instead of using wine I could try "running a vm" (not quite sure what that means though) but that it could be quite a performance hit. I can't really see how the performance could suffer any more than it already has though hahaha.

In the terminal window I am also getting this error:

fixme:d3d:IWineD3DCubeTextureImpl_PreLoad Cubetexture (0x293582d0) has been reloaded at least 20 times due to WINED3DSAMP_SRGBTEXTURE changes on it's sampler

It just repeats over and over, although the 0x number changes every time. System specs are:

Athlon64 X2 5000+ Black Edition
eVGA GeForce 8800GT
2GB OCZ XTC Platinum Rev. 2 PC2-6400
Gigabyte GA-M57SLI-S4 Rev. 2

As far as I know I have the latest drivers (Envy reports version 169.12) I'm running the latest version of Wine as well (0.9.59), and I'm on Ubuntu 7.10. All help is greatly appreciated!
Opengl as renderer. Memory limitations...
by Night Nord on Thursday April 10th 2008, 15:31
Opengl seems to be much faster (HKCU/Software/Wine/Direct3D/DirectDrawRenderer="opengl"), even with GLSL enabled and dxlevel 90 FPS is still playable! (Futhermore, if there is no much explosions - it is great playable). Only problem - without GLSL on dx90 water renders with color bugs. (With it bugs still exists, but much smaller).

And a question - wine can't understand more than 2GB of memory? When I try to allocate 2*1024*1024 as heapsize (I have 4Gb, HL2 gives me an memory allocation error. And in HL debugs it show stats - 20..Mb of memory...
Crash in multiplayer version
by beuagh on Wednesday April 9th 2008, 17:05
I have tried with 0.9.57 and now 0.9.58.
My Linux is a Ubuntu 08.04 beta x64.
After a few seconds, when i join a server hl2 dm crashes and shows an Unhandled page fault.
It seems that a lot of people had the same problem with x64 versions, and this problem seems to exist since 0.9.33 : see
It's the same thing. When I'm alone on a server it doesn't crash.
Has anybody managed to fix this bug ?
Crashes when it would show menu in Ubuntu Hardy
by Robin on Thursday March 27th 2008, 21:02
I've just upgraded to the hardy beta, now HL2 (installed through steam) which ran fine in gutsy crashes as soon as the initial load finishes. It simply stops and closes, right about when the menu would show up. The last things said when I run it from the console are:

fixme:d3d:IWineD3DDeviceImpl_EvictManagedResources (0x140440) : stub
fixme:d3d:IWineD3DResourceImpl_SetPriority (0x21295490) : stub
fixme:d3d:IWineD3DDeviceImpl_EvictManagedResources (0x140440) : stub
fixme:dbghelp:dump_system_info fill in CPU vendorID and feature set
fixme:font:WineEngRemoveFontResourceEx :stub
fixme:font:WineEngRemoveFontResourceEx :stub
fixme:avifile:AVIFileExit (): stub!

and then I'm back at the terminal. This happens both with and without compiz enabled.

$ wine --version

NVidia driver version: 169.12
Not able to put in 2nd disk
by Caleb on Sunday March 16th 2008, 21:03
I try to install it and I can't get the ( wine eject d:) command to work. when I try it I get (Drive d: is not a CD or is not mounted)
But in wine file I can clearly see that it is there.
no text
by Sven van de Scheur on Friday March 14th 2008, 17:40
Hi, when I run half life 2 the game runs but there is no text. So I cannot start or load a game since there is no menu. Is there a solution for this?
  • RE: no text by Calvin Loncaric on Sunday March 16th 2008, 20:26
Strange audio problem
by Chris on Wednesday March 5th 2008, 18:09
I am running the "Orange Box" under Suse 10.3 and Wine 0.9.56.

The game runs great, no graphical issues I can see. However, there is a strange audio problem that I can't seem to get resolved. I can hear all of the sound effects and people's voices and such, but anything that is on a video screen within the game has no sound. For example, right at the beginning, when you get off the train, I can hear the guards being obnoxious, I can hear the floating camera shutter click, but the City 17 administrator on the big video screen is dead silent.

Later on, in the first meeting with Barney and the video is playing of the conversation between Barney and the scientist, I only hear half of the conversation.

Anyone else have this issue? I have googled a bunch, and I have seen nothing similar.

Issue with running HL2 suite
by Josh on Wednesday February 20th 2008, 20:44
I'm currently running wine 0.9.55 and I wasn't having any real issues with it other than slightly lower FPS than I had in windows. with all the half life two games(Original and Episodes) I was getting about 40-80fps, which mind you isn't bad but I'm used to 110-140 and I'd like to get as close to that as I can again. After messing with the few options in WINECFG and not getting much else out of it I tried running the game as suggested in the installation instructions above. so I ran

"cd ~/.wine/drive_c/Progam\ Files/Steam
WINEDEBUG=-all wine steam.exe -applaunch 220 -novid -dxlevel 90 -width 1024 -height 768"

after this I loaded up HL2, HL2Epi 2 and Epi2 only to find that they either crash right away, or get to the menu and then become very glitchy. So what I need is a way to undo what I've done. I'm still very much new to Ubuntu and linux and don't fully understand what the above command does. So any help as to reversing it would be great. If you wish to post a reply here that's fine, or you can email me at

Bravo Wine 0.9.54!!!
by Nando on Wednesday January 30th 2008, 10:02
I installed Half-life 2 yesterday with Wine 0.9.47 and it was running beautifully, even better than I had it on windows with some respects. I was extremely happy with Wine, Linux and Half-life

I decided to update Wine yesterday. I run the application again today and I instantly knew something was up, the resolution was not as I left it. I put it all back as it was, even lower graphics because this version apparently has different recommended settings for my system and voila! Half-life 2 runs like crap now, the frame rate looks like one of those cheesy sequences in Peter Jackson's movies where the screen is all laggy.

Did anyone have this same problem or is it just me? Solutions? Probably not but I thought I would share.

I run Ubuntu 7.10
NVidia Geforce Go 7600
Intel core duo 2.0 Ghz

I tried uninstalling everything and installing it again but it didn't work. I was thinking about reverting to a previous version but I can't find it and even if I could something tells me is doomed to fail, I am noticing that Linux tends to be quite unpredictable -- or at least Ubuntu's version of Linux -- it works for a little while, it makes you very happy and then it breaks later or fails, or underperforms.
by Craig on Monday January 28th 2008, 14:54
Hey there, when I start up HL2 the valve screen and the credis before you get to the main screen run reaaallllyyyy slow and choppy. After this the game plays just fine, except things are brighter until you use them or are on top of em, I have no flashlight that works, windows seem to display as triangles, and items fade away and back in as i'm walking.
I'm running an nvidia xfx 8600gt xxx edition with wine 0.9.54 and the latest drivers and Ubuntu Gutsy. Thanks for any help! :)
  • RE: Slow by Bálint Dávid on Friday March 5th 2010, 15:08
A small note..
by Sae Hirak on Thursday January 24th 2008, 16:05
If you need to use parameters (like -novid) but don't like running from a command line, there's an easier way!

Within Steam, click on the game then on Properties. Now click on "Set launch options..." and enter in the ones you want. If you run "wine steam.exe -applaunch 220" it should now automatically run all the parameters set within Steam.

At least this worked for me.
Can't load maps: freezes about 2/3 through loading
by SheeEttin on Monday January 21st 2008, 8:48
Kubuntu 7.10, Wine 0.9.53.
I can't load any maps in Half-life 2. The menu loads and works fine (as long as I specify -console, for some reason), but attempting to load any map freezes the game about two thirds through the loading process.

Some output:
Wine console output (debug notes added):
HL2 console output (-condebug option):

Anyone have any ideas as to what I can do?
Black screen when game-menu should appear, no sound
by Lukas W. on Saturday January 12th 2008, 5:51
Hi all,
ive installed Steam & CS:S as described above, but when i start CS:S the screen becomes black after loading and i do only see the mouse-cursor. I think the game ist started, because when i start with -console option the cursor changes to text-selection when i move it over the screen. When i start with -windowed, everything is fine.
Unfortunately i do not hear any sounds... ive set audio driver to OSS only and Audio to Emulation (because my alsa-oss doesnt seem to have hardware-support). When i start the game, wine-console says

This sound card's driver does not support direct access
The (slower) DirectSound HEL mode will be used instead.

Iam running on KUbuntu 7.10, wine 0.9.52, fglrx 7.10
HL2 multy-cd install
by Aleksey Kobelev on Sunday December 23rd 2007, 10:44
To instaal Half-Life 2 from multy-cd distributions just copy all disks in one folder. Then run setup from that folder.
Multiplayer Crashes
by Frozen-Solid on Sunday December 2nd 2007, 14:12
I've got HL2 working with no problems single player, but in Multiplayer I'm having issues.

In 0.9.49 whenever someone is killed for any reason the game would crash.

I updated today to 0.9.50 and everything is working great, until someone is killed by a Gravity Gun. Anyone have any ideas?

by Yadav Gowda on Saturday November 24th 2007, 11:12
While playing the game, I get a barrage of these messages and I can only play at around 5 fps:

fixme:d3d:get_src_and_opr Unhandled texture arg WINED3DTA_SPECULAR
err:d3d_surface:fb_copy_to_texture_direct Texture filtering not supported in direct blit
fixme:d3d:get_src_and_opr Unhandled texture arg WINED3DTA_SPECULAR
fixme:d3d:get_src_and_opr Unhandled texture arg WINED3DTA_SPECULAR
fixme:d3d:get_src_and_opr Unhandled texture arg WINED3DTA_SPECULAR
err:d3d_surface:fb_copy_to_texture_direct Texture filtering not supported in direct blit

I'm running wine 0.9.48 under Fedora 8 x86_64. I have to run HL2 under win 98, so I first start up steam, then I run the command
"setarch i386 wine hl2 -novid -dxlevel 70 -width 1024 -height 768"

The game stutters from the time I get in the menu, and it only stops stuttering briefly, at the beginning of the game, when it only has to render G-man.
  • RE: by kja999 on Sunday November 25th 2007, 3:29
  • RE: by kja999 on Sunday November 25th 2007, 7:41
No Text in Menus
by nick on Tuesday November 13th 2007, 19:28
I don't seem to have any fonts one the main screen, where it says HALF-LIFE 2. I can run the mouse over where the test is supposed to be and here it make sounds, but I can't select them, unless I use the arrow keys.

I'm running wine 0.9.49 on Debian Lenny, using the etch debs. I've been able to play through the first part, right before it loads the next section. The first time I hit that it locked up there, but that's probably another matter.

Also, when I quit the game I get this message. Any ideas?

X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 146 (ATIFGLRXDRI)
Minor opcode of failed request: 1 ()
Value in failed request: 0x56
Serial number of failed request: 3988
Current serial number in output stream: 3988

P.S. I can navigate around Steam just fine. Everything there is readable. Once the game starts, no text...
Two more notes
by Stdh on Saturday November 10th 2007, 9:54
Two more observations...

Steam in-game community features are enabled by default, but need to be disabled to get HL2 to work ("File->Settings->In-game" in Steam). If I leave these on, HL2 suffers an immediate page fault when started from within Steam.

Also, the "GLSL" option mentioned in the HOWTO is enabled by default in wine 0.9.49, so there's no longer any need to set this manually in the registry.
Working in wine 0.9.49
by Stdh on Saturday November 10th 2007, 9:30
If you are having trouble running HL2, I suggest getting wine 0.9.49. Some of the issues with previous versions now seem to have been fixed.

I am running Debian 4.0. I initially tried using the .deb version of wine 0.9.47. HL2 installs from CDs properly, as per the HOWTO, but crashes when starting a new game.

I had the same problem as Danieru. Point Insertion will load to 99%, and then wine will crash with an unhandled page fault.

I got a copy of the latest source from git (0.9.49) and compiled it. The game is now working, although I haven't played much of it yet. I assume any of the 0.9.49 binary versions will work just as well. (As others have suggested, I think the problem was fixed by the patch from bug 9983, which was put into git prior to the release of 0.9.49.)

It seems to me that ALSA and OSS sound work equally well. Contrary to the HOWTO, I would suggest leaving wine configured to use ALSA unless you have any specific issues.

I ended up having to use the "-dxlevel 70" option to prevent the game from lagging horribly, but I have a fairly slow CPU. (You can supply the dxlevel option, and others, directly to steam.exe as per the HOWTO, or in Steam itself by right-clicking Half Life 2, then "Settings" and "Set Launch Options".)

Whilst testing the higher DirectX levels, I noticed some minor graphics glitches. If you play the game in DX 8.0/9.0 and these annoy you, it might be worthwhile filing a bug report.
  • Confirmed by Ilari Salminen on Sunday November 11th 2007, 18:36
Do not start from Steam
by Brent Bowman on Monday November 5th 2007, 10:46
I found that if I Run Steam (as mentioned above) as a more recent version of Windows (> ME), Steam will work. But running (Launching) HL2 from Steam would not work. it seems that HL2 wants the Windows 98 functionality. After configuring HL2.exe to run as Win98 (with the winecfg), I could go to the HL2 directory (under steamapps) and type "wine hl2.exe" and it works flawlessly. i shut off the sound driver emulation to make everything smoother.

I played like this for 9 hours yesterday without a hitch or a restart.
Font rendering oddness
by John Flatness on Thursday November 1st 2007, 7:01
Has anyone else noticed that the subtitles don't render quite right when turned on? For me whenever the game tries to use italicized subtitles (very noticeable at the beginning since the "welcome" video uses italic subtitles), the edges of the letters get cut off. My guess is that the game is assuming what the size of each letter will be, and they're getting rendered larger, so they get chopped off.

The resulting text is readable, but no treat to look at. Of course, neither is any of the rest of the text in Wine applications either.

And yes, I do have Tahoma installed. All the text appears, it's just cropped on the right edges of the letters (or just ugly, if we're talking about the menu text).
by Jim on Friday October 19th 2007, 15:55
Many of the problems with this game not only exist in Wine but also exist under "genuine" Windows. Here's one Windows user's track on the games bug(s):

Most of the lockups seem to be as the game is loading a level or drawing something for the first time. This makes it not only difficult to play the game but difficult to attribute a bug as a Wine bug or as a HL2 bug.

Certainly bugs exist in both places and it may be possible that the bugs exhibit themselves more frequently under Wine, but it's a lot easier if the program works well under Windows.

On the up side, when the game locks up in Windows, a call to iPutMyFingerOnResetButton() is the only way to recover. In Linux/Wine, you just kill the process and try again.
  • by Karl on Monday October 22nd 2007, 10:24
HL2 Loading
by Stephan on Monday October 1st 2007, 16:53
I start HL2 and the blured Picture are shown then the Loading text flashes and then it stopps and hang up.

I have no Idea what to do i hope someone can help me.
Half-lofe 2 grinds to a hald at the Entanglement level
by Aniruddha on Thursday September 6th 2007, 4:47
Half-Life 2 worked just fine until today. I slows downs to a crawl in the entanglements level without apparent reason?!