ValveSoftware / Proton

Compatibility tool for Steam Play based on Wine and additional components
Other
23.86k stars 1.04k forks source link

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

Open salixor opened 1 year ago

salixor commented 1 year ago

Compatibility Report

System Information

I confirm:

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

salixor commented 1 year ago

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

sevansup commented 1 year ago

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 commented 1 year ago

System Information

ffrasisti commented 1 year ago

Replying to https://github.com/ValveSoftware/Proton/issues/6648#issuecomment-1486053534

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

ffrasisti commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

Replying to https://github.com/ValveSoftware/Proton/issues/6648#issuecomment-1486053534

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 commented 1 year ago

Replying to https://github.com/ValveSoftware/Proton/issues/6648#issuecomment-1490688666

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 commented 1 year ago

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 commented 1 year ago

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

hs-curry commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

@sifiro can you try

d3d9.deferSurfaceCreation = True

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

ffrasisti commented 1 year ago

is there any progress on deck? or only desktop?

sifiro commented 1 year ago

@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 commented 1 year ago

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.

hs-curry commented 1 year ago

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 commented 1 year ago

Has the situation improved on steam deck?

sifiro commented 1 year ago

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 commented 1 year ago

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

ffrasisti commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

@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 commented 1 year ago

I dont crash, i do get the annoying freezes in in transitions sometimes which has me paranoidly saving regularly. I did provide logs of the freezes in ryza 2 and its basically the same problem. Performance in r3 was really good st a locked 40 but the lastest patch knocked it down to 30 with drops on cutscenes or time of day changes Have you found a way to maintain 40 after this patch? Im also not sure if og atfix or the new fork should be used. But both yield the same results for meEl 12 jul. 2023 8:01, Sifi @.***> escribió: @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 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).

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

sifiro commented 1 year ago

@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 commented 1 year ago

I have 2 decks they both have the game on the ssd. And everyone i talk to dropped from 40s to 30 unless they really drop the settings. Can you tell me what proton and settings gives you 70fps? Ive never seen ryza 3 run like that on deckEl 12 jul. 2023 12:31, Sifi @.***> escribió: @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

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

salixor commented 1 year ago

@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 commented 1 year ago

The performance drop is everywhere I have to lock at 30. Cutscenes will drop to 22. Sometimes entering the atelier will freeze with ryzas hand pushing the doorEl 13 jul. 2023 4:23, salixor @.***> escribió: @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.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

salixor commented 1 year ago

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 commented 1 year ago

Replying to https://github.com/ValveSoftware/Proton/issues/6648#issuecomment-1634414004

I switched to ge 8.3 and then 8.6 its the same no matter what. The cutscenes get the greatest drops. Or the key making animations. I think its close up and something about the effects and models up close

salixor commented 1 year ago

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 commented 1 year ago

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