NVIDIA on a Macbook?

Hello,

I have a Macbook with a graphic card ( 02:00.0 VGA compatible controller: NVIDIA Corporation MCP89 [GeForce 320M] (rev a2)
I use “Debian Bullseye”,
I have the following Nvidia-driver installed (Linux x64 (AMD64/EM64T) Display Driver | 275.09.07 | Linux 64-bit | NVIDIA)
Is this the rigth-driver ?

When I will install the driver, I get the following failure-message:

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

What I have to do?

Kind regards
Günni

Hey Günni,
Did you solve your problem? I have had similar problems with my Mac, but most of them were easy to fix because I found most solutions for my problems on the cleanmymac website. They have many articles with how-to steps, which makes it easy to get rid of most problems.
I started using Mac recently, and it took me a lot of time to get used to it. I had no idea how to do most things, and tutorials were just the thing I needed. It took me a while to get used to everything, but now I love using my Mac. I still use my old laptop for games, but the Mac is for everything else.