HeroicGamesLauncher icon indicating copy to clipboard operation
HeroicGamesLauncher copied to clipboard

EAC runtime not working for some games

Open Etaash-mathamsetty opened this issue 2 years ago • 17 comments

Describe the bug

I've seen some users (specifically on games which recently enabled EAC (dauntless, dead by daylight)), report that the builtin heroic toggle is no longer working and instead they have to manually set the EAC path to the steam one.

Add logs

(I don't have any logs yet, I still have to try it for myself)

Steps to reproduce

  1. perform EAC workarounds for those games
  2. enable runtime
  3. game still not working

Expected behavior

the game should work without the EAC error

Screenshots

No response

System Information

I am going to attempt to replicate this bug, I just wanted to help spread awareness

Additional information

probably caused by how lutris hasn't updated anything related to it in forever (they still don't have dxvk 2.0 or even vkd3d-proton 2.7), so not surprising if they haven't updated the EAC runtime either

Etaash-mathamsetty avatar Nov 20 '22 19:11 Etaash-mathamsetty

I can reproduce the issue and symlinking the steam one to the heroic folder works fine, so we just have to find a way to update the runtime

Etaash-mathamsetty avatar Nov 21 '22 21:11 Etaash-mathamsetty

I think this isin't an upstream issue, we can fix it by turning to bottles who have been keeping stuff up to date (checked with sha1sum)

Etaash-mathamsetty avatar Dec 04 '22 18:12 Etaash-mathamsetty

this has been fixed for a while

Etaash-mathamsetty avatar Apr 04 '23 22:04 Etaash-mathamsetty

I think this issue should be reopened as Dauntless does not work using the EAC toggle in Heroic.

Steps to reproduce:

  • Install Dauntless
  • Enable EAC
  • Press Play

This is the error code. The game doesn't login due to networking errors:

Screenshot from 2024-01-14 09-37-42

Steam Deck Workaround

  • Symlink EasyAntiCheat directory from root to Archon/Binaries/Win64
  • Also possible to download EasyAntiCheat through steam and set an environment variable

Linux Desktop

Doing the Steam Deck steps allows game login and can play from 10 to 20 minutes before a crash. It is suspected EAC is the cause. A user on the Dauntless Discord believes SteamOS's linux kernel has a hack to allow EAC but that hack is not present in most Linux Desktop Distributions. I have not confirmed this though.

Conzar avatar Jan 13 '24 20:01 Conzar

I think this issue should be reopened as Dauntless does not work using the EAC toggle in Heroic.

Steps to reproduce:

* Install Dauntless

* Enable EAC

* Press Play

This is the error code. The game doesn't login due to networking errors:

Screenshot from 2024-01-14 09-37-42

Steam Deck Workaround

* Symlink EasyAntiCheat directory from root to Archon/Binaries/Win64

* Also possible to download EasyAntiCheat through steam and set an environment variable

Linux Desktop

Doing the Steam Deck steps allows game login and can play from 10 to 20 minutes before a crash. It is suspected EAC is the cause. A user on the Dauntless Discord believes SteamOS's linux kernel has a hack to allow EAC but that hack is not present in most Linux Desktop Distributions. I have not confirmed this though.

