This comes a bit late, but for anyone else out there that needs this the solution is pretty simple. It assumes you have the nvidia drivers and direct rendering working well.
The key is the program nvidia-settings, which is an amazing utility that ships with the nvidia driver.
Running
Code:
nvidia-settings --load-config-only
will load any config you have saved in your home directory automatically, should you have already configured the program once or twice. You can set your FSAA options there, which will be loaded upon running the above command.
Running
Code:
nvidia-settings -a FSAA=num
will just set full scene antialiasing for you, where num is the FSAA number appropriate to your card, found in the nvidia driver readme.
Personally I like to run CS on a clean xorg desktop, so I put the following in my ~/.xinitrc
Code:
nvidia-settings -l
nvidia-settings -a GPUOverclockingState=1 -a GPU3DClockFreqs=495,1113
xset m 1/0
~/cstrike
The first command loads my nvidia settings (same as --load-config-only), and the second command is necessary because nvidia-settings flatly refuses to put overclocking settings in its config file to protect people from themselves.
The third command there changes mouse motion to 1 (speed) and 0 (acceleration), which is necessary for my Razer diamondback, otherwise it's impossible to control.
The last obviously runs counterstrike, which if anyone's curious looks like this:
Code:
#!/bin/bash
export WINEDEBUG=fixme-all
schedtool -I -e wine "C:/Program Files/Steam/Steam.exe" -opengl -heapsize 512 -width 640 -height 480 -fullscreen -applaunch 10 -console
Schedtool is basically for ck kernels only (I run beyond2 atm), so unless you've got one, don't use it. Yes, applaunch 10 is CS 1.6, but the same idea applies for Source.
To run CS without the frilly stuff now, you simply:
Code:
sudo /etc/init.d/gdm stop
startx
And restart gdm when you want to get back to your desktop later.
Hope that helps someone!
Bookmarks