You are not logged in.
Pages: 1
For about 2 to 4 weeks i've been unable to play games that utilize Vulkan or use my GPU in Blender. I've been searching ever since for solutions or hints for ways to fix this.
I have a Ryzen 7 3700x, 16GB Ram with a RX580 8GB.
Today, after yet another search i runned vulkaninfo --summary and got a core dump:
vulkaninfo --summary
free(): invalid pointer
[1] 88463 abort (core dumped) vulkaninfo --summaryThis are the packages i have installed relative to AMDGPU and Vulkan
amd-ucode 20211027.1d00989-1
amdgpu-pro-libgl 21.30_1290604-1 (Radeon_Software_for_Linux) - AUR
lib32-amdgpu-pro-libgl 21.30_1290604-1 (Radeon_Software_for_Linux) - AUR
opencl-amd 20.45.1164792-4 - AUR
opencl-mesa 21.3.2-1
xf86-video-amdgpu 21.0.0-2 (xorg-drivers)
zenmonitor 1.4.2-2
zenpower-dkms 0.1.12-2
amdvlk 2021.Q4.3-1
lib32-amdvlk 2021.Q4.3-1
lib32-vkd3d 1.2-2
lib32-vulkan-icd-loader 1.2.202-1
lib32-vulkan-radeon 21.3.2-1
lib32-vulkan-validation-layers 1.2.199-1
spirv-tools 2021.3-1 (vulkan-devel)
vkd3d 1.2-1
vulkan-headers 1:1.2.202-1 (vulkan-devel)
vulkan-icd-loader 1.2.202-1
vulkan-radeon 21.3.2-1
vulkan-tools 1.2.199-1 (vulkan-devel)
vulkan-validation-layers 1.2.199-1 (vulkan-devel)I have to have Opencl-amd (AUR) so things works in blender and i have to have a downgrade version (20.45) because i have an RX580.
at this point i'm lost and don't know how to proceed.
Can anyone help me find a way to fix this?
Thanks in advance!
Last edited by quimkaos (2021-12-28 21:13:03)
Offline
Remove {lib32-}amdvlk they broke their own logic again, or use the DISABLE_LAYER_AMD_SWITCHABLE_GRAPHICS_1=1 method for switching and explicitly select radv's icd: https://wiki.archlinux.org/title/Vulkan … kan_driver
Last edited by V1del (2021-12-28 16:33:18)
Offline
I have to have Opencl-amd (AUR) so things works in blender and i have to have a downgrade version (20.45) because i have an RX580.
opencl-amd 21.40.2.1350682-3 does work on my RX 580, however blender 3 doesn't support opencl anymore and has very limited support for amd cards.
see https://docs.blender.org/manual/en/late … ering.html
Apart from V1del advice, consider removing amdgpu-pro-libgl & lib32-amdgpu-pro-libgl also
Last edited by Lone_Wolf (2021-12-28 16:47:37)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Uninstalled lib32-amdvlk, amdgpu-pro-libgl & lib32-amdgpu-pro-libgl
this made no difference and vulkaninfo --summary was still giving me free(): invalid pointer
after that i did:
export DISABLE_LAYER_AMD_SWITCHABLE_GRAPHICS_1=1
export VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/radeon_icd.i686.json:/usr/share/vulkan/icd.d/radeon_icd.x86_64.json
vulkaninfo --summaryand finally vulkan was working...
after that i did lutris -d and was able to run the game in question.
Thing is, if i close the console emulator i have to export the variables again.
What is the most appropriate way to make this configuration global/permanent?
should i add this to /etc/environment or to .bashrc/zshrc?
should i do this only in a per application way?
Thanks again!!!
edit:
opencl-amd 21.40.2.1350682-3 does work on my RX 580, however blender 3 doesn't support opencl anymore and has very limited support for amd cards.
thank you! i thought it was opencl fault, but blender removed support for RX500 cards and now only supports RX5000/6000 series and W6000 Series. I also use opencl for a little mining and it's working with the current version!
Last edited by quimkaos (2021-12-28 18:55:51)
Offline
You can also just remove amdvlk. you did only mention uninstalling lib32-amdvlk but there's a amdvlk as well.
If you want to export these globally anyway see: https://wiki.archlinux.org/title/Enviro … s#Globally.
Last edited by V1del (2021-12-28 20:12:31)
Offline
You can also just remove amdvlk. you did only mention uninstalling lib32-amdvlk but there's a amdvlk as well.
this was getting me confused... so basically i'm using the radeon driver because i have an RX580 (or amdvlk is "broken"). I'm removing amdvlk... Also the other lib32* are dependencies of Lutris and steam, so i can't remove them.
yeah i should already know everything about env vars (procrastination rules my life...), time to read about them...
Thanks for the great support!!!!
Offline
The radeon/radv driver is developed as part of mesa and should pretty much be the "go to" implementation for the majority of purposes. amdvlk is an occasionally updated driver by AMD that seems to generally have a few issues occasionally. And at least from most benchmarks is slower than radv.
Last edited by V1del (2021-12-28 22:30:58)
Offline
So they are different implementations of Vulkan. after removing amdvlk, vulkaninfo --summary works correctly, i have some other strange behaviors but i think they are unrelated...
Thanks for the clarification!
Last edited by quimkaos (2021-12-28 22:54:26)
Offline
Pages: 1