From fef0d015b893f1e5c854120baa15e617346d26bf Mon Sep 17 00:00:00 2001 From: Leigh Scott Date: Tue, 11 Jan 2022 21:04:10 +0000 Subject: [PATCH] Update to 510.39.01 beta --- 70-nvidia.preset | 1 + sources | 2 +- xorg-x11-drv-nvidia.spec | 18 ++++++++++++++---- 3 files changed, 16 insertions(+), 5 deletions(-) diff --git a/70-nvidia.preset b/70-nvidia.preset index 56f61b1..b71baea 100644 --- a/70-nvidia.preset +++ b/70-nvidia.preset @@ -1,6 +1,7 @@ # Enable complete power management. From: # file:///usr/share/doc/nvidia-driver/html/powermanagement.html +enable nvidia-powerd.service enable nvidia-suspend.service enable nvidia-hibernate.service diff --git a/sources b/sources index bedd06a..f639f1b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (NVIDIA-Linux-x86_64-495.46.run) = 859548fa81478acb994b40434fc85824976b1f83bc15846290898854db84ea3c6550586a1d7e89ff3afa248310d2bcf4d2d52d5d8e91cf74e3f7e4108a7002ad +SHA512 (NVIDIA-Linux-x86_64-510.39.01.run) = 0c7ec6dd585d339f44ff10475abd614c9487bf399aed8bf1546cd95bbcbe3b2938cd52cea402d46e439252fc5fe0e03908f9821fa66f475ffe5573b266047a14 diff --git a/xorg-x11-drv-nvidia.spec b/xorg-x11-drv-nvidia.spec index d7f570e..7218be2 100644 --- a/xorg-x11-drv-nvidia.spec +++ b/xorg-x11-drv-nvidia.spec @@ -24,7 +24,7 @@ Name: xorg-x11-drv-nvidia Epoch: 3 -Version: 495.46 +Version: 510.39.01 Release: 1%{?dist} Summary: NVIDIA's proprietary display driver for NVIDIA graphic cards @@ -67,7 +67,7 @@ Suggests: acpica-tools Suggests: vulkan-tools %ifarch x86_64 Recommends: %{name}-cuda-libs%{?_isa} = %{?epoch}:%{version}-%{release} -Suggests: %{name}-power%{?_isa} = %{?epoch}:%{version}-%{release} +Recommends: %{name}-power%{?_isa} = %{?epoch}:%{version}-%{release} %endif %else BuildRequires: systemd @@ -227,6 +227,7 @@ cp -a \ libnvidia-allocator.so.%{version} \ %ifarch x86_64 libnvidia-cfg.so.%{version} \ + libnvidia-compiler-next.so.%{version} \ libnvidia-ngx.so.%{version} \ libnvidia-nvvm.so.4.0.0 \ libnvidia-rtcore.so.%{version} \ @@ -313,7 +314,7 @@ install -p -m 0644 %{SOURCE12} %{buildroot}%{_dracut_conf_d}/ # Install binaries install -m 0755 -d %{buildroot}%{_bindir} -install -p -m 0755 nvidia-{bug-report.sh,debugdump,smi,cuda-mps-control,cuda-mps-server,ngx-updater} \ +install -p -m 0755 nvidia-{bug-report.sh,debugdump,smi,cuda-mps-control,cuda-mps-server,ngx-updater,powerd} \ %{buildroot}%{_bindir} # Install man pages @@ -379,7 +380,7 @@ install -p -m 0644 %{SOURCE14} %{buildroot}%{_unitdir} # Systemd units and script for suspending/resuming mkdir %{buildroot}%{_systemd_util_dir}/system-{sleep,preset}/ install -p -m 0644 %{SOURCE17} %{buildroot}%{_systemd_util_dir}/system-preset/ -install -p -m 0644 systemd/system/nvidia-{hibernate,resume,suspend}.service %{buildroot}%{_unitdir} +install -p -m 0644 systemd/system/nvidia-{hibernate,powerd,resume,suspend}.service %{buildroot}%{_unitdir} install -p -m 0755 systemd/system-sleep/nvidia %{buildroot}%{_systemd_util_dir}/system-sleep/ install -p -m 0755 systemd/nvidia-sleep.sh %{buildroot}%{_bindir} @@ -542,6 +543,7 @@ fi ||: %{_libdir}/libnvidia-opticalflow.so.1 %{_libdir}/libnvidia-opticalflow.so.%{version} %ifarch x86_64 +%{_libdir}/libnvidia-compiler-next.so.%{version} %{_libdir}/libnvidia-nvvm.so %{_libdir}/libnvidia-nvvm.so.4* %{_modprobedir}/nvidia-uvm.conf @@ -555,30 +557,38 @@ fi ||: %ifarch x86_64 %post power %systemd_post nvidia-hibernate.service +%systemd_post nvidia-powerd.service %systemd_post nvidia-resume.service %systemd_post nvidia-suspend.service %preun power %systemd_preun nvidia-hibernate.service +%systemd_preun nvidia-powerd.service %systemd_preun nvidia-resume.service %systemd_preun nvidia-suspend.service %postun power %systemd_postun nvidia-hibernate.service +%systemd_postun nvidia-powerd.service %systemd_postun nvidia-resume.service %systemd_postun nvidia-suspend.service %files power %config %{_modprobedir}/nvidia-power-management.conf +%{_bindir}/nvidia-powerd %{_bindir}/nvidia-sleep.sh %{_systemd_util_dir}/system-preset/70-nvidia.preset %{_systemd_util_dir}/system-sleep/nvidia %{_unitdir}/nvidia-hibernate.service +%{_unitdir}/nvidia-powerd.service %{_unitdir}/nvidia-resume.service %{_unitdir}/nvidia-suspend.service %endif %changelog +* Tue Jan 11 2022 Leigh Scott - 3:510.39.01-1 +- Update to 510.39.01 beta + * Tue Dec 14 2021 Leigh Scott - 3:495.46-1 - Update to 495.46 release