Package Details: primus-vk-git r62.52ceb2c-1

Git Clone URL: (read-only, click to copy)
Package Base: primus-vk-git
Description: Primus-Vk Nvidia Vulkan offloading for Bumblebee
Upstream URL:
Licenses: BSD
Submitter: Thaodan
Maintainer: Thaodan
Last Packager: Thaodan
Votes: 3
Popularity: 0.000000
First Submitted: 2018-12-30 05:25 (UTC)
Last Updated: 2019-01-03 23:45 (UTC)

Latest Comments

1 2 Next › Last »

PedroHLC commented on 2020-12-30 17:29 (UTC) (edited on 2020-12-30 19:42 (UTC) by PedroHLC)

EDIT: Tracking this error in

primus_vk.cpp:7:10: fatal error: vk_layer_dispatch_table.h: No such file or directory
    7 | #include "vk_layer_dispatch_table.h"

Seems like they nested it for some reason, in older version it was:

extra/vulkan-validation-layers 1.2.158-1 (vulkan-devel)

and now it's:

extra/vulkan-validation-layers 1.2.162-1 (vulkan-devel)

But I don't see any bug-filled for this, and this package was built in 2020/12/11 (a long time ago). Was it on purpose?

hagabaka commented on 2019-06-16 04:35 (UTC)

@Tylio's solution worked for me:

Although the WRAPPER value should now be "$ICD_DIR/nv_vulkan_wrapper.json"

nariox commented on 2019-06-03 19:44 (UTC)

For those having trouble building, the problem is that vulkan-headers is 1.1.108, while the validation layers is at 1.1.107. Downgrading vulkan headers to 1.1.107 allowed me to build the package.

Tyilo commented on 2019-02-26 12:22 (UTC)

A fix is to modify to contain:

shopt -s nullglob



for d in "${dirs[@]}"; do
    for f in "$d"/*; do
        if [ "$f" != "$WRAPPER" ]; then

VK_ICD_FILENAMES="$icds" ENABLE_PRIMUS_LAYER=1 exec primusrun "$@"

The important thing is that intel icd's are listed in VK_ICD_FILENAME and that primus-vk-wrapper.json comes before nvidia_icd.json in the list.

This way you don't have to do what @Alderaeney says.

Tyilo commented on 2019-02-26 11:26 (UTC)

I'm getting the following error when running "pvkrun vulkaninfo":

PrimusVK: No device for the rendering GPU found. Is the correct driver installed?

Thaodan commented on 2019-01-16 13:22 (UTC)

Please read the PKGBUILD! Thats why there's a primus-vk-wrapper.json file in the pkg.

Alderaeney commented on 2019-01-16 13:18 (UTC)

In order to get working primus with vulkan is needed to patch "/usr/share/vulkan/icd.d/nvidia_icd.json" pointing to the file on "/usr/lib/". So if the mantainer can change the installation to patch this will be great. Thanks.

Thaodan commented on 2019-01-03 00:13 (UTC)

First please dont spam logs. use a pasting service. 2nd for issues regarding the software please report upstream.