Not that complex but it took some time. I install the beta 4 with the LiveCD, but need to install gcc, kernel devel, libXi, etc.
Notes:
-
Logging into X with default driver, install packages: gcc, kernel devel, libXi,… (cannot remember exactly). Of source download the 9751 driver.
-
Then Ctrl+Alt+F1 to log in as root, run “telinit 3” to kill X. Install driver with:
“sh NVIDIA-Linux-x86-1.0-9751-pkg1.run --x-module-path=X -showDefaultModulePath 2>&1 | cut -d, -f1
--x-library-path=X -showDefaultLibPath 2>&1
”, otherwise the X cannot find the driver. -
After upgrading to new kernel, the old kernel interface may not work. Then when you try to re-install, it will fail because whatever i386/Makefile cannot be found. To work-around this, “export ARCH=i386” before you re-install the driver.
-
“startx” to launch X. “Applications->System Tools->NVIDIA X Server Settings”, you should see the GPU info.
-
Now try to get OpenGL going with GLUT. Need to confirm that you can compile and run some glut demos. May hit various problems but should not be hard to solve. I compiled mjk’s 3.7.13 glut. You may also need to find a glu.h from somewhere. I will omit 1000 words here. If any question, post.
-
Install CUDA Toolkit and SDK.
-
Before compiling the SDK, you may want to do this first:
“export LD_LIBRARY_PATH=/usr/local/cuda/lib:$LD_LIBRARY_PATH” -
Make.
You may hit an error that Xmu needed, in the common/common.mk, add -lXmu. If not seeing this, you are lucky. -
No matter compiling or run the tests, there may be a problem some library is not permitted to be loaded, then run chcon to grant the permission, for example:
“chcon -t textrel_shlib_t /usr/local/cuda/lib/libfatZip.so”, you can run this to all libs if you want simple.
(Do this to libcufft.so.0.8 before run fluidsGL.) -
When run tests, the “data” folder is needed for some tests, grab them from the projects to the release bin folder.
After you pass all the tests, done!
APPENDIX
The first test to run? bandwidthTest!!!
The three numbers you get may be: ~1200, ~1000, ~8500. (MB/sec).
If your number is something like 240GB/sec. Congratulations! You might install 9755 driver. External Image 9751 is required.
:ph34r: