Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 691826

Summary: media-libs/vulkan-loader: applications segfault
Product: Gentoo Linux Reporter: PureTryOut <bribbers>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description PureTryOut 2019-08-09 13:27:04 UTC
For a while vulkan-loader hasn't been working at all for me. Any application trying to use Vulkan just segfaults, and vulkaninfo errors out:

▶ vulkaninfo 
==========
VULKANINFO
==========

Vulkan Instance Version: 1.1.106

/var/tmp/portage/dev-util/vulkan-tools-1.1.106-r1/work/Vulkan-Tools-2abb69904b9ad017d39d3da1e7fc3dec1a584cd8/vulkaninfo/vulkaninfo.c:5523: failed with VK_ERROR_INITIALIZATION_FAILED


I've recently switched to the no-multilib profile, might that have something to do with it?
Comment 1 PureTryOut 2019-08-10 13:42:19 UTC
After more debugging this ended up being a simple permission problem.

`RADV_DEBUG=all vkcube` showed me it couldn't open `/dev/dri/renderD128`. Trying it as root worked however. The solution was adding myself to the "video" group and relogging.