Open TriVoxel opened 1 year ago
I reproduce this as well using the flatpak version on an Nvidia 1060, in OpenGL or Vulkan.
This is a Mesa issue. The official binary is not affected because it used a copy of Mesa libraries from Ubuntu (which has LTO disabled). Arch Linux/Fedora/Flatpak, AFAIK, currently have LTO enabled for Mesa, which caused optimization errors in Mesa code.
See Mesa's upstream report for this issue: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6911
Does mesa even come into play on NV gpus? I have the same issues on my 3080.
Does mesa even come into play on NV gpus? I have the same issues on my 3080.
No. Then yours may be a different issue. The OP uses an AMD GPU hence my comment about Mesa.
Does mesa even come into play on NV gpus? I have the same issues on my 3080.
No. Then yours may be a different issue. The OP uses an AMD GPU hence my comment about Mesa.
Its very odd cause its the same symptoms, extreme graphical issues with model pop in and swaping on flatpak, but appimage is perfect.
Does mesa even come into play on NV gpus? I have the same issues on my 3080.
No. Then yours may be a different issue. The OP uses an AMD GPU hence my comment about Mesa.
Its very odd cause its the same symptoms, extreme graphical issues with model pop in and swaping on flatpak, but appimage is perfect.
I am having the exact same issue with an RTX 3060 TI. Flatpak has graphical artifacts and the AppImage doesn't.
Just chiming in with some extra test data. I run arch with an aur yuzu that's compiled everytime and it has the same issues. Switching to the appimage fixed the random geometry and texture issues.
It actually isn't mesa. I looked around and noticed that yuzu uses vcpkg for boost and some other stuff, i will assume that is what they use in appimage as there is no submodule related to boost in .gitmodules.
I tried using boost from vcpkg in my PKGBUILD and there were no glitches in yuzu just like the appimage.
So, either the problem is boost or some other dependency fetched using vcpkg.
Here is my PKGBUILD if you want to see it https://pastebin.com/hmTxGVt5
@Emerald-glitch This has been fixed already. One of the recent commits downgrades the boost dependency and I can personally verify that the severe mesh glitches are gone now.
Tested on Steam Deck with the latest package and can confirm the issue is fixed.
(Also, as a game dev by trade, I absolutely love that a bug this explosive was somehow caused by Boost, of all things)
yuzu Version
Mainline 1339 (Flathub)
Description
Models seemingly pop in and out all over the place and get all mixed up. Sometimes I have a pole attached to my morph ball, sometimes the enemies turn into hallways, panels and doors disappear, doors open up to a giant pile of junk, my spaceship is stuck in a tree... Basically, it seems like models are just randomly swapping places and attaching themselves to different things. Tried updating my keys, tried OpenGL and Vulkan, tried disabling all graphical settings, disabling extended memory and async shader compiling... I cannot get the issues to go away. My game file is good because it works flawlessly in Ryujinx and was a clean rip. This is the first Switch game I've had behave like this.
Here is video proof: https://youtu.be/DnPHDivm80Y
This does not happen in the AppImage version.
System Information
Logs
yuzu_log.txt yuzu_log.txt.old.txt
Remarks
Happens even on a fresh install of Yuzu from Flathub. I also heard a user in my other issue say the following:
This is 100% reproducable no matter what settings I use. Like mentioned, this does not happen in the AppImage, even with resolution and other enhancements.