Heroic-Games-Launcher / HeroicGamesLauncher

A games launcher for GOG, Amazon and Epic Games for Linux, Windows and macOS.
https://heroicgameslauncher.com
GNU General Public License v3.0
7.92k stars 418 forks source link

Wine games take ~7 minutes to launch #3890

Open Occhioverde opened 1 month ago

Occhioverde commented 1 month ago

Describe the bug

As per the title, Windows games launched through Wine by Heroic take around 5 minutes to actually start, independently of the Wine/Proton version itself.

It might be also worth noting that the same issue doesn't occur in Steam or with other executables launched outside Heroic.

Add logs

Heroic log

https://privatebin.devol.it/?a4155c57b5fcdccb#Fpv4CFm52UiNT8FeWeU3cgg9ShFuh2TRfp2cM31EwbzE

GOG log

https://privatebin.devol.it/?498a2505ebbf9770#AzF4ce1ajFwYrw4VscCDbpFbevWMnfEivqFhmMYJVtwz

Affected game (Fallout 4 GOTY) log

https://privatebin.devol.it/?75cd8d976c6b9ff3#7eEzed4kERqpmZtgSsFCzZGTtexSSSz2RyJaEpWGJd6d

Steps to reproduce

  1. Go to your library in Heroic
  2. Choose a game to launch and open its page
  3. Click on "Play now"
  4. Wait around 5 minutes before the orange "Playing" button appears
  5. Wait another 2 minutes before the actual game window spawns.

Expected behavior

The main game screen should appear in no more than a couple of minutes, just like what happens in Steam.

Screenshots

No response

Heroic Version

Latest Stable (Flatpak)

System Information

CPU: 8x AMD Custom APU 0405
Memory: 15.53 GB (used: 4.41 GB)
GPUs:
  GPU 0:
    Name: Advanced Micro Devices, Inc. [AMD/ATI] VanGogh [AMD Custom GPU 0405]
    IDs: D=163f V=1002 SD=0123 SV=1002
    Driver: amdgpu
OS: SteamOS 3.5.19 holo (linux)

The current system is a Steam Deck (model: LCD) in desktop mode
We are running inside a Flatpak container

Software Versions:
  Heroic: 2.14.1 Flame Emperor Sabo
  Legendary: 0.20.34 Direct Intervention
  gogdl: 1.0.1
  Nile: 1.0.2 Jonathan Joestar

Additional information

No response

imLinguin commented 1 month ago

The timeline here

I assume wineboot was the thing that took so long here. I have no idea why it would take so long, but that's not Heroic's fault.

Are subsequent launches of the game as long as here?

Occhioverde commented 1 month ago

Thank you very much for your reply.

If I understand how Wine works the prefix should be created only the first time the game is started (which would be totally understandable to take some minutes), but this is (at least) the fifth launch since I installed the game yesterday, played it a couple times and ran some tests before filing this issue...

Maybe there is a problem with the setup of the prefix that triggers its recreation?

TypicallyThomas commented 2 weeks ago

I'm having the same issue