-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Nayuta no Kiseki: Graphics glitch, flashing textures. #8744
Comments
Hmm, does it have any affect if you enable/disable "hardware transform"? What about vertex cache (which requires hardware transform to be on)? -[Unknown] |
No changes with either |
Since it's the same developer, I wonder if this is somehow related to #8403. It could also be z-fighting. Unfortunately, the GE debugger isn't totally fleshed out on platforms other than Windows. Last I checked, it works fine under WINE, but the fonts are screwy unless you have the real fixedsys. That would probably help debug it the most... hm. Does it happen if you use "software rendering"? You can save state, stop the game, change it, and then load the state. It'll be slow, but if it works, that tells us it's probably not a math issue in the CPU emulation, or something. -[Unknown] |
It does not occur with What would a recommended build for using under wine be? |
I think WINE 1.7 has been reported to work. I would expect it to work in the latest version. If not, it's probably a bug in either PPSSPP or in WINE. For PPSSPP, I recommend the latest git build from here: When you get it working, here's a guide on how to find the related draw commands from the GE: -[Unknown] |
I tested the latest git build from your link with wine-staging & ordinary wine, but I was not able to use the GE debugger due to wine issues... Starting ppsspp, the game, loading the savestate and reproducing the issue all worked. What does not work is that as soon as the GE debugger is started my entire window manager ( |
https://github.com/hrydgard/ppsspp/compare/master...LunaMoo:anotherIDforRounding?expand=1 ^ that should help, through not really sure if it's worth it, I mean it might make the game potentially much slower on weaker systems so if it happens only in one location it might just be better left as it is. @orbea you can edit that "compat.ini" file manually without waiting for build and see if you're happy with it, just add |
Yes, I manually edited the file and that fixes it. I have played the game for only a little bit and there may or may not be more instances of the issue. I will test more without this change and see. |
Wow, that freeze doesn't sound like a good result. I wonder what caused that, I guess it couldn't handle multiple OpenGL instances? Come to think, I was using the closed-source driver, since nouveau had been rendering some things incorrectly, when I tested that... Is it enough to put the id in -[Unknown] |
From what I checked vertex depth rounding wasn't enough to even make a noticeable difference. At least in the place from the savestate provided. With pixel depth rounding it actually still happens a bit, but get's noticeable only at x1 res, so not much of a problem. |
Ah. I wonder if it happens just a bit even on a real PSP, perhaps. I wish the narrow depth range approach worked sanely, because then it could be nearly free. Darn drivers. Vulkan doesn't even make it better, unfortunately, since this isn't a problem for other people:
I've considered making it try to run some tests against the display and read out usable depth values, or something. Even that won't work in some of the cases. -[Unknown] |
Well, on modern GPUs that support Vulkan we should have enough spare performance to use the pixel depth rounding approach anyway in the games that need it, so all is not lost. We may be able to make it smarter and only turn it on for 2D or 3D-as-2D geometry, for example, too. But yes, vertex depth rounding would be far neater. |
With a little testing I found 3 other locations in that one level that that had similar flickering. Other levels so far have not reproduced it, but that still requires further testing. The ppsspp GE debugger freezes left a lot of this in dmesg. It seems it could be a similar issue to this if multiple GL threads are hitting nouveau at once? |
I think we might want to change the debugger to not use a 2nd GL context but instead have the main context render and readback the preview images. Would be a bit tricky though. |
It's definitely simpler to not implement the zooming, panning, and other debugging features in a software renderer or force them upon the backends. -[Unknown] |
I have no interest in reporting issues for ppsspp anymore so I will just close this. |
Like I said in the other issue, that's not how it works. |
There's a possibility the lighting fixes improved this. It might also help to get a GE frame dump of this issue (if possible, I realize flickering is hard to catch.) These help a lot. See here for instructions - using the web debugger you can avoid the dmesg issues too: You can zip that and then drag and drop it into a reply here. -[Unknown] |
I would like to help, but it would be significant time and effort to get to a point in the game I can reproduce this which is not practical considering all the other current issues making ppsspp hard to use... |
@unknownbrackets I can confirm this issue is still in the master (d0e2aa3). I tried making a GE frame dump, but I'm not sure I can catch the flickering without something like the multiframe GS dumps pcsx2 has. |
I switched pixel depth rounding on in ad0ef74. Please try with a new build. |
@hrydgard I've already been adding I'm not sure if you wish to consider this fixed or leave it open for a more complete fix later. |
I guess let's leave it open for now. |
Looks fine to me. If the flicker is mostly fixed, let's just close this, not sure there's more we can practically do. |
@hrydgard This did not show up in still images, only when playing the game. Has anything changed since |
I don't know, but it was already reported that the flicker is minimal now, and I'm not sure how much closer we can get with hardware rendering really. |
OS:
Slackware64-current
Linux-4.5.4
mesa-8d63913_2016.05.09_master-x86_64-1_git
xf86-video-nouveau-b824d36_2016.01.13_master-x86_64-1_git
ppsspp-d6c2b6e_2016.05.15_master-x86_64-1_git
Nayuta no Kiseki English Patch 4.14
In one area of the game
Nayuta no Kiseki
I experienced the ground flashing whenever the camera moved.Here is a trace made with apitrace showing the issue, it can be replayed with
apitrace replay nayuta_no_kiseki_ppsspp.trace
.http://ks392457.kimsufi.com/orbea/stuff/trace/nayuta_no_kiseki_ppsspp.trace.xz
A log of the apitrace replay output.
http://pastebin.com/WMswsAuR
And a savestate for the issue.
http://ks392457.kimsufi.com/orbea/stuff/games/ppsspp/PPSSPP_STATE/NPJH50625_1.01_0.ppst.xz
Is there any other useful information I could provide to help debug this?
The text was updated successfully, but these errors were encountered: