Created attachment 225449 [details] v1 (apply via "git am") Vulkan is a non-default rendering backend. Upstream builds it by default if dependencies are found. Vulkan in Gtk4 maybe useful for consumers that already use Vulkan e.g., multimedia, emulators, games. In general, OPENGL + VULKAN are similar to X11 + WAYLAND, both are going to coexist for years. # Need mesa-devel for overlay due to bug 250304 $ pkg install gtk4 mesa-dri mesa-devel $ VK_INSTANCE_LAYERS=VK_LAYER_MESA_overlay GSK_RENDERER=vulkan gtk4-demo https://docs.gtk.org/gtk4/running.html
Ship it.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=a5d572b40b8be0229fcfa3a667a9bff44713b449 commit a5d572b40b8be0229fcfa3a667a9bff44713b449 Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2021-05-30 16:40:36 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2021-06-01 14:14:54 +0000 x11-toolkits/gtk40: enable VULKAN by default Vulkan has to be explicitly enabled at runtime e.g., $ GSK_RENDERER=vulkan gtk4-demo PR: 256333 Inspired by: Alpine, AOSC, Arch, Ataraxia, Debian, KaOS, Mageia, Nix, openmamba, OpenMandriva, openSUSE, Pisi, Void Approved by: tcberner x11-toolkits/gtk40/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=4ee3b1cca9a512b7773d0f17a31eb57e2569996f commit 4ee3b1cca9a512b7773d0f17a31eb57e2569996f Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2021-06-01 13:40:11 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2021-06-01 14:14:53 +0000 x11-toolkits/gtk40: add missing VULKAN file $ make check-plist Error: Orphaned: include/gtk-4.0/gsk/vulkan/gskvulkanrenderer.h PR: 256333 Approved by: tcberner x11-toolkits/gtk40/pkg-plist | 1 + 1 file changed, 1 insertion(+)