Summary: | VK_ERROR_INITIALIZATION_FAILED with 280x: vkEnumeratePhysicalDevices(vk->inst, &num, NULL): VK_ERROR_INITIALIZATION_FAILED | ||
---|---|---|---|
Product: | Mesa | Reporter: | Cris <cristiano04> |
Component: | Drivers/Vulkan/radeon | Assignee: | mesa-dev |
Status: | RESOLVED NOTABUG | QA Contact: | mesa-dev |
Severity: | normal | ||
Priority: | medium | ||
Version: | git | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Cris
2017-10-23 18:21:55 UTC
So according to the glxinfo log, you're still using the radeon kernel driver.(See the DRM version bit in the renderer string? 2.x is radeon, 3.x is amdgpu). radv doesn't support the radeon driver currently. (In reply to Bas Nieuwenhuizen from comment #1) > So according to the glxinfo log, you're still using the radeon kernel > driver.(See the DRM version bit in the renderer string? 2.x is radeon, 3.x > is amdgpu). radv doesn't support the radeon driver currently. Oh yeah, I blacklisted radeon (and checked with lsmod | grep radeon) and it still didn't work. Adding some debug information in radv_EnumeratePhysicalDevices and/or stepping through it with a debugger might be a good idea. There are multiple reasons why enumeration can fail. (In reply to Cris from comment #2) > Oh yeah, I blacklisted radeon (and checked with lsmod | grep radeon) and it > still didn't work. That's not enough. You have to recompile the kernel with AMDGPU CIK support enabled. (In reply to Emil Velikov from comment #3) > Adding some debug information in radv_EnumeratePhysicalDevices and/or > stepping through it with a debugger might be a good idea. There are multiple > reasons why enumeration can fail. Do you want me to run gdb with vulkaninfo? (In reply to Vedran Miletić from comment #4) > (In reply to Cris from comment #2) > > Oh yeah, I blacklisted radeon (and checked with lsmod | grep radeon) and it > > still didn't work. > > That's not enough. You have to recompile the kernel with AMDGPU CIK support > enabled. Kernel was built with CONFIG_DRM_AMDGPU_SI=y. Apparently beginning with linux 4.13 you have to append "radeon.si_support=0 radeon.cik_support=0 amdgpu.si_support=1 amdgpu.cik_support=1" to the kernel command line. I did, and everything's working just fine. (In reply to Cris from comment #6) > Apparently beginning with linux 4.13 you have to append "radeon.si_support=0 > radeon.cik_support=0 amdgpu.si_support=1 amdgpu.cik_support=1" to the kernel > command line. I did, and everything's working just fine. Glad to hear! |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.