Emulator Issues #10527
closedBlackscreen in all games using Vulkan
0%
Description
What's the problem? Describe what went wrong.
[Description here]
Black screen in all games when using vulkan backend. It doesn´t matter if antialiasing or ubershaders is on/off.
Tested with Nvidia drivers 385.28 and 385.41
This problem started in 5.0-5419 "Vulkan: Drop VK_NV_glsl extension support" all the other backends works as expected, but after 5.0-5419 all is black.
Specs:
Windows 10 x64
GTX 970
16 GB DDR3
i7 4790k
Files
Updated by Stenzek over 7 years ago
- Status changed from New to Questionable
Delete your shader cache, and try again.
Updated by LuismaSP over 7 years ago
Stenzek wrote:
Delete your shader cache, and try again.
I tried that the first. But still failing.
Updated by LuismaSP over 7 years ago
LuismaSP wrote:
Stenzek wrote:
Delete your shader cache, and try again.
I tried that the first. But still failing.
It seems that the problem is with the post processing effects (I use FXAA) if you set it before playing a game using vulkan backend, when the game is opened, all you can see is a blackscreen. And if you go to the post processing again, it reverts to "none"
Using it without FXAA the game is Ok.
Updated by Stenzek over 7 years ago
Post-processing works fine for me on my system (although, I didn't try with MSAA). The saving problem is a separate issue that's not Vulkan-specific, fixed by PR https://github.com/dolphin-emu/dolphin/pull/6032.
Updated by LuismaSP over 7 years ago
Stenzek wrote:
Post-processing works fine for me on my system (although, I didn't try with MSAA). The saving problem is a separate issue that's not Vulkan-specific, fixed by PR https://github.com/dolphin-emu/dolphin/pull/6032.
I tested it with FXAA, and if you open the graphics tab, it restarts the post processing by default "none".
Can you try to force FXAA in the config file. And then, without opening the graphics tab, start a game?
MSAA is not the problem here (at least this time)
Updated by Stenzek over 7 years ago
Working fine for me. Not sure what's going on there, perhaps it is some other setting that causes the issue? Have you tried on a clean config? (e.g. portable.txt)
Edit: This could still be related to glslang/spv.
Updated by LuismaSP over 7 years ago
Stenzek wrote:
Working fine for me. Not sure what's going on there, perhaps it is some other setting that causes the issue? Have you tried on a clean config? (e.g. portable.txt)
Edit: This could still be related to glslang/spv.
I Tried with default settings too (Clean config) and still happens.
And no doubt, the issue is very specific in this case, only happens when Vulkan + FXAA is used in any game. (At least for me) since 5.0-5419
Updated by Stenzek over 7 years ago
Could you please try with PR 6038? I'm wondering if this is a glslang issue.
Link: https://github.com/dolphin-emu/dolphin/pull/6038
Windows build: https://dl.dolphin-emu.org/prs/pr-6038-dolphin-latest-x64.7z
Updated by LuismaSP over 7 years ago
- File PR 6038 Without FXAA.jpg PR 6038 Without FXAA.jpg added
Stenzek wrote:
Could you please try with PR 6038? I'm wondering if this is a glslang issue.
Link: https://github.com/dolphin-emu/dolphin/pull/6038
Windows build: https://dl.dolphin-emu.org/prs/pr-6038-dolphin-latest-x64.7z
It´s even worse :S because this time:
Without FXAA: "Image attached" screen turns into a blue-violet thing. (Before this, the games boot correctly without FXAA)
With FXAA: Blackscreen persists.
Note: Tested with clean install.
Updated by Stenzek over 7 years ago
Can you try with the PR again now? That screenshot is actually what I am getting now as well, although I got it regardless of FXAA settings.
Updated by LuismaSP over 7 years ago
Stenzek wrote:
Can you try with the PR again now? That screenshot is actually what I am getting now as well, although I got it regardless of FXAA settings.
Now it works like before the PR, working without FXAA but blackscreen with it.
Updated by LuismaSP over 7 years ago
Stenzek wrote:
Can you try with the PR again now? That screenshot is actually what I am getting now as well, although I got it regardless of FXAA settings.
As you can see in #10535 i´m not the only one who has the problem with blackscreen when using FXAA. User Hyperniy attached a video where you can see the problem (In 1:36, when he select the FXAA)
Here´s the video: https://www.youtube.com/watch?v=-tXXuBMI6HQ
Updated by Stenzek about 7 years ago
- Status changed from Questionable to Fix pending
Assuming the issue is still the shaders which is worked around by using the GLSL extension, it should be fixed by PR#6111.
https://github.com/dolphin-emu/dolphin/pull/6111
Windows build: https://dl.dolphin-emu.org/prs/pr-6111-dolphin-latest-x64.7z
Updated by LuismaSP about 7 years ago
Stenzek wrote:
Assuming the issue is still the shaders which is worked around by using the GLSL extension, it should be fixed by PR#6111.
https://github.com/dolphin-emu/dolphin/pull/6111
Windows build: https://dl.dolphin-emu.org/prs/pr-6111-dolphin-latest-x64.7z
Yesterday, Nvidia released the driver 387.92, i´ll download later and test your build.
Updated by LuismaSP about 7 years ago
Stenzek wrote:
Assuming the issue is still the shaders which is worked around by using the GLSL extension, it should be fixed by PR#6111.
https://github.com/dolphin-emu/dolphin/pull/6111
Windows build: https://dl.dolphin-emu.org/prs/pr-6111-dolphin-latest-x64.7z
Yes, at last :P, i can confirm that the problem is fixed with that PR.
Updated by JosJuice about 7 years ago
- Status changed from Fix pending to Invalid
- Fixed in set to 5.0-5767