Closed raupach closed 2 years ago
I've noticed the same issue. It seems that vkEnumeratePhysicalDevices
returns VK_INCOMPLETE
even when provided with an appropriately sized array of VkPhysicalDevice
s (as determined by a previous call to get the size required), and apps are getting confused by this, with good reason. Even something as simple as vkcube
or vulkaninfo
will break.
Had the same problem on arch, had to rollback
@raupach @tycho @mihalycsaba what version of Vulkan loader is installed in your system?
@raupach @tycho @mihalycsaba what version of Vulkan loader is installed in your system?
pacman -Qi vulkan-icd-loader
Name : vulkan-icd-loader
Version : 1.3.217-1
Looked around in the mentioned issues, adding VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/radeon_icd.x86_64.json fixes the problem.
I also noticed that games will continue to run just fine if you uninstall the amdvlk
package
@raupach @tycho @mihalycsaba what version of Vulkan loader is installed in your system?
pacman -Qi vulkan-icd-loader Name : vulkan-icd-loader Version : 1.3.217-1
Same version of the loader here.
I'm pretty sure something changed in the implicit VK_LAYER_AMD_switchable_graphics
layer which is causing the vkEnumeratePhysicalDevices
behavior change.
For what it’s worth, 2022.Q2.3 works fine on NixOS with vulkan-loader 1.3.211 and 1.3.216.
Can't confirm it here. 2022.Q2.3 (+ vulkan loader 1.3.215) works fine on OpenMandriva Cooker. Right now tested only few games and only 64bit but Dota2 (native vulkan) works, Witcher3 (proton/dxvk) works, X4 Foundation (native vulkan) works, Warzone 2100 (opensource native vulkan) works and Vampire The Masqarade Blood Hunt (proton) works.
I suspect it's only reproducible for people with switchable graphics (e.g. AMD iGPU + NVIDIA dGPU laptops).
Had this issue with an AMD 6800, no iGPU. It also caused vulkaninfo to just hang. Had it with both icds 217 and 213.
I second @gdiShun ! RX6900XT (no igpu) , vulkaninfo hangs ! vkcube did work tho. removed amdvlk and its 32 bits and it works.
All see this issue on arch? Is anyone from non-arch distro that is affected?
All see this issue on arch? Is anyone from non-arch distro that is affected?
I can reproduce on KDE neon (based on Ubuntu 20.04). I can't find a "vulkan-loader" or similar package, but vulkan-tools is at version 1.2.131.1. On version 2022.Q2.3 no games start, as they complain they can't find a DirectX 11-compatible device; reverting back to 2022.Q2.2 fixes the issue. I am on a desktop PC with a Radeon RX 5700 XT as the only GPU. I'm happy to provide more info if needed/requested.
@raupach @tycho @mihalycsaba what version of Vulkan loader is installed in your system?
pacman -Qi vulkan-icd-loader Name : vulkan-icd-loader Version : 1.3.217-1
Had the same issues with The Sims 4 and Rogue Legacy 2
While the latter was fixed by rolling back amdvlk to 2022.Q2.2
, Sims needed a bit more care:
uname -a
Linux andlang 5.18.11-zen1-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Tue, 12 Jul 2022 15:44:35 +0000 x86_64 GNU/Linux
cd /var/cache/packman/pkg
sudo pacman -U vulkan-radeon-22.1.1-1-x86_64.pkg.tar.zst \
lib32-vulkan-radeon-22.1.1-1-x86_64.pkg.tar.zst \
vulkan-headers-1:1.3.213-1-any.pkg.tar.zst \
lib32-vulkan-icd-loader-1.3.213-1-x86_64.pkg.tar.zst \
vulkan-icd-loader-1.3.213-1-x86_64.pkg.tar.zst
Leaving this as it might help someone.
Seems fixed on v-2022.Q3.1.
The following error occurs with version v-2022.Q2.3 and the game crashes (the error is independent of any game and occurs with all of them):
Environment: wine 7.11 heroic version 2.3.9 linux arch
When I roll back the version to v-2022.Q2.2 the error does not occur.