git: 507dbffa521a - main - x11-toolkits/wlroots: document Vulkan runtime requirements
Jan Beich
jbeich at FreeBSD.org
Wed Jun 23 19:59:18 UTC 2021
The branch main has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=507dbffa521a9ca9e5a2baacc81262b9bb9da13a
commit 507dbffa521a9ca9e5a2baacc81262b9bb9da13a
Author: Jan Beich <jbeich at FreeBSD.org>
AuthorDate: 2021-06-23 19:45:54 +0000
Commit: Jan Beich <jbeich at FreeBSD.org>
CommitDate: 2021-06-23 19:58:54 +0000
x11-toolkits/wlroots: document Vulkan runtime requirements
$ pkg install sway
$ WLR_RENDERER=vulkan sway
00:00:00.051 [wlr] [render/vulkan/vulkan.c:206] Could not create instance: ERROR_LAYER_NOT_PRESENT (-6)
00:00:00.051 [wlr] [render/vulkan/renderer.c:1525] creating vulkan instance for renderer failed
00:00:00.051 [wlr] [backend/backend.c:84] Failed to create backend renderer
00:00:00.052 [wlr] [render/vulkan/vulkan.c:206] Could not create instance: ERROR_LAYER_NOT_PRESENT (-6)
00:00:00.052 [wlr] [render/vulkan/renderer.c:1525] creating vulkan instance for renderer failed
00:00:00.052 [wlr] [backend/backend.c:84] Failed to create backend renderer
00:00:00.052 [sway/server.c:53] Unable to create backend
$ pkg install vulkan-validation-layers
$ WLR_RENDERER=vulkan sway
00:00:00.063 [wlr] [render/vulkan/vulkan.c:483] vulkan: required device extension VK_EXT_queue_family_foreign not found
00:00:00.063 [wlr] [render/vulkan/renderer.c:1545] Failed to create vulkan device
00:00:00.066 [wlr] [backend/backend.c:84] Failed to create backend renderer
00:00:00.115 [wlr] [render/vulkan/vulkan.c:483] vulkan: required device extension VK_EXT_queue_family_foreign not found
00:00:00.115 [wlr] [render/vulkan/renderer.c:1545] Failed to create vulkan device
00:00:00.118 [wlr] [backend/backend.c:84] Failed to create backend renderer
00:00:00.119 [sway/server.c:53] Unable to create backend
$ pkg install mesa-devel
$ WLR_RENDERER=vulkan sway -d
[...]
00:00:00.153 [wlr] [render/vulkan/texture.c:217] vulkan_texture_from_pixels: AR24, 10x16
00:00:00.153 [wlr] [render/vulkan/renderer.c:297] Created new vk staging buffer of size 1048576
00:00:00.154 [wlr] [render/swapchain.c:105] Allocating new swapchain buffer
00:00:00.154 [wlr] [render/gbm_allocator.c:130] Allocated 10x16 GBM buffer (format 0x34325241, modifier 0x100000000000002)
00:00:00.154 [wlr] [render/vulkan/renderer.c:433] vulkan create_render_buffer: AR24, 10x16
00:00:00.154 [wlr] [render/vulkan/texture.c:354] vulkan_import_dmabuf: AR24 (mod 100000000000002), 10x16, 1 planes
00:00:00.156 [wlr] [backend/headless/backend.c:29] Starting headless backend
00:00:00.156 [sway/server.c:260] Running compositor on wayland display 'wayland-2'
00:00:00.156 [wlr] [types/wlr_output.c:506] Choosing primary buffer format 0x34325241 for output 'WL-1'
00:00:00.156 [wlr] [render/swapchain.c:105] Allocating new swapchain buffer
00:00:00.156 [wlr] [render/gbm_allocator.c:130] Allocated 1280x720 GBM buffer (format 0x34325241, modifier 0x100000000000002)
00:00:00.156 [wlr] [render/vulkan/renderer.c:433] vulkan create_render_buffer: AR24, 1280x720
00:00:00.156 [wlr] [render/vulkan/texture.c:354] vulkan_import_dmabuf: AR24 (mod 100000000000002), 1280x720, 1 planes
00:00:00.159 [wlr] [render/swapchain.c:105] Allocating new swapchain buffer
00:00:00.160 [wlr] [render/gbm_allocator.c:130] Allocated 1280x720 GBM buffer (format 0x34325241, modifier 0x100000000000002)
00:00:00.160 [wlr] [render/vulkan/renderer.c:433] vulkan create_render_buffer: AR24, 1280x720
00:00:00.160 [wlr] [render/vulkan/texture.c:354] vulkan_import_dmabuf: AR24 (mod 100000000000002), 1280x720, 1 planes
00:00:00.170 [wlr] [render/swapchain.c:105] Allocating new swapchain buffer
00:00:00.170 [wlr] [render/gbm_allocator.c:130] Allocated 1280x720 GBM buffer (format 0x34325241, modifier 0x100000000000002)
00:00:00.170 [wlr] [render/vulkan/renderer.c:433] vulkan create_render_buffer: AR24, 1280x720
00:00:00.170 [wlr] [render/vulkan/texture.c:354] vulkan_import_dmabuf: AR24 (mod 100000000000002), 1280x720, 1 planes
^C
PR: 256793
Reported by: Evgeniy Khramtsov
---
x11-toolkits/wlroots/pkg-message | 1 +
1 file changed, 1 insertion(+)
diff --git a/x11-toolkits/wlroots/pkg-message b/x11-toolkits/wlroots/pkg-message
index 2968b526da78..4233113ab484 100644
--- a/x11-toolkits/wlroots/pkg-message
+++ b/x11-toolkits/wlroots/pkg-message
@@ -5,6 +5,7 @@ Known issues:
- On FreeBSD 11.* kernel needs to be rebuilt with EVDEV_SUPPORT
- On FreeBSD 11.* drm-kmod needs https://github.com/FreeBSDDesktop/kms-drm/pull/213
- NVIDIA may be affected by https://github.com/aritger/eglstreams-kms-example/issues/7
+- VULKAN currently requires mesa-devel and vulkan-validation-layers
EOM
}
]
More information about the dev-commits-ports-all
mailing list