flathub / org.yuzu_emu.yuzu

https://flathub.org/apps/details/org.yuzu_emu.yuzu
21 stars 45 forks source link

steam deck yuzu multiple games that worked before now crash #578

Open ohkwon opened 2 years ago

ohkwon commented 2 years ago

xenoblade 2 crashes a few seconds of playing after loading a save file. was previously able to play. atelier ryza crashes the moment it starts rendering 3dmodels at main menu. was previously able to play. persona 5 strikers was previously able to play. now crashes at main menu when loading 3d models. log: yuzu_log.txt

purpasmart96 commented 2 years ago

Same thing happens in MHGU, on Manjaro KDE yuzu_log.txt.old.txt

Llamamoto commented 2 years ago

Having same problem with Links Awakening in Manjaro Gnome, Flatpak and AUR versions of Yuzu

Llamamoto commented 2 years ago

yuzu_log.txt

aksti commented 2 years ago

Same for Paper Mario und Animal Crossing. Please fix this issue as quickly as you can. Thanks

System: Steam Deck

yuzu_log.txt

Unfortunately the latest Update to version 1092 (2022-07-16) does not help. But thanks for your help.

babyborborz commented 2 years ago

Same for Monster Hunter Stories 2, Dragonquest Builders 2

System: Steam Deck

yuzu_log.txt

josejrr1989 commented 2 years ago

The same thing happened for Legend of Zelda: Breath of the Wild

josejrr1989 commented 2 years ago

yuzu_log.txt

liushuyu commented 2 years ago

Hi all,

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.

liushuyu commented 2 years ago

Hi all,

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 issues.

ohkwon commented 2 years ago

Thank you for the speedy work and responsiveness! I will definitely test it out!

purpasmart96 commented 2 years ago

Unfortunately the crash is still present in 1094 for MHGU.

babyborborz commented 2 years ago

Same thing for Monster Hunter Stories 2 and Dragonquest Builders 2

yuzu_log.txt

josejrr1989 commented 2 years ago

The issue is still present in Breath of the Wild as well

On Mon, Jul 18, 2022, 5:24 AM babyborborz @.***> wrote:

Same thing for Monster Hunter Stories 2 and Dragonquest Builders 2

— Reply to this email directly, view it on GitHub https://github.com/flathub/org.yuzu_emu.yuzu/issues/578#issuecomment-1187130913, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFSQDZPNVLE72J3JWQ2KMZDVUU5HXANCNFSM53WJEG5Q . You are receiving this because you commented.Message ID: <flathub/org. @.***>

josejrr1989 commented 2 years ago

Still, same problem.

yuzu_log.txt

josejrr1989 commented 2 years ago

Still, same problem.

yuzu_log.txt

liushuyu commented 2 years ago

Hi all,

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.

Note that the cause of your crash may be different from the other people in this thread. 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).

purpasmart96 commented 2 years ago

1096 still crashes MHGU

liushuyu commented 2 years ago

1096 still crashes MHGU

I see. Then you probably need to wait for the other fix to land in the main repository.

aksti commented 2 years ago

Unfortunately the latest Update to version 1096 (2022-07-19) does not help.

Paper Mario, Medroid und Animal Crossing still crashing. Thanks for fixing.

System: Steam Deck

yuzu_log.txt

Question, how can I install an older version (e.g. 1089) via flatpak

Thanks

Llamamoto commented 2 years ago

This command will roll your package back to 1089 sudo flatpak update --commit=003fb91f0bd1b3a23e6111f9d602cb124e74f693ce010a402e3b949c817171dc org.yuzu_emu.yuzu

purpasmart96 commented 2 years ago

1098 still the same, as in crashing for MHGU... Guess Ill just revert to to 1089 until the issues is fixed.

liushuyu commented 2 years ago

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

purpasmart96 commented 2 years ago

Nope, 1099 same issue, MHGU crashes. Was never a vulkan issue for me since it crashes on opengl too.

liushuyu commented 2 years ago

Nope, 1099 same issue, MHGU crashes. Was never a vulkan issue for me since it crashes on opengl too.

Sorry, the fix was not included in 1099. Please click the link: https://github.com/flathub/org.yuzu_emu.yuzu/pull/587#issuecomment-1190778384 for the test build.

purpasmart96 commented 2 years ago

Nope, 1099 same issue, MHGU crashes. Was never a vulkan issue for me since it crashes on opengl too.

Sorry, the fix was not included in 1099. Please click the link: #587 (comment) for the test build.

Still crashing for MHGU, although it lasts about 5-7 seconds longer before hard crashing.

Beanow commented 2 years ago

@purpasmart96 are you sure you've tested with with the test version? Check out my comments on how to run it https://github.com/flathub/org.yuzu_emu.yuzu/issues/570#issuecomment-1192973861

ohkwon commented 2 years ago

yuzu_log.txt

still crashing atelier ryza, xenoblade 2 and persona 5 strikers on steam deck for v 1100.

liushuyu commented 2 years ago

still crashing atelier ryza, xenoblade 2 and persona 5 strikers on steam deck for v 1100.

1100 is possibly not the test version you are looking for. But don't worry, I will merge the fix into the stable version very soon.

ohkwon commented 2 years ago

still crashing atelier ryza, xenoblade 2 and persona 5 strikers on steam deck for v 1100.

1100 is possibly not the test version you are looking for. But don't worry, I will merge the fix into the stable version very soon.

Noted! Thank you for the update!

liushuyu commented 2 years ago

Noted! Thank you for the update!

I have pushed a new build. The version is still 1100 but with fixes included. Please test if this build fixes your issue.

ohkwon commented 2 years ago

Noted! Thank you for the update!

I have pushed a new build. The version is still 1100 but with fixes included. Please test if this build fixes your issue. yuzu_log.txt

using flatpak yuzu v 1100, atelier ryza and persona 5 strikers still crashes. xenoblade 2 is working again and dragon quest xi runs better, but with more visual glitches. however, smash ultimate runs at 120 fps now with game speed running at 2x.

purpasmart96 commented 2 years ago

@purpasmart96 are you sure you've tested with with the test version? Check out my comments on how to run it #570 (comment)

Ok I re ran it again and this time no crash (so far) in MHGU, not sure why you guys want it installed with --user, I had to screw around with my flatpak ref because it was under user and not system since installing under user is not the default behavior.

liushuyu commented 2 years ago

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!

purpasmart96 commented 2 years ago

Yeah latest version no crashes!

Llamamoto commented 2 years ago

1105 works with Links Awakening:)

josejrr1989 commented 2 years ago

Breath of the wild is working.

On Sat, Jul 23, 2022, 1:38 AM Llamamoto @.***> wrote:

1105 works with Links Awakening:)

— Reply to this email directly, view it on GitHub https://github.com/flathub/org.yuzu_emu.yuzu/issues/578#issuecomment-1193080138, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFSQDZNYALK4XNUUYVX7MJTVVOOQHANCNFSM53WJEG5Q . You are receiving this because you commented.Message ID: <flathub/org. @.***>

ohkwon commented 2 years ago

Any update on when version 1105 will come to flatpak?

liushuyu commented 2 years ago

Any update on when version 1105 will come to flatpak?

1105 has been on Flatpak for a few days now. The latest version here (as of writing) is 1107.

ohkwon commented 2 years ago

Currently flatpak via the Discover app in the steam OS linux distro is not showing any update for Yuzu, and I'm currently sitting at version 1100 still. This is probably a config issue on my end then? Or is my understanding of flatpak incorrect?

liushuyu commented 2 years ago

Currently flatpak via the Discover app in the steam OS linux distro is not showing any update for Yuzu, and I'm currently sitting at version 1100 still. This is probably a config issue on my end then? Or is my understanding of flatpak incorrect?

If you previously installed yuzu test build, please use the following command to remove the reference and repository listing:

flatpak remote-delete yuzu-origin
flatpak uninstall org.yuzu_emu.yuzu//test
ohkwon commented 2 years ago

Thanks! I ended up removing yuzu and reinstalling it, at version 1105 now!

Currently, smash ultimate was running at 2x game speed, so i manually had to set the limit speed to 100% (it was at 200% before). Smash ultimate is running fine now.

Xenoblade 2 is also currently running successfully as it did before.

However, Atelier Ryza still crashes when going from title cutscene to main menu that renders 3d assets.

Persona 5 Strikers is also crashing still, when starting a new game, after clicking okay on a popup icon to dismiss DLC notifications.

yuzu_log.txt

liushuyu commented 2 years ago

However, Atelier Ryza still crashes when going from title cutscene to main menu that renders 3d assets.

Persona 5 Strikers is also crashing still, when starting a new game, after clicking okay on a popup icon to dismiss DLC notifications.

yuzu_log.txt

Unfortunately, the log did not capture anything useful.

If you are able, can you help us investigate this further by providing a debugger trace (see https://github.com/flathub/org.yuzu_emu.yuzu/blob/master/README.md#obtaining-a-debugger-trace-after-the-crash)? If you don't know how to use the terminal, then you probably should not attempt this.

babyborborz commented 2 years ago

Monster Hunter Stories 2 work on 1105 now. Dragonquest Builders 2 still crashes when starting a new game. Also, Amiibos are still not available for the steam deck Yuzu right?

yuzu_log.txt

ohkwon commented 2 years ago

However, Atelier Ryza still crashes when going from title cutscene to main menu that renders 3d assets. Persona 5 Strikers is also crashing still, when starting a new game, after clicking okay on a popup icon to dismiss DLC notifications. yuzu_log.txt

Unfortunately, the log did not capture anything useful.

If you are able, can you help us investigate this further by providing a debugger trace (see https://github.com/flathub/org.yuzu_emu.yuzu/blob/master/README.md#obtaining-a-debugger-trace-after-the-crash)? If you don't know how to use the terminal, then you probably should not attempt this.

When running the following command, following the guide for Obtaining a debugger trace after the crash, I got this error on step 3:

`flatpak-coredumpctl org.yuzu_emu.yuzu -m yuzu --gdb-arguments "--batch -ex 'thread apply all bt'" > /tmp/yuzu-backtrace.log Executable /app/bin/yuzu doesn't seem to be a flatpaked application.

warning: the debug information found in "/usr/lib/debug//app/bin/yuzu.debug" does not match "/app/bin/yuzu" (CRC mismatch).

BFD: warning: /tmp/tmpb_j_cczv is truncated: expected core file size >= 18279215104, found: 2147483648

warning: Can't open file /memfd:xorg (deleted) during file-backed mapping note processing

warning: Can't open file /memfd:HostMemory (deleted) during file-backed mapping note processing

warning: Can't open file /memfd:xshmfence (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/u1000-Shm_3e474ab8 during file-backed mapping note processing

warning: Can't open file /dev/shm/u1000-Shm_d0c21a95 during file-backed mapping note processing

warning: Can't open file /dev/shm/u1000-Shm_e218bb05 during file-backed mapping note processing

warning: Can't open file /dev/shm/u1000-Shm_d8a3d32f during file-backed mapping note processing

warning: Can't open file /dev/shm/u1000-ValveIPCSharedObj-Steam during file-backed mapping note processing

warning: Error reading shared library list entry at 0x5d7cf8603bee1d0e

warning: Error reading shared library list entry at 0x7f3257c1a18dfee2 Failed to read a valid object file image from memory. `

liushuyu commented 2 years ago

When running the following command, following the guide for Obtaining a debugger trace after the crash, I got this error on step 3: [...] warning: the debug information found in "/usr/lib/debug//app/bin/yuzu.debug" does not match "/app/bin/yuzu" (CRC mismatch).

It seems like your yuzu version mismatches the debugging data. But don't worry, one of our developers took an educated guess and worked out a fix. I will publish this fix to the Flatpak version later when I am allowed (by FlatHub) to do so.

liushuyu commented 2 years ago

@ohkwon Sorry for the inconvenience. The issue should be fixed in mainline 1112.

ohkwon commented 2 years ago

Thanks I can report Atelier Ryza works! I had an issue where all UI elements on screen (mini map, banner text, etc.) was flickering every frame without stop as if the UI couldn't decide which resolution the game was rendering so it was switching locations for the flicker. This went away after switching it from handheld, to docked, to handheld mode again. Not sure what this was, but I thought it was worth mentioning.

I can also report that Persona 5 strikers is now running! but there is a new visual bug where enemies in the beginning are glowing uncharacteristically and it's a rather strong visual effect. I've attached screenshots below. yuzu_log.txt 20220731202944_1 20220731203033_1

I've also attached a screenshot of the game of the way it is supposed to look for comparison to give more concrete context. Note the difference in the visuals of the enemy bodies.

image

Of course, I'm not sure if the yuzu team wants feedback on visual glitches as opposed to hard crashes, so I'll just leave this here in case it is something you do intend to work on. Thank you either way!

liushuyu commented 2 years ago

Of course, I'm not sure if the yuzu team wants feedback on visual glitches as opposed to hard crashes, so I'll just leave this here in case it is something you do intend to work on. Thank you either way!

We do intend to fix both crashes and rendering issues.

However, tracking down rendering issues is very difficult since our developer needs to own either the GPU with the same model (in this case, you can only obtain it by purchasing a Steam Deck) or a similar GPU (in this case, it's challenging to find a similar one). The problem is that the issue may also be stemming from the GPU driver itself doing something unexpected and needing a workaround to prevent it from misinterpreting graphical instructions from yuzu.

ohkwon commented 2 years ago

Of course, I'm not sure if the yuzu team wants feedback on visual glitches as opposed to hard crashes, so I'll just leave this here in case it is something you do intend to work on. Thank you either way!

We do intend to fix both crashes and rendering issues.

However, tracking down rendering issues is very difficult since our developer needs to own either the GPU with the same model (in this case, you can only obtain it by purchasing a Steam Deck) or a similar GPU (in this case, it's challenging to find a similar one). The problem is that the issue may also be stemming from the GPU driver itself doing something unexpected and needing a workaround to prevent it from misinterpreting graphical instructions from yuzu.

Got it, thank you for the explanation. I can also run it on my windows PC and post my results if that will be helpful information for the team!

liushuyu commented 1 year ago

Hi, just to do a follow-up. Does the latest yuzu (1253 as of writing) fix the rendering issues in P5S?