commit 97658520e3e4c36617c0e926932ae1aaf162cc57
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Fri Jul 30 10:08:43 2021 +0100
Add power management option (NVreg_PreserveVideoMemoryAllocations)
nvidia-power-management.conf | 1 +
xorg-x11-drv-nvidia.spec | 8 +++++++-
2 files changed, 8 insertions(+), 1 deletion(-)
---
diff --git a/nvidia-power-management.conf b/nvidia-power-management.conf
new file mode 100644
index 0000000..10cbf7d
--- /dev/null
+++ b/nvidia-power-management.conf
@@ -0,0 +1 @@
+options nvidia NVreg_PreserveVideoMemoryAllocations=1
diff --git a/xorg-x11-drv-nvidia.spec b/xorg-x11-drv-nvidia.spec
index d30a5aa..a2968fa 100644
--- a/xorg-x11-drv-nvidia.spec
+++ b/xorg-x11-drv-nvidia.spec
@@ -23,7 +23,7 @@
Name: xorg-x11-drv-nvidia
Epoch: 3
Version: 470.57.02
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: NVIDIA's proprietary display driver for NVIDIA graphic cards
License: Redistributable, no modification permitted
@@ -40,6 +40,7 @@ Source12: 99-nvidia-dracut.conf
Source13: 10-nvidia.rules
Source14: nvidia-fallback.service
Source15: rhel_nvidia.conf
+Source16: nvidia-power-management.conf
ExclusiveArch: x86_64 i686
@@ -274,6 +275,7 @@ install -p -m 0644 10_nvidia.json
%{buildroot}%{_datadir}/glvnd/egl_vendor.d/10_
# Blacklist nouveau, autoload nvidia-uvm module after nvidia module
mkdir -p %{buildroot}%{_modprobedir}
install -p -m 0644 %{SOURCE11} %{buildroot}%{_modprobedir}
+install -p -m 0644 %{SOURCE16} %{buildroot}%{_modprobedir}
# UDev rules for nvidia
install -m 0755 -d %{buildroot}%{_udevrulesdir}
@@ -450,6 +452,7 @@ fi ||:
#/no_multilib
%dir %{_datadir}/nvidia
%{_datadir}/nvidia/nvidia-application-profiles-*
+%{_modprobedir}/nvidia-power-management.conf
%files kmodsrc
%dir %{_datadir}/nvidia-kmod-%{version}
@@ -543,6 +546,9 @@ fi ||:
%endif
%changelog
+* Tue Jul 20 2021 Olivier Fourdan <fourdan(a)gmail.com> - 3:470.57.02-2
+- Add power management option (NVreg_PreserveVideoMemoryAllocations)
+
* Mon Jul 19 2021 Leigh Scott <leigh123linux(a)gmail.com> - 3:470.57.02-1
- Update to 470.57.02 release
Show replies by date