Closed xenos9 closed 2 years ago
Hi there,
Thank you for your report. We have identified the issue and will publish a fix soon.
The issue is in the dynarmic
CPU JIT module and will only affect the Flatpak version due to the way how Flatpak version is compiled.
You can temporarily use the AppImage version or downgrade to 1089 as a workaround. Sorry for the inconvenience.
Hi there,
We have (hopefully) fixed the issue in the mainline 1094 version.
I have submitted the new build to FlatHub. It may take a while for FlatHub to make the new release available.
Please test if this new version fixed your issue.
I'm sorry to say that the issue didn't go away. Now, the crash happens a couple of seconds sooner.
Problems in other games still persist: Fire Emblem TH freezes during loading a save, Dragon Quest 11 has a graphical flashing and sometimes the sound goes into resonance. If you need more logs, let me know and I will add them
I'm sorry to say that the issue didn't go away. Now, the crash happens a couple of seconds sooner.
Problems in other games still persist: Fire Emblem TH freezes during loading a save, Dragon Quest 11 has a graphical flashing and sometimes the sound goes into resonance. If you need more logs, let me know and I will add them
I see. Sorry for the inconvenience. We will investigate this further.
Hi there,
We have identified multiple causes that may have led to the issue. We have fixed one of the issues in the mainline 1096 version.
I have submitted the new build to FlatHub. It may take a while for FlatHub to make the new release available.
Please test if this new version fixed your issue. If this version still does not fix your issue: don't worry; we are coming up with a speculative fix for the other issues (which will take a while).
Sorry to be the bearer of bad new, but the new changes didn't fix the problems that I specified. More so, the graphical glitches in Dragon Quest XI were exacerbated (screen flickering , textures missing and so on Still, you are doing a great job, don't give up! (Also, I don't know if I should've opened 3 tickets for 3 different games?) Also, I will not be able to test and reply in the next couple of weeks
I am not the OP, but I am also have crashes after < 5 seconds.
yuzu 1096 (Flatpak)
System:
Host: user-linux Kernel: 5.18.9-zen1-1-zen arch: x86_64 bits: 64
compiler: gcc v: 12.1.0 Desktop: KDE Plasma v: 5.25.2 Distro: Arch Linux
Machine:
Type: Desktop Mobo: ASUSTeK model: ROG STRIX X570-E GAMING v: Rev X.0x
serial:
Ok just saw there was the 1097 Update, but it haven't fixed the crash yuzu_log.txt
Hi all,
We now have a speculative fix for the issue. Since this is a speculative fix, we/I have prepared a test version for you: https://github.com/flathub/org.yuzu_emu.yuzu/pull/587#issuecomment-1189641450.
Please test if this fix at least helps with the crash (e.g. if it delays the crash or makes the crash harder to reproduce).
Thank you
Tried the test build right now, still crashes after <= 5 seconds. So i continue my save, turn around and get a hard lock.
Idk if that helps, but in my terminal following message appeared when it crashes:
/usr/include/c++/11.3.0/span:278: constexpr std::span<_Type, _Extent>::element_type& std::span<_Type, _Extent>::operator[](std::span<_Type, _Extent>::size_type) const [with _Type = short int; long unsigned int _Extent = 18446744073709551615; std::span<_Type, _Extent>::reference = short int&; std::span<_Type, _Extent>::size_type = long unsigned int]: Assertion '__idx < size()' failed.
Tried the test build right now, still crashes after <= 5 seconds. So i continue my save, turn around and get a hard lock.
Sorry but can you verify if Flatpak launched the test version instead of the stable version?
You need to launch the test version using flatpak run org.yuzu_emu.yuzu//test
. Sorry if this is confusing, this is how Flatpak was designed.
I uninstalled the stable version to be sure that it uses the test branch and started it with flatpak run --branch=test --arch=x86_64 --command=yuzu-launcher org.yuzu_emu.yuzu
and also tried your command flatpak run org.yuzu_emu.yuzu//test
.
Also the version is different, i downgraded yuzu stable to version 1089 so i can progress in the game until the bug is fixed :)
But to be sure i removed all version of yuzu right now and only installed the linked test build so we could be sure :)
I uninstalled the stable version to be sure that it uses the test branch and started it with
flatpak run --branch=test --arch=x86_64 --command=yuzu-launcher org.yuzu_emu.yuzu
and also tried your commandflatpak run org.yuzu_emu.yuzu//test
. Also the version is different, i downgraded yuzu stable to version 1089 so i can progress in the game until the bug is fixed :)But to be sure i removed all version of yuzu right now and only installed the linked test build so we could be sure :)
I see. When you get some time, can you help us track down the issue? Our developers cannot reproduce such a crash. See https://github.com/flathub/org.yuzu_emu.yuzu#obtaining-a-debugger-trace-after-the-crash. Thanks in advance!
Here you go :)
Backtrace using the "After the crash"-method: yuzu-backtrace.log
Backtrace using the "As the crash happens"-method: yuzu-backtrace-while-running.log
Here you go :)
Backtrace using the "After the crash"-method: yuzu-backtrace.log
Backtrace using the "As the crash happens"-method: yuzu-backtrace-while-running.log
Thank you very much! However, the debugger did not resolve the function names in the backtrace: this is not your fault: this is a bad design of Flatpak. Can you do flatpak install --user yuzu-origin org.yuzu_emu.yuzu.Debug
and then try to collect the backtrace again? I will append this information to the instructions. Sorry for the trouble.
No problem, i know how hard it can be to debug such problems :) Unfortunately i am not so familiar with the switch system, else i would try to help to fix the bug :)
No problem, i know how hard it can be to debug such problems :) Unfortunately i am not so familiar with the switch system, else i would try to help to fix the bug :)
Thank you! This shows a very different crash site than we previously thought. The crash seems to be inside the audio decoder. It seems like multiple issues led to this crash.
I have notified the author of this part. We will work out a fix soon.
Pushed a fix for this, will be in the next EA/mainline.
If you can find any more of those errors in audio let me know with a backtrace like that one, it helps a lot.
Hi there,
We now have a new fix for the issue. We have prepared a new test version for you: https://github.com/flathub/org.yuzu_emu.yuzu/pull/587#issuecomment-1190778384.
Please test if this fixes the crash you encountered.
Thank you
Hi, the new version seems to have fixed the crash. I just downloaded the test build and played for >15 minutes without any crashes :) Thank you :)
EDIT: Ok played for 4 hours and no crashes, so the problem that i had is solved :)
Hi all,
Your issues should have been fixed in mainline 1105. If not, please help us locate your issue by responding to this comment with your (updated) issue description.
Thanks for everyone here to help us track down the issue!
Sorry for the delay, can confirm that the crash in Xenoblade 2 disappeared, FE loads with no problem.
Host: DESKTOP-OJD55MH Kernel: 5.18.11-200.fc36.x86_64 arch: x86_64 bits: 64 compiler: gcc v: 2.37-27.fc36 Desktop: KDE Plasma v: 5.25.3 Distro: Fedora release 36 (Thirty Six) Machine: Type: Desktop System: Gigabyte product: Z390 AORUS ULTRA v: N/A serial:
Mobo: Gigabyte model: Z390 AORUS ULTRA-CF v: x.x
serial: UEFI: American Megatrends v: F7f
date: 01/16/2019
Battery:
Device-1: sony_controller_battery_00:22:68:f6:fd:5e model: N/A charge: N/A
status: full
CPU:
Info: 8-core model: Intel Core i9-9900K bits: 64 type: MT MCP
arch: Coffee Lake rev: C cache: L1: 512 KiB L2: 2 MiB L3: 16 MiB
Speed (MHz): avg: 800 min/max: 800/5000 cores: 1: 800 2: 800 3: 800
4: 800 5: 800 6: 800 7: 800 8: 800 9: 800 10: 800 11: 800 12: 800 13: 800
14: 800 15: 800 16: 800 bogomips: 115200
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
Device-1: NVIDIA TU104 [GeForce RTX 2080 Rev. A] vendor: Micro-Star MSI
driver: nvidia v: 515.57 arch: Turing bus-ID: 01:00.0
Device-2: Logitech QuickCam Pro 5000 type: USB
driver: snd-usb-audio,uvcvideo bus-ID: 1-11.1:7
Display: x11 server: X.Org v: 1.20.14 with: Xwayland v: 22.1.3 driver: X:
loaded: nvidia unloaded: fbdev,modesetting,nouveau,vesa
gpu: nvidia,nvidia-nvswitch resolution: 2560x1440
OpenGL: renderer: NVIDIA GeForce RTX 2080/PCIe/SSE2
v: 4.6.0 NVIDIA 515.57 direct render: Yes
Drives:
Local Storage: total: 6.37 TiB used: 1.39 TiB (21.8%)
Info:
Processes: 411 Uptime: 15m Memory: 31.19 GiB used: 2.89 GiB (9.3%)
Init: systemd target: graphical (5) Compilers: gcc: 12.1.1 clang: 14.0.0
Packages: 19 note: see --pkg Shell: Bash v: 5.1.16 inxi: 3.3.19
yuzu_log.txt