5. Check kldstat, that nvidia.ko is loaded.
-6. Now you should manually make devfs nodes for nvidia device:
-
- cd /dev
- mknod nvidia0 c 180 0
- mknod nvidiactl c 180 255
- chmod 644 nvidia*
-
-7. Now starts the most interesting - corecode's wrapper for X.org to make drivers function properly.
+6. Now starts the most interesting - corecode's wrapper for X.org to make drivers function properly.
cd obj/wrapmodule ; make
cp libnvidiawrap.so /usr/pkg/lib/xorg/modules
-8. Now you need to link the installed nvidia libs to version-less names
-
- cd /usr/pkg/lib/xorg/modules
- ln -fs libnvidia-wfb.so.1 libwfb.so
- ln -fs libglx.so.1 libglx.so
-
-9. Now create the glue for the nvidia GL libs:
+7. Now create the glue for the nvidia GL libs:
cd obj/wraplib ; make
cd .. ; cp libGL* libXv* /usr/pkg/lib
cd /usr/pkg/lib
ln -fs libGL.so.1 libGL.so.1.0.5
-10. Now we should edit xorg.conf, open it in your favourite editor (I prefer ee) and edit it the following way:
+8. Now we should edit xorg.conf, open it in your favourite editor (I prefer ee) and edit it the following way:
Section "Module"
Load "nvidiawrap" // Wrapper should be the first module in that section
Load "glx" // Add it for Nvidia accelerated OpenGL
Driver "nvidia" //Replace Driver "nv" with that string and comment BusID string
-11. (Not necessary) You probably want nvidia-settings tool for controlling your
- videocard, so grab it from here:
+9. (Not necessary) You probably want nvidia-settings tool for controlling your
+ videocard, so grab it from here:
http://download.nvidia.com/XFree86/nvidia-settings/nvidia-settings-1.0.tar.gz