Hello everybody,

I saw many guys here are interested in the CUDA "thing". Though there is already an excellent step-by-step how to by Pureh@te, but there are few issues that slip in after installing the NVidia drivers which is mostly seen in laptops and latest graphics like the one I have on my Sony Vaio VPCCW15FG laptop is the GeForce 210M. The commonly seen problems are:

- Low Screen Resolution
- Blank Screen or Monitor Turns Off
- Incorrect Refresh Rate
- Nvidia Kernel Module Install Failure

like this one:

(==) Log file: "/var/log/Xorg.0.log", Time: Mon Feb 1 21:58:20 2010
(==) Using config file: "/etc/X11/xorg.conf"
FATAL: Error inserting nvidia (/lib/modules/2.6.30.9/kernel/drivers/video/nvidi\
a.ko): No such device
(EE) NVIDIA: Failed to load the NVIDIA kernel module. Please check your
(EE) NVIDIA: system's kernel log for additional error messages.
(EE) Failed to load module "nvidia" (module-specific error, 0)
(EE) No drivers available.
The following steps of workaround shall solve the problem:

1. Download and install the windows tool called softMCCS from hxxp : // www. entechtaiwan .com/ files / softmccs.exe (remove spaces)

2. Start the tool which looks like this



Then Goto File > Save EDID As and save the file as a youredid.bin file as shown below:



3. Download the latest NVidia driver for your GPU model from the NVidia website hxxp :// www. nvidia .com / Download / index.aspx?lang=en You can always do an

Code:
apt-get install nvidia-driver
but for me the driver at the nvidia website is more new.

4. Boot into BackTrack then copy the downloaded driver to the /root/ directory and the EDID (.bin) file to the /etc/X11/ directory.

5. In Konsole, make the driver, usually a (.run) file, executable by issuing the command

Code:
chmod 755 nvidia-driver-filename.run
6. Now we have everything ready to start the installation. Press Alt+Ctrl+Backspace to leave the X server and return to the Console.

7. Now that we are in the root directory, to start the driver installation, just issue the command

Code:
./nvidia-driver-filename.run
and follow the onscreen instructions.

8. Now when its done, if you are not lucky, the xorg.conf file is messed up. To have a quick check type

Code:
startx
if you get the KDE desktop after you see a NVidia splash screen facing you everything is fine. But if its not the case, you need the do the following:

- Edit the xorg.conf file as

Code:
nano /etc/X11/xorg.conf
- Goto the Device Section, identified as

Section "Device"
- Add the following lines, omit if any of them is already present,

Code:
    Option         "AddARGBGLXVisuals" "true"
    Option         "RenderAccel" "true"
    Option         "Coolbits" "1"
    Option         "ConnectedMonitor" "DFP-0"
    Option         "CustomEDID" "DFP-0:/etc/X11/youredid.bin"
- Goto the Device Section, identified as

Section "Screen"
- Add the following lines, omit if any of them is already present,

Code:
    Option         "UseDisplayDevice" "DFP"
    Option         "TwinView" "0"
    Option         "metamodes" "1366x768_60 +0+0"
NOTE: The 1366x768 is your the max. screen resolution, edit accordingly if necessary.
- Save the xorg.conf, only after backing up your old xorg.conf file and exit nano.

9. Goto Konsole and issue the old
Code:
startx
10. If everything worked well, which is most of the cases will, you will be welcomed by a cool Nvidia logo.

11. After you are in KDE issue the command, in Konsole

Code:
nvidia-settings
and you shall see a GUI based configuration utility for your GPU. There you can even overclock the card, but obviously AT YOUR OWN RISK! This option is visible due to the line
Code:
Option         "Coolbits" "1"
you dded the xorg.conf file.

12. Then to install CUDA, use the command

Code:
apt-get install cuda-toolkit
13. You can also install the CUDA SDK, if you are a programmer and wants to write programs using the CUDA architecture by using

Code:
apt-get install cuda-sdk
14. All done and time for that CUDA powered WPA2, MD5, NTLM etc. cracking.

Thanks for reading. Feedbacks invited. Please be kind for any mistakes.