Solved Error loading nVidia FreeBSD 10.3

I installed x11/nvidia-driver-340 (this is the version for my video card nVidia GT220). However when I try to load it
kldload nvidia
I get this error
Code:
KLD nVidia:ko: depends on kernel - not available or version mismatch
linker_load_file: Unsupported file type
I tried to rebuild the port but I get always the same error. kldstat shows that nvidia.ko is not loaded.
 
Build it from ports. It's a kernel module and it needs to be build against the exact version you have.
 
I used subversion to download sources
svnlite checkout https://svn.freebsd.org/base/stable/10 /usr/src
Maybe I should use instead
svnlite checkout https://svn.freebsd.org/base/release/10.3.0 /usr/src?
 
Thanks for the help, the handbook is not really clear in this, I will try again to install the driver after it finishes checkout
 
Back
Top