I never tried building it from source. It worked last time (which was when Bullseye was Testing) just by setting the environment variable and apt install nvidia-driver. nvidia-tesla-470-driver is in Debian repo so no need to build from source. I read somewhere they plan to drop the "tesla" moniker soon which is good as it's confusing.FWIW, the symbol export previously suggested just changed the error message to:Code:
root@files:/usr/src# export IGNORE_PREEMPT_RT_PRESENCE=1root@files:/usr/src# dkms build nvidia-current/470.223.02 -k 5.10.0-28-rt-amd64/x86_64 --kernelsourcedir /usr/src/linux-headers-5.10.0-28-rt-amd64Error! The /var/lib/dkms/nvidia-current/470.223.02/5.10.0-28-rt-amd64/x86_64/dkms.conf for module nvidia-current includes a BUILD_EXCLUSIVE directive whichdoes not match this kernel/arch. This indicates that it should not be built.
Also +1 what Stevo said about Liquorix, they are well worth trying for improved latency and some other performance tweaks. Only kernel I have used for years.
Statistics: Posted by sunrat — 2024-02-28 03:03