ppsspp icon indicating copy to clipboard operation
ppsspp copied to clipboard

Can't use Vulkan

Open leoxxx opened this issue 2 years ago • 12 comments

Game or games this happens in

All

What area of the game / PPSSPP

Choose Vulkan to run games, then PPSSPP display a black screen. Close the window, but the process is still running. It's O.K. in v1.12.3.

What should happen

Can run games.

Logs

No response

Platform

Windows

Mobile phone model or graphics card

HIS 7850 1G

PPSSPP version affected

v1.13.1

Last working version

v1.12.3

Graphics backend (3D API)

Vulkan

Checklist

  • [X] Test in the latest git build in case it's already fixed.
  • [X] Search for other reports of the same issue.
  • [X] Try resetting settings or older versions and include if the issue is related.
  • [X] Try without any cheats and without loading any save states.
  • [X] Include logs or screenshots of issue.

leoxxx avatar Jul 31 '22 10:07 leoxxx

Use https://buildbot.orphis.net/ppsspp/index.php?m=fulllist or your own builds and bisect which commit exactly broke it(by bisecting I mean just go to half between last builds known to work and broken, in just few tests you will find it).

Most people doesn't use Win 7 anymore and can't even test it anymore due to lack of win 7 support for modern hardware, it's getting less and less compatible with time especially with lower level apis like vulkan.

LunaMoo avatar Jul 31 '22 12:07 LunaMoo

ppsspp-v1.12.3-263-g712b87ae5-windows-amd64 can't run games. ppsspp-v1.12.3-257-gb3bd06805-windows-amd64 can run games. But popup a dialog when closing.

Snap3 If click Y, it will popup twice more.

Snap5 If click N, it will popup a crash dialog.

leoxxx avatar Jul 31 '22 17:07 leoxxx

Thanks, that's good info!

The culprit is then, somehow, this:

  • #12108

So it doesn't like creating the pipelines on a background thread, which seems very weird. But something we can fairly easily work-around, I think.

hrydgard avatar Aug 01 '22 09:08 hrydgard

This might be related to this https://github.com/hrydgard/ppsspp/issues/15744?

ghost avatar Aug 03 '22 07:08 ghost

Unable use Vulkan on Windows 11 either.. Screenshot 2022-08-04 085838

jvhellraiser avatar Aug 04 '22 13:08 jvhellraiser

@ hrydgard It doesn't only happen in Win7, then need the issue edit the title?

leoxxx avatar Aug 05 '22 01:08 leoxxx

@jvhellraiser is that right at the start when starting the game?

hrydgard avatar Aug 05 '22 12:08 hrydgard

I found his title display "instance:2", so two processes are running. And this game is 1 player game.

leoxxx avatar Aug 05 '22 12:08 leoxxx

@jvhellraiser is that right at the start when starting the game?

That is correct once you select Vulkan API and load any game error appear.

jvhellraiser avatar Aug 05 '22 22:08 jvhellraiser

that error is super unexpected. will have to look into it

another one from discord:

image

hrydgard avatar Aug 06 '22 16:08 hrydgard

I found his title display "instance:2", so two processes are running. And this game is 1 player game. Screenshot 2022-08-06 204312 yeah here is one without the instance 2, by the way not to brag about it but i can run multiple ppsspp at once Screenshot 2022-08-06 205012

jvhellraiser avatar Aug 07 '22 00:08 jvhellraiser

I know PPSSPP can run multiple instances in a PC and 1 player game needn't run multiple processes. I just explain another process is running and your issue is the same as mine.

leoxxx avatar Aug 07 '22 02:08 leoxxx

https://github.com/hrydgard/ppsspp/pull/16256 v1.13.2-1605-gceb4186d0 Can run game, but still popup 2 error dialogboxes after closing. 2022-10-20_102649 2022-10-20_102719 @hrydgard Should I close the issue?

leoxxx avatar Oct 20 '22 02:10 leoxxx

If we call vkQueuePresentKHR during shutdown for cleanup we probably should ignore errors, even device lost. Maybe a validation error is happening, though.

Does this happen even if you only open PPSSPP, and then close it? Or do you only get those errors if you open a game?

-[Unknown]

unknownbrackets avatar Oct 20 '22 03:10 unknownbrackets

Only closing. https://github.com/hrydgard/ppsspp/issues/10646#issuecomment-475105946 2 no error dialogbox. I think I should close this issue and reopen 10646.

leoxxx avatar Oct 20 '22 04:10 leoxxx