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

Git Clone URL: https://aur.archlinux.org/primus-vk-git.git (read-only)
Package Base: primus-vk-git
Description: Primus-Vk Nvidia Vulkan offloading for Bumblebee
Upstream URL: https://github.com/felixdoerre/primus_vk
Licenses: BSD
Submitter: Thaodan
Maintainer: Thaodan
Last Packager: Thaodan
Votes: 1
Popularity: 0.205456
First Submitted: 2018-12-30 05:25
Last Updated: 2019-01-03 23:45

Latest Comments

Tyilo commented on 2019-02-26 12:22

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

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

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

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

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

PedroHLC commented on 2019-01-02 18:27

I think URL and description are swapped in PKGBUILD...