cemu-project / Cemu

Cemu - Wii U emulator
https://cemu.info
Mozilla Public License 2.0
7.41k stars 608 forks source link

AMD 780M Vulkan renderer leads to corrupted textures #1176

Open Not4ce opened 7 months ago

Not4ce commented 7 months ago

Current Behavior

Enabling vulkan on rdna 3 based cards, such as 780m igpus break pebbles and textures in-game. Also broken shadows that eventually garble and have corrupted textures. Observed in MK8 and BOTW. No graphical or texture enhancements applied, can be replicated on two seperate 780m devices

Vram allocation does not change anything. Only fixed by changing renderer to OpenGL, and seems to be Rdna3/780m specific. Was unable to test on a discrete rdna3 card, no issue on Rdna2 and Nvidia counterparts (6800xt and 3070)

Expected Behavior

Nil graphical issues and not garbled textures

Steps to Reproduce

Enabling vulkan renderer Playing any game: Breath of the wild etc

System Info (Optional)

OS: Windows 11 22631.3374 KB5035942 GPU: 780M on Ryzen Z1 Extreme and 7840u

Emulation Settings (Optional)

Default with no mods or changed

Also Tested with: BCML enabled Second Wind enabled No graphical mods or changes on 1.2.6 and 2.0 cemu

Logs (Optional)

log.txt

Tested with OpenGl that had no issues, followed by switching to Vulkan with issues (UMA frame buffer set to 6gigs on system)

aASDa213ASD commented 3 weeks ago

Well I removed all of my shaderCache folder and nothing really changed on Linux. Windows is totally alright though. I hate it.

aASDa213ASD commented 2 weeks ago

@goeiecool9999 The water in Gerudo town is still cracked on 5640d58 image

Squall-Leonhart commented 2 weeks ago

that requires accurate barriers turned on.

aASDa213ASD commented 2 weeks ago

@Squall-Leonhart Uh, yeah, that seems like a solution. Btw, do you ever notice an interesting RED DOT in the distant fog that appears for a brief millisecond? Perhaps.. it can also be fixed with accurate barriers.

image

Squall-Leonhart commented 2 weeks ago

the red dots back O_O

aASDa213ASD commented 2 weeks ago

@Squall-Leonhart easier to show than explain: https://www.twitch.tv/player_killer_paradigma/clip/WonderfulFitKathyNinjaGrumpy-4z-7KcYDoG9nqUpA

Here's its lowkey BLACK, but if I would get somewhat blue sky it would be red.

image

Squall-Leonhart commented 2 weeks ago

that looks like specular aliasing to me

i didn't see that in the clip... wtf.

aASDa213ASD commented 2 weeks ago

i didn't see that in the clip... wtf.

It's hard to catch if you have low refresh rate monitor like 60 for example, because I stream at 90 frames per second, but if you are at least 90hz you can easily catch this one single frame with black dot (easier to see on 0.25x speed but even there it's hard to get this exact frame)

It's not AS annoying as artifacts so I can even ignore it however that is.. here and I never saw anyone mentioning this.

And I mean it appears quite rarely and only in the distance, so if you don't happen to look far and have some wall infront of you - it's a non issue.

But if you look far that happens often, here's number 2: image