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

Atelier Ryza 3: Alchemist of the End & the Secret Key (1999770) #6648

Open
2 tasks done
salixor opened this issue Mar 26, 2023 · 33 comments
Open
2 tasks done

Atelier Ryza 3: Alchemist of the End & the Secret Key (1999770) #6648

salixor opened this issue Mar 26, 2023 · 33 comments
Labels
Game compatibility - Unofficial Games not expected to work without issues XAudio2 Uses the XAudio2 subsystem

Comments

@salixor
Copy link

salixor commented Mar 26, 2023

Compatibility Report

  • Name of the game with compatibility issues: Atelier Ryza 3: Alchemist of the End & the Secret Key
  • Steam AppID of the game: 1999770

System Information

  • GPU: RTX3070Ti
  • Driver/LLVM version: Nvidia 525.89.02
  • Kernel version: 6.1.19
  • Link to full system information report as Gist: System info
  • Proton version: Experimental

I confirm:

  • that I haven't found an existing compatibility report for this game.
  • that I have checked whether there are updates for my system available.

Proton logs : steam-1999770.log

Symptoms

The game seems to run perfectly fine. There's only one issue I've had so far : pre-rendered videos seem to not play. Neither video nor audio.

Instead, we get this thing :

1999770_20230326165319_1

Screen goes white for a few frames before the video tries to play, along with a huge spike in frametime.

Reproduction

Simply have a tutorial video or the opening movie play. The attached logs are of a launch of the game where I opened the game (with the opening video), and then went into the help menu, in which many of these videos are found. I simply scrolled through the videos (then closed the game on purpose).

@kisak-valve kisak-valve added Game compatibility - Unofficial Games not expected to work without issues XAudio2 Uses the XAudio2 subsystem labels Mar 26, 2023
@salixor
Copy link
Author

salixor commented Mar 26, 2023

Issue seems to be the same as encountered on Sophie 2 : #5841

@sevansup
Copy link

sevansup commented Mar 28, 2023

This game has a number of glaring issues on Deck, not just the missing video codecs. Certain 2D menus are jittering on occasion, random freezes are occuring for many users when performing certain actions or loading into new areas, etc.

More here:
https://www.reddit.com/r/SteamDeck/comments/1201osn/psa_for_anyone_planning_to_play_atelier_ryza_3_on/

I also wanted to add that these Atelier games perform VERY poorly without doitsujin's (of DXVK fame) fix, which can double performance by dropping in this .DLL file. https://github.com/doitsujin/atelier-sync-fix

This applies to all DirectX 11 games made by Gust -- Many Atelier games including Ryza 1 and 2, Blue Reflection, others. If possible to merge this into proton so unknowing users don't have to hunt down this fix, that would be great. So far there seem to be no downsides from using this fix in these games, only crazy massive performance gains unlike anything I've ever seen from a simple .DLL drop. That said, they still suffer from the crashing issues mentioned above, starting with Sophie 2. Ryza 1 and 2 are near perfect/flawless experiences with the fix and would be worthy of verified status with it included by default.

Hope Valve and KT can work together to fix these issues. Oddly, the older Atelier games like Shallie run perfectly, even the prerendered videos. So there may be some regression in their development tools in regards to Deck/Linux compatibility.

If anyone needs some logs from me or wants me to run any tests for crashes, let me know. I can try both with and without the above fix.

Here is some gameplay comparing SteamOS with Windows on the Deck without the fix. With the fix, it is more than 2x the performance. https://youtu.be/r8PPDbQlSpw

@ffrasisti
Copy link

ffrasisti commented Mar 30, 2023

System Information

  • Steam Deck 512GB
  • OS: SteamOS Latest Stable
  • Proton version: 7.0.6 / Experimental

Symptoms

Freezing on loading screens
Freezes on tutorial videos
Random Freezes.
It's also quite stuttery. Performance is not where it should be considering other Gust games on SD

@ffrasisti
Copy link

ffrasisti commented Apr 1, 2023

Replying to #6648 (comment)

I hope the guy who makes the atelier fix can bring some of his stuff into proton

@ffrasisti
Copy link

#4569 and #5841 Exhibit the same problems on Steam deck with loading transitions freezing sometimes and some videos not playing with sound or just not playing at all. It's a problem common to the last 3 games all of which use the same engine. I hope valve can track the crashes at least since it's the big problem. I posted a log for ryza 2, ill try to get Steam deck logs of the loading screen hangs ups for these two as well

@ffrasisti
Copy link

ffrasisti commented Apr 2, 2023

Replying to 1486053534

. Ryza 1 and 2 are near perfect/flawless experiences with the fix and would be worthy of verified status with it included by default.

Ryza 2 also has loading screen freezes, they are just less frequent.

@ffrasisti
Copy link

ffrasisti commented Apr 4, 2023

Replying to #6648 (comment)

Do you have a log? Im redownloading sophie 2 to provide one for it.

Is anyone looking to this? These games are great fits for the deck, it's just these annoying software quirks. Hope there will be a fix