so it works when you set PROTON_EAC_RUNTIME to a custom path (probably the steam version's path)?

Etaash-mathamsetty avatar Jan 13 '24 20:01 Etaash-mathamsetty

so it works when you set PROTON_EAC_RUNTIME to a custom path (probably the steam version's path)?

Setting to the custom path allows the game to be played but crashes after 10 to 20 minutes (again, probably due to EAC issues).

Here is the instructions from a user on the Dauntless Discord. They have noted that it probably won't work on Desktop linux due to SteamOS kernel modifications. image

Conzar avatar Jan 14 '24 19:01 Conzar

so it works when you set PROTON_EAC_RUNTIME to a custom path (probably the steam version's path)?

Setting to the custom path allows the game to be played but crashes after 10 to 20 minutes (again, probably due to EAC issues).

Here is the instructions from a user on the Dauntless Discord. They have noted that it probably won't work on Desktop linux due to SteamOS kernel modifications. image

thanks for this info, also stop talking about the steam os kernel modifications it's getting on my nervers since there are none that effect EAC to my knowledge

Etaash-mathamsetty avatar Jan 14 '24 19:01 Etaash-mathamsetty

we can ask lutris guys to update them again.

Etaash-mathamsetty avatar Jan 14 '24 19:01 Etaash-mathamsetty

ok so all we need to do is not rely on lutris' runtimes, clearly they are never updated. Or maybe we can ask them to update them again.

Apologies about SteamOS Kernel Runtime. I followed Kurt Frag's instructions on Ubuntu 22.04 (on 3 computers all with nvidia RTX 3060's) and all of them have the same random crash problem between 10 to 20 minutes of gameplay. I asked about that in Discord and he said his Steam Deck worked flawlessly and that was the answer he provided.

Also note, I tried running Dauntless from both Steam and Heroic and I get the same crashing behaviour.

Conzar avatar Jan 14 '24 19:01 Conzar

ok so all we need to do is not rely on lutris' runtimes, clearly they are never updated. Or maybe we can ask them to update them again.

Apologies about SteamOS Kernel Runtime. I followed Kurt Frag's instructions on Ubuntu 22.04 (on 3 computers all with nvidia RTX 3060's) and all of them have the same random crash problem between 10 to 20 minutes of gameplay. I asked about that in Discord and he said his Steam Deck worked flawlessly and that was the answer he provided.

Also note, I tried running Dauntless from both Steam and Heroic and I get the same crashing behaviour.

that's probably due to glibc, the kernel has almost nothing to do with it, maybe try using glibc-eac or an older glibc

Etaash-mathamsetty avatar Jan 14 '24 19:01 Etaash-mathamsetty

strider just updated the lutris eac runtime, delete the eac runtime folder from ~/.config/heroic/tools/runtimes and disable and enable eac runtime. This will redownload it, and if it gets past the the hash catalog screen it worked!

Etaash-mathamsetty avatar Jan 14 '24 19:01 Etaash-mathamsetty

strider just updated the lutris eac runtime, delete the eac runtime folder from ~/.config/heroic/tools/runtimes and disable and enable eac runtime. This will redownload it, and if it gets past the the hash catalog screen it worked!

Do I need to compile the latest from Heroic for this?

Conzar avatar Jan 15 '24 01:01 Conzar

strider just updated the lutris eac runtime, delete the eac runtime folder from ~/.config/heroic/tools/runtimes and disable and enable eac runtime. This will redownload it, and if it gets past the the hash catalog screen it worked!

I tried this (deleting eac_runtime dir and then re-enabling EAC in settings) and confirms this didn't work.

It looks to me that the game isn't able to find the Dauntless/EasyAntiCheat directory. On top of that, I also agree that glibc is a likely suspect for the 10m to 20m game crashing.

Conzar avatar Jan 15 '24 05:01 Conzar

strider just updated the lutris eac runtime, delete the eac runtime folder from ~/.config/heroic/tools/runtimes and disable and enable eac runtime. This will redownload it, and if it gets past the the hash catalog screen it worked!

I tried this (deleting eac_runtime dir and then re-enabling EAC in settings) and confirms this didn't work.

It looks to me that the game isn't able to find the Dauntless/EasyAntiCheat directory. On top of that, I also agree that glibc is a likely suspect for the 10m to 20m game crashing.

It will work on stable heroic, and on top of that I can confirm it should work, I checked the hashes of the files, it's something on your end

Etaash-mathamsetty avatar Jan 15 '24 15:01 Etaash-mathamsetty

System Details

  • Heroic Games Version: 2.12.0
  • OS: Ubuntu 22.04.3 LTS
  • Kernel: 6.5.0-14-generic
  • GLIBC: 2.35
  • Nvidia Driver: 535.129.03

Here are my Heroic Games Settings:

  • Wine
    • Proton - Proton-GE-latest (also tried with Proton - Proton - Experimental)
    • Auto Install/Update DXVK-NVAPI on Prefix
    • Enable Esync
    • Enable FSync
  • Other
    • Use GameMode
    • Use Steam Runtime (also tried without)
    • EasyAntiCheat Runtime

Note, I installed Heroic Games via the Deb package. Any idea why Dauntless isn't able to find EasyAntiCheat directory?

Conzar avatar Jan 15 '24 19:01 Conzar

Hello for me the game dosent complain about EAC with the correct workaround, I can be in the lobby and all But it crash after 5 to 15m in game

Naia-love avatar Feb 27 '24 13:02 Naia-love

I'm currently facing a similar issue:

https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/issues/2982

DINKIN avatar Mar 31 '24 06:03 DINKIN