You are not logged in.

#1 2021-11-13 16:41:20

skullnoober
Member
Registered: 2021-11-13
Posts: 18

[SOLVED] My AMD supports Vulkan, but Vulkan doesn't work.

I had to turn off the use of Vulkan in my Steam properties and do alot of things to overcome it for the past 2 weeks, but it is annoying, i installed Vulkan with

sudo pacman -S vulkan-radeon lib32-vulkan-radeon

just incase, and then installed and ran

vulkan-info

and got the following:

WARNING: [Loader Message] Code 0 : terminator_CreateInstance: Failed to CreateInstance in ICD 0.  Skipping ICD.
ERROR at /build/vulkan-tools/src/Vulkan-Tools-1.2.194/vulkaninfo/vulkaninfo.h:248:vkEnumeratePhysicalDevices failed with ERROR_INITIALIZATION_FAILED

I also ran

lsmod | grep amdgpu

and got:

amdgpu               7806976  0
gpu_sched              49152  1 amdgpu
i2c_algo_bit           16384  2 amdgpu,radeon
drm_ttm_helper         16384  2 amdgpu,radeon
ttm                    86016  3 amdgpu,radeon,drm_ttm_helper
drm_kms_helper        303104  2 amdgpu,radeon
drm                   589824  12 gpu_sched,drm_kms_helper,amdgpu,radeon,drm_ttm_helper,ttm

I'm kind of new to Linux, so I don't know what to do, please help

Last edited by skullnoober (2021-11-13 20:41:17)

Offline

#2 2021-11-13 16:47:08

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,300

Re: [SOLVED] My AMD supports Vulkan, but Vulkan doesn't work.

You need to set some module parameters to properly switch to amdgpu and hence vulkan support: https://wiki.archlinux.org/title/AMDGPU … parameters is that the case?

Last edited by V1del (2021-11-13 16:47:29)

Offline

#3 2021-11-13 17:58:20

skullnoober
Member
Registered: 2021-11-13
Posts: 18

Re: [SOLVED] My AMD supports Vulkan, but Vulkan doesn't work.

V1del wrote:

You need to set some module parameters to properly switch to amdgpu and hence vulkan support: https://wiki.archlinux.org/title/AMDGPU … parameters is that the case?

Could you walk me through? I tried following it but didn't know where to start from

Offline

#4 2021-11-13 17:59:07

skullnoober
Member
Registered: 2021-11-13
Posts: 18

Re: [SOLVED] My AMD supports Vulkan, but Vulkan doesn't work.

V1del wrote:

You need to set some module parameters to properly switch to amdgpu and hence vulkan support: https://wiki.archlinux.org/title/AMDGPU … parameters is that the case?

Could you walk me through? I tried following it but didn't know where to start from

Offline

#5 2021-11-13 18:39:40

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,300

Re: [SOLVED] My AMD supports Vulkan, but Vulkan doesn't work.

Pick one of the two options mentioned in the link and implement it.

Offline

#6 2021-11-13 18:44:01

skullnoober
Member
Registered: 2021-11-13
Posts: 18

Re: [SOLVED] My AMD supports Vulkan, but Vulkan doesn't work.

V1del wrote:

You need to set some module parameters to properly switch to amdgpu and hence vulkan support: https://wiki.archlinux.org/title/AMDGPU … parameters is that the case?

Nevermind, I just had to nano into mkinitcpio.conf, but the

MODULES

section is empty, do I just add

(amdgpu radeongpu)

to it?
https://imgur.com/zAXHOrO.png

Last edited by skullnoober (2021-11-13 18:45:31)

Offline

#7 2021-11-13 18:54:04

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,300

Re: [SOLVED] My AMD supports Vulkan, but Vulkan doesn't work.

You can do that but on it's own it's is going to change basically nothing and is essentially optional. the parameters, i.e. amdgpu.si=1 amdgpu.cik=1 radeon.si=0 radeon.cik=0 aren't.  You can either pick the modprobe option or the kernel parameter option, if you don't know how to set kernel parameters, the word kernel parameters is a link that gives you instructions depending on your boot loader.

The radeon module name would be radeon and not radeongpu though.

Offline

#8 2021-11-13 20:26:57

skullnoober
Member
Registered: 2021-11-13
Posts: 18

Re: [SOLVED] My AMD supports Vulkan, but Vulkan doesn't work.

V1del wrote:

You can do that but on it's own it's is going to change basically nothing and is essentially optional. the parameters, i.e. amdgpu.si=1 amdgpu.cik=1 radeon.si=0 radeon.cik=0 aren't.  You can either pick the modprobe option or the kernel parameter option, if you don't know how to set kernel parameters, the word kernel parameters is a link that gives you instructions depending on your boot loader.

The radeon module name would be radeon and not radeongpu though.

Yeah I did the modprobe option because it looked simpler lmao, I nanoe'd into both the amd and radeon ones as in the wiki and pasted the parameters, so it should be working now?
Edit:Thank you so much! It worked, I just had to reboot for it to apply

Last edited by skullnoober (2021-11-13 20:40:57)

Offline

#9 2021-11-13 20:42:59

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,300

Re: [SOLVED] My AMD supports Vulkan, but Vulkan doesn't work.

yes, check dmesg and/or lspci -k which should show amdgpu being the "Module in use:"

Offline

Board footer

Powered by FluxBB