-
-
Notifications
You must be signed in to change notification settings - Fork 22k
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
Forward+ Window transparency is not working, works in Compatibility renderer #89205
Comments
This is also a problem for D3D12 in Forward+. I am running an Nvidia GPU so it isn't just AMD. |
Not related to the bug itself, but you don't need the script if you have both project settings enabled already. |
Doesn't work for me on Mobile, Compatibility, or Forward+, just shows a black screen. |
Can confirm, same thing happening after updating NVIDIA drivers v 556.12. It corrects when reverting to previous versions. |
Can you reproduce this on integrated graphics using the |
Reproduces using integrated graphics on Forward+ |
I am also seeing this with an Nvidia 2080 Super. Windows 10. Drivers: 560.81. Godot 4.3. Forward+ shows a black background rather than transparency. With the compatibility renderer transparency works just fine. Forward+ transparency works fine on my M3 Mac. Edit: Adjusting the "Vulkan/OpenGL present method" setting as described here allows Forward+ to work but that isn't really a viable thing to have every user do. |
Same problem with NVIDIA 3070, Windows 10, Godot 4.3 and latest drivers. |
Open Forward+ render(vulkan,dx12) doesn't work. According to the comments here, it may be amd's dxgi that causes the inability to use transparent window on vulkan. I searched and found that AMD enables dxgi swapchain in vulkan by default and it can't be turned off by the user. DXGI Swapchain on Opengl and Vulkan Games System infoAMD Driver version 24.5.1 Godot v4.3.stable - Windows 10.0.19045 - GLES3 (Compatibility) - AMD Radeon RX 7800 XT (Advanced Micro Devices, Inc.; 31.0.24033.1003) - 12th Gen Intel(R) Core(TM) i5-12400F (12 Threads) Godot v4.3.stable - Windows 10.0.19045 - Vulkan (Forward+) - dedicated AMD Radeon RX 7800 XT (Advanced Micro Devices, Inc.; 31.0.24033.1003) - 12th Gen Intel(R) Core(TM) i5-12400F (12 Threads) |
Hi folks, we seem to have isolated it to an NVIDIA graphics driver upgrade from version 546.33 to at least 546.33 with RTX cards on two systems: System 1:Doesn't work on:
However, switching to compatibility mode works:
System 2:Works on NVIDIA 546.33:
After an upgrade to 561.03 it's broken. Again, switching to compatibility mode worked. |
(Up to date AMD rig here) - Others' godot projects with transparent windows is broken. I cannot ask other creators to export in compatibility mode, and the comments on one suggested they already had. |
AMD driver 23.9.1 work for me,but 23.9.2 doesn't. My other computer is an AMD integrated graphics card, and its vulkan support stopped at 2.0.297, but the transparent window worked fine. Another software also had a similar issue, his amd driver working at 23.8.1 and not working at 23.10.1
@IFevre Maybe they use opengl. |
You can force a project to run with Compatibility by adding |
Same issue here. |
For me, turning off VSync in the project settings, and not using fullscreen or exclusive fullscreen fixed this! I can't believe the solution was so simple. |
#65487 Didn't see this thread until now, so had posted here, but looks to be the same thing. Only single Nvidia gpu on my system. Will have to try rolling back the driver, but odd that it would have been an issue, resolved then broke again. Yes, it was in fact related to the Nvidia GPU Vertical sync, If on Windows also make sure that within NVIDIA Control Panel that Manage 3D settings Vertical sync is set to "Use the 3D application setting" which is the default, or set to "off" EDIT: I came back to my project today with the transparent background turning black again. I had not changed anything. I don't know if it has something to do with the driver, but toggling vsync in the project settings did nothing, changing Nvidia Vsync to off did nothing. I'm not sure if restarting the pc helped, but after that played with toggling some more and it magically worked again. turned vsync on in the project settings and it still worked as expected. So hard to tell what is the cause. Godot 4.4 dev 6 Nvidia driver version 560.94 Created as simple of a project as possible to help with testing here #65487 for anyone that wants to test and see what results they get. |
Tested versions
Reproducible in 4.3 all dev snapshots, 4.2 and 4.1
System information
Godot v4.3.dev4 - Windows 10.0.19045 - Vulkan (Forward+) - dedicated AMD Radeon RX 6900 XT (Advanced Micro Devices, Inc.; 31.0.24002.92) - AMD Ryzen 9 7950X 16-Core Processor (32 Threads)
Issue description
Transparency does not work in the Forward+ renderer, at least on my system. It works fine in Compatibility renderer.
I set the correct parameters for transparency settings and I have used the same script on all the versions I tested:
4.3 all dev snapshots, 4.2 and 4.1
Project settings advanced enabled
project>project settings>Display > Window > per pixel transparency> enabled
project>project settings>Display > Window > transparent > enabled
Not sure if this an AMD issue.
Steps to reproduce
Enable Transparency settings in project settings:
Project settings advanced enabled
project>project settings>Display > Window > per pixel transparency> enabled
project>project settings>Display > Window > transparent > enabled
Create any type of node and add use a simple script to set the window and viewport to be transparent:
The window should be transparent, if not, try switching to Compatibility renderer.
Minimal reproduction project (MRP)
Bug Sample project files
The text was updated successfully, but these errors were encountered: