-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vulkan: Editor appears "washed out" or "white-ish" (Mesa drivers) #47585
Comments
I can't reproduce this on commit 86108679b on Linux (GeForce GTX 1080, NVIDIA 460.67, LDR display). Are you using an HDR display by any chance? |
@Calinou No, just a regular display (LG, 1080p from circa 2014-2015). Any more info I can give to help find the problem?
vulkaninfo output
|
Same issue here. Running Linux Mint 20 with a RX 580.
vulkaninfo output
|
Is anyone able to test this with the AMDGPU-PRO drivers instead of RADV? I wonder if this bug is specific to an AMD driver. |
It's not AMD specific, it's Mesa specific. I can reproduce it with both Intel and AMD running Mesa 21.1. |
I can confirm it's a regression from #47561. |
Godot version:
master @ 8f7f584
Built with GCC 10.2
OS/device including version:
PopOS 20.04 (ubuntu 20.04)
AMD Radeon RX 5700XT
Intel Haswell CPU
Issue description:
The editor appears "white-ish" or "washed out" (see image)
Steps to reproduce:
Open editor
Minimal reproduction project:
Any project will do, I think, at least all that I've tried.
The problem seems to be here:
godot/drivers/vulkan/vulkan_context.cpp
Line 994 in 1328208
On my system:
Manually setting
format = VK_FORMAT_B8G8R8A8_UNORM
works and the editor is not washed out, but I don't think that's a solution. I noticed this was recently changed in 1328208 (before that it wasif (true || (formatCount == 1 && surfFormats[0].format == VK_FORMAT_UNDEFINED))
which is debug code, as the commit message implies.)So the problem appears to be that
VK_FORMAT_B8G8R8A8_SRGB
is not properly handled, at least on my system.The text was updated successfully, but these errors were encountered: