Proton icon indicating copy to clipboard operation
Proton copied to clipboard

Satisfactory (526870)

Open alf1e opened this issue 2 years ago • 89 comments

Compatibility Report

  • Name of the game with compatibility issues: Satisfactory
  • Steam AppID of the game: 526870

System Information

  • GPU: Radeon 760M
  • Video driver version: Mesa 23.3.6
  • Kernel version: 6.7.6
  • Link to full system information report as Gist: https://gist.github.com/alf1e/28e592f1093e4c23f1142f423deed614
  • Proton version: Proton 9.0beta15 (Tried with GEProton 9.1 as well)

I confirm:

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

Symptoms

Random artefacts on main menu and in game.

Reproduction

Install Satisfactory and run with Proton 9 on similar hardware.

alf1e avatar Mar 17 '24 10:03 alf1e

steam-526870.zip

alf1e avatar Mar 17 '24 10:03 alf1e

https://github.com/ValveSoftware/Proton/assets/46057382/2f435b1c-ae6d-4d73-9b7c-72c4a0128623

alf1e avatar Mar 17 '24 10:03 alf1e

Hello @alf1e, can you test if setting the game's launch options to RADV_PERFTEST=gsfastlaunch2 %command% has an effect? If that helps, then the graphical artifacting is a 760M specific issue which is fixed in mesa 24.0.2 and newer (https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27618).

kisak-valve avatar Mar 17 '24 13:03 kisak-valve

RADV_PERFTEST=gsfastlaunch2

Hello @alf1e, can you test if setting the game's launch options to RADV_PERFTEST=gsfastlaunch2 %command% has an effect? If that helps, then the graphical artifacting is a 760M specific issue which is fixed in mesa 24.0.2 and newer (https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27618).

That partially worked, However textures such as the conveyor belts are still missing and it will not let me move my mouse all the way left until I ALT+TAB out and back into the game. I will update Mesa now but please set me know if you have any idea how to fix the other issues. image

alf1e avatar Mar 17 '24 13:03 alf1e

@kisak-valve Nevermind. Got into an actual game and it was still flickering with artefacts.

Screencast from 2024-03-17 16-35-39.webm

alf1e avatar Mar 17 '24 16:03 alf1e

Satisfactory regression on nVidia 555.42.02 (explicit sync)

Issue transferred from https://github.com/ValveSoftware/Proton/issues/7817. @Baughn posted on 2024-06-06T16:26:17:

Compatibility Report

  • Name of the game with compatibility issues: Satisfactory
  • Steam AppID of the game: 526870

System Information

  • GPU: RTX 4090
  • Video driver version: NVIDIA proprietary 555.42.02
  • Kernel version: 6.8.12
  • Link to full system information report as Gist.
  • Proton version: Experimental

I confirm:

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

Application log: steam-526870.log.gz

However, enabling PROTON_LOG dramatically changed the behaviour of the application; instead of what I describe below, it instead immediately freezes,

Symptoms

After installing NVIDIA driver version 555, at a random time (typically a few seconds) after launching, the game crashes with the following error: image

This is with %command% -vulkan. Without -vulkan it doesn't crash, but instead shows a black screen forever.

This is on Wayland. This driver version enabled the explicit swap chain for Xwayland, which I believe may have broken some assumption in winevulkan.

Reproduction

kisak-valve avatar Jun 06 '24 16:06 kisak-valve

@alf1e isn't there an UE VCRuntime library to install (on the Steam Deck it works and it gets installed when launching the game the first time but not on Steam desktop), I cannot get the game to run no matter the parameters (I'm using an AMD RX780M) on NixOS.

AkechiShiro avatar Jun 06 '24 19:06 AkechiShiro

@alf1e isn't there an UE VCRuntime library to install (on the Steam Deck it works and it gets installed when launching the game the first time but not on Steam desktop), I cannot get the game to run no matter the parameters (I'm using an AMD RX780M) on NixOS.

Not sure. All I know is Fedora 40 had a new Mesa version and that fixed my issues.

alf1e avatar Jun 06 '24 19:06 alf1e

Following https://github.com/ValveSoftware/Proton/blob/proton_9.0/docs/DEBUGGING.md, I attempted to attach a debugger to find out what the exact error from vkWaitForFences might be. I was not able to do so, unfortunately -- vkWaitForFences does not appear to be symbolized.

That said, from https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkWaitForFences.html:

On success, this command returns
- VK_SUCCESS
- VK_TIMEOUT

However, the generated code in loader_thunks.c is:

VkResult WINAPI vkWaitForFences(VkDevice device, uint32_t fenceCount, const VkFence *pFences, VkBool32 waitAll, uint64_t timeout)                                                                                                                                                     
{
    struct vkWaitForFences_params params;
    NTSTATUS status;
    params.device = device;
    params.fenceCount = fenceCount;
    params.pFences = pFences;    
    params.waitAll = waitAll;
    params.timeout = timeout;
    status = UNIX_CALL(vkWaitForFences, &params);      
    assert(!status && "vkWaitForFences");      
    return params.result;
}

Which treats any nonzero value as an error. In fact vk.xml specifies that either VK_SUCCESS or VK_TIMEOUT should count as a success for this function, but make_vulkan does not appear to make any use of this information. Since the physical value of VK_TIMEOUT is 2, not 0, the code raises a spurious assertion failure if the wait times out.

Previously to this driver update Linux only supported implicit sync, which would IIUC never have timed out.

I therefore believe this is a bug in winevulkan.dll, not in Satisfactory.

EDIT: ...not anymore. The result is returned out-of-band, so it's some other status check that's failing, and the return value from vkWaitForFences is just returned as-is. Right, well, I'm clearly out of my depth here then. I don't see anything relevant in the log.

Baughn avatar Jun 07 '24 18:06 Baughn

It just means a segfault happened on the other side.

misyltoad avatar Jun 07 '24 21:06 misyltoad

Makes... sense. The log file does seem to be mostly crash logs.

Baughn avatar Jun 07 '24 21:06 Baughn

FWIW I'm unable to reproduce this on NVIDIA, one of my machines ran the game fine (555.54.02 driver, Kwin 6 beta, and Xwayland 24.1) and the other spins at the loading screen indefinitely as the game starts.

Since this is suspected to be related to explicit sync I wonder if waiting on the sync fds within vkWaitForFences is going wrong, causing the error to be returned. If so it might be dependent on the kernel, I know there are some fixes for syncobjs although those should all be in 6.8.x kernels. Is anyone else reproducing this (on NVIDIA) easily and if so do you notice if a newer/older kernel has any effect?

amshafer avatar Jul 02 '24 17:07 amshafer

I'm also no longer able to reproduce. It works fine at the moment.

Baughn avatar Jul 23 '24 23:07 Baughn

I can still reproduce the vkWaitForFences error message with the following setup: Arch linux Kernel 6.9.10 Nvidia driver 555.58.02 Proton 9.0, Proton experimental, Proton GE (did not try any others) DE: Sway Satisfactory EGS version via Heroic Launcher

Will try again with kernel 6.10 and nvidia 560 beta tomorrow and edit this message if I remember to

Edit: Same error message with kernel 6.10 and nvidia 560.28.03

krakow10 avatar Jul 24 '24 04:07 krakow10

I was able to reproduce a few days ago on Arch Linux, kernel 6.10.2-arch1.1, nvidia-dkms (proprietary) 555.58.02, Proton Experimental, KDE Plasma 6.1, Satisfactory running in Vulkan through Steam.

JL2210 avatar Aug 01 '24 00:08 JL2210

Keyboard do not works and the buttons have moved from their normal places

Issue transferred from https://github.com/ValveSoftware/Proton/issues/8022. @Scinetist posted on 2024-08-25T09:12:03:

System - kubuntu 22.04 Game - Satisfactory (update 8, last ver) PC - 4070 & r7 7700x

when I load a save in satisfactory and try to do something I can't do anything - only the mouse and the tab and escape keys work (maybe something else, I don't remember exactly). I also had this problem on epic games

And I also have problems applying settings, because all the buttons in all the menus have moved to the right and down, and some of them are behind the screen

https://github.com/user-attachments/assets/c01274e3-bb68-435c-aaf2-80201cbab8d8 - screen capture

kisak-valve avatar Aug 25 '24 12:08 kisak-valve

Update: I can get into the game on driver 560.35.03 with egl-wayland 1.1.16. :tada: Tested with Proton GE. I am no longer experiencing the vkWaitForFences issue.

Edit: vkWaitForFences just happened again, but I tried to move the window while the game was loading or something. I avoided doing that and got into the game fine.

krakow10 avatar Aug 25 '24 17:08 krakow10

just a 'me too' regarding vkWaitForFences. nonvidia 560.35.03, 6.10.7-amd64, KDE Plasma, Wayland, any proton, same result.

ofcaah avatar Sep 10 '24 08:09 ofcaah

1.0 got just released. Same problem on Proton Experimental: image

ofcaah avatar Sep 10 '24 15:09 ofcaah

as a side note, this seems to be related to having previously used the EXPERIMENTAL vulkan support.

deleting steamapps/compatdata/526870/pfx/drive_c/users/steamuser/Local Settings/Application Data/FactoryGame/Saved/Config/Windows/Engine.ini will restore graphics settings to default, and game will launch correctly in DX12 mode.

ofcaah avatar Sep 10 '24 23:09 ofcaah