WineHQ
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
URL: http://www.half-life2.com/
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

Installation
Gameplay
Maximum Settings

What does not

No problem at all

Workarounds

What was not tested

None

Additional Comments

Better than its native version

GPU: GeForce 9600 GT
GPU Driver: Nouveau Driver
CPU: Core 2 Quad Q9550 @ 2.83 GHz
RAM: 4 GB
selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
Workaround?
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

HOWTO

Installing

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

Playing

General

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

Sound

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

Video

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:

[HKEY_CURRENT_USER\Software\Wine\Direct3D]
"OffscreenRenderingMode"="fbo"

Starting

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.

Comments

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:

Edit:
hl2/resource/ClientScheme.res

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:
episodic/resource/ClientScheme.res

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.
RE: HL2 crashing
by mushroomi on Saturday May 5th 2012, 5:06
Forgot my specs:
AMD athlon 3000+ @ 1.92ghz
1gb ddr2 memory
NVIDIA 8800gt 512mb
I'm running Debian 6.0.4, kernel 2.6.32-5-686
NVIDIA Driver version 195.36.31
RE: HL2 crashing
by mushroomi on Wednesday June 27th 2012, 17:18
After further testing, every hl2 based game also suffers from the same problem (all hl2 episodes, CSS, unofficial mods). I really would like some advice for this.
Sound
by Leonard Schiff on Monday November 28th 2011, 8:13
Hi,

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
With recent Wine audio subsystem rewrite "Emulation" option had become obsolete (as DirectSound no longer directly accesses hardware playback buffers through winmm drivers, now it's implemented over mmdevapi), so it had been removed from winecfg.

The problem you complain about might be related to the Wine+Pulse+alsa-plugins issue in case you have PA installed and used. Remove/disable PA, make sure you use ALSA as your Wine sound backend (you might have to create a special registry entry for this - consult to the "UsefulRegistryEntries" Wine Wiki page for details), and try running the game with following debug channels: WINEDEBUG="-all,+tid,+loaddll,err+all,warn+debugstr,fixme+all,+mmdevapi,+winmm,+midi,+dsound,+dmusic,+alsa". It would produce pretty big amount of debug data inspecting which might be insightful to diagnose your problem. In case in doubt feel free to upload full log output to some third-party text sharing site (like pastebin) and post a link to it here. As soon as I would have a free minute I would be able to look at it and maybe tell you what's wrong. In any case it seems that you might had hit a bug in Wine and thus you would have to collect these logs in any case to report a bug to bugzilla.

P.S. Don't post log content to comments directly - it violates comments posting rules and thus your comment with logs would be deleted shortly. Logs should be wither attached to the Bugzilla bug report as a separate files, or uploaded elsewhere and referenced by an external URL.

P.P.S. Also you might wish to try running the game with an older version of wine and check if it helps. In case you would come up with sound working in Wine v.A and not working in Wine v.B on the same PC - please, proceed with regression testing and file a regression bug report. Thanks!
RE: Sound
by Roland Haeder on Tuesday November 29th 2011, 9:13
This "no logfiles in comments rule" has killed one of my comments (other game) because of no logfiles shall be present in comments. In general I agree with that but is it wort to upload 3 (yes, three!) lines of logfiles on your server or (in case you don't have one) on a 1-click-hoster's webspace? Or better post it here and make it clearly readable like:

--------------------------------
fixme: this is a clearly readable logfile entry
fixme: which is not worth to upload on a server
fixme: because it doesn't eat much space.
--------------------------------

Please don't do false bureaucracies. Thank you.
RE: Sound
by Alexey Loukianov on Tuesday November 29th 2011, 11:58
Roland, personally I'm not against posting small snipplets from logs in the comments, but rules are rules and there might be other AppDB maintainers out there who are not so tolerant to any kind of rules violations, no matter how small they actually are. Yes, it sometimes leads to a "false bureaucracy in action" and yes, I'm also against treating rules like this.

On the other hand this rule provides a good mean to keep comments clean and readable by keeping them free from thousands lines of logs listing and generally helps to persuade people to report bugs to a place they should really be reported to - Wine Bugzilla obviously - so this rule have a reasonable rationale behind it and works pretty well when treated not too strictly.
RE: Sound
by anonymous on Friday May 30th 2014, 22:04
I had the same problem on the same kind of system (x86_64 Arch), and the first messages of the logs hinted me that I was missing some libraries (I didn't have the multilib sound libraries).

Finally I had to run:

pacman -S lib32-mpg123 lib32-alsa-lib

In order to get sound working.
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
RE: lighting issues
by Daniel Bond on Tuesday July 26th 2011, 20:06
and shadows are broken
RE: lighting issues
by Alexey Loukianov on Saturday September 10th 2011, 20:55
It is known problem of the Source engine games under wine. Either turn the shadows off, use dx81 renderpath or simply try not to notice glitches caused by broken shadows.
RE: lighting issues
by Alexey Loukianov on Saturday September 10th 2011, 20:53
Turn off the multithreded rendering. I had posted about this bug already in comments, you could google it easily if you'd try to.

This is known problem of Source engine, as the same bug happened with all Source 2007 games Mac OS X port - looks like Source engine render path isn't fully compatible with OpenGL pipeline when using multiple threads. Don't know the current state of this bug on Mac OS X as I haven't got access to any fast enough Mac box to run the tests with.
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.
bugs.winehq.org/show_bug.cgi?id=19522
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.
Ideas?
Thank you.
RE: Freeze when Gordon drops in water
by Nietzsche Jung on Sunday May 8th 2011, 18:28
Little update: I saw a "Runtime Error" dialog window right "behind" the game window.
RE: Freeze when Gordon drops in water
by Nietzsche Jung on Sunday May 8th 2011, 19:35
OK... I somehow manage to get past that and in Route Kanal, when I dropped into the canal's waters it froze again.
RE: Freeze when Gordon drops in water
by Pawel on Wednesday June 22nd 2011, 13:11
I have exacly the same problem! Game freeze when Gordon drops to water. Game freeze when he is teleported to water but after several time loading it is possible to play. But it freeze again in Rotue Canal and I can't play any longer.

I tried many diferent configurations and changing options in game but it does not help.

Anyone know how to fix it?
RE: Freeze when Gordon drops in water
by Nietzsche Jung on Wednesday June 22nd 2011, 19:58
It is good to know that I am not alone with this problem, but I regret to inform you that I have since installed Windows to play correctly. Hence, I cannot provide you with any fix.
Sorry about that.
RE: Freeze when Gordon drops in water
by Kazeev Nikita on Saturday June 25th 2011, 6:50
RE: Freeze when Gordon drops in water
by Nietzsche Jung on Thursday July 7th 2011, 9:30
I think I have an idea on what's causing the two freezes.
The first time, in the water, a river monster is supposed to come up and almost eat you. I believe that in WINE, the Source engine is having a hard time drawing that since even in Windows, that monster shows up all of a sudden.
Once you get past that (I don't think that it's even drawn) you get to Route Kanal. The freeze might be triggered by a passing Razor Train. On my Windows installation, whenever there's a moving Razor Train, the game stutters considerably.
Unfortunately I have no solutions.
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?
RE: New Wine version
by Anonymus Someones on Sunday May 1st 2011, 14:36
Confirmed.

In newer WINE versions (started somewhere around 1.3.14-1.1.15) the mouse has terrible lags which makes the game almost unplayable.

I had to downgrade do 1.3.13 to play it.

1.3.13 is OK
1.3.16 is BAD.
RE: New Wine version
by nomeutente94 on Monday May 2nd 2011, 10:16
Does it need a new test?
RE: New Wine version
by Anonymus Someones on Monday May 2nd 2011, 15:22
Actually i already submitted new test - it awaits approval.
RE: New Wine version
by Anonymus Someones on Monday May 2nd 2011, 15:23
Yes, it does need a new test.

The new rating should be Bronze to Garbage. I gave it bronze.
RE: New Wine version
by nomeutente94 on Monday May 2nd 2011, 15:28
Maybe you have to submit the bug too.
RE: New Wine version
by nomeutente94 on Wednesday May 4th 2011, 12:08
Fixed in Wine 1.3.19
RE: New Wine version
by Anonymus Someones on Wednesday May 4th 2011, 13:24
Wow, that was quick.

I am updating as soon as i can.
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...
RE: Strange lockups
by Brock on Thursday February 3rd 2011, 5:17
I think I solved the problem I had two graphics cards the second oen was a slave for physx in windows removing this reduced the complete lockups to just slowdowns
Gameplay Video
by Jake ward on Sunday January 2nd 2011, 16:28
www.youtube.com/watch?v=9XLhcKXvaLk

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.
RE: Black screen
by Alexey Loukianov on Wednesday October 27th 2010, 2:55
Never ever leave dvlevel command line parameter for the everyday use in the HL2 launch parameters. dxlevel XX command is a "one-shot" setting that switches the game into using render patch specific to the specified DirectX version and resets user-defined graphics setting to the defaults. If you leave dxlevel in the HL2 commandline then you will result in being unable to change a lot of graphical quality settings like AA, Aniso, shaders level, e.t.c. - your change wouldn't be saved at the game restarts.

As for default DirectX level 95+ not working with the latest LTS Ubuntu, latest nVIDIA drivers and latest Wine from 1.2 branch - it should definitely be investigated as I can't reproduce it on my test box. Double check your setting, please. Try to use clean wine prefix. Report, please, as your progress goes on.
RE: Black screen
by Martin Espinoza on Friday December 17th 2010, 7:10
I also get black screen on Ubuntu 10.10 with wine-1.2 and nVidia. -dxlevel 81 causes my screen to pulse white once but otherwise stays black. I can use the menu but there's no 3d graphics even with all options turned all the way down.
RE: Black screen
by Alexey Loukianov on Friday December 17th 2010, 17:29
Had you tried to track this down?
What's about other OpenGL applications, are they working fine?
What's about other windows games under Wine?
Had you turned Compiz (or any other compositing window manager) off?
Had you tried to play a bit with advanced Wine direct3d settings like OffscreenRenderingMode, TargetLockingMode, e.t.c.?

I still can't reproduce the problem on my box under Ubuntu 10.04, Ubuntu 10.10 and Linux Mint 9. I've got nVIDIA GTS 250 + latest available drivers from nVIDIA site (i.e. I don't use pre-packaged drivers from the repos). So the problem might be in something different then OS vendor/version + nVIDIA drivers. It might be more specific to the wine build (I use self-compiled wine for tests) or to the kind of the GPU you have.
RE: Black screen
by Martin Espinoza on Monday December 20th 2010, 11:06
After reading your comment I went PPA-hunting and updated to latest release nVidia and wine1.3 and it works fine without any special flags (just launching from steam) with directx9 installed from winetricks. At least I installed it before upgrading wine, I don't know what state it is in for certain :)
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.
RE: Mysterious freezes
by Alexey Loukianov on Tuesday September 21st 2010, 10:08
The freeze after killing hl2.exe is almost certainly the bug in the Catalyst driver: looks like that for a strange reason opengl part of a driver leaves the GPU in a "damaged" state leading to an immediate hang when the 2d part of the driver tries to use GPU. Still, this assumption might be wrong. Had you tried to switch to the text console after this hang (Ctrl+Alt+F1, Ctrl+Alt+F2, e.t.c)? Had you tried to enable SysRq trough proc sysctl interface and use Alt+SysRq combos to get away from hang? If the Alt+SysRq+B combo would reboot your computer after the hang then the hang itself is not a complete hang (as SysRq triggers are software thing processed by linux kernel).
RE: Mysterious freezes
by Albin Stjerna on Wednesday September 22nd 2010, 12:10
It seems you are right: I have now had the same problem after killing the (native) doom 3 demo. You were also right about the kernel not being completely hung -- Alt+SysRq+B did indeed reboot my system.

Also, the problem with the »damaged« GPU state only seems to appear after killing a crashed opengl-using application -- I ran kill on the hl2.exe WINE process a couple of times when it hadn't crashed, and the problem did not appear. I'll try filing a bug report on the Debian catalyst package. Thanks for your help! :)

P.S. The H-L 2 freeze would, however, seem to be a problem with Wine.
RE: Mysterious freezes
by Alexey Loukianov on Wednesday September 22nd 2010, 17:06
You are welcome. As a side note: try posting the bug report not only to the Debian team but also to the AMD linux drivers team - they are the only one who may fix the bug in case it is really the bug in Catalyst.
resources
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
RE: freezing and stuttering
by Alexey Loukianov on Monday June 7th 2010, 9:12
I had been experiencing similar troubles when were using wine's ALSA sound backend in conjunction with nVidia HDA integrated sound card.

Default alsa configuration for this soundcard uses dmix to allow multiple applications to use the soundcard simultaneously, and it looks like there are some minor incompatibilities between wine-alsa+HL2+dmix.

Switching to the wine-oss + kernel-oss emulation fixed the problem in my case, so it might be helpful in your either. Keep in mind that new Steam client by default will open-up soundcard (looks like it uses it for microphone recording test purposes), so it will lock OSS /dev/dsp for itself. It might be tricky to make /dev/dsp free for use by the HL2.

In my case it was possible to use /dev/dsp in HL2 only in case you start it using "wine steam.exe -applaunch 220 -novid -width 1680 -height 1050", but your mileage may vary.

One of the possible approaches to overcome this catch is to use "on the fly" wine sound driver change + configuring wine alsa driver to use pcm.null as the sound device.

Approximate steps might be:
1. Set wine to use alsa, edit the registry to make it use "null" as the alsa PCM device.
2. Start up Steam client.
3. Start up the registry editor, change the wine sound driver to the OSS.
4. Start up HL2.
5. Profit!

Don't forget to disable PulseAudio first in case you have it installed.
RE: freezing and stuttering
by Alexey Loukianov on Monday June 7th 2010, 10:52
Small fix to the proposed directions: instead of using "alsa" driver when starting Steam client and configuring the default ALSA device to be pcm.null in "~/.asoundrc" it is easier to set wine sound driver to "null" prior to starting Steam and change it back to "oss" afterwards.
RE: freezing and stuttering
by nobodysbusiness on Monday October 18th 2010, 21:29
I'm having this issue on my System76 PanP7, Ubuntu 10.10. I've tried following the tips above, but I'm never able to get sound using OSS. Is there a special method that I should be following to disable pulseaudio or perform one of the other steps? Any ideas would be appreciated. Thanks!
RE: freezing and stuttering
by nobodysbusiness on Tuesday October 19th 2010, 20:39
Perhaps my problems with not getting sound under OSS could be related to this bug: bugs.launchpad.net/bugs/662472
RE: freezing and stuttering
by nobodysbusiness on Friday October 29th 2010, 20:58
The bug describing OSS not functioning may be due to the deliberate removal of OSS3 support from 10.10: vanvalkinburgh.org/blog/3153
RE: freezing and stuttering
by nobodysbusiness on Monday November 8th 2010, 20:16
Issues
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
There is a way to enable AA (I had posted it to the "HL2: Lost Coast" APPDB comments, but it is also applicable to the HL2):
* Set the "Offscreen Render Mode" to the "backbuffer". You may either use registry editor to do this, or use simple "winetricks orm=backbuffer" script. Backbuffer mode is required by HL2 shaders to work properly fast no matter AA is on or not.
* Set the Wine's "multisampling" to "enabled". "winetricks multisampling=enabled" is your friend on the way.
* Wine's multisampling core only offers the emulation of the MSAA 2x and 4x, and only in case your hardware really supports the selected mode through OpenGL drivers. So you will have to set HL2 to use MSAA 2x or 4x, and force the needed AA mode using nVIDIA/AMD+ATI control panel.
* Transparent/CSAA isn't supported by the wine d3d core by now. It might became supported as the time goes on.

Also, it might be useful to disable wine-glsl core, as I got better FPS on both GeForce cards I've got (GTS 6600 and GTS 250) when using ARB shaders instead of GLSL.
RE: Issues
by Silent-Hunter on Tuesday September 21st 2010, 0:40
How do I enable multisampling if I don't have winetricks?
RE: Issues
by Alexey Loukianov on Tuesday September 21st 2010, 1:56
Two variants:
a) Get winetricks and use it.
b) Edit registry by hand using regedit and docs from winewiki.
RE: Issues
by Silent-Hunter on Tuesday September 21st 2010, 3:19
OK cool! But, why does backbuffer cause weird effects in the sky?
RE: Issues
by Alexey Loukianov on Tuesday September 21st 2010, 10:14
There was a huge bug in HL2 after the "HDR" update Valve had released in the middle of this year: when playing in non-HDR modes you would result in some levels appear overbright as the update lacks compiled lightmaps for some levels. This bug was reported on the steam forums ages ago but I don't know if there was an official reaction on this.
So to answer your question about weird effects we should first determine if this is a known bug in HL2 itself or a configuration/hardware-specific problem you had run into.
RE: Issues
by Silent-Hunter on Wednesday September 22nd 2010, 0:34
Sometimes half of the sky is white, and sometimes it simply shows a partial reflection of the ground.
Hmm...
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
www.youtube.com/watch?v=4WJUgdqfsdI&feature=player_embedded

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?
RE: Unhandled exception code c0000005
by tr on Wednesday January 20th 2010, 19:43
Turns out "Steam Community In-Game" *must* be disabled. That was the problem.
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

R6025
-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 =)
RE: Downgrade or upgrade
by Łukasz on Sunday August 23rd 2009, 2:51
Can you give link for bug?
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?
Hl2
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!
RE: Wine 11.1.23 has problems with Direct3D games
by Rohtie on Thursday June 18th 2009, 7:26
The same happens with me. With previous versions of wine, all games that used direct3d in any way worked flawless. But now they all crash at startup.
RE: Wine 11.1.23 has problems with Direct3D games
by Arucard on Monday June 22nd 2009, 14:30
Good news! When I updated to the new 1.1.24 version, this problem was fixed! Probably, It was a broken build for Ubuntu 8.10 that cause this problem! Now I can play the Direct3D games that was broken in Wine 1.1.23.
RE: Wine 11.1.23 has problems with Direct3D games
by Rohtie on Friday June 26th 2009, 8:06
Yup! The new version worked for me too :)
RE: Wine 11.1.23 has problems with Direct3D games
by Arch Linux on Monday July 20th 2009, 12:52
You gotta remember that wine 1.1.* are developement versions, they can break stuff temporarily anytime.
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.
RE: Something happened recently and slowed games down.
by Xavier Sythe on Wednesday November 3rd 2010, 11:13
I've encountered the same issue.
Please tell me if you can find a solution.
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.
Specs:
Debian 5.0 amd64
Pentium Dual-Core 1.4GHz
2GB of RAM
Intel GM965 graphics
RE: All Source-based games fail to run on Intel graphics
by Mike Swanson on Monday May 18th 2009, 2:45
Oh, I forgot to mention, that this has happened in Wine 1.0.1 and 1.1.{19,20,21} (and some revisions in between, whenever I didn't feel like waiting 'til the next release to test).
RE: All Source-based games fail to run on Intel graphics
by Mike Swanson on Wednesday May 20th 2009, 3:12
Good news, just compiled wine-1.1.21-290-gd4e1d88 and the X Server no longer crashes, so that's a huge improvement at least. There's still no display in the game; menu screen is just blank, although by listening to the sound effects, I can select "Quit" at the bottom of it and exit the game (so input works and the game appears to operate normally except for no display...). Have not bisected to figure out which commit(s) have gotten to at least this point...
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?
RE: Trouble with running out of graphics memory
by vitamin on Saturday May 16th 2009, 0:29
Video card and driver version?
RE: Trouble with running out of graphics memory
by Dan on Sunday May 17th 2009, 11:11
I'm using version 180.11 (from the Ubuntu repos), on an EVGA GeForce 9800 GTX+ with 512MB of VRAM.
RE: Trouble with running out of graphics memory
by vitamin on Sunday May 17th 2009, 16:58
> I'm using version 180.11 (from the Ubuntu repos),
That's known bad version with memory leaks. Upgrade to at least 180.44.
RE: Trouble with running out of graphics memory
by Dan on Sunday May 17th 2009, 22:04
Upgraded to 185.18.04; I'll leave an additional comment when I do some longer testing, but so far nothing has crashed (except hl2 does crash on exit, which happens a lot, but it's not major)
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?
RE: Game runs fine when it loads.
by John P Sims on Tuesday April 28th 2009, 18:03
I have the same problem. Adding "-novid" to the launch properties resolved it for me.
RE: Game runs fine when it loads.
by Steve on Monday May 4th 2009, 9:59
That solved it, thanks!
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
RE: Graphic settings
by Dan on Saturday March 7th 2009, 15:26
Reinstalled the game now it all works. For those who are having problems with deathmatch, Run deathmatch in windows 98 mode (add it to applications on wineconfig. Works fine all for me, No noticable difference between linux and windows :)
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.
RE: Current GIT fixes performance problems
by Stephen Gentle on Friday February 27th 2009, 22:28
Wow, that's awesome! Has anyone experienced the bug where the video plays at about 20% speed though? I have that with the 1.1.15 release so hopefully it works better as well now.

