Skip to content

Conversation

@mvvvv
Copy link
Contributor

@mvvvv mvvvv commented Dec 6, 2025

Tests on Windows 11 up to date (VirtualBox on Ubuntu 25.10) using the llvmpipe driver.

Modification tested back on Ubuntu 25.10 : linux build / Mingw build /Android Quest2 /Android XR emulator

Copy link
Contributor Author

@mvvvv mvvvv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Error that occurs with linux build but not with mingw/wine :

mv@mv-R8700F:~/dvlt/sk_renderer$ cmake --build build -j8 --target run
[ 0%] Built target spirv-tools-tables
[ 0%] Built target spirv-tools-header-OpenCLDebugInfo100
[ 0%] Built target spirv-tools-build-version
[ 0%] Built target spirv-tools-header-NonSemanticShaderDebugInfo100
[ 3%] Built target spirv-tools-header-DebugInfo
[ 14%] Built target sdl_headers_copy
[ 17%] Built target volk
[ 17%] Built target spirv-reflect-static
[ 17%] Built target extinst_tables
[ 17%] Built target core_tables
[ 28%] Built target SPIRV-Tools-static
[ 65%] Built target SDL2
[ 82%] Built target SPIRV-Tools-opt
[ 84%] Built target SPIRV
[ 90%] Built target glslang
[ 90%] Built target skshaderc_lib
[ 90%] Built target skshaderc
[ 93%] Built target sk_renderer_test_shaders
[ 95%] Built target sk_renderer
[100%] Built target sk_renderer_test
[skr:info] Using GPU: NVIDIA GeForce RTX 4070 SUPER
[Vulkan:ERROR:-1920473873] vkCreateSwapchainKHR(): pCreateInfo->presentMode (VK_PRESENT_MODE_FIFO_LATEST_READY_KHR) requires the extensions VK_KHR_present_mode_fifo_latest_ready or VK_EXT_present_mode_fifo_latest_ready.
The Vulkan spec states: presentMode must be a valid VkPresentModeKHR value (https://docs.vulkan.org/spec/latest/chapters/VK_KHR_surface/wsi.html#VUID-VkSwapchainCreateInfoKHR-presentMode-parameter)
[Vulkan:ERROR:-1700454994] vkCreateSwapchainKHR(): pCreateInfo->presentMode is VK_PRESENT_MODE_FIFO_LATEST_READY_KHR, but feature presentModeFifoLatestReady is not enabled.
The Vulkan spec states: If the presentModeFifoLatestReady feature is not enabled, presentMode must not be VK_PRESENT_MODE_FIFO_LATEST_READY_KHR (https://docs.vulkan.org/spec/latest/chapters/VK_KHR_surface/wsi.html#VUID-VkSwapchainCreateInfoKHR-presentModeFifoLatestReady-10161)
[app:info] sk_renderer initialized successfully!
[app:info] Scene utilities initialized
[app:info] Asset loader thread started
[app:info] ImGui initialized successfully!
[app:info] Application created successfully!
[app:info] Available scenes: 12 (use arrow keys to switch)
[app:info] scene_text: Loaded font: CascadiaMono.ttf
[app:info] scene_text: Vector text scene initialized
[app:info] Switched to scene: Vector Text
[app:info] Render target: 2560x1440 @ 4x, bgra32_srgb / depth24s8
[app:info] Switched to scene: Video Player
[video] Loaded successfully
[skr:info] Thread #2 shutdown, marking as non-alive for reuse
[app:info] Switched to scene: Meshes (Cubes & Pyramids)
[Vulkan:ERROR:-36706146] vkCmdPushDescriptorSetKHR(): pDescriptorWrites[0].pBufferInfo[0].offset (16) must be a multiple of device limit minUniformBufferOffsetAlignment (64) when descriptorType is VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER.
The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER or VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC, the offset member of each element of pBufferInfo must be a multiple of VkPhysicalDeviceLimits::minUniformBufferOffsetAlignment (https://docs.vulkan.org/spec/latest/chapters/descriptorsets.html#VUID-VkWriteDescriptorSet-descriptorType-00327)
[Vulkan:ERROR:-36706146] vkCmdPushDescriptorSetKHR(): pDescriptorWrites[0].pBufferInfo[0].offset (80) must be a multiple of device limit minUniformBufferOffsetAlignment (64) when descriptorType is VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER.
The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER or VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC, the offset member of each element of pBufferInfo must be a multiple of VkPhysicalDeviceLimits::minUniformBufferOffsetAlignment (https://docs.vulkan.org/spec/latest/chapters/descriptorsets.html#VUID-VkWriteDescriptorSet-descriptorType-00327)
[Vulkan:ERROR:-36706146] vkCmdPushDescriptorSetKHR(): pDescriptorWrites[0].pBufferInfo[0].offset (16) must be a multiple of device limit minUniformBufferOffsetAlignment (64) when descriptorType is VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER.
The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER or VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC, the offset member of each element of pBufferInfo must be a multiple of VkPhysicalDeviceLimits::minUniformBufferOffsetAlignment (https://docs.vulkan.org/spec/latest/chapters/descriptorsets.html#VUID-VkWriteDescriptorSet-descriptorType-00327)
[Vulkan:ERROR:-36706146] vkCmdPushDescriptorSetKHR(): pDescriptorWrites[0].pBufferInfo[0].offset (80) must be a multiple of device limit minUniformBufferOffsetAlignment (64) when descriptorType is VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER.
The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER or VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC, the offset member of each element of pBufferInfo must be a multiple of VkPhysicalDeviceLimits::minUniformBufferOffsetAlignment (https://docs.vulkan.org/spec/latest/chapters/descriptorsets.html#VUID-VkWriteDescriptorSet-descriptorType-00327)
[Vulkan:ERROR:-36706146] vkCmdPushDescriptorSetKHR(): pDescriptorWrites[0].pBufferInfo[0].offset (16) must be a multiple of device limit minUniformBufferOffsetAlignment (64) when descriptorType is VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER.
The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER or VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC, the offset member of each element of pBufferInfo must be a multiple of VkPhysicalDeviceLimits::minUniformBufferOffsetAlignment (https://docs.vulkan.org/spec/latest/chapters/descriptorsets.html#VUID-VkWriteDescriptorSet-descriptorType-00327)
[Vulkan:ERROR:-36706146] vkCmdPushDescriptorSetKHR(): pDescriptorWrites[0].pBufferInfo[0].offset (80) must be a multiple of device limit minUniformBufferOffsetAlignment (64) when descriptorType is VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER.
The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER or VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC, the offset member of each element of pBufferInfo must be a multiple of VkPhysicalDeviceLimits::minUniformBufferOffsetAlignment (https://docs.vulkan.org/spec/latest/chapters/descriptorsets.html#VUID-VkWriteDescriptorSet-descriptorType-00327)
[Vulkan:ERROR:-36706146] vkCmdPushDescriptorSetKHR(): pDescriptorWrites[0].pBufferInfo[0].offset (16) must be a multiple of device limit minUniformBufferOffsetAlignment (64) when descriptorType is VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER.
The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER or VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC, the offset member of each element of pBufferInfo must be a multiple of VkPhysicalDeviceLimits::minUniformBufferOffsetAlignment (https://docs.vulkan.org/spec/latest/chapters/descriptorsets.html#VUID-VkWriteDescriptorSet-descriptorType-00327)
[Vulkan:ERROR:-36706146] vkCmdPushDescriptorSetKHR(): pDescriptorWrites[0].pBufferInfo[0].offset (80) must be a multiple of device limit minUniformBufferOffsetAlignment (64) when descriptorType is VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER.
The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER or VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC, the offset member of each element of pBufferInfo must be a multiple of VkPhysicalDeviceLimits::minUniformBufferOffsetAlignment (https://docs.vulkan.org/spec/latest/chapters/descriptorsets.html#VUID-VkWriteDescriptorSet-descriptorType-00327)
[Vulkan:ERROR:-36706146] vkCmdPushDescriptorSetKHR(): pDescriptorWrites[0].pBufferInfo[0].offset (16) must be a multiple of device limit minUniformBufferOffsetAlignment (64) when descriptorType is VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER.
The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER or VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC, the offset member of each element of pBufferInfo must be a multiple of VkPhysicalDeviceLimits::minUniformBufferOffsetAlignment (https://docs.vulkan.org/spec/latest/chapters/descriptorsets.html#VUID-VkWriteDescriptorSet-descriptorType-00327)
[Vulkan:ERROR:-36706146] (Warning - This VUID has now been reported 10 times, which is the duplicated_message_limit value, this will be the last time reporting it).
vkCmdPushDescriptorSetKHR(): pDescriptorWrites[0].pBufferInfo[0].offset (80) must be a multiple of device limit minUniformBufferOffsetAlignment (64) when descriptorType is VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER.
The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER or VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC, the offset member of each element of pBufferInfo must be a multiple of VkPhysicalDeviceLimits::minUniformBufferOffsetAlignment (https://docs.vulkan.org/spec/latest/chapters/descriptorsets.html#VUID-VkWriteDescriptorSet-descriptorType-00327)
[app:info] Switched to scene: Reaction-Diffusion Simulation
[app:info] Switched to scene: Orbital Particles
[app:info] Switched to scene: Impostor Quad (Tree)
[app:info] Switched to scene: Array Texture Stereo
[app:info] Switched to scene: 3D Texture (Sphere Slices)
[app:info] Switched to scene: Cubemap (Reflection & Skybox)
[app:info] GLTF: Loading DamagedHelmet.glb
[app:info] Loaded skybox: cubemap.jpg (256x256)
[app:info] Switched to scene: GLTF Model
[app:info] GLTF: Ready (1 meshes, 3 textures)
[app:info] Switched to scene: Shadow Mapping
[app:info] Switched to scene: Cloth Sim (CPU)
[app:info] scene_text: Loaded font: CascadiaMono.ttf
[app:info] scene_text: Vector text scene initialized
[app:info] Switched to scene: Vector Text
[app:info] Completed 14173 frames, shutting down...
[app:info] GPU Time: avg 0.18 ms (5699.6 FPS), min 0.06 ms, max 1.77 ms, 14167 samples
[app:info] Asset loader thread stopped
[skr:info] Thread #1 shutdown, marking as non-alive for reuse
[app:info] Scene utilities shut down
[app:info] Application destroyed
[100%] Built target run

(VK_PRESENT_MODE_FIFO_LATEST_READY_KHR) requires
the extensions VK_KHR_present_mode_fifo_latest_ready
or VK_EXT_present_mode_fifo_latest_ready.
@mvvvv mvvvv closed this Jan 7, 2026
@mvvvv mvvvv deleted the test_windows3 branch January 7, 2026 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant