Skip to content
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

All the 3D game graphics are completely broken on Intel Iris Xe Graphics, with Vulkan, Skip buffer effects and No buffer #17741

Closed
5 tasks done
djlain opened this issue Jul 19, 2023 · 11 comments

Comments

@djlain
Copy link

djlain commented Jul 19, 2023

Game or games this happens in

All the 3D games, like UCES-00001 - WipEout Pure & NPJH-50475 - Hatsune Miku: Project Diva 2nd

What area of the game / PPSSPP

All the 3D game graphics are completely broken with Vulkan / Skip buffer effects [on] / Buffer graphics commands [No buffer] / all other settings keep the default, on any Intel Iris Xe Graphics devices. There're some samples:

UCES00001_00000
UCES-00001 - WipEout Pure

NPJH50475_00000
NPJH-50475 - Hatsune Miku: Project Diva 2nd

I tried on a Core i5-1135G7 and a Core i7-1165G7 device, also latest driver (101.4502) and an older driver (101.1191), still got the same result. All the build after 1.14 stable (including the latest nightly build) will have the issue. Also, if you take a snapshot during the broken graphics, the PPSSPP will crash.

I use the settings for better input lag and vulkan works better on Intel Iris Xe Graphics, so it would be nice if this can be fixed.

What should happen

On 1.13.2 stable and older, it's totally no problem with same settings:

UCES00001_00000
UCES-00001 - WipEout Pure

NPJH50475_00000
NPJH-50475 - Hatsune Miku: Project Diva 2nd

Logs

No response

Platform

Windows

Mobile phone model or graphics card

Core i7-1165G7 with Intel Iris Xe Graphics

PPSSPP version affected

from 1.14 stable to v1.15.4-571-g16ee5a50c

Last working version

1.13.2 stable

Graphics backend (3D API)

Vulkan

Checklist

  • Test in the latest git build in case it's already fixed.
  • Search for other reports of the same issue.
  • Try resetting settings or older versions and include if the issue is related.
  • Try without any cheats and without loading any save states.
  • Include logs or screenshots of issue.
@hrydgard hrydgard added this to the v1.16.0 milestone Jul 19, 2023
@hrydgard
Copy link
Owner

Curious, haven't seen this on my Xe laptop. Will check again soon, and check my driver version.

@hrydgard
Copy link
Owner

Is this a discrete Xe card?

Here's what see in Settings/Tools/System Information:

image

So driver is 0.404.2079, which doesn't look anything like your driver versions...

Does enabling/disabling the MSAA setting change anything? Works, or changes the nature of the glitches?

On my laptop, I don't see this issue at all.

@djlain
Copy link
Author

djlain commented Jul 21, 2023

It's not a discrete card, it's integrated Iris Xe graphics of Core i5-1135G7 / Core i7-1165G7

This is my syetem info:
0721184658

And my driver is from intel official page, which the version is like 31.0.101.xxxx (already tried the latest one (4502 / 4575), but still no fix and more unstable for other games, so I back to the old version)
https://www.intel.com/content/www/us/en/download/726609/intel-arc-iris-xe-graphics-whql-windows.html

MSAA setting did not change anything. My devices are all 11th Gen and on Win10 so I'm not sure if it matters. For testing, I installed a fresh ppsspp, only change backend to Vulkan / Skip buffer effects [on] / Buffer graphics commands [No buffer], and did not touch any other option, then I will get the problem.

@hrydgard
Copy link
Owner

Oh, I missed that this was with Skip buffer effects only. I would highly recommend to not use that option, basically ever. For what reason are you using it?

Still, we should of course get this fixed if we can figure it out.

I tried again with skip buffer effects on my laptop, and I did not get the glitches. Indeed MSAA doesn't do anything, because it doesn't work in skip buffer effects mode.

I'm testing on WIndows 11.

@djlain
Copy link
Author

djlain commented Jul 21, 2023

I used Skip buffer effects because it's related to input lag, it's quite noticeable for rhythm games. Also, only Skip buffer effects [on] + Buffer graphics commands [No buffer] will get the trouble, Up to 1 and Up to 2 are OK though.

Btw: my devices are GPD WIN3 (1135G7) and OnexPlayer 1 (1165G7), which are all handheld gaming devices, but I guess these might not matter?

@hrydgard
Copy link
Owner

Oh! The No buffer thing is interesting. I'm gonna have to give that a try.

Theoretically skip buffer shouldn't really affect input lag, at least if the game manages its rendering the normal way.. Hm.

@hrydgard
Copy link
Owner

hrydgard commented Jul 21, 2023

Indeed, when I run with no buffer, I even get a Vulkan validation error if I have that enabled. Something is wrong.

Let's see in release... Yeah I get the same problem!

Anyway, I'll tackle this as part of the upcoming timing rework: #17685

I'm gonna start working in that direction once I'm done with all the RetroAchievement and related networking stuff.

@hrydgard hrydgard changed the title All the 3D game graphics are completely broken on Intel Iris Xe Graphics, with Vulkan and Skip buffer effects. All the 3D game graphics are completely broken on Intel Iris Xe Graphics, with Vulkan, Skip buffer effects and No buffer Jul 21, 2023
@djlain
Copy link
Author

djlain commented Jul 21, 2023

Thanks very much for your testing, take all the time you need please! I could help test when needed!

@hrydgard
Copy link
Owner

@djlain Can you try the latest build now from https://buildbot.orphis.net/ppsspp/ ?

@djlain
Copy link
Author

djlain commented Jul 22, 2023

Tested many 3d games on the lastest build, it's totally fixed now! Thanks for the quick fixing!!!

@hrydgard
Copy link
Owner

Thanks for testing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants