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

    • Welcome to our cozy corner of the internet!
    • XnView Shell Extension 4.2.0 by Razvan Serea XnView Shell Extension is a powerful Windows Explorer add-on that enhances file management by providing quick image previews, thumbnails, and context menu tools without launching XnView. It supports over 500 image formats including RAW (CR2/NEF), WebP, HEIC, TIFF, and vector formats (PSD/SVG), allowing users to resize, convert, edit, and optimize images directly from the right-click menu. The lightweight integration streamlines workflows, enabling batch processing, metadata viewing (EXIF/IPTC), and seamless format conversion—ideal for photographers, designers, and casual users who need efficient file handling. Beyond basic previews, the extension offers advanced features like image rotation, format adjustments, and plugin support. Its intuitive interface ensures fast access to editing tools while maintaining system performance. XnView Shell Extension key features: 500+ Format Support – Opens and converts RAW, WebP, HEIC, TIFF, PSD, SVG, and more Batch Processing – Convert, resize, or rename multiple images at once Lossless JPEG Editing – Rotate, flip, and adjust without quality loss Metadata Preservation – Retains EXIF, IPTC, and XMP data during conversions Advanced Compression – Customize JPEG quality, PNG optimization, and WEBP settings Color Management – Handles ICC profiles, bit-depth (8/16/32-bit), and CMYK-to-RGB conversion PDF & GIF Support – Extract images from PDFs or create animated GIFs High-Speed Previews – Fast thumbnails and image previews in Windows Explorer Right-Click Actions – Quick access to resize, rotate, and convert without opening apps Plugin Extensibility – Add support for niche formats like DDS, HDR, or DICOM Download: XnShell 64-bit | Portable 64-bit | ~10.0 MB (Freeware) Download: XnShell 32-bit | Portable 32-bit | ~3.0 MB Links: XnView Shell Extension Home Page | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Another win for EU users? Ads in WhatsApp won't be coming this year by David Uzondu You might have heard that ads are making their way to WhatsApp after years of the company promising it would never happen. If you are in the EU (lucky you), you won't be seeing ads until 2026 at the earliest. A new report from POLITICO confirms that Meta, which owns the messaging service, has informed Ireland's privacy regulator that the new advertising model will not roll out in the European Union for quite some time, even as it appears elsewhere in the coming months. This is not some charitable act, of course. The delay gives European regulators time to scrutinize the plan, which involves using ad preferences from linked Facebook and Instagram accounts to target users. This situation follows a pattern of other "wins" for EU users, like the changes in iOS 17.4 that finally enabled sideloading. This opened the door for alternative app stores and the (temporary) return of games like Fortnite to iPhones in the region. Similarly, we are seeing Microsoft finally back off from shoving Edge down the throats of EU users, all thanks to the Digital Markets Act. This legislation has put pressure on big tech companies to operate more "fairly" within the bloc, leading to changes that users everywhere else can only dream of for now. These regulations are precisely what companies like Apple hate. Remember, Apple has issued a warning to Australia, telling the country not to follow Europe's lead on these matters because it would create massive security and privacy risks. Apple argues that its control over the ecosystem keeps users safe, so any attempt to break that open is dangerous. The Irish Data Protection Commission will be meeting with WhatsApp to discuss the matter further. According to Commissioner Des Hogan, they plan to discuss the ad model with other European data protection authorities to gather any collective concerns. Commissioner Dale Sunderland noted that discussions with the company are "still early days", and it is too soon to identify what, if any, specific "red line issues" might exist with Meta's advertising plans. For now, Europeans can continue using their ad-free messenger, while the rest of the world prepares for the inevitable.
    • Welcome to Neowin!
    • Idiots never imagine their insane actions troubling everyone.  
  • Recent Achievements

    • Week One Done
      Wayne Robinson earned a badge
      Week One Done
    • One Month Later
      Karan Khanna earned a badge
      One Month Later
    • Week One Done
      Karan Khanna earned a badge
      Week One Done
    • First Post
      MikeK13 earned a badge
      First Post
    • Week One Done
      OHI Accounting earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      688
    2. 2
      ATLien_0
      265
    3. 3
      Michael Scrip
      204
    4. 4
      +FloatingFatMan
      170
    5. 5
      Steven P.
      144
  • Tell a friend

    Love Neowin? Tell a friend!