Project

General

Profile

Actions

Emulator Issues #10527

closed

Blackscreen in all games using Vulkan

Added by LuismaSP over 6 years ago. Updated over 6 years ago.

Status:
Invalid
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:
5.0-5767

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

PR 6038 Without FXAA.jpg (94.2 KB) PR 6038 Without FXAA.jpg LuismaSP, 09/08/2017 02:21 PM
Actions #1

Updated by Stenzek over 6 years ago

  • Status changed from New to Questionable

Delete your shader cache, and try again.

Actions #2

Updated by LuismaSP over 6 years ago

Stenzek wrote:

Delete your shader cache, and try again.

I tried that the first. But still failing.

Actions #3

Updated by LuismaSP over 6 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.

Actions #4

Updated by Stenzek over 6 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.

Actions #5

Updated by LuismaSP over 6 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)

Actions #6

Updated by Stenzek over 6 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.

Actions #7

Updated by LuismaSP over 6 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

Actions #8

Updated by Stenzek over 6 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

Actions #9

Updated by LuismaSP over 6 years ago

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.

Actions #10

Updated by Stenzek over 6 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.

Actions #11

Updated by LuismaSP over 6 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.

Actions #12

Updated by LuismaSP over 6 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

Actions #13

Updated by Stenzek over 6 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

Actions #14

Updated by LuismaSP over 6 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.

Actions #15

Updated by LuismaSP over 6 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.

Actions #16

Updated by JosJuice over 6 years ago

  • Status changed from Fix pending to Invalid
  • Fixed in set to 5.0-5767
Actions

Also available in: Atom PDF