Скачать из сида и поставить не получилось nvidia-legacy-340xx-driver дропнули в bullseye? (комментарий)
Решил официальные скачать и поставить. Прежде поставил из backport ядро т.к стандартное 5.1 не делает корректно standby
apt-get install -t bullseye-backports linux-image-amd64 linux-headers-amd64 -y
Ставим драйвера:
bash /home/user/Downloads/NVIDIA-Linux-x86_64-340.107.run
out:
NVIDIA: calling KBUILD...
make[1]: Entering directory '/usr/src/linux-headers-6.0.0-0.deb11.6-common'
make -C /usr/src/linux-headers-6.0.0-0.deb11.6-amd64 -f /usr/src/linux-headers-6.0.0-0.deb11.6-common/Makefile modules
make[2]: Entering directory '/usr/src/linux-headers-6.0.0-0.deb11.6-amd64'
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo >&2; \
echo >&2 " ERROR: Kernel configuration is invalid."; \
echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo >&2 ; \
/bin/false)
ERROR: Kernel configuration is invalid.
include/generated/autoconf.h or include/config/auto.conf are missing.
Run 'make oldconfig && make prepare' on kernel src to fix it.
Я так понимаю, что надо поставить сорсы ядра и сделать
Run 'make oldconfig && make prepare' on kernel src to fix it."
Добавил в cat /etc/apt/sources.list.d/backports.list
deb-src http://deb.debian.org/debian bullseye-backports main
apt-get update
apt-get install -t bullseye-backports linux-source
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
bison flex libfl-dev libfl2 libsigsegv2 linux-config-5.10 linux-source-5.10 m4
Suggested packages:
bison-doc flex-doc libncurses-dev | ncurses-dev qtbase5-dev m4-doc
The following NEW packages will be installed:
bison flex libfl-dev libfl2 libsigsegv2 linux-config-5.10 linux-source linux-source-5.10 m4
0 upgraded, 9 newly installed, 0 to remove and 2 not upgraded.
Need to get 124 MB of archives.
After this operation, 127 MB of additional disk space will be used.
Do you want to continue? [Y/n] ^C
Как поставить из бекпортов сорсы ядра?