#Need help using vulkan through virgl renderer

4 messages · Page 1 of 1 (latest)

proud nymph
#

I run these commands to compile and install virglrenderer with venus enabled;

cd virglrenderer

meson build \
    -Dplatforms=egl \
    -Dvenus=true \
    -Dminigbm_allocation=false \
    -Dbuildtype=debugoptimized

ninja -C build install```

I start virgl_test_server with;
```virgl_test_server --venus```

Then i use this commad to test it;
```export VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/virtio_icd.x86_64.json
export VN_DEBUG=vtest
vulkaninfo```

But it gave me this error;
```gl_version 46 - core profile enabled
Vulkan support was not enabled in virglrenderer
failed to initialise renderer.
MESA-VIRTIO: debug: lost connection to rendering server on 8 read -1 104
Aborted (core dumped)

Any idea?

leaden monolith
#

There is a meson devenv command that can be used to test the library without installing it.

#

CONFIG_TRANSPARENT_HUGEPAGE=n is required if the host uses RADV.