@salixor
Copy link
Author

salixor commented Apr 4, 2023

Replying to #6648 (comment)

Regarding the collision issue, it also appeared on W11 randomly. They seem to have fixed it with v1.2.1.0.


On Deck, I had to use the Atelier Fix to get the game running at decent performance levels. It also helped to get more performance on desktop.

I can confirm the random crashes, especially when a tutorial with video pops up. They seem to be less frequent with Cryotools on the Deck vs my Desktop, but this may only be coincidental.

Game also sometimes randomly soft crashes when trying to enter the atelier (but you have to Alt-F4 as there doesn't seem to be a way to go back in game). It's easily avoidable thanks to fast travel.

@hs-curry
Copy link

hs-curry commented Apr 5, 2023

Experiencing very frequent crashes almost every time a tutorial with video is supposed to pop up. I've noticed that they can sometimes be worked around by exiting the trigger area, loading other areas, and then returning to the trigger area. But it's not very consistent. I have also noticed that they can sometimes be worked around by setting graphics settings to minimum (even though I am getting fairly solid performance at max settings otherwise).

Here is a log:
ryza3_crash.log

I'm also experiencing random freezes, which I'll try to get a log of next time it happens.

@ffrasisti
Copy link

ffrasisti commented Apr 5, 2023 via email

@hs-curry
Copy link

hs-curry commented Apr 5, 2023

Have you tried experimental bleeding edge? What proton were you using?

I'm using proton-GE for most of my sessions because otherwise the videos don't play (as noted in the OP). But the crashing issue with the tutorial videos is consistent across all versions I've used, including 7.0 and Experimental (and the log above was for experimental-7.0-20230330). I haven't yet tried bleeding-edge.

@ffrasisti
Copy link

Can we try it? I forgot to redownload ryza 3 on deck. But damn, Ryza 2 seems like the last one that mostly works fine. Sophie 2 and this one need some attention from proton devs. I doubt koei tecmo cares. A shame since Capcom and Sega care about verifying their games and Atelier is an IDEAL DECK GAME

@sifiro
Copy link

sifiro commented Apr 19, 2023

Trying Proton-8, The game doesn't crash if It's showing up a new video (with Nvidia Drivers).
But, I detected a regression because It's not working FreeSync/G-Sync.

I ran twice Proton 8 (with a day of difference) with the same result, I changed to a previous version (Proton Experimental or 7) and now It's working.

Using the G-Sync Indicator, It's looks like it's working in the company logos ... until It's (attempting) to show up the video Opening and then loses the G-Sync Sync for the entire game.

GPU: RTX2070
Driver/LLVM version: Nvidia 530.41.03
Kernel version:  6.1.19-gentoo

Link to full system information report as Gist: https://gist.github.com/sifiro/f166a8f69f8b79b8a41ee1b7e012cb0a

@mbriar
Copy link

mbriar commented Apr 19, 2023

@sifiro can you try

d3d9.deferSurfaceCreation = True

in a file called dxvk.conf next to the game's .exe for the gsync issue?

@ffrasisti
Copy link

is there any progress on deck? or only desktop?

@sifiro
Copy link

sifiro commented Apr 19, 2023

@sifiro can you try

d3d9.deferSurfaceCreation = True

in a file called dxvk.conf next to the game's .exe for the gsync issue?

I didn't think that the config parameter works here. (It's more related to old Atelier Video Crashes)
But Yeah, It's fixed.

@mbriar
Copy link

mbriar commented Apr 19, 2023

I think this helps gsync/freesync/vrr issues because without d3d9.deferSurfaceCreation = True these games create an invisible d3d9 window on top of the actual d3d11 game window when videos are played, which blocks vrr. Thanks for checking, i'll make a PR to DXVK to enable it by default, i guess.

mbriar added a commit to mbriar/dxvk that referenced this issue Apr 19, 2023
doitsujin pushed a commit to doitsujin/dxvk that referenced this issue Apr 19, 2023
@hs-curry
Copy link

I'm not seeing any improvement with Proton 8 unfortunately. The game continues to crash upon opening the in-game guide (which contains videos). The only fix I've found is to reduce the resolution, which fixes the issue on every version of Proton that I have tried. I'm not sure if it's performance related or what, but for the rest of the game I'm getting 60fps on medium-high settings on native res, so not ideal to have to drop it just to avoid crashes in menus/videos.

@ffrasisti
Copy link

Has the situation improved on steam deck?

@sifiro
Copy link

sifiro commented May 4, 2023

Has the situation improved on the steam deck?

As far I can tell with my Linux machine with Nvidia with the latest GE based on Proton 8,
It fixed all the issues that I had related to crashes.
It could have a difference with AMD GPU/APUs.

@ffrasisti
Copy link

the game still freezes during loading transitions on proton experimental. Is someonw working on this? Please

@ffrasisti
Copy link

Is valve actively looking ino this one and other atelier's freezes? the games are fantastic for the machine, if only they worked more reliably

@ffrasisti
Copy link

