fix amdvlk taking over

This commit is contained in:
Ward Nakchbandi 2023-04-10 12:30:35 +03:00
parent b3e718792d
commit b402695536
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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