RPCS3 / rpcs3

PS3 emulator/debugger
https://rpcs3.net/
GNU General Public License v2.0
14.9k stars 1.87k forks source link

Ni no Kuni AMD Graphical Glitch with Vulkan #5561

Closed Cheesemantice closed 5 years ago

Cheesemantice commented 5 years ago

I found one bug in Ni no Kun relating AMD GPUs:

Using the Vulkan renderer causes the visual glitches can be seen in the pictures. In a diagonal line (picture 1, 2) weird colored pixels are flickering. (Note that the other visual glitches can be seen on these pictures are related to the screenshot issue, and they are not important in this one.) The glitch is not present on all maps for example inside the house the game works perfectly (3). At outside if I stand still it gets somewhat better, but few glitched pixels still changing constantly. In OpenGL the problem is not present tho, and if I turn on strict rendering in Vulkan it seems to fix the problem. 2019-01-16 19 2019-01-16 20 2019-01-16 21 RPCS3.log.gz

System specs: Ryzen 1800x, RX 580, 16 Gb RAM, Windows 10 RPCS3: v0.0.5-7731 Alpha [2019-01-16]

Asinin3 commented 5 years ago

1: The Diagonal Line issue is a duplicate of this https://github.com/RPCS3/rpcs3/issues/2976 and isn't specific to Ni No Kuni, it's an issue with AMD GPU's due to them using a different raster pattern. It appears in other games, and even in other software e.g look at how it occurred in CEMU. It can be fixed by using Strict Rendering Mode or hidden with a high resolution scaling value that is well above your native resolution.

2: This is not specific to Ni No Kuni either. It's more of a Windows/QT problem AFAIK only happens with Vulkan.

3: If you want to report graphical issues (for the 3rd issue) then we generally require a renderdoc or RSX capture of the scene. A save file at the location would be helpful too if it takes awhile to get to.

Cheesemantice commented 5 years ago

I change the title a little bit then to "AMD Graphical Glitch with Vulkan, Screenshot bug" if it's okey. RSX capture and save: I took the capture with 4k and the line is still visible, but it moved from the bottom left corner to the upper right. Highresolution scaling does not seem to work in this instance. NPEB01158_20190116150011_capture.zip dev_hdd0.zip

Asinin3 commented 5 years ago

The diagonal line stuff should be removed, and so should the screenshot issue. Keep this issue just for the NNK visual issue, I'm not sure if an issue for the screenshot issue would be valid but it should be done in its own report anyway. It's not clean to have 3 unrelated issues in one issue. (and the diagonal line issue was closed already since its an amd issue and fixed with Strict Rendering Mode like i said earlier).

Cheesemantice commented 5 years ago

There are two issues. One is the diagonal line the other is the screenshot issue, there is no third.

I have already mentioned the Strict Rendering Mode workaround in my original post, it's just that this way I can't play the game in high resolution since it disables the resolution scale. (Or is it possible to play at higher resolutions with Strict Rendering Mode enabled?)

I will create another issue for the screenshot issue.

Asinin3 commented 5 years ago

Oh, i saw this screenshot: image

and thought you were reporting the visual issue on the ground there.

Anyway, the Diagonal line stuff is not a valid issue and it's a duplicate of https://github.com/RPCS3/rpcs3/issues/2976 which was already closed. Both that issue, and the screenshot bug are not specific to Ni No Kuni so it makes no sense to have Ni No Kuni in the title and the screenshot issue seems more like a windows/qt issue not a RPCS3 issue AFAIK. If there is no other reports being made here then it should be closed.

kd-11 commented 5 years ago

Neither of the issues reported here are rpcs3 bugs.

  1. Diagonal line is a general AMD issue, use strict mode to fix.
  2. Screenshot being outdated: There is nothing we can do about this as the bug is between the screenshot software, microsoft's dwm and the driver vendor. Likely just windows' vulkan integration not being very good, no surprises there.
Cheesemantice commented 5 years ago

So there isn't any fix for the grapchical glitch? I use the latest recommended drivers now. This issue seems to be 2 years old on other forums, and it says it should be fixed by the new drivers.

Thanks for the quick replies tho.

kd-11 commented 5 years ago

Enable strict rendering mode in the GPU options. It will fix the glitch but you lose a lot of extras like high res rendering and anisotropic filter overrides.

Cheesemantice commented 5 years ago

Thanks. I will update the issue if I find another workaround to help other AMD users. :)

voinage commented 5 years ago

@KillZone , just change the res to 7680×4320 and allow GPU scaling and Vsync. Rpcs3 can handle it without too much issue. The line will be gone without noticeable performance loss.

It's smooth on my rx 580 and r5 2600 rig.