RPCS3 / rpcs3

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

Ratchet & Clank Tools of Destruction graphical corruption on RDNA3 #14838

Closed LasagnaPie closed 6 months ago

LasagnaPie commented 9 months ago

Quick summary

Black squares covers half the screen when using the Weapon Shop or Armor shop./

Details

Black squares covers half the screen when using the Weapon Shop or Armor shop, the larger the window the more it covers the screen. I tried deleting the cache and using the default configurations

R C

Attach a log file

RPCS3.log.gz

Attach capture files for visual issues

No response

System configuration

Ryzen 7800X3D Radeon 7900 XTX Windows 11

Other details

No response

LasagnaPie commented 9 months ago

This problem is worst in Ratchet & Clank Crack in Time, half the screen is covered in black transparent squares.

R CCC

ps. this happens in Resistance Fall of Man

RinMaru commented 9 months ago

This problem is worst in Ratchet & Clank Crack in Time, half the screen is covered in black transparent squares.

R CCC

ps. this happens in Resistance Fall of Man

no issues here. you sure you have everything set up correctly. may be an RDNA3 issue i have the 6700XT

Jonathan44062 commented 9 months ago

Your settings are bad, reset them back to default and test again image

LasagnaPie commented 9 months ago

Your settings are bad, reset them back to default and test again image

Makes no difference

AniLeo commented 9 months ago

Need new log and screenshot with the default settings

kd-11 commented 9 months ago

Definitely RDNA3 specific. In case of hw-specific problems the first thing to try is actually strict rendering mode. However, knowing this engine I would also recommend to try default settings + MSAA disabled to rule out insomniac upscaling problems if present.

LasagnaPie commented 8 months ago

Still no fix with the latest version, i tried OpenGL and strict rendering mode, what is this black transparent square?

fff

AniLeo commented 8 months ago

Can you upload a log using the latest RPCS3 version for either a Vulkan or OpenGL run, as well as a screenshot from the bug in OpenGL?

Using only the default settings + settings listed in the wiki page for the game

Also, in case someone out there has RDNA3 and Linux, it would be helpful to know if this bug also happens in RADV (I'm guessing not)

LasagnaPie commented 8 months ago

Ratchet and Clank Future Tools of Destruction [BCUS98127].log.gz

https://www.youtube.com/watch?v=4Qh6YBay9jQ

AniLeo commented 8 months ago

As suggested in the other RDNA3 issue, can you try the "high precision Z buffer" option with OpenGL to see if it's the same issue?

Right now we need:

Wolver32 commented 7 months ago

I noticed the same issue in Gran Turismo 6, but only when the game is running in windowed mode (like the screenshots above). Running the game in fullscreen doesn't show any artifacts on my 7800 XT. Can confirm that, at least on GT6, it doesn't happen in RADV on Linux (even in windowed mode).

asp0909 commented 7 months ago

hello! I just wanted to say that I haven't been able to replicate the problem...I don't know if they've already fixed it? I have rx 7900 xtx, but my cpu is an intel 9900k

Captura de pantalla (2)

AniLeo commented 7 months ago

Can you upload a log file to see more system details? Also need confirmation from original reporter

asp0909 commented 7 months ago

Can you upload a log file to see more system details? Also need confirmation from original reporter

RPCS3.log.gz

LasagnaPie commented 7 months ago

The latest RPCS3 and AMD Drivers (Resolution Scale @ 300% 3840x2160)

Vulkan RC-VL

OpenGL RC-GL

asp0909 commented 7 months ago

There is a similar problem in metal gear 4 that I mentioned above kd 11... that solution must be from amd drivers?

LasagnaPie commented 7 months ago

Ratchet & Clank Future : A Crack in Time (Resolution Scale @ 300% 3840x2160)

Vulkan RCF_VL

OpenGL RCF_GL

LasagnaPie commented 7 months ago

This might be worth noting, but that corruption in Crack in Time starts at the bottom on the 1920th pixel (half of 3820)

Ratchet & Clank Future : A Crack in Time (Resolution Scale @ 100% 1280x720) RCF_VL

Same at native resolution on the 640th pixel.

LasagnaPie commented 7 months ago

Ratchet & Clank Future : A Crack in Time (Resolution Scale @ 800% 10240x5760) maxx

are black squares a visualization of the stencil buffer?

kd-11 commented 7 months ago

AMD is aware of the RDNA3 driver issue. Use OpenGL for now if you can until they release a fix.

Wolver32 commented 7 months ago

After seeing LasagnaPie's reports, I went back into GT6 to investigate a bit the problem I noticed. In a race menu, this is what I'm getting with Vulkan while in windowed mode: Untitled1

And this is how it looks in OpenGL: Untitled2

Pressing Alt + Enter to go in fullscreen mode in my case makes the graphical artifact to go away. I took 2 RSX captures, one when the game was in fullscreen and the other when in windowed. Remove the final .zip extension before extracting the archives, I had to add it to upload files directly to Github.

GT6 Fullscreen (normal): Fullscreen_BCES01893_20240206224543_capture.rrc.zip.001.zip Fullscreen_BCES01893_20240206224543_capture.rrc.zip.002.zip

GT6 Windowed (graphical artifacts): Windowed_BCES01893_20240206224841_capture.rrc.zip.001.zip Windowed_BCES01893_20240206224841_capture.rrc.zip.002.zip

I have a RX 7800 XT, GT6 was running with 300% resolution scale (from 720p). This only happens in Windows as I don't remember seeing anything similar in Linux. I'm also getting driver timeouts with PCSX2 with the Windows + Vulkan combo that seem to be RDNA3 specific... Guess there's something weird going on with the AMD Windows driver on the RX 7000 series.

Mowsis commented 6 months ago

I can confirm i have the same problem on the Rog Ally. I tried with the latest OEM drivers and latest AMD drivers 24.1.1. With open GL there are no black boxes, but the games look blurry every time there is a collectible (the collectible is in focus and every thing else is out of focus)

On the steam deck with vulkan renderer it looks fine.

RPCS3 0 0 30-16132-3067c86d Alpha _ master 23_02_2024 13_16_42

Ratchet Clank Future A Crack In Time [NPUA80966].log.gz

LasagnaPie commented 6 months ago

The latest AMD Driver 24.2.1 fixes this issue. https://www.amd.com/en/support/kb/release-notes/rn-rad-win-24-2-1

Wolver32 commented 6 months ago

The latest AMD Driver 24.2.1 fixes this issue. https://www.amd.com/en/support/kb/release-notes/rn-rad-win-24-2-1

Yup, can confirm also in GT6.

AniLeo commented 6 months ago

Closing as fixed by AMD.

Added this to the documentation at https://github.com/RPCS3/rpcs3/wiki/Graphics-Driver-Issues for historical purposes.