Cemu icon indicating copy to clipboard operation
Cemu copied to clipboard

[Linux] [Radv vulkan driver] [BOTW] Tall grass like graphical bugs

Open Emerald-glitch opened this issue 3 years ago • 11 comments

Zelda: Breath of the wild has wierd texture issues with vulkan. It includes long grass like textues and some missing ones. 1 2

This is inside that grass texture

3

same bug on building 4

inside the above glitch 5

some more 6

Oh and a opengl screenshot, it doesn't occur in opengl 7

It is like this for me since forever really, the frequency of these tall grass has decreased though, in v1.26, it was way worse. I suspected bad dumb, but it works correctly with opengl, so i guess we can rule that out.

Anyway, I couldn't find anyone else with same problem that is also one of the reasons why i never posted about it.

I am using linux build with commit hash 12b6830546e28e6a697c5dbcbc3aa24882ec7fb3

Artix linux Mesa version 22.1.7 vulkan version 1.3.211 opengl version 4.6 vulkan driver radv cpu ryzen 3 3300u gpu vega 6 ram 6 gb vram 2gb

Oh and about log file, can someone give directions how to obtain them, i Have no idea how to.

Emerald-glitch avatar Sep 18 '22 07:09 Emerald-glitch

if you don't follow the provided template, your issue will be closed

Squall-Leonhart avatar Sep 18 '22 07:09 Squall-Leonhart

This is a known issue. It happens only on certain AMD GPU's using mesa. It started around the time some vulkan rewrite happened. It is suspected to be a synchronization issue.

goeiecool9999 avatar Sep 18 '22 07:09 goeiecool9999

This is a known issue. It happens only on certain AMD GPU's using mesa. It started around the time some vulkan rewrite happened. It is suspected to be a synchronization issue.

i suspected it too, but i couldn't find any similar issue at all, hence the bug report, well since it is a known issue, should i close it?

ghost avatar Sep 18 '22 07:09 ghost

if you don't follow the provided template, your issue will be closed

did i do something wrong, other than not providing the log file? Doesn't seem like it is necessary, since it is a known issue.

ghost avatar Sep 18 '22 07:09 ghost

your bug was blank on first submission

Squall-Leonhart avatar Sep 18 '22 08:09 Squall-Leonhart

Could you make the issue title more descriptive? e.g. show it only happens on linux and that it's a BotW problem.

goeiecool9999 avatar Sep 18 '22 20:09 goeiecool9999

Could you make the issue title more descriptive? e.g. show it only happens on linux and that it's a BotW problem.

How is this one?

ghost avatar Sep 18 '22 22:09 ghost

Yeah it seems that the bug happens only on Vega GPUs when using Vulkan. The bug has existed for a loong time when running Cemu through Wine and now its happening with the Linux native version as well. My GPU is a Vega 56.

It could be a driver bug and not a Cemu bug. I tested this on Arch Linux using RADV, AMDGPU-Pro Vulkan ~~and AMDVLK~~. AMDGPU-Pro didn't have this bug and AMDVLK is crashing. I tested using these packages: vulkan-amdgpu-pro, vulkan-radeon and amdvlk.

Edit: Created a Mesa bug report here. Edit2: Thought I was testing with AMDVLK, because it has same vulkan device name as pro drivers

Cloudperry avatar Oct 01 '22 17:10 Cloudperry

Created a Mesa bug report

That's nice but I think I remember in the past the mesa developers were not very receptive to bug reports describing problems in cemu. I think at the time they cited that cemu was proprietary windows software and that they need a particular wii u game to reproduce the problem. One of those things has changed now but it's still a pretty big hurdle to acquire a Wii U and the game and to learn how to dump games, just to test one issue on your issue tracker. I wouldn't be surprised if the only way this gets fixed is when someone finds the exact issue, whether it be a race condition in cemu that only shows on RADV for vega because of in-spec driver differences or a true driver bug.

goeiecool9999 avatar Oct 02 '22 08:10 goeiecool9999

they need a particular wii u game to reproduce the problem

That wouldn't be a problem if someone gets a trace/capture of the bug using gfxreconstruct. I tried it using this package, but couldn't make it work even after reading the desktop usage instructions on gfxreconstruct's github page.

If anyone gets gfxreconstruct working for Cemu pls tell me how u got it working. Or if u have a Vega GPU just post a capture in that Mesa bug report.

Cloudperry avatar Oct 02 '22 13:10 Cloudperry

If anyone gets gfxreconstruct working for Cemu pls tell me how u got it working. Or if u have a Vega GPU just post a capture in that Mesa bug report.

I will try.

ghost avatar Oct 02 '22 15:10 ghost

Yep. I can confirm that it is fixed. Very nice to have this quite old bug dealt with. Surely this affected some other games as well right?

Would be nice if all Vulkan drivers behaved the same way. I'm closing the Mesa bug report.

Cloudperry avatar Nov 04 '22 00:11 Cloudperry