Freezes are still there and the new patch introduced performance degradation. Its clear KT isnt like Sega and doesnt care. Can valve please look into whats going on with the later Atelier games on the deck and make them better here? The older ones work fanstasticly. Problems started on Ryza 2 and sophie 2 and became slightly worse here. Can someone please look into integrating atelier sync fix natively and fixing rhe freezes? Please

@sifiro
Copy link

sifiro commented Jul 12, 2023

@ffrasisti I checked your messages and You didn't provide logs even once.
Which It's minimal for offering support.

And looking into the ProtonDB with SteamDeck Users, It's looking all as usual.
https://www.protondb.com/app/1999770

It's maybe There is an issue with the installation (or some third-party issue) of your SteamOS (In that case, maybe a Factory Image could be good), some game file corrupted (Verify files button is handy in this case),
Or other factors (I don't if I should recommend deleting every Shadercache file available).

For me, I can say with 53 hours played (but Not in a SteamDeck because I don't own one)
If you are running the latest Proton G.E (or at least GE-Proton8-4, I don't know how It's the state of Proton 8 Vanilla), with AtelierSyncFix
(If you have some trouble enable it try to use WINEDLLOVERRIDES="d3d11=n,b" %command%" as launch parameter),
You should get at least a crashless experience (video without audio) (without AtelierSyncFix should too but I didn't check it).

I wouldn't say is perfect because It still exists some soft-locks sometimes when you try to enter by the original Atelier Hideout door.
but otherwise, It's quite perfect. in that regard. (The relative performance comparated with other Game Engines is another discussion/topic.)

@ffrasisti
Copy link

ffrasisti commented Jul 12, 2023 via email

@sifiro
Copy link

sifiro commented Jul 12, 2023

@ffrasisti I ran the game at 70-80fps, Maybe I felt some loss of performance but in the long run, I think runs more or less the same (maybe XSMH Capture mode was enabled instead of VKCapture).
If It stutters when It's saving or loading maybe It's just an I/O Issue, Are You using sdcard or the Steam Deck eMMC version?
If It isn't, It's weird.
I got some micro-stutters when I move it horizontally but I usually use Variable framerate to mitigate it. It should be the same as limiting the fps. But I'm not sure.
And yes, I'm using the new fork found here:
https://github.com/TellowKrinkle/atelier-sync-fix/releases/tag/tkr-20230415

@ffrasisti
Copy link

ffrasisti commented Jul 12, 2023 via email

@salixor
Copy link
Author

salixor commented Jul 13, 2023

@ffrasisti I did get some performance drop on the Deck with the exact same Proton GE 7.53 version. However, it seemed to only be on the desert island, and not in other areas. And it appears to be an issue on other systems as well - though not really noticeable when the framerate is already great.

Is the performance drop global in your case ? Or was it localized ?

My final experience with Ryza 3 was very great, though I had to use GE (haven't tried experimental or 8.0 with the game). Performance was great (except the slowdowns in the DLC area). Crash wise, only the unexpected tutorials kept making my game crash at times in the later stages of the game (for instance, DLC related popins). And I think they fixed the crashing when opening the door to the atelier, as I've seen something like this in patch notes, and I haven't stumbled upon it either on Linux Desktop or Deck.

@ffrasisti
Copy link

ffrasisti commented Jul 13, 2023 via email

@salixor
Copy link
Author

salixor commented Jul 13, 2023

I'll try replaying a bit on my Deck in other areas when I find the time, and notify if I see the same issues. As I said, I only played the DLC area after the patch, so I may have missed a drop in performance in other areas as well.

For the record, which version of Proton are you running (I read experimental, is it still the case) ?

@ffrasisti
Copy link

ffrasisti commented Jul 13, 2023 via email

@salixor
Copy link
Author

salixor commented Jul 28, 2023

Hey @ffrasisti, I've found some time to boot the game on my Deck. I didn't see any major difference in performance between GE7.53, GE8.2 and GE8.9. Maybe it is an issue with the latest patch ? I do find the performance to have tanked in the Kurken area, especially around the fountain. I don't remember my framerate being as low over here.

Anyways, I don´t think much can be done on Valve's side. Blame Gust's handling of their PC ports.

@ffrasisti
Copy link

Hey @ffrasisti, I've found some time to boot the game on my Deck. I didn't see any major difference in performance between GE7.53, GE8.2 and GE8.9. Maybe it is an issue with the latest patch ? I do find the performance to have tanked in the Kurken area, especially around the fountain. I don't remember my framerate being as low over here.

Anyways, I don´t think much can be done on Valve's side. Blame Gust's handling of their PC ports.

I mean, integrating ATFIX into proton would be an improvement, but the problem ATFIX cant solve, with hanging on loading in the latest games, definitely has to be solved on the proton side as it doesnt exist on windows. The hanging is a problem to be solved in the compatibility layer. That is a valve problem imo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Game compatibility - Unofficial Games not expected to work without issues XAudio2 Uses the XAudio2 subsystem
Projects
None yet
Development

No branches or pull requests

7 participants