Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
ghost opened this issue Sep 18, 2022 · 12 comments · Fixed by #431
Closed

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

ghost opened this issue Sep 18, 2022 · 12 comments · Fixed by #431

Comments

@ghost
Copy link

ghost commented Sep 18, 2022

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
12b6830

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.

@Squall-Leonhart
Copy link
Contributor

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

@goeiecool9999
Copy link
Collaborator

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.

@ghost
Copy link
Author

ghost commented Sep 18, 2022

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
Copy link
Author

ghost commented Sep 18, 2022

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.

@Squall-Leonhart
Copy link
Contributor

your bug was blank on first submission

@goeiecool9999
Copy link
Collaborator

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

@ghost ghost changed the title textures going nuts [Linux] [Radv vulkan driver] [BOTW] Tall grass like structures Sep 18, 2022
@ghost ghost changed the title [Linux] [Radv vulkan driver] [BOTW] Tall grass like structures [Linux] [Radv vulkan driver] [BOTW] Tall grass like graphical bugs Sep 18, 2022
@ghost
Copy link
Author

ghost commented Sep 18, 2022

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?

@Cloudperry
Copy link

Cloudperry commented Oct 1, 2022

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

@goeiecool9999
Copy link
Collaborator

goeiecool9999 commented Oct 2, 2022

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.

@Cloudperry
Copy link

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.

@ghost
Copy link
Author

ghost commented Oct 2, 2022

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.

@Cloudperry
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants