Vulkan

Vulkan is Article description::a next-generation graphics API created by The Khronos Group. Its focus is to provide 3D graphics cross-platforms in a code once run anywhere fashion.

For Vulkan support, Gentoo has a basic package which provides the  shared object file.

USE flags
For media-libs/vulkan-loader:

For media-libs/mesa:

Installation
To enable vulkan functionality on supported AMD/ATI GPU it's required to:
 * 1) emerge media-libs/vulkan-loader OR/AND media-libs/mesa
 * 2) sys-kernel/linux-firmware
 * 3) kernel configuration
 * 4) USE flag
 * 5) VIDEO_CARDS flag.

ATI (Legacy)
To compile the open source Vulkan drivers the  USE flag must be enabled for. The following list shows the Vulkan supported GPU drivers in Mesa:

// Kernel configuration?

// What are supported ATI GPUS?

// wth is radv

// wth is anvil

AMDGPU
To enable vulkan functionality on supported AMD/ATI GPU it's required to emerge media-libs/vulkan-loader OR/AND media-libs/mesa and linux-firmware with kernel configuration, USE flag and VIDEO_CARDS flag.

in  set   on.

Add  AND   to /etc/portage/make.conf.

Add  to   if required.

Emerge required packages.

// What are supported AMD/ATI GPU?

Alternatives
The following alternative, closed-source drivers exist. These also provide Vulkan support:



You can check the (unofficial) Vulkan hardware database for a list of detailed GPU hardware capabilities for Vulkan.

Verifying vulkan functionality
Add  to  and emerge vulkan-tools:

example of working vulkan on gentoo: ...dammit gentoo

// Add working example

// {{emerge|package= didnt work..

Vulkan doesn't work on user and has issues in applications
Ask on #gentoo, get laugh at for using vulkaninfo "toy".. TRIGGERED

Change on   instead of. if  is set then vulkan-loader has issues with functionality on user and wierd glitches in applications.

Fix was temporary, filed bug report: https://bugs.gentoo.org/667686

// chmod 666

Tested on AMD Radeon 7870 by Kreyren (talk) 22:20, 3 October 2018 (UTC).