From b4026955360edee1b9e862195af871a0ec15de61 Mon Sep 17 00:00:00 2001 From: Ward Nakchbandi Date: Mon, 10 Apr 2023 12:30:35 +0300 Subject: [PATCH] fix amdvlk taking over --- pika-amdgpu-core/debian/changelog | 2 +- pika-amdgpu-core/usr/bin/amdgpu-lib-refresh | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/pika-amdgpu-core/debian/changelog b/pika-amdgpu-core/debian/changelog index 93ca002..60e81fc 100644 --- a/pika-amdgpu-core/debian/changelog +++ b/pika-amdgpu-core/debian/changelog @@ -1,4 +1,4 @@ -pika-amdgpu-core (100:22.40.50403-1538781~22.04-2) kinetic; urgency=low +pika-amdgpu-core (100:22.40.50403-1538781~22.04-3) lunar; urgency=low * Update to 22.40.50403-1538781 diff --git a/pika-amdgpu-core/usr/bin/amdgpu-lib-refresh b/pika-amdgpu-core/usr/bin/amdgpu-lib-refresh index 47709fd..3435fcd 100755 --- a/pika-amdgpu-core/usr/bin/amdgpu-lib-refresh +++ b/pika-amdgpu-core/usr/bin/amdgpu-lib-refresh @@ -272,6 +272,8 @@ rm -rf /opt/amdgpu/pika/vulkan/x86_64-linux-gnu || echo if [[ "${AMD64_AMDVLK_EXISTS}" != 0 ]]; then mkdir -p /opt/amdgpu/pika/vulkan/x86_64-linux-gnu for i in $(dpkg-query -L amdvlk:amd64 | grep /x86_64-linux-gnu/ ); do ln -sfv $i /opt/amdgpu/pika/vulkan/x86_64-linux-gnu/ ; done + mkdir -p /opt/amdgpu/share/vulkan/icd.d/ + mv /etc/vulkan/icd.d/amd_icd*.json /opt/amdgpu/share/vulkan/icd.d/ || true fi ### Link i386 free vulkan packages @@ -279,6 +281,9 @@ rm -rf /opt/amdgpu/pika/vulkan/i386-linux-gnu || echo if [[ "${I386_AMDVLK_EXISTS}" != 0 ]]; then mkdir -p /opt/amdgpu/pika/vulkan/i386-linux-gnu for i in $(dpkg-query -L amdvlk:i386 | grep /i386-linux-gnu/ ); do ln -sfv $i /opt/amdgpu/pika/vulkan/i386-linux-gnu/ ; done + mkdir -p /opt/amdgpu/share/vulkan/icd.d/ + mv /etc/vulkan/icd.d/amd_icd*.json /opt/amdgpu/share/vulkan/icd.d/ || true + fi ldconfig