-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure that only one Vulkan ICD manifest is present.
Install a single nvidia_icd.json file, only for x64, to prevent having two ICD manifests present when both x64 and i686 driver libraries are installed. Having multiple Vulkan ICD manifest installed tricks the Vulkan loader into thinking that two adapters are installed. Fixes #95
- Loading branch information
Showing
1 changed file
with
8 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
|
||
Name: nvidia-driver | ||
Version: 440.59 | ||
Release: 1%{?dist} | ||
Release: 2%{?dist} | ||
Summary: NVIDIA's proprietary display driver for NVIDIA graphic cards | ||
Epoch: 3 | ||
License: NVIDIA License | ||
|
@@ -276,16 +276,18 @@ install -p -m 0644 nvidia-application-profiles-%{version}-rc \ | |
|
||
%endif | ||
|
||
%ifarch x86_64 | ||
|
||
%if 0%{?fedora} || 0%{?rhel} >= 7 | ||
# Vulkan loader | ||
install -p -m 0644 nvidia_icd.json %{buildroot}%{_datadir}/vulkan/icd.d/nvidia_icd.%{_target_cpu}.json | ||
install -p -m 0644 nvidia_icd.json %{buildroot}%{_datadir}/vulkan/icd.d/ | ||
%endif | ||
|
||
%ifarch x86_64 | ||
%if 0%{?fedora} || 0%{?rhel} >= 8 | ||
# Vulkan layer | ||
install -p -m 0644 nvidia_layers.json %{buildroot}%{_datadir}/vulkan/implicit_layer.d/ | ||
%endif | ||
|
||
%endif | ||
|
||
# EGL loader | ||
|
@@ -451,6 +453,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/com.nvidia.dri | |
%{_libdir}/libnvidia-ml.so.%{version} | ||
|
||
%changelog | ||
* Tue Feb 14 2020 Jens Peters <[email protected]> - 3:440.59-2 | ||
- Ensure that only one Vulkan ICD manifest is present. | ||
|
||
* Tue Feb 04 2020 Simone Caronni <[email protected]> - 3:440.59-1 | ||
- Update to 440.59. | ||
|
||
|