godotengine / godotengine/godot
Running TPS demo on macOS emits Vulkan error
- Dominant language
- C++
- Stars
- 117k
- Forks
- 26.8k
- PR merge metrics
- PR metrics pending
Description
### Tested versions
Godot Engine v4.3.dev.custom_build.11d376813 (2024-04-25 15:12:47 UTC)
### System information
Vulkan 1.2.280 - Forward+ - Using Device #0: Apple - Apple M1
### Issue description
Running the TDP demo emits the following Vulkan error repeatedly. No obvious visible malfunctions.
```
[mvk-error] VK_INCOMPLETE: Error writing pipeline cache data: Failed to write 4 bytes to output stream! Wrote 0
ERROR: VALIDATION - Message Id Number: 0 | Message Id Name:
VK_INCOMPLETE: Error writing pipeline cache data: Failed to write 4 bytes to output stream! Wrote 0
Objects - 1
Object[0] - VK_OBJECT_TYPE_PIPELINE_CACHE, Handle 105553165996896
at: _debug_messenger_callback (drivers/vulkan/rendering_context_driver_vulkan.cpp:304)
```
### Steps to reproduce
Run TPS demo. Observe error message on console.
### Minimal reproduction project (MRP)
https://github.com/godotengine/tps-demo
Contributor guide
Research direction
Reproduce the repeated error with the TPS demo on the reported Apple M1 setup, then inspect drivers/vulkan/rendering_context_driver_vulkan.cpp around _debug_messenger_callback at line 304. Trace how pipeline cache data is written and determine the expected handling for the failed output stream. Done means the reported console error is resolved or its handling is clearly corrected without introducing visible regressions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, macos
- Domain
- computer-graphics, desktop-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100