flathub / org.yuzu_emu.yuzu

https://flathub.org/apps/details/org.yuzu_emu.yuzu
20 stars 43 forks source link

Game Crashes on Vulkan #309

Closed avocaderino closed 2 years ago

avocaderino commented 2 years ago

Pokemon Shield crashes when using certain moves(Waterfall) or performing certain actions(Dynamaxing) on Vulkan. OpenGL works fine but hogs too much memory for my low end system and crashes. Attaching log file and system specifications below.

yuzu_log.txt

System specifications:

avocaderino commented 2 years ago

I can't do much about it though. It's not an easy format to emulate. t also seems to be that they are activating all the features for every format, instead of limiting the features. It's likely that format has issues with blits which is not supported in Windows. The thing (from skimming the code) it seems that ANV only activates a format for transfer, sample and blits, instead of just some flags.

So what does this mean for an end user like me?

rmnscnce commented 2 years ago

So what does this mean for an end user like me?

It's painful but is somewhat true: "You have unsupported hardware".

One can try and report this to the Mesa issue tracker, though.

FernandoS27 commented 2 years ago

So what does this mean for an end user like me?

you have 2 options: Either request ANV to add it back or B. set a windows dual boot or set a virtual machine and forward the gpu.

It's painful but is somewhat true: "You have unsupported hardware".

I wouldn't call it "unsupported hardware" as his hardware supports the format, it's just that someone in ANV decided to disable the format rather than fix a chunk of the codebase.

avocaderino commented 2 years ago

I guess this is a lot of hassle compared to just switching to OpenGL in areas where the game crashes. Thank you for investigating the issue!

liushuyu commented 2 years ago

I guess this is a lot of hassle compared to just switching to OpenGL in areas where the game crashes. Thank you for investigating the issue!

So I guess I will close this issue for now? (Also, this does not seem to be a Flatpak specific issue by now)

liushuyu commented 2 years ago

@sanjapm BTW, https://github.com/yuzu-emu/yuzu/pull/7913 this pull request may help your issue.

You may want to keep your eyes on the update and see if this fixes the issue for you.

avocaderino commented 2 years ago

@sanjapm BTW, yuzu-emu/yuzu#7913 this pull request may help your issue.

You may want to keep your eyes on the update and see if this fixes the issue for you.

Yep, It does! Thank you to everyone who helped fix this 'issue'!

liushuyu commented 2 years ago

Yep, It does! Thank you to everyone who helped fix this 'issue'!

Glad to hear that. In which case, I will close this issue as your problem seem to have fixed.

Feel free to open another issue if something else happens.