Commit 105a4529 authored by Владислав Бабенко's avatar Владислав Бабенко Committed by Vitaly Lipatov

Update switch-to-nvidia.sh

Added a temporary file path
parent 03f04d1a
......@@ -83,7 +83,7 @@ fi
# Активируем службы управления питания NVIDIA, без этих служб будет некоректно работать уход в сон
systemctl enable nvidia-suspend.service nvidia-resume.service nvidia-hibernate.service
echo "options nvidia NVreg_PreserveVideoMemoryAllocations=1" > /etc/modprobe.d/nvidia_memory_allocation.conf
echo "options nvidia NVreg_PreserveVideoMemoryAllocations=1 NVreg_TemporaryFilePath=/var/tmp" > /etc/modprobe.d/nvidia_memory_allocation.conf
# Запускаем регенерацию initrd
make-initrd
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment