freebsd-ports/x11-toolkits/wlroots
Jan Beich 507dbffa52 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
2021-06-23 19:58:54 +00:00
..
files
distinfo x11-toolkits/wlroots: update to 0.14.0 2021-06-23 18:07:18 +00:00
Makefile x11-toolkits/wlroots: expose Vulkan renderer 2021-06-23 18:13:35 +00:00
pkg-descr
pkg-message x11-toolkits/wlroots: document Vulkan runtime requirements 2021-06-23 19:58:54 +00:00
pkg-plist x11-toolkits/wlroots: update to 0.14.0 2021-06-23 18:07:18 +00:00