yuzu icon indicating copy to clipboard operation
yuzu copied to clipboard

eBASEBALL , wrong shadow/lighting rendering

Open swim1989 opened this issue 1 year ago • 4 comments

It occurred in eBaseball 2022, 2020, Pocket R In the real switch console, which show below, the light source seem above the player, with 4 player shadow 2022072719021700-F888AFC5990AA529807C2D09CA5BCC59 2022072719033300-F888AFC5990AA529807C2D09CA5BCC59

But in the Yuzu 2022-06-25. (Which I build by VS by myself for R8G8B8A8_SRGB for unimplemented PixelFormat 0xFA;250, the texture color is corrected as real switch console). Vulkan, RTX 3090 GPU HIGH But the shadow and lighting, show below with GPU HIGH, which is obviously wrong rendering to a square beside the player full of wrong shadow line 螢幕擷取畫面 2022-07-27 193609 螢幕擷取畫面 2022-07-27 193542

With GPU Extreme The shadow got more visible but the Player became complete black 螢幕擷取畫面 2022-07-27 204858 螢幕擷取畫面 2022-07-27 205408

only show the log with purple line Debug <Critical> video_core\surface.cpp:operator ():206: Assertion Failed! Unimplemented format=2 Debug <Critical> video_core\renderer_vulkan\vk_blit_screen.cpp:operator ():104: Assertion Failed! Unknown framebuffer pixel format: 2 Audio <Critical> core\hle\service\audio\hwopus.cpp:OpenHardwareOpusDecoderEx:301: called sample_rate=48000, channel_count=1

What would be the possible cause for the wrong shadow rendering?

swim1989 avatar Jul 27 '22 12:07 swim1989

upload the log in full when possible please.

G-Spawn avatar Jul 27 '22 13:07 G-Spawn

yuzu_log.txt I found some possible crack. I clean the Vulkan shader cache and Restart game with Extreme GPU. When I enter the first 3D stage. The shadow became right but 3D texture got slight darker then real I had tried several times of [ clean and enter 3D stage] or [re-enter 3D stage without clean], the results were not consistent. 螢幕擷取畫面 2022-07-28 210243 螢幕擷取畫面 2022-07-28 205656 I also 螢幕擷取畫面 2022-07-28 210710 And about the 3th or 4th different stage(place) the shadow start to broken (which the shadow of that stage would be intact while restart-the game ) 螢幕擷取畫面 2022-07-28 211429

And for several stage/place entered , the texture color could be complete wrong as below 螢幕擷取畫面 2022-07-28 213233

And there is still some stage which could not be correct shadow with [clean and Extreme GPU] 螢幕擷取畫面 2022-07-28 214829

swim1989 avatar Jul 28 '22 13:07 swim1989

With OpenGL GLASM Extreme GPU (with clean cache and restart) ScreenRecorderProject4 The shadow and model render well but the white glitch intermittent appeared especially on ball hitting, which is very bothering and not able to play Broken hitting square 螢幕擷取畫面 2022-07-29 003636

The log file showed API ERROR 1281: GL_INVALID_VALUE error generated. does not meet minimum alignment requirements for shader storage buffers. yuzu_log.OPENGL.txt And inside the main.nso, I found many GLASM code. But I have few knowledge about that.

swim1989 avatar Jul 28 '22 15:07 swim1989

Can you post save file to reproduce issue quickly?

gidoly avatar Nov 07 '22 05:11 gidoly