-
Notifications
You must be signed in to change notification settings - Fork 206
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
Final Fantasy XVI freeze and performance issues #2282
Comments
Terrible performance on NV is known and last time I looked at it, it didn't look like anything directly related to vkd3d-proton, so it's unclear how we progress on the issue. As for freezes, I'm not aware of that. |
Looking through the proton log file you provided the only thing of note that I see is the following section:
I ran the game locally and it results in the same logs being produced but I don't see the game freeze. So I think it must be correctly handling the E_INVALIDARG return code that is produced by vkd3d-proton for those shaders. Could you provide the output from dmesg after the freeze occurs? This will help determine if you are hitting a GPU hang or if something else is happening. Providing a save file would also be helpful as I have not been able to reproduce the freeze with the local save I have. |
Here is the dmesg output for the session I just had where it ended up freezing. I guess that part will be the most interesting:
Strangely enough, I switched back to 2.14.1 to get you the trace and the freeze wasn't as reliable as I explained in my initial post with the same version, I'm not sure why. For the log I joined here, I played for about 10 minutes fighting mobs in the Royal Meadows location of the game until it froze. Could it be that a given freeze would corrupt the shader cache or something and then only the game would freeze systematically? So no save where it's sure to freeze, but I don't think this issue is related to a specific scene as it would always freeze as long as GPU usage reaches 100%. If I understand better how it triggers and becomes systematic, I'll follow up. EDIT: The game freezes systematically again and I have no idea why it does it now, I just shut down the computer and restarted it a few hours later in between. Here is the log with NVRM crash, like the other one, the _threadNodeCheckTimeout lines are repeated until the process was killed.
|
i have not gotten any crash on the game but this PR #2307 seems to fix the stutters at least Tested with an RTX 4070 |
Hi! First thank to everyone working on this, you're the wizards making gaming on Linux possible and my gratitude for this knows no bounds.
I open this thread for two issues I encounter with Final Fantasy XVI. The game is actually quite a mess of a port so it's hard to tell if the issues come from Proton, VKD3D-Proton or the game itself and I don't have any Windows to test it. Anyways, here's what I found:
Freezing issue
The game freezes systematically when loading a save within seconds after the loading is finished. The issue seems to occur only when the GPU is maxed out or above 90-95%. With VKD3D-Proton 2.14 bundled with Proton GE 9-22 (at c965c13), I found two workarounds :
I found out that the second workaround doesn't work anymore when I swap Proton GE 9-22's VKD3D-Proton to the 2.14.1 release. It seemed to work properly the first time the game has been started (where it compiles shaders), but any subsequent start would end up freezing on loading, be it at the start of the game or the actual save. Rolling back to the bundled version restores the behavior explained previously.
This discrepancy between 2.14 and 2.14.1 decided me to post this issue even though the port is of uneven quality as I guess this may point to a VKD3D-Proton issue after all. From what I could find, this issue seem to plague nvidia cards only. Please note that the game also seems to freeze randomly on Windows too if the people on Steam forums and elsewhere can be believed.
Unstable performance in open or crowded area
The other issue, not game breaking, is that I experience horrendous performance in more open or crowded area (like the first town we get to named Lostwing, or Martha's Rest later in the game if that helps). The behavior is kind of strange as the framerate is normal when the scene is static (camera not moving in any way) but plummet to a crawl when just rotating the camera to then slowly return to the initial framerate when stopping to move the camera. We can see that the GPU load is decreasing when the framerate goes down. It looks like there's something holding the rendering when rotating the camera that somehow stacks until the movement stops and slowly resolves itself. Nothing special seen on the CPU front though. This issue seems to plague AMD cards as well. I have no idea if it occurs on Windows too.
System information
Log files
** Proton logs: steam-2515020_slowdown.log
** mangohud recording: ffxvi_2025-01-13_22-31-03.csv
Also:
If I may be of further help in any way (more logs, providing saves, whatever), please ask!
The text was updated successfully, but these errors were encountered: