commit b09bda060caeb39b8097539424bcb1602969c0c4
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Mon Aug 23 14:04:51 2021 +0100
Add NVreg_TemporaryFilePath
nvidia-power-management.conf | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/nvidia-power-management.conf b/nvidia-power-management.conf
index 10cbf7d..ece5137 100644
--- a/nvidia-power-management.conf
+++ b/nvidia-power-management.conf
@@ -1 +1,7 @@
+#
+# Save and restore all video memory allocations.
options nvidia NVreg_PreserveVideoMemoryAllocations=1
+#
+# The destination should not be using tmpfs, so we prefer
+# /var/tmp instead of /tmp
+options nvidia NVreg_TemporaryFilePath=/var/tmp