Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 691826 - media-libs/vulkan-loader: applications segfault
Summary: media-libs/vulkan-loader: applications segfault
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-09 13:27 UTC by PureTryOut
Modified: 2019-08-10 13:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.