Attention
Topic was automatically imported from the old Question2Answer platform.
Asked By
OffPlanet
Hello,
I’m using Godot4 and I tried both the steam version and the download one (.NET). For some reason at random intervals I’ll get a driver timeout on my AMD 5700XT GPU
It’s really annoying to deal with and I’d rather avoid enabling switching to Compatibility, is there anything that I can do to fix this?
Reply From:
jgodfrey
This seems to be a known, ongoing (and apparently illusive) situation as detailed in the following Github issue. If you have any new, relevant info - feel free to add it to the issue discussion.
opened 06:30PM - 23 Jan 23 UTC
bug
topic:rendering
confirmed
tracker
### Godot version
4.0 beta14 and earlier and likely later
### System infor… mation
Most users are on Windows, some on Linux, variety of GPUs (intel, nVidia and AMD)
### Issue description
I am opening this tracker issue as a central place to track a bug that seems to be plaguing a variety of users. The bug occurs quite randomly, but appears to be most often connecting with complex shaders and/or updating uniforms.
The bug leads to a freeze or crash when updating swap buffers along with the following errors:
```
E 0:00:01:0015 VulkanContext::swap_buffers: Condition "err" is true. Returning: ERR_CANT_CREATE
<C++ Source> drivers\vulkan\vulkan_context.cpp:2299 @ VulkanContext::swap_buffers()
E 0:00:01:0016 VulkanContext::prepare_buffers: Vulkan: Did not create swapchain successfully.
<C++ Error> Condition "err != VK_SUCCESS" is true. Breaking.
<C++ Source> drivers\vulkan\vulkan_context.cpp:2222 @ VulkanContext::prepare_buffers()
```
For some users these errors spam the console while the engine itself is frozen.
This issue is very difficult to debug as it is near impossible to reproduce reliably for people other than the affected users.
```[tasklist]
- [ ] https://github.com/godotengine/godot/issues/71453
- [ ] https://github.com/godotengine/godot/issues/70946
- [ ] https://github.com/godotengine/godot/issues/69855
- [ ] https://github.com/godotengine/godot/issues/69046 (may not be connected as the issue went away with a driver update)
- [ ] https://github.com/godotengine/godot/issues/67404
- [ ] https://github.com/godotengine/godot/issues/59699
- [ ] https://github.com/godotengine/godot/issues/71841
- [ ] https://github.com/godotengine/godot/issues/60755
- [ ] https://github.com/godotengine/godot/issues/60979
- [ ] https://github.com/godotengine/godot/issues/52112
- [ ] https://github.com/godotengine/godot/issues/56856
- [ ] https://github.com/godotengine/godot/issues/74499
- [ ] https://github.com/godotengine/godot/issues/74554
- [ ] https://github.com/godotengine/godot/issues/74700
- [ ] https://github.com/godotengine/godot/issues/75659
```
### Steps to reproduce
Steps to reproduce can be found in individual reports
### Minimal reproduction project
See individual reports
Thanks, it’s weird, I tried to see if this issue was known before asking and I couldnt see it. Thanks for the heads up
OffPlanet | 2023-05-09 20:25