HL2 / CS:S - Instructions To Enable DirectX 9.0


Recommended Posts

Enabling DirectX 9.0 for Half-Life 2 (HL2) & Counter-Strike: Source (CS:S)

- Load up Steam

- Play Games

- Right-Click the game, "Properties"

- Launch Options

- Add the line "-dxlevel ##" (without the quotes but you DO need the dash '-')

Where ##:

90 for DirectX 9.0

81 for DirectX 8.1

80 for DirectX 8.0

70 for DirectX 7.0

Source: CS:S Official Forum

* You will need a DirectX 9.0 capable graphics card in order to use the full effects. But hey, it works for me :)

  Rogue` said:
Doesnt it use the Dx path ur hardware supports already?  I mean i have a 9800XT....so wont it already use dx9?

584965299[/snapback]

Unfortunately no, at least I don't think so. I think I read somewhere that somone has the X800 Pro and it only let's them use DirectX 8.1

You can check in-game, go to:

- Options

- Video

- Advanced

You should see the "Hardware DirectX" disabled and set at DX8.1. This fix sets it to DX9.0, but have a look before you add the command line and see what your level is at present.

  spiffy0517 said:
for nvidia users. good luck with your performance :x

584965304[/snapback]

ATi fanboy obviously. I'm using "Nvidia GeForce FX Go5700" and I have excellent performance, no lag (HL2/CS:S) and no errors whatsoever. So please keep ATi/Nvidia comments to yourself because this thread is about DX not GPU Preferences.

  Rogue` said:
Well i dont need to use that command, in advanced video options it says Dx9 for Software and Hardware :)

584965366[/snapback]

Nice, as long as it works on your card - however, as you say, DX8.1 gives you better performance:FPS (Frames Per Second), so you could use this technique to downgrade the hardware to DX8.1 - unless you'd prefer the visual enhancements.

If you have an Nvidia card and plan to use directx 9, know that it was not enabled by default for a reason. I tried it with the CS:S beta only, but back then I went from a playable framerate to, well... not playable at all by switching to directx 9. It totally depends on your card I guess, but this is just a warning to expect a major performance hit.

i tried this last week on the CSS stress test w/ my 5900 and i lost ~15fps on the same settings when enabling DX9... not worth it visually for the performance hit. also, i too lost the water reflections which is important to me... im going to try this today w/ some HL2 demos to see the effects... then i'll decide if it's worth it or not (probably not)

  PukiMan said:
I really don't see the difference

without -dxlevel 90:

DX9.jpg

with -dxlevel 90:

DX9a.jpg

Are you sure HL2 don't use DX9 on default?

And in the process of taking the screenshots, I learned those things (The flying bugs that come from the ground) can't swim :D

584968498[/snapback]

I guess that's 2 times dx9, did you add -dxlevel 81 to go back to directx 8.1?

I've put it on 8.1 to test and it looks different

  icecream said:
I guess that's 2 times dx9, did you add -dxlevel 81 to go back to directx 8.1?

I've put it on 8.1 to test and it looks different

584968869[/snapback]

-dxlevel 81:

DX81.jpg

-dxlevel 80:

DX80.jpg

Nothing, no difference at all.

Tryed to do the command in the console and is said thats the command in incorrect.

I think the command is wrong.

You have to do it via Steam's Launch Options.....

Open Steam, click on Play Games, Right click on the game and click Properties, then click on Launch Options and add -dxlevel 81 or -dxlevel 80...

There IS a difference...in Dx81 u will NOT get reflections on water....i will go do a couple of screens :p

K, i have 9600XT and stutters a little now and again, would like to boost fps, so what command can i put in to make mine use Directx 8.1 or whatever would boost my fps?

And the graphics detail loss wouldn't be too substantial?

Thanks mateys.

(Slight noob in this category)

  Kerm said:
K, i have 9600XT and stutters a little now and again, would like to boost fps, so what command can i put in to make mine use Directx 8.1 or whatever would boost my fps?

And the graphics detail loss wouldn't be too substantial?

Thanks mateys.

(Slight noob in this category)

584969292[/snapback]

Thats the Audio Stutter people are complaining about....they said there should be a patch out by tomorrow....

Even if u do tweak the sh1t out of it...u will still get it :/ Just sit tight...only another day to wait for the fix :)

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • This tool is for ripping CDs not burning them. So it's to save cd audio tracks as files. Simple old tool to do it. For burning I used to use Nero Burning Tools back in the day rather than the ones you listed.
    • "The company has recently announced the forming of a new agentic AI team to develop an agentic AI framework for use in robotics." I wonder if any of their executives attented, "Microsoft Build 2025" last month?
    • Microsoft Build conference to leave Seattle after years in the city by Pradeep Viswanathan Microsoft Build is a flagship annual developer conference held by Microsoft since 2011. In 2017, Microsoft relocated Build from San Francisco to its home turf in Seattle. The proximity to its main campus allowed greater participation from its own engineers and executives, offering attendees a more integrated experience. Today, Jonathan Choe revealed on X that Microsoft has decided to move its Build developer conference out of Seattle. He discovered this information via an email sent by Visit Seattle to its members. Visit Seattle is a private, non-profit destination marketing organization that promotes travel to Seattle and King County. As a result of the move, Seattle-based hotels could lose approximately 9,314 room nights annually. Surprisingly, Visit Seattle’s message included several details about Microsoft’s reasons for the change. The primary reason appears to have come from within Microsoft itself. The company feels that Build lost momentum post-COVID, and the scheduling conflict with Google I/O, a competing event, has made it harder to attract the intended audience. Microsoft’s leadership believes they can better re-energize the program and boost attendance by moving it out of Seattle. The note even suggests that Build will likely be relocated to San Francisco or Las Vegas in 2026. Another factor contributing to the decision is the condition of the city. Last month, during the conference, Microsoft leadership and attendees walked between the Hyatt Regency and the Arch building on 8th Street. Reportedly, there were complaints about the general uncleanliness of the area, the visible presence of individuals using drugs, and unhoused individuals in a recurring tent in the Arch Tunnel. Visit Seattle believes these concerns also played a role in Microsoft’s final decision to relocate Build. Given Microsoft's high-profile presence and the economic impact of the event, this relocation may spark a political storm within the Seattle mayor’s office, drawing criticism over the city’s handling of downtown conditions.
    • This is very exciting, happy to see it come back to RC.
    • What did you have to do for that? Are the steps similar to W10?
  • Recent Achievements

    • One Year In
      Vladimir Migunov earned a badge
      One Year In
    • One Month Later
      daelos earned a badge
      One Month Later
    • Week One Done
      daelos earned a badge
      Week One Done
    • Mentor
      Karlston went up a rank
      Mentor
    • One Month Later
      EdwardFranciscoVilla earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      493
    2. 2
      snowy owl
      252
    3. 3
      +FloatingFatMan
      250
    4. 4
      ATLien_0
      220
    5. 5
      +Edouard
      169
  • Tell a friend

    Love Neowin? Tell a friend!