commit 1cea613a21e28fb326ad01f1146e22dd0c59fc29
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Sat Nov 6 13:09:35 2021 +0000
Add mising vulkan lib
xorg-x11-drv-nvidia-470xx.spec | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/xorg-x11-drv-nvidia-470xx.spec b/xorg-x11-drv-nvidia-470xx.spec
index ab3b094..93133a0 100644
--- a/xorg-x11-drv-nvidia-470xx.spec
+++ b/xorg-x11-drv-nvidia-470xx.spec
@@ -236,6 +236,7 @@ cp -a \
libnvidia-nvvm.so.4.0.0 \
libnvidia-rtcore.so.%{version} \
libnvoptix.so.%{version} \
+ libnvidia-vulkan-producer.so.%{version} \
%endif
libnvidia-eglcore.so.%{version} \
libnvidia-encode.so.%{version} \
@@ -281,6 +282,7 @@ ln -sf libnvidia-nvvm.so.4 %{buildroot}%{_libdir}/libnvidia-nvvm.so
install -m 0755 -d %{buildroot}%{_datadir}/vulkan/{icd.d,implicit_layer.d}/
install -p -m 0644 nvidia_icd.json %{buildroot}%{_datadir}/vulkan/icd.d/
install -p -m 0644 nvidia_layers.json %{buildroot}%{_datadir}/vulkan/implicit_layer.d/
+ln -sf libnvidia-vulkan-producer.so.%{version}
%{buildroot}%{_libdir}/libnvidia-vulkan-producer.so
# X DDX driver and GLX extension
install -p -D -m 0755 libglxserver_nvidia.so.%{version}
%{buildroot}%{_libdir}/xorg/modules/extensions/libglxserver_nvidia.so
@@ -468,6 +470,8 @@ fi ||:
%{_libdir}/libnvidia-rtcore.so.%{version}
%{_libdir}/libnvoptix.so.1
%{_libdir}/libnvoptix.so.%{version}
+%{_libdir}/libnvidia-vulkan-producer.so.%{version}
+%{_libdir}/libnvidia-vulkan-producer.so
%{_winedir}/
%endif
%{_libdir}/libnvidia-eglcore.so.%{version}