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
Regression : Persona 5 wrong color issue (NVIDIA only) #4174
Comments
Need information. GPU and drivers. |
Sorry i forgot it again 😄 |
This bug is nvidia-specific. Tagging appropriately |
Contrary to what has been mentioned above, this bug was not caused by #4093 but was in fact caused by #4127. Intel(R) Core(TM) i7-3630QM CPU @ 2.40GHz | 8 Threads | 7.89 GiB RAM | AVX PR #4093 - Colours are still accuratePR #4127 - Colours are messed upCurrent master (#4872) - Colours are still messed up |
@al3x on Discord bisected this issue to commit 33bcdd4 Armed with that information, the only hunk in that file that seemed to change behavior (and was not just an optimization) was 33bcdd4#diff-9a62be0c4e83eae188cd568947c4b7a5L50. Reverting this hunk on the latest master (#4970) resolves the issue, as predicted. I've tracked this down to the I assume this opcode does normalization, though I am not sure why it needs to be clamped. My immediate suspicion is some rounding differences on Nvidia card cause the normalization on one of the dimensions to grow to ridiculous values and overflow as it is assigned to a H register. The clamping makes it so that this overflow does not happen. I'll play around with Renderdoc tomorrow and try to confirm this. |
Its some kind of precision bug on nvidia hardware. Its absurd to need clamp on normalized result which means on nvidia normalize(n) can return nan or inf. |
NRM(0) should and does return Nan. However on Geforce, clamp() affects nans and treats them as -INF instead of leaving them as-is. This causes NaNs to not propagate down the pipeline like they would on PS3. This build fixes this issue https://ci.appveyor.com/project/kd-11/rpcs3/builds/23802725. |
Fixed by #5860 |
After merging #4093 PR that includs #4089 PR, Persona 5 shows wrong colors in main menu as can be seen :
Screenshot from persona 5 gameplay on PS3 that is showing right color just like the RPCS3 before merging #4093 :
Screenshot from RPCS3 after merging #4093 ( look at the color of chairs ) :
Edit : My GPU is GTX 1080ti and GPU Driver version is 390.78 ( i think, it's latest anyway because i updated it yesterday ;) )
The text was updated successfully, but these errors were encountered: