Package Details: primus-vk-git 1.6.4.r0.g7076c2e-1

Git Clone URL: https://aur.archlinux.org/primus-vk-git.git (read-only, click to copy)
Package Base: primus-vk-git
Description: Nvidia Vulkan offloading for Bumblebee
Upstream URL: https://github.com/felixdoerre/primus_vk
Licenses: BSD-2-Clause
Conflicts: primus_vk
Provides: primus_vk
Submitter: Thaodan
Maintainer: xiota
Last Packager: xiota
Votes: 3
Popularity: 0.000000
First Submitted: 2018-12-30 05:25 (UTC)
Last Updated: 2024-07-19 20:01 (UTC)

Latest Comments

1 2 Next › Last »

xiota commented on 2024-07-09 09:24 (UTC)

primus_vk.cpp:34:10: fatal error: X11/extensions/Xrandr.h: No such file or directory
   34 | #include <X11/extensions/Xrandr.h>

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

EDIT: Tracking this error in https://bugs.archlinux.org/task/69146

OLD MESSAGE:
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)
    usr/include/vulkan/vk_layer_dispatch_table.h

and now it's:

extra/vulkan-validation-layers 1.2.162-1 (vulkan-devel)
    usr/include/vulkan/vulkan/vk_layer_dispatch_table.h

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: https://aur.archlinux.org/packages/primus-vk-git/#comment-683762

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 pvkrun.in.sh to contain:

#!/bin/bash
shopt -s nullglob

ICD_DIR=/usr/share/vulkan/icd.d
WRAPPER="$ICD_DIR/primus_vk_wrapper.json"
dirs=(
    "$ICD_DIR"
    /etc/vulkan/icd.d
    "$HOME/.local/share/vulkan/icd.d"
)

icds="$WRAPPER"

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

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 libnv_vulkan_wrapper.so file on "/usr/lib/libnv_vulkan_wrapper.so". 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.