yuzu icon indicating copy to clipboard operation
yuzu copied to clipboard

[RadeonSI Linux] Luigis Mansion 3 Rendering Issues

Open RealJohnGalt opened this issue 4 years ago • 4 comments

I had posted this as a Mesa issue, but was told to post it here first because there are many API errors when replaying the apitrace that make it seem like a yuzu-side issue (such as GL_INVALID_OPERATION Mesa: User error: GL_INVALID_OPERATION in glCopyImageSubData(internalFormat mismatch))

Luigis Mansion 3 displays multi color flashing squares, and a "blocky grid" during movement. These issues don't occur on Windows or Nvidia (proprietary driver).

System information

System:    Host: miniarch Kernel: 5.7.0-rc7-1-tkg-pds x86_64 bits: 64 compiler: gcc v: 10.1.0 Desktop: KDE Plasma 5.18.5 
           tk: Qt 5.14.2 wm: kwin_x11 dm: SDDM Distro: Arch Linux 
CPU:       Topology: 6-Core model: AMD Ryzen 5 3600 bits: 64 type: MT MCP arch: Zen 2 L2 cache: 3072 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 105593 
           Speed: 4391 MHz min/max: 2200/4400 MHz Core speeds (MHz): 1: 4398 2: 4396 3: 4394 4: 4394 5: 4387 6: 4399 7: 4400 
           8: 4401 9: 4398 10: 4398 11: 4394 12: 4392 
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] vendor: XFX Pine 
           driver: amdgpu v: kernel bus ID: 26:00.0 chip ID: 1002:67df 
           Display: x11 server: X.Org 1.20.8 compositor: kwin_x11 driver: amdgpu unloaded: fbdev,modesetting,vesa 
           alternate: ati resolution: 1: 3840x2160~60Hz 2: 2560x1440~60Hz s-dpi: 96 
           OpenGL: renderer: Radeon RX 580 Series (POLARIS10 DRM 3.37.0 5.7.0-rc7-1-tkg-pds LLVM 11.0.0) 
           v: 4.6 Mesa 20.2.0-devel (git-a51ab5f956) direct render: Yes

Links full apitrace replay log Upstream mesa issue which was closed apitrace Renderdoc crashes when attempting to capture, so I'm not positive this capture is correct: Renderdoc capture toccata10 also was able to get a few renderdoc captures of this issue, he uploaded here: https://www.dropbox.com/sh/x9ekv21x727do8e/AACqNug7CBMmdIbUKSa2DacLa?dl=0

He also took a few screenshots, with the following description: About the "blocky aspect": I join 2 screenshots. The artifact is very present in the clouds and in the hands (for the Room503.jpg). I also join a screenshot taken on windows with the vulkan renderer, where the clouds are correct. It reminds me of the aspect of heavily compressed videos.

https://gitlab.freedesktop.org/mesa/mesa/uploads/b8af3a251e6d1b44b83d02a77bcca815/Clouds.jpg https://gitlab.freedesktop.org/mesa/mesa/uploads/a13a0a044f5c6ad72b1fa95de4a9fd3a/clouds-correct.JPG https://gitlab.freedesktop.org/mesa/mesa/uploads/76d98659f4fd668607dee35c25268a5a/Room503.jpg

RealJohnGalt avatar May 26 '20 12:05 RealJohnGalt

Updated and cleaner apitrace debug log: http://ix.io/2oBN

RealJohnGalt avatar Jun 08 '20 12:06 RealJohnGalt

is this still a problem ??

benderscruffy avatar Sep 03 '22 05:09 benderscruffy

Same problem is showing in Ryujinx so I guess it is driver related.

esistgut avatar Sep 03 '22 11:09 esistgut

Unfortunately the problem still persists, currently running the latest bleeding edge drivers from Oibaf's repo, although the framerate is a lot better compared to a year or two ago!

CrowBash avatar Nov 07 '22 19:11 CrowBash