commit 06af3598bf577096f65bf772747c32896a14eed5
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Tue Mar 30 23:01:41 2021 +0100
Update to 465.19.01 beta
sources | 2 +-
xorg-x11-drv-nvidia.spec | 56 ++++++++++++++++++++++++++++--------------------
2 files changed, 34 insertions(+), 24 deletions(-)
---
diff --git a/sources b/sources
index 350215a..efa37f2 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (NVIDIA-Linux-x86_64-460.67.run) =
80fdc023a8ce80e3a103896f28a5564bb43903af6bfc719f755c48eb225e79ec6abf219ab20eb80ada5808ef932ef5fa0fe710c6e0a07dd8a248daff2ba3b898
+SHA512 (NVIDIA-Linux-x86_64-465.19.01.run) =
b4ececb6069ec961a4bf6b50c3bb0d7ca94add13e04f9dcceaddc6d3267f6dfc5f020d14e49f37e6c09ec3b47b3f44f0f44620e1ab4d25f7739514a07769a67d
diff --git a/xorg-x11-drv-nvidia.spec b/xorg-x11-drv-nvidia.spec
index 919aeb0..75d83a7 100644
--- a/xorg-x11-drv-nvidia.spec
+++ b/xorg-x11-drv-nvidia.spec
@@ -5,12 +5,14 @@
%global _alternate_dir %{_prefix}/lib/nvidia
%global _dracut_conf_d %{_prefix}/lib/dracut/dracut.conf.d
-%global _modprobe_d %{_prefix}/lib/modprobe.d/
%global _grubby %{_sbindir}/grubby --update-kernel=ALL
+%global _firmwarepath %{_prefix}/lib/firmware
%if 0%{?fedora} || 0%{?rhel} > 7
%global _dracutopts rd.driver.blacklist=nouveau
modprobe.blacklist=nouveau nvidia-drm.modeset=1
%else
%global _dracutopts nouveau.modeset=0 rd.driver.blacklist=nouveau
nvidia-drm.modeset=1
+%global _modprobedir %{_prefix}/lib/modprobe.d
+%global _systemd_util_dir %{_prefix}/lib/systemd
%endif
%global debug_package %{nil}
@@ -19,7 +21,7 @@
Name: xorg-x11-drv-nvidia
Epoch: 3
-Version: 460.67
+Version: 465.19.01
Release: 1%{?dist}
Summary: NVIDIA's proprietary display driver for NVIDIA graphic cards
@@ -40,14 +42,6 @@ Source15: rhel_nvidia.conf
ExclusiveArch: x86_64 i686
-%if 0%{?fedora}
-BuildRequires: systemd-rpm-macros
-%else
-BuildRequires: systemd
-%endif
-Requires(post): systemd
-Requires(preun): systemd
-Requires(postun): systemd
# Xorg with PrimaryGPU
Requires: Xorg >= 1.19.0-3
@@ -57,6 +51,7 @@ Requires(post): grubby
Requires: which
Requires: nvidia-settings%{?_isa} = %{?epoch}:%{version}
%if 0%{?fedora} || 0%{?rhel} > 7
+BuildRequires: systemd-rpm-macros
# AppStream metadata generation
BuildRequires: python3
BuildRequires: libappstream-glib >= 0.6.3
@@ -66,8 +61,12 @@ Suggests: nvidia-xconfig%{?_isa} = %{?epoch}:%{version}
Suggests: acpica-tools
Suggests: vulkan-tools
%else
+BuildRequires: systemd
Requires: nvidia-xconfig%{?_isa} = %{?epoch}:%{version}
%endif
+Requires(post): systemd
+Requires(preun): systemd
+Requires(postun): systemd
Requires: %{_nvidia_serie}-kmod >= %{?epoch}:%{version}
Requires: %{name}-libs%{?_isa} = %{?epoch}:%{version}-%{release}
@@ -267,8 +266,8 @@ install -m 0755 -d
%{buildroot}%{_datadir}/glvnd/egl_vendor.d/
install -p -m 0644 10_nvidia.json
%{buildroot}%{_datadir}/glvnd/egl_vendor.d/10_nvidia.json
# Blacklist nouveau, autoload nvidia-uvm module after nvidia module
-mkdir -p %{buildroot}%{_modprobe_d}
-install -p -m 0644 %{SOURCE11} %{buildroot}%{_modprobe_d}
+mkdir -p %{buildroot}%{_modprobedir}
+install -p -m 0644 %{SOURCE11} %{buildroot}%{_modprobedir}
# UDev rules for nvidia
install -m 0755 -d %{buildroot}%{_udevrulesdir}
@@ -331,13 +330,13 @@ EOF
%if 0%{?fedora} || 0%{?rhel} > 7
# install AppData and add modalias provides
-mkdir -p %{buildroot}%{_datadir}/appdata/
-install -pm 0644 %{SOURCE8} %{buildroot}%{_datadir}/appdata/
-fn=%{buildroot}%{_datadir}/appdata/xorg-x11-drv-nvidia.metainfo.xml
-%{SOURCE9} README.txt "NVIDIA GEFORCE GPUS" | xargs appstream-util add-provide
${fn} modalias
-%{SOURCE9} README.txt "NVIDIA RTX/QUADRO GPUS" | xargs appstream-util
add-provide ${fn} modalias
-%{SOURCE9} README.txt "NVIDIA NVS GPUS" | xargs appstream-util add-provide
${fn} modalias
-%{SOURCE9} README.txt "NVIDIA TESLA GPUS" | xargs appstream-util add-provide
${fn} modalias
+mkdir -p %{buildroot}%{_metainfodir}/
+install -pm 0644 %{SOURCE8} %{buildroot}%{_metainfodir}/
+#fn=%{buildroot}%{_datadir}/appdata/xorg-x11-drv-nvidia.metainfo.xml
+#%{SOURCE9} README.txt "NVIDIA GEFORCE GPUS" | xargs appstream-util add-provide
${fn} modalias
+#%{SOURCE9} README.txt "NVIDIA RTX/QUADRO GPUS" | xargs appstream-util
add-provide ${fn} modalias
+#%{SOURCE9} README.txt "NVIDIA NVS GPUS" | xargs appstream-util add-provide
${fn} modalias
+#%{SOURCE9} README.txt "NVIDIA TESLA GPUS" | xargs appstream-util add-provide
${fn} modalias
mkdir -p %{buildroot}%{_datadir}/pixmaps
install -pm 0644 nvidia-settings.png %{buildroot}%{_datadir}/pixmaps/%{name}.png
%endif
@@ -348,8 +347,14 @@ install -p -m 0644 %{SOURCE13} %{buildroot}%{_udevrulesdir}
install -p -m 0644 %{SOURCE14} %{buildroot}%{_unitdir}
# Systemd units and script for suspending/resuming
-install -p -m 0644 nvidia-hibernate.service nvidia-resume.service nvidia-suspend.service
%{buildroot}%{_unitdir}
-install -p -m 0755 nvidia-sleep.sh %{buildroot}%{_bindir}
+mkdir %{buildroot}%{_systemd_util_dir}/system-sleep/
+install -p -m 0644 systemd/system/nvidia-{hibernate,resume,suspend}.service
%{buildroot}%{_unitdir}
+install -p -m 0644 systemd/system-sleep/nvidia
%{buildroot}%{_systemd_util_dir}/system-sleep/
+install -p -m 0755 systemd/nvidia-sleep.sh %{buildroot}%{_bindir}
+
+# Firmware
+mkdir -p %{buildroot}%{_firmwarepath}
+install -p -m 0644 firmware/gsp.bin %{buildroot}%{_firmwarepath}
%pre
if [ "$1" -eq "1" ]; then
@@ -411,6 +416,8 @@ fi ||:
%doc nvidiapkg/nvidia-application-profiles-%{version}-rc
%doc nvidiapkg/html
%{_bindir}/nvidia-sleep.sh
+%{_firmwarepath}/gsp.bin
+%{_systemd_util_dir}/system-sleep/nvidia
%{_unitdir}/nvidia-hibernate.service
%{_unitdir}/nvidia-resume.service
%{_unitdir}/nvidia-suspend.service
@@ -426,7 +433,7 @@ fi ||:
%{_udevrulesdir}/60-nvidia.rules
%{_unitdir}/nvidia-fallback.service
%if 0%{?fedora} || 0%{?rhel} > 7
-%{_datadir}/appdata/%{name}.metainfo.xml
+%{_metainfodir}/%{name}.metainfo.xml
%{_datadir}/pixmaps/%{name}.png
%endif
%{_dracut_conf_d}/99-nvidia-dracut.conf
@@ -515,7 +522,7 @@ fi ||:
%{_libdir}/libnvidia-opticalflow.so.1
%{_libdir}/libnvidia-opticalflow.so.%{version}
%ifarch x86_64
-%{_modprobe_d}/nvidia-uvm.conf
+%{_modprobedir}/nvidia-uvm.conf
%{_udevrulesdir}/60-nvidia-uvm.rules
%endif
@@ -524,6 +531,9 @@ fi ||:
%{_libdir}/libnvidia-encode.so
%changelog
+* Tue Mar 30 2021 Leigh Scott <leigh123linux(a)gmail.com> - 3:465.19.01-1
+- Update to 465.19.01 beta
+
* Fri Mar 19 2021 Leigh Scott <leigh123linux(a)gmail.com> - 3:460.67-1
- Update to 460.67 release
Show replies by date