Macbook and NVIDIA


I have downloaded the following driver for my “MacBook” (graphic card / 02:00.0 VGA compatible controller: NVIDIA Corporation MCP89 [GeForce 320M] (rev a2))

Is this the right driver ?
I get the following failure-message (var/log/nvidia-installer-log):

Using: nvidia-installer ncurses user interface
-> License accepted.
-> Installing NVIDIA driver version 275.09.07.
WARNING: The path to the `modprobe` utility reported by
         '/proc/sys/kernel/modprobe', `/sbin/modprobe`, differs from the path
         determined by `nvidia-installer`, `/usr/sbin/modprobe`.  Please verify
         that `/sbin/modprobe` works correctly and correct the path in
         '/proc/sys/kernel/modprobe' if it does not.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
ERROR: The kernel header file
       '/lib/modules/5.10.0-13-amd64/build/include/linux/version.h' does not
       exist.  The most likely reason for this is that the kernel source files
       in '/lib/modules/5.10.0-13-amd64/build' have not been configured.
ERROR: Installation has failed.  Please see the file
       '/var/log/nvidia-installer.log' for details.  You may find suggestions
       on fixing installation problems in the README available on the Linux
       driver download page at

The correct driver would be 304 but that’s out of support for 5 years now so doesn’t work on any recent distro. Please use nouveau.