In the mean time, -novid turns that off, right?
RE: Current GIT fixes performance problems
by Charles Moyes on Saturday February 28th 2009, 11:26
Are these fixes included in the new 1.1.16 release?
RE: Current GIT fixes performance problems
by DL on Saturday February 28th 2009, 19:59
Yes.
About last result ("Jan 10 2009")
by Night Nord on Sunday January 11th 2009, 9:55
This seems to be common problem. See bugs.winehq.org/show_bug.cgi?id=16812 - 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.
RE: Half Life 2 does not run and Steam freezes
by Pawel Badenski on Saturday January 10th 2009, 10:48
It appears that I need nvidia-glx package for HL2 to work. Also I had to change resolution to something HL2 can work on, otherwise it'll just run with black screen.
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.
RE: Solving choppy sound in Ubuntu 8.04 and 8.10
by John Pycroft on Wednesday December 10th 2008, 14:50
will this still work if you have wine set to OSS and use ALSA-OSS to convert?
Clue
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..

www.youtube.com/user/rofthorax
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?
Thanks.
RE: sound is choppy in Half Life 2
by vitamin on Wednesday November 12th 2008, 1:11
Kill/remove/uninstall pulseaudio. It's broken and does not work with Wine.
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: i472.photobucket.com/albums/rr83/RJWEcology/DSC01411.jpg

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: i472.photobucket.com/albums/rr83/RJWEcology/catalyst.png

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.

Thanks,

Rich
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.
RE: Blocky / pixelated Grphics at start-up
by SheeEttin on Monday October 6th 2008, 14:20
For Catalyst 8.6, 8.7, 8.8 and maybe 8.9, this is, unfortunately, "normal" behavior.
You either have to downgrade to 8.5 or upgrade to 8.10 if it's supported (or 8.9, if this doesn't happen in that release).
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:

ati.cchtml.com/show_bug.cgi?id=992#c26

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
robert.
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)

[HKEY_CURRENT_USER\Software\Wine\Direct3D]

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).
RE: Video settings not being saved is not a bug, it's a feature
by Roland Haeder on Tuesday June 22nd 2010, 17:27
Or add "-width 1280 -height 1024" without the quotes to launch options to "save" at least the screen resolution.
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!
RE: Issues with my install
by Night Nord on Friday July 4th 2008, 5:42
HL2 may (probably) won't work with OSS, try using ALSA, and be sure to set "Hardware Acceleration" level to "Emulation".

Low fps - em... you have quite old hardware, it will be slow on Windows too, but on wine there is some additional issues - water levels works very bad on hardware directX level 9.1, and GLSL shaders + dx91 has terrible perfomance. So - just use dxversion 81 (append '-dxversion 81' as argument to hl2.exe), or recompile wine using a hack suggested by one of "Episode Two" commenters to have better perfomance on dx91. Don't be scared of using dx81. For me - it's quite the same image as on dx91 (but don't forget to check video settings every time you start the game - they will NOT remembered).

Also be sure to start wine as 'WINEDEBUG="-all" wine ...', if you don't want to see why something wrong happens. of course. (This will slightly improve perfomace, while wine will not echo anything on every possible operation)
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
You need to resubmit the test results after editing.
RE: Last
by Night Nord on Sunday June 1st 2008, 11:24
Em... Resubmit? I was pressing submit button... This system is quite buggy (i'm using Opera, so maybe this is the reason...).

I will just submit new result, so, please, remove the previous one.
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.
RE: xrandr + nvidia twinview issue
by superkuh on Thursday August 14th 2008, 20:20
I'm sorry for the newb question, but a search of what I assumed was *the wiki* (wiki.winehq.org) for 'xrandr' returns no results. Could someone post a URL for this issue?
RE: xrandr + nvidia twinview issue
by rji on Friday August 15th 2008, 19:53
wiki.winehq.org/UsefulRegistryKeys

HKCU->Software->AppDefaults->hl2.exe->X11 Driver

Add UseXRandR N and UseXVidMode Y
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
RE: not working
by Ryan Bach on Saturday May 3rd 2008, 18:40
Same issue. Opensuse 10.3, Linux 2.6.22.17-0.1-default #1 SMP 2008/02/10 20:01:04 UTC x86_64 x86_64 x86_64 GNU/Linux

Wine 0.9.61

Latest Fglrx 8.4:

OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: Radeon X1600 Series
OpenGL version string: 2.1.7415 Release
RE: not working
by Noah on Thursday May 8th 2008, 12:43
Have you tried disabling that intro video by adding the -novid option to the game's launch options in Steam?
RE: not working
by Morfeus on Thursday May 8th 2008, 23:51
it didn't help adding -novid. Problem was I guess in ATI driver but just reinstalling drivers didn't help. So I reinstalled my whole Kubuntu 7.10 from 64bit to 32bit (I don't need 64bit, I have only 2GB ram).
RE: not working
by Morfeus on Thursday May 8th 2008, 23:54
new problem is that when I load game and shoot it crashes :) :) also I see graphical glitches (turning all graphics to low didn't help) and lots of GLSL and shader errors in console.
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.

David.
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().
RE: HL2 vs ATI cards
by Dave Hoffman on Friday April 25th 2008, 8:36
Thanks for the find. I'd been trying to figure this out for quite awhile now. All my other 3d games work but Source engine games always crashed on my ATi x850xt.

I guess I'll wait for the 8.5 drivers before trying again.
RE: HL2 vs ATI cards
by Max Pilipenko on Tuesday June 3rd 2008, 2:28
I own a laptop with ATi Mobility HD 2400 XT videocard and experience the same problem. There's Debian Lenny installed with default distribution fglrx-driver compiled version 8.4-some.

A few days later I'm going to try installing Catalyst 8.5.

The game (TF2 at least) runs perfectly on an Nvidia card in Debian Etch with wine 0.9.59 on my desktop. Even got the mic working with no hassle at all.
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
Version 7.15.10.16921

Go to driver update page... (this is just a link to www.nvidia.com/Download/index.aspx?lang=en-us)


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!
RE: Terrible performance
by vitamin on Tuesday April 15th 2008, 21:25
> Your video drivers appear to be out of date
Ignore that error. Steam missdetects driver version on Wine. However it does not affect anything.

> I get an extremely low (basically unplayable) framerate
Do you have beryl/compiz by any chance?

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

This is known problem and there is no workarounds. The only thing you can do to speed things up - disable Wine debug messages altogether with adding WINEDEBUG=-all at from of the steam command.
RE: Terrible performance
by Dan Hall on Wednesday April 16th 2008, 0:57
I take it I should disable compiz before playing then?
RE: Terrible performance
by Dan Hall on Thursday April 17th 2008, 20:12
Alright I got it sorted, I just used -dxlevel 80. Directx 9 was KILLING my performance!
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...
RE: Opengl as renderer. Memory limitations...
by vitamin on Thursday April 10th 2008, 15:43
I'd like you to explain what DirectDraw has anything to do with Direct3D game? (hint: nothing)

Wine is 32-bit. And 32-bit windows memory layout limits user space to 2GB. Other 2GB are taken by the system. So... of course HL2 won't be able to do what you are asking it to do.
RE: Opengl as renderer. Memory limitations...
by Night Nord on Thursday April 10th 2008, 16:48
1. DD used for D3D initialization, no?. So if it is slow, D3D will be slow too. Just try and check, maybe I'm wrong, but it runs really better.
2. In linux, highmem on 32bit allows to use up to 64Gb of memory. Windows highmem allow to use up to 3,3Gb of memory... While 32bit arch allows to map directly 4Gb of memory. At least, wine can use rest of memory as "swap", while compiled on 64bit
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 appdb.winehq.org/commentview.php?iAppId=2095&iVersionId=2890&iThreadId=19299
It's the same thing. When I'm alone on a server it doesn't crash.
Has anybody managed to fix this bug ?
RE: Crash in multiplayer version
by beuagh on Friday April 11th 2008, 13:09
It's the same thing with 0.9.59.
Actually, it seems that it happens when someone (or me) is killed by an object thrown with the gravity gun.
RE: Crash in multiplayer version
by beuagh on Saturday April 26th 2008, 18:26
I found the solution here : bugs.winehq.org/show_bug.cgi?id=7698 !!
You must set hl2.exe in Windows 98 compatibility and it works fine !!!
Actually, it is a bug from hl2 (it seems that the picture of the toilet when u kill someone is too big).
RE: Crash in multiplayer version
by Id2ndR on Saturday July 26th 2008, 5:51
I confirm the workaround, thanks beuagh !!

Just add hl2.exe in winecfg and set its Windows version to 98 (Steam need to be run on Windows 2000 or higher).
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
wine-0.9.58

NVidia driver version: 169.12
RE: Crashes when it would show menu in Ubuntu Hardy
by Robin on Friday March 28th 2008, 5:29
Typically, just after posting, I find the fix. The problem is the sound. Hardy uses pulseaudio for its sound system, however this makes wine quite unhappy. To fix it, you need to use pasuspender:

$ pasuspender ./hl2.exe -- -dxlevel 81 -window

and it's all happy again. Hopefully when Wine gets a pulseaudio driver, or it's ALSA support is fixed to work with it
RE: Crashes when it would show menu in Ubuntu Hardy
by Aman on Monday March 31st 2008, 22:24
i have this same problem..

so do i type "$ pasuspender ./hl2.exe -- -dxlevel 81 -window" into the terminal?
RE: Crashes when it would show menu in Ubuntu Hardy
by Robin on Monday March 31st 2008, 22:46
yeah, do it from the HL2 directory (~/.wine/Program Files/Steam/steamapps/username/Half-Life 2). Run steam first though, otherwise it'll complain. Also, before you do any of this, start something that would normally play sound, e.g. rhythmbox. Play it for a second, then pause it and minimise it. Actually, not in reverse order:

1. Open rhythmbox, play a second of music, pause.
2. Open steam, wait for it to open.
3. Run the command from the Half-Life directory in the terminal.

If you don't do the thing with rhythmbox, steam will grab the sound card and not let it go (at least, it did for me, but there may also be a 64-bit-related issue there that I have), and HL2 will die. If you do things in this order, it runs sweet.

Unrelated to this, make sure you install the xorg update that came through yesterday and restart X, or you'll get keys stuck when you're playing and it's really annoying.
RE: Crashes when it would show menu in Ubuntu Hardy
by Luke Sheldrick on Sunday April 27th 2008, 1:11
Doesn't seem to work in FC8 (using the latest repos from testing) :(

Anyone got any ideas?
RE: Crashes when it would show menu in Ubuntu Hardy
by Robin on Sunday April 27th 2008, 1:47
What I tend to do these days is 'killall pulseaudio' before I launch the game, and then restart pulseaudio afterwards. That's the easiest way, assuming the problem is the same as what I have. Hopefully the wine and pulseaudio people will start playing nicely together to avoid having to do this.
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.
RE: Not able to put in 2nd disk
by Aleksey Kobelev on Saturday March 29th 2008, 4:15
Just copy all CD's in one folder and then run setup.
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
Make sure you have the "Tahoma" font installed in Wine. Try downloading it (or copying it from a Windows installation) and putting the "tahoma.ttf" file in "~/.wine/drive_c/windows/fonts".
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.

Thanks!
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 Chaosreplaceshonor@gmail.com


Thanks
RE: Issue with running HL2 suite
by vitamin on Wednesday February 20th 2008, 21:38
You might want to use -dxlevel 80 or even 70. Since you failed to specify what your hardware is that's most likely the problem.

Unless of course you have few more copies of Wine running or something of that sort.
RE: Issue with running HL2 suite
by Josh on Thursday February 21st 2008, 7:02
What I really need to know is how to reverse what the command I listed in my first post did. Then again I don't know what it did exactly, I'm still very new to Linux, but like I said until I did that it was running decetnly. I just want to get back to there and then move on.


Anyways, my hardware set up is
AMD X2 3800+
Unbuntu Gusty Gibon(up to date)
8600GTS
ASUS Mobo, can't recall model off the top of my head, can post later if needed
RE: Issue with running HL2 suite
by soxs on Sunday February 24th 2008, 5:00
Are your graohics drivers installed correctly? If not, have a look at www.ubuntuforums.org, there are several howtos., to get your grahics drivers work properly.
You can check your graphics driver by pasting this in a terminal:
glxinfo |grep direct
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.
RE: Bravo Wine 0.9.54!!!
by vitamin on Wednesday January 30th 2008, 10:33
Wine now reports more capabilities to the games. And they all happily use it. The problem with that - most of those new features have problems. With biggest being the speed.

Reinstalling Wine won't do you any good - all settings are still there (in ~/.wine directory).

As a workaround - disable GLSL which is now enabled by default (see UseGLSL on wiki.winehq.org/UsefulRegistryKeys ).
RE: Bravo Wine 0.9.54!!!
by Nando on Thursday January 31st 2008, 10:48
Thank you your response Vitamin, I will try that.

However more capabilities is not an excuse to make previous games run worst than they did. That's like saying Windows Vista wouldn't let you run word because it has an improved graphic environment -- knowing Microsoft is a possibility but let's not use them as a role model :-)

No offence to the developers of Wine, they are doing a TREMENDOUS job and on top of it is free but it shouldn't be like that, it makes it look sloppy.

I will try what you said and report if there were any improvements.

Thanks again Vitamin
RE: Bravo Wine 0.9.54!!!
by Nando on Thursday January 31st 2008, 11:00
You did Vitamin -- you are a rockstar.

I see what you mean about the features now.

Cheers and thank you very much.
RE: Bravo Wine 0.9.54!!!
by Nando on Thursday January 31st 2008, 11:30
Still, it used to run much, much better for me in the previous version I had.

Now every time I try to change the video settings it crashes. And when I am in a dark space and turn on the flashlight I can't see anything, the light is not visible, which makes the game unplayable ;-(

I'll play around with the settings a bit more, hopefully I can fix it.
RE: Bravo Wine 0.9.54!!!
by Harry Bullen on Friday February 8th 2008, 17:30
If a previous version worked better for you then you should use it. Wine is still (and proablly forever) somewhat unstable, sometimes in order to improve one aspect of the program you have to break another part.
If you can't find the old version through ubuntu you can find it through the wine website. Take a look at www.winehq.org/site/download-deb it has some more
Slow
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
You can skip the intro movie with adding -novid to your launcher.

Flashlight did not work for me either
/*wine 1.0.1, Geforce 2mx400, NVIDIA Driver Version: 96.43.07*/

But after typing this to console, it works.
r_dynamic 1
r_shadows 1
r_newflasglight 0
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): paste.biz/paste-2968.html
HL2 console output (-condebug option): paste.biz/paste-2969.html

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
RE: Black screen when game-menu should appear, no sound
by Lukas W. on Saturday January 12th 2008, 5:53
Sorry, not CS:S, i mean HL2... but CS:S is the same...
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?
RE: Multiplayer Crashes
by Frozen-Solid on Sunday December 2nd 2007, 14:28
Here's a log of the crash:

pastebin.com/f6a363708
RE: Multiplayer Crashes
by Frozen-Solid on Sunday December 30th 2007, 0:11
As of Wine 0.9.52 I have been able to play full multiplayer games, as well as kill and be killed by the gravity gun, with no problems.

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
Hi,

Try using the launch command as shown above in the sticky.

I have a similar setup to you and all runs fine (apart from the thread i just started ;-) ), so likely down to some setting.
RE:
by kja999 on Sunday November 25th 2007, 7:41
Ironically, I got to Entanglement stage today and have started to get this error:

err:d3d_surface:fb_copy_to_texture_direct Texture filtering not supported in direct blit
err:d3d_draw:blt_to_drawable Blitting surfaces from sysmem not supported yet
fixme:d3d_surface:fb_copy_to_texture_direct Doing a pixel by pixel copy from the framebuffer to a texture, expect major performance issues

So looks like I am in the same boat...
RE: Yeah, still nothing.
by Yadav Gowda on Sunday November 25th 2007, 21:37
Still going at 5 frames per second. Here's a pastebin of the output. It's a bit long, so I tried to skip through the repeated parts. pastebin.ca/797594
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

Thanks
P.S. I can navigate around Steam just fine. Everything there is readable. Once the game starts, no text...
RE: No Text in Menus
by Stdh on Friday November 16th 2007, 21:43
The text worked fine for me on Debian 4.0 stable. Though, definitely try installing the "msttcorefonts" package (I know this is needed for the text in "Portal" to display properly). Otherwise try turning up the debugging level in Wine and look for messages regarding fonts.

I don't know about the X request error...
RE: No Text in Menus
by Helmut Henig on Saturday November 24th 2007, 9:40
Try to disable GLSL (set UseGLSL in Registry to disabled) - this helped me with a GF8600GTS (which Card to you have?). (Drawback is that some effects don't work).
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
Yes! Point Insertion works!

Er.. I mean..

Confirming working with Wine 0.9.49 binary (on 64-bit Kubuntu Gutsy 7.10). Didn't do any special gimmicks, except disabling Steam's in-game community (as pointed elsewhere). Using ALSA. Point Insertion works fine at least to the point where the second segment of the level is loaded. Didn't notice any peculiar behavior.

I finally get to actually play this game :)
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.
RE: Do not start from Steam
by kja999 on Sunday November 25th 2007, 3:16
hl2 does need win98 to operate smoother.
Its best to make an exception for hl2.exe in winecfg to set it as win98, but leave default as XP or something to make sure Steam doesn't get upset.
You do this in the application settings, just add an application and put in hl2.exe
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).
RE: Font rendering oddness
by Sam Skipsey on Friday November 2nd 2007, 8:13
Yes, I get precisely the same effect - I assumed that everyone did?

(Of course, I can't vouch for anything outside the first section, because HL2 isn't stable for me for periods > 10 minutes...)
RE: Font rendering oddness
by Mykro on Friday May 28th 2010, 5:29
Frustration
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):

www.blep.net/hl2stutter/

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
Previous to 0.9.47 HL2 was completely playable under WINE. Most of the current bugs are from this release of WINE and will be fixed in the next or next few releases :)
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.
RE: HL2 Loading
by Anna K. on Thursday October 4th 2007, 15:11
I had this problem initially, and what happens is that HL2 expects there to be some sort of sounds device, as a result it basically hangs up trying to load it if you don't specify the sounds device in wine. To do so go into winecfg and select one of the sound devices (not sure off the top of my head, so just select one until it works) until you get sound, and then the game will load as it would normally.
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?!
RE: Half-lofe 2 grinds to a hald at the Entanglement level
by Aniruddha on Thursday September 6th 2007, 4:58
I tried different options to no avail (like lowering the resolution).
RE: (WorkAround) Half-lofe 2 grinds to a hald at the Entanglement level
by Brent Bowman on Wednesday November 7th 2007, 7:36
I got this same issue as well. I disabled the UseGLSL in the registry. Then ran it with -dxlevel 81 and in the game lowered the resolution and the aliasing under the advanced graphics and everything was smooth. The bad part is just a small area. After I moved to a couple of rooms further in the plot, I put everything back and it worked as normal again.
Back