Broken Vulkan driver on Librem 5

I noticed a warning message about panvk not being “a conformant vulkan implementation”.

$ G_DEBUG= flatpak run org.gnome.Epiphany

(epiphany:2): Gdk-CRITICAL **: 08:59:49.716: Vulkan: ../src/panfrost/vulkan/panvk_physical_device.c:653: WARNING: panvk is not a conformant vulkan implementation, pass PAN_I_WANT_A_BROKEN_VULKAN_DRIVER=1 if you know what you're doing. (VK_ERROR_INCOMPATIBLE_DRIVER)

I do not know what I am doing but I tried.

$  G_DEBUG= PAN_I_WANT_A_BROKEN_VULKAN_DRIVER=1 flatpak run org.gnome.Epiphany

(epiphany:2): Gdk-CRITICAL **: 09:01:31.222: Vulkan: ../src/panfrost/vulkan/panvk_physical_device.c:676: device /dev/dri/renderD128 does not use the panfrost kernel driver (VK_ERROR_INCOMPATIBLE_DRIVER)

Why is there a warning about panvk? Should I look for panfrost kernel driver?

1 Like

There’s no Vulkan driver, so there’s nothing to be broken. panvk and panfrost aren’t applicable here.

2 Likes

You can theoretically use lavapipe on the device but then Vulkan is running in software on the CPU. So that’s far from ideal.

3 Likes