Skip to content

Dedicated issue for futex2-specific problems #4568

Open

Description

@Plagman

If an issue happens when running Proton Experimental against a kernel that has both futex2 and FUTEX_WAIT_MULTIPLE, and stops happening when setting WINEFSYNC_FUTEX2=0, please post it here.

Activity

  1. pinned this issue on Jan 25, 2021
  2. NoXPhasma commented on Jan 26, 2021

    @NoXPhasma
    Contributor

    One Finger Death Punch 2 (980300) won't launch with Futex2 enabled. It would spawn an invisible window and hangs there. When I disable Futex2 it's starting fine.

    steam-980300.log

  3. kodatarule commented on Jan 26, 2021

    @kodatarule

    Killing Floor 2 (232090) refuses to go past the splash screen so I have to manually stop/kill the process.
    steam-232090.log
    Grand Theft Auto V (271590) can't go past "Connecting to Rockstar Social Club" it just hangs there and I have to manually kill the process
    steam-271590.log

  4. NoXPhasma commented on Jan 26, 2021

    @NoXPhasma
    Contributor

    Generation Zero (704270) starts fine to the main menu with Futex2 but hangs once you load a game. Instead of showing the world, it hangs either in the loading screen or a black screen. Audio keeps playing and I need to force kill it.

    Without Futex2 it runs just fine.

    steam-704270.log

  5. kodatarule commented on Jan 26, 2021

    @kodatarule

    Call Of Duty World At War (10090) main menu is fine, but once you load a level it just hangs on black screen, same for Multiplayer.
    steam-10090.log
    EDIT: Risk Of Rain 2 (632360) hangs on a black screen.
    steam-632360.log

  6. kakra commented on Jan 27, 2021

    @kakra
    Contributor

    Elite Dangerous: Launcher doesn't seem to load its web content until the game is started, the game itself shows only a black screen (but intro sound and menu sound can be heard)

    Titles using Origin Launcher (tested: Mirror's Edge Catalyst, Mass Effect: Andromeda): Launcher cannot correctly download/update itself, the process is either slow or eventually locks up, animations only run while moving the mouse on the window or turning the mouse wheel on the window, games itself seem to run just fine if the launcher doesn't want to update itself

    Titles using Uplay Launcher (tested: AC:Odyssey, AC:Origin, AC:Unity): Launcher cannot update itself, it hangs trying to connect to servers but this seems not to be an exclusive futex2 issue, often it needs serveral launches until the connection is successful, however, with futex2, that always seems to fail. Games itself launch just fine if the launcher doesn't try to update itself.

    Titles using Rockstar launcher (test: RDR2): Cannot connect to Rockstar online services, without futex2, the launcher connects just fine and the game starts.

    Borderlands 3: Initial shader loading screen (walking robot) works but the game launches with an invisible/transparent window (holding an old copy of whatever screen content has been there on the desktop), sound sometimes starts playing but the game won't launch (it probably hangs at the Borderlands logo when trying to connect to servers).

    Ori series (Blind Forest, Will of Wisps): Game launches a black screen, nothing happens. Usually, the game would load/compile shaders at that point, then start sound. But nothing happens.

  7. added a commit that references this issue on Jan 27, 2021
  8. Ross-Carran commented on Jan 28, 2021

    @Ross-Carran

    Gloomhaven(780290) Hangs on a black screen doesn't load.
    steam-780290.log

    Star Renegades(651670) Hangs on a black screen doesn't load.
    steam-651670.log

    Ashes of the singularity: Escalation(507490)
    launcher loads into a invisible window, the play button is undetectable even you scroll over where it should be. When taking a picture with Prtscr the window became visible, but the buttons were not select-able.
    Had to hit stop in steam for the launcher to exit. (force quit)
    steam-507490.log
    Screenshot_2021-01-29_02-32-00

    Any games listed here have been tested with:
    WINEFSYNC_FUTEX2=0 works
    WINEFSYNC_FUTEX2=1 fails
    kernel 5.11rc5
    patched with
    0001-futex-resync-from-gitlab.collabora.com.txt
    0002-futex2-resync-from-gitlab.collabora.com.txt

  9. NoXPhasma commented on Jan 29, 2021

    @NoXPhasma
    Contributor

    Ultimate Epic Battle Simulator (616560) freezes one second after the window opens when the Unity logo is shown. Works fine without Futex2.

    steam-616560.log

  10. pingubot commented on Jan 31, 2021

    @pingubot

    Ubisoft Connect starts fine. The Far Cry 5 (552520) process is starting showing the splash screen, but the game window is not showing up afterwards (the process is still there using 100% cpu, so one core). Works fine disabling futex2.

    steam-552520.log

  11. kakra commented on Feb 1, 2021

    @kakra
    Contributor

    Well, I found that "Ubisoft Connect" (or rather the older Uplay) may hang when it tries to update itself (not futex2-specific). But it's usually enough to run protontricks -s APPID uplay to get it going: It complains that uplay is already up to date, then it launches it and it's then able to update itself. After this, "Ubisoft Connect" will launch the game successfully. I still need to retest the games, tho, which I couldn't because of this problem.

  12. Melorn366 commented on Feb 7, 2021

    @Melorn366

    Warframe (steamlog-230410. log) and Battlefield 1 (steam-1238840.log) not launching when futex 2 is being used (in both cases the launcher crashes, when futex2 interface patched kernel is being used along with fsync). Can be reproduced with proton experimental.
    steam-230410.log
    steam-1238840.log

    Anomaly with gamescope and esync

    When just esync is being used (with proton experimental using gamescope), randomly the gpu usage get 100% along with 100% CPU usage. It happens total randomly. The game becomes unstable and stutters a lot !

  13. Galcian79 commented on Feb 7, 2021

    @Galcian79

    Killing Floor 2 (232090) refuses to go past the splash screen so I have to manually stop/kill the process.
    steam-232090.log
    Grand Theft Auto V (271590) can't go past "Connecting to Rockstar Social Club" it just hangs there and I have to manually kill the process
    steam-271590.log

    I don't have GTAV issue, is there a way to check if futex2 is actually running on my system?

  14. aeikum commented on Feb 8, 2021

    @aeikum
    Contributor

    A possible futex2 issue was reported here: #167 (comment)

  15. alosarjos commented on Feb 26, 2021

    @alosarjos
  16. kakra commented on Feb 26, 2021

    @kakra
  17. romulasry commented on Mar 11, 2021

    @romulasry

    I have it in sonic generations how do I get a log? There is one here thought:
    #380

  18. EduFrazao commented on Sep 1, 2021

    @EduFrazao

    Ubisoft Connect launcher consumes 100% of CPU with Futex2 enable, making impossible to play Farcry 5.
    Disabling with WINEFSYNC_FUTEX2=0 solves the problem.

    Kernel 5.14.0
    Ryzen 5900x

  19. mathew2214 commented on Sep 12, 2021

    @mathew2214

    does anybody have an up-to date patchset that includes both futex_wait_multiple and FUTEX2?
    i cant seem to find one that works for Linux 5.13.
    although i am willing to switch to 5.14 if necessary.
    i have a hardware quirk that requires i build my own kernels anyway, so premades are not an option for me.

  20. YellowOnion commented on Sep 24, 2021

    @YellowOnion

    @mathew2214 maybe this: https://github.com/xanmod/linux-patches/tree/master/linux-5.13.y-xanmod/futex

    I can't say I know if they're up to date, but it looks pretty comprehensive.

  21. Goofybud16 commented on Jan 13, 2022

    @Goofybud16

    The VRChat Client (at least in VR mode) seems to have issues with v5.16.0. The issues are resolved by setting PROTON_NO_FSYNC=1, or reverting back to kernel 5.15.x.

    The first issue I've run into is that after around an hour, it seems like the game's "voice processing thread" will seem to freeze. Other people's voices will stop coming through, the mouth animations (driven by voices) will freeze, and you will no longer be able to speak. The microphone icon will still seem to work, however nobody else will hear your voice. The game will also begin to stutter very badly. The game, otherwise, seems to continue to work-- other people's movements still come through.

    Also noticed a world (Sketchu Spring) seemed to be partially broken. There is a "helicopter" type device, and it was non-functional. Other people could use it on their game, however it did not animate correctly when they did so. I was able to briefly test this in desktop with NO_FSYNC set, and it seemed to be working properly.

    This was tested on a R9 3900X with an RX 6700XT, if that makes any difference.

  22. ProjectSynchro commented on Feb 6, 2022

    @ProjectSynchro
  23. Galcian79 commented on Jun 26, 2022

    @Galcian79

    Fall Guys disconnects randomly from server between matches, if futex2 is running. WINEFSYNC_FUTEX2=0 fixes the issue.

  24. unpinned this issue on Feb 10, 2024
  25. pinned this issue on Feb 10, 2024
  26. Soveu commented on Mar 11, 2024

    @Soveu

    Looks like GRIS crashes on exit on Experimental without WINEFSYNC_FUTEX2=0 %command% (#2516 (comment))

  27. Ruedii commented on Jul 13, 2024

    @Ruedii

    @mathew2214 maybe this: https://github.com/xanmod/linux-patches/tree/master/linux-5.13.y-xanmod/futex

    I can't say I know if they're up to date, but it looks pretty comprehensive.

    Sorry for the late reply, but since I switched to Debian, XanMod is my number one choice of kernel.  It seems to perform very well with steam.

  28. moddie666 commented on May 19, 2025

    @moddie666

    Cyberpunk 2077 is affected by this as well. (on debian at least)
    holy 💩 ! this thread saved my sanity, and everyone from a spurious bug report...

    running debian testing currently on 6.12.25.
    seems something may have changed from 6.12.22 to 25
    22 starts cyberpunk just fine every time, 25 needs WINEFSYNC_FUTEX2=0

    the behaviour was super weird (like a race condition) the game would start and run fine every 1 out of 10-20 times, otherwise it would hang at the cyberpunk logo, just before the cdpr screen.

    edit: just by feel, frametime consistency and load times also seem improved (like i remember them from before)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions