Дебиан, после установки сразу устроил Sid, ставлю дрова cuda. apt install nvidia-driver nvidia-cuda-toolkit
. Вроде как все хорошо, но после перезагрузки не стартуют модули ядра, и nvidia persistenced:
systemd-modules-load.service - Load Kernel Modules
Loaded: loaded (/lib/systemd/system/systemd-modules-load.service; static)
Active: failed (Result: exit-code) since Mon 2022-07-11 20:53:57 MSK; 7min ago
Docs: man:systemd-modules-load.service(8)
man:modules-load.d(5)
Main PID: 780 (code=exited, status=1/FAILURE)
CPU: 35ms
июл 11 20:53:57 Commander systemd-modules-load[784]: modprobe: ERROR: could not insert 'nvidia': Invalid argument
июл 11 20:53:57 Commander systemd-modules-load[787]: modprobe: ERROR: could not insert 'nvidia_current_modeset': Operation not permitted
июл 11 20:53:57 Commander systemd-modules-load[782]: modprobe: ERROR: ../libkmod/libkmod-module.c:1047 command_do() Error running install command 'modprobe nvidia ; modprobe -i nvidia-current-modeset ' for module nvidia_modeset: retcode 1
июл 11 20:53:57 Commander systemd-modules-load[782]: modprobe: ERROR: could not insert 'nvidia_modeset': Invalid argument
июл 11 20:53:57 Commander systemd-modules-load[793]: modprobe: ERROR: could not insert 'nvidia_current_drm': Operation not permitted
июл 11 20:53:57 Commander systemd-modules-load[780]: Error running install command 'modprobe nvidia-modeset ; modprobe -i nvidia-current-drm ' for module nvidia_drm: retcode 1
июл 11 20:53:57 Commander systemd-modules-load[780]: Failed to insert module 'nvidia_drm': Invalid argument
июл 11 20:53:57 Commander systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
июл 11 20:53:57 Commander systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
июл 11 20:53:57 Commander systemd[1]: Failed to start Load Kernel Modules.
systemctl status nvidia-persistenced
говорит, что:
июл 11 20:53:57 Commander systemd[1]: Starting NVIDIA Persistence Daemon...
июл 11 20:53:57 Commander nvidia-persistenced[809]: Started (809)
июл 11 20:53:57 Commander nvidia-persistenced[809]: Failed to query NVIDIA devices. Please ensure that the NVIDIA device files (/dev/nvidia*) exist, and that user 118 has read and write permissions for those files.
июл 11 20:53:57 Commander nvidia-persistenced[809]: Shutdown (809)
июл 11 20:53:57 Commander nvidia-persistenced[805]: nvidia-persistenced failed to initialize. Check syslog for more details.
июл 11 20:53:57 Commander systemd[1]: nvidia-persistenced.service: Control process exited, code=exited, status=1/FAILURE
июл 11 20:53:57 Commander systemd[1]: nvidia-persistenced.service: Failed with result 'exit-code'.
июл 11 20:53:57 Commander systemd[1]: Failed to start NVIDIA Persistence Daemon.
Что тут произошло и как это фиксить? Папки /dev/nvidia действительно нету.