Failed to set video mode errors?

Started by Sn00ks, August 03, 2005, 06:27:58 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Sn00ks

I thought following the recent good press that I'd give CS:S another go. But when I try and start it it keeps failing with 'Failed to set video mode'. It gives me the option to try again with default settings and then it fails saying that the minimum supported version of directx is 7. I know that I'm running directx 9 at least. The advanced display properties agree with me.  :angry:

Does anyone have any ideas on how I can fix this?  :unsure:
 It worked OK last time and I can't think of anything I've changed recently.
I do exactly what the little voices tell me to.

PC Specs:- Black box with some fans that go whirrr, a few lights, things inside that get warm, headphones, keyboard (a clicky one), mouse (with buttons and no squeak), disks (2-off SSD and HDD) and a monitor of sufficient proportions.

killcrazy

in your autoexec.cfg file you can add some cvas that might work, e.g:

mat_dxlevel 80 (this will run css in direct x 8, worth a try to see if it works)
r_rootlod # (Changes detail level. Can be set from 1 - 7. 1 = min, 7 = max)

there the main ones i know of that might work, but here are some more that might be usefull:

cl_phys_props_enable 0 -- removes a few props like cans on the ground.

cl_ragdoll_physics_enable 0 -- turns off the ragdoll effect so bodies disappear

fog_enable 0 -- This removes fog

fog_enable_water_fog 0 -- This removes water fog

mat_mipmaptextures 0 -- The texture quality will lower the further away you are which improves fps

mp_decals 300 -- Decals are the bullet holes, burnt patches on ground from nades etc.
This changes the amount kept in memory. The lower the amount the more fps.

r_decal_cullsize 1 -- Changes texture quality

r_decals 0 -- Removes decals.

r_lod -1 -- Lowers texture quality for higher fps

r_rainradius 0 -- distance at which you will see rain. 0 means you wont see it.

r_rainsimulate 0 -- Removes rain

r_rainsplashpercentage 0 -- Removes rain splash effects

Anonymous

make sure you don't have anything in your game launch options that is causing a problem. My launch options for CS:s are:

-console -heapsize 512000

Also try to start it from the Steam icon in the systen tray by selecting "play games" and then click Counterstrike Source in case it is the shortcut that is causing problems.

You could try forcing a mode by setting your launch options as follows:

Quote-console -heapsize 512000 -d3d -w 1024
which would give Direct3D at 1024x768

or

Quote-console -heapsize 512000 -gl -w 1024
which would give OpenGL at 1024x768

Sn00ks

I didn't have anything in my shortcut and I was starting the game from within Steam. There was nothing in the advanced startup bit. I've added the GL version and tried again and still not luck.

I can't find an autoexec.cfg, the closest thing I can find is the config.cfg.

It used to run OK and I can't see why it doesn't now.
I do exactly what the little voices tell me to.

PC Specs:- Black box with some fans that go whirrr, a few lights, things inside that get warm, headphones, keyboard (a clicky one), mouse (with buttons and no squeak), disks (2-off SSD and HDD) and a monitor of sufficient proportions.

Anonymous

QuoteOriginally posted by Sn00ks@Aug 3 2005, 06:09 PM
I didn't have anything in my shortcut and I was starting the game from within Steam. There was nothing in the advanced startup bit. I've added the GL version and tried again and still not luck.
[post=90519]Quoted post[/post]
[/b]
Try the d3d version and add -full to force full screen mode in case it is trying to launch in a window

-console -heapsize 512000 -d3d -w 1024 -full

Edit: have you updated video drivers since last playing CS:S?

Sn00ks

QuoteOriginally posted by BlueBall@Aug 3 2005, 07:33 PM
Try the d3d version and add -full to force full screen mode in case it is trying to launch in a window

-console -heapsize 512000 -d3d -w 1024 -full

Edit: have you updated video drivers since last playing CS:S?
[post=90524]Quoted post[/post]
[/b]


The drivers were updated to the latest NVidia ones a little while ago to play BF2.  but I wouldn't have though that would cause a problem? Running 77.72 now.

Still getting the same error with the d3d option. Just tried BF2 and that runs OK.  :unsure:
I do exactly what the little voices tell me to.

PC Specs:- Black box with some fans that go whirrr, a few lights, things inside that get warm, headphones, keyboard (a clicky one), mouse (with buttons and no squeak), disks (2-off SSD and HDD) and a monitor of sufficient proportions.

Anonymous

QuoteOriginally posted by Sn00ks@Aug 3 2005, 06:50 PM
The drivers were updated to the latest NVidia ones a little while ago to play BF2. but I wouldn't have though that would cause a problem? Running 77.72 now.

Still getting the same error with the d3d option. Just tried BF2 and that runs OK. :unsure:
[post=90526]Quoted post[/post]
[/b]
I'm running 77.72 as well and they are OK.

There is a file called vidcfg.bin in:

C:\Program Files\Steam\SteamApps\username\counter-strike source\bin

make a backup copy then delete the original and try restarting css to seee if it creates a new one. If not put backup copy back :)

There is also a file called dxsupport.cfg - might be worth trying the same with that file?

Sn00ks

:(  Still doesn't work. The vidcfg file doesn't recreate itself and the dxsupport does.   :ranting:
I do exactly what the little voices tell me to.

PC Specs:- Black box with some fans that go whirrr, a few lights, things inside that get warm, headphones, keyboard (a clicky one), mouse (with buttons and no squeak), disks (2-off SSD and HDD) and a monitor of sufficient proportions.

Sn00ks

Found this, just going to try it now.
Either get a profile editor like saweetnesstrev said (nHancer, YAPE, etc), or manually delete the settings associted with hl2.exe in your registry. Go into your registry under this key:

CODE
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Video\{F5857C38-087A-4CD1-98DD-D4DF85D1A681}\0000


The GUID on yours will be different, but generally it's the furthest one down the list. The 0000 is likely the same (first adapter under that id).

Now delete any entries starting with:

CODE
_hl2.exe:


Even though entries will appear in your NVIDIA panel, the values associated with them are gone and you can either forget about it or set defaults or redo your profile.

That's it! HL2/CSS works again!
I do exactly what the little voices tell me to.

PC Specs:- Black box with some fans that go whirrr, a few lights, things inside that get warm, headphones, keyboard (a clicky one), mouse (with buttons and no squeak), disks (2-off SSD and HDD) and a monitor of sufficient proportions.

Sn00ks

Err, it's all better now  :D

That registry edit thingy did the business. Apparently a few people have had this problem after updating drivers.
I do exactly what the little voices tell me to.

PC Specs:- Black box with some fans that go whirrr, a few lights, things inside that get warm, headphones, keyboard (a clicky one), mouse (with buttons and no squeak), disks (2-off SSD and HDD) and a monitor of sufficient proportions.

Anonymous


Blunt

QuoteOriginally posted by BlueBall@Aug 3 2005, 09:48 PM
Glad your fixed :)
[post=90540]Quoted post[/post]
[/b]

but is CSS fixed? :eyebrow:  <_<
Regards
Blunt


People who blow things out of proportion are worse than Hitler.


Sn00ks

QuoteOriginally posted by BlueBall@Aug 3 2005, 09:48 PM
Glad your fixed :)
[post=90540]Quoted post[/post]
[/b]


They had me fixed a while ago!  ;)  ;)

Thanks for your input BB.
I do exactly what the little voices tell me to.

PC Specs:- Black box with some fans that go whirrr, a few lights, things inside that get warm, headphones, keyboard (a clicky one), mouse (with buttons and no squeak), disks (2-off SSD and HDD) and a monitor of sufficient proportions.