Skip to content

All Steam Proton games hang with faketime #544

Description

@Arcitec

Edit: The cause has been narrowed down to a change in Proton/Wine during the 10.x development cycle. See the linked post.

  • Distro: Fedora Workstation 44
  • Package: libfaketime-0:0.9.12-12.fc44.x86_64
  • I also built the latest libfaketime from source code.

Verified that faketime works via terminal (both work for me):

  • faketime -f '-415d' /bin/date
  • LD_PRELOAD="libfaketime.so.1" FAKETIME="-415d" /bin/date

Steps to reproduce the Proton game hang:

  1. Have the native Steam package.
  2. sudo dnf install libfaketime to get faketime (or install it from latest source).
  3. Change a Steam Proton-based game's launch options to faketime -f '-415d' %command%
  4. Try to launch the game. It will probably just hang immediately like all games do for me. I tried multiple different games and everything hangs without any game window appearing at all.

Workarounds I've tried (all fail):

  • I also tried the library variant, which still hangs: LD_PRELOAD="libfaketime.so.1" FAKETIME="-415d" %command%
  • I even tried using an offset of "+0s" meaning same time as the real clock, just to see if Proton and Steam somehow need to be in sync with the same date, but nope, it still hangs.
  • I also tried installing the 32-bit version of faketime, but it doesn't get loaded by Proton and says wrong ELF class: ELFCLASS32, which makes sense since Proton is 64-bit.
  • Oh and I also disabled SELinux with sudo setenforce 0 just in case, but every game still hangs.
  • I launched steam via a terminal and looked at the logs, but everything looks normal there when it hangs.

I can see that other people have successfully ran games with faketime: https://steamcommunity.com/sharedfiles/filedetails/?id=3584066222

Any ideas why it's hanging every Proton game?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions