Half-Life 2 Forum

This is a community forum and not official technical support. — If you need official support: Contact Us

The following comments are owned by whoever posted them. We are not responsible for them in any way.

Back to Threads Reply to Thread

HL2 crashes immediately upon startup.

I'm running cxgames 7.1.1 (demo) and I can not seem to get HL2 working.
I have a MacBook Pro 2.4ghz dual and a NVIDIA GeForce 8600M GT 256mb
When I launch HL2, it opens the window, which is white, and it just stops. It does not crash the computer, and if I click the X or press cmd+w it closes.
I have the launch options set as:
-novid +mat_hdr_level 0 -window -dxlevel 80 cl_drawmonitors 0 -width 1024 -height 768

This is an issue because I plan on using CX for HL2 and TF2 (which works).

Thanks in advance.

I have several suggestions:

The most likely fix is to add -console to the launch options. The crash is probably due to the rendering of the 3D background behind the game menu, which is suppressed by -console. Once you get into the game, set the Shader detail to Low. That should avoid the rendering problem, which is an issue we've seen with Apple's Nvidia drivers, so you may remove (or leave) -console in your options after that. (This may be fixed with more recent drivers. What OS version are you using?)

Also, I'd suggest using -dxlevel 81 rather than 80. And once you've had a successful launch with whatever -dxlevel you prefer, you should remove that option. Leaving it in causes HL2 to forget your video settings. By the way, that will undo the fix for the rendering problem -- your Shader detail will be reset. So, you should do -dxlevel 81 at the same time as you do -console, set the Shader detail to Low, and then remove both (or at least the -dxlevel switch) before you next launch.

Lastly, I believe you need a plus ('+') before cl_drawmonitors 0. However, I don't believe that "+cl_drawmonitors 0" is necessary, anymore.

Thanks, this fixes the problem.

I have the same problem, I can't get it to work mind pasting the launch code so i can copy it?

Thanks

Ken Thomases wrote:

I have several suggestions:

The most likely fix is to add -console to the launch options. The
crash is probably due to the rendering of the 3D background behind
the game menu, which is suppressed by -console. Once you get into
the game, set the Shader detail to Low. That should avoid the
rendering problem, which is an issue we've seen with Apple's Nvidia
drivers, so you may remove (or leave) -console in your options after
that. (This may be fixed with more recent drivers. What OS version
are you using?)

Also, I'd suggest using -dxlevel 81 rather than 80. And once you've
had a successful launch with whatever -dxlevel you prefer, you
should remove that option. Leaving it in causes HL2 to forget your
video settings. By the way, that will undo the fix for the
rendering problem -- your Shader detail will be reset. So, you
should do -dxlevel 81 at the same time as you do -console, set the
Shader detail to Low, and then remove both (or at least the -dxlevel
switch) before you next launch.

Lastly, I believe you need a plus ('+') before cl_drawmonitors 0.
However, I don't believe that "+cl_drawmonitors 0" is necessary,
anymore.

thank you! this works, weird I didn't have to do this with the others. I guess it was the dxlevel81 b/c 70 or 80 didn't work for me.

CrossOver Forums: the place to discuss running Windows applications on Mac and Linux

CodeWeavers or its third-party tools process personal data (e.g. browsing data or IP addresses) and use cookies or other identifiers, which are necessary for its functioning and required to achieve the purposes illustrated in our Privacy Policy. You accept the use of cookies or other identifiers by clicking the Acknowledge button.
Please Wait...
eyJjb3VudHJ5IjoiVVMiLCJsYW5nIjoiZW4iLCJjYXJ0IjowLCJ0enMiOi02LCJjZG4iOiJodHRwczpcL1wvbWVkaWEuY29kZXdlYXZlcnMuY29tXC9wdWJcL2Nyb3Nzb3Zlclwvd2Vic2l0ZSIsImNkbnRzIjoxNzMxNDM1MjAzLCJjc3JmX3Rva2VuIjoiYnhNYWY0eWNTaEtVVG5HVCIsImdkcHIiOjB9