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
8.21k stars 429 forks source link

Suspend Inhibitor stopped working after update to kde plasma 5.25.90 #1821

Closed Etaash-mathamsetty closed 1 year ago

Etaash-mathamsetty commented 2 years ago

Describe the bug

Heroic's suspend inhibitor stopped working for some reason, feral gamemode's inhibitor still works and all the KDE apps have working inhibitors, it's just heroic's which got broken

Add logs

(17:14:57) INFO:    [Legendary]:       Running command: /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/legendary --version
(17:14:58) INFO:    [Legendary]:       Legendary location: /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/legendary
(17:14:58) INFO:    [Gog]:             GOGDL location: /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/gogdl
(17:14:58) INFO:    [Backend]:         

Heroic Version: 2.4.3 Chopper
Legendary Version:  0.20.28 Dark Energy (hotfix #2)
OS: Arch KERNEL: 5.19.9-zen1-1-zen ARCH: x64
CPU: AMD Ryzen 7 4700U with Radeon Graphics @2 GOVERNOR: schedutil
RAM: Total: 15 GiB Available: 12.27 GiB
GRAPHICS: GPU0: gfx90c:xnack- VRAM: 512MB DRIVER:  
PROTOCOL: wayland

(17:14:58) INFO:    [Gog]:             Getting data about the user
(17:14:58) WARNING: [Backend]:         Protocol already registered.
(17:14:59) INFO:    [Backend]:         AreWeAntiCheatYet data downloaded
(17:14:59) INFO:    [Gog]:             Saved user data to config
(17:14:59) INFO:    [Backend]:         Checking for new Heroic Updates
(17:14:59) INFO:    [Frontend]:        Refreshing Library
(17:14:59) INFO:    [Legendary]:       Refreshing library...
(17:14:59) INFO:    [Legendary]:       Refreshing Epic Games...
(17:14:59) INFO:    [Gog]:             Getting GOG library
(17:15:00) INFO:    [Legendary]:       Running command: /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/legendary list
(17:15:00) INFO:    [Gog]:             Number of library pages: 1
(17:15:00) INFO:    [Gog]:             Saved games data
(17:15:00) INFO:    [Legendary]:       Updating game list
(17:15:00) INFO:    [Legendary]:       Game List Updated
(17:15:01) INFO:    [Legendary]:       Checking for game updates.
(17:15:01) INFO:    [Legendary]:       Running command: /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/legendary list-installed --check-updates --tsv
(17:15:01) INFO:    [Backend]:         Downloaded Winetricks
(17:15:01) INFO:    [Legendary]:       Found 0 game(s) to update
(17:15:02) INFO:    [Gog]:             Found 0 game(s) to update
(17:15:05) INFO:    [Backend]:         Launching Fall Guys (0a2d9f6403244d12969e11da6713137b)
(17:15:05) INFO:    [Backend]:         Preventing display from sleep
(17:15:05) INFO:    [Legendary]:       Running command: /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/legendary --version
(17:15:06) WARNING: [Backend]:         You are using Proton, this can lead to some bugs. Please do not open issues with bugs related to games
(17:15:06) WARNING: [Legendary]:       No Steam runtime found
(17:15:06) INFO:    [Legendary]:       Launching Fall Guys: LD_PRELOAD= STEAM_COMPAT_CLIENT_INSTALL_PATH=/home/etaash/.steam/steam STEAM_COMPAT_DATA_PATH=/home/etaash/Games/Heroic/Prefixes/FallGuys PROTON_NO_ESYNC=1 PROTON_EAC_RUNTIME=/home/etaash/.config/heroic/tools/runtimes/eac_runtime STEAM_COMPAT_APP_ID=0 SteamAppId=0 SteamGameId=heroic-FallGuys PROTON_LOG_DIR=/home/etaash /usr/bin/mangohud --dlsym /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/legendary launch 0a2d9f6403244d12969e11da6713137b --language en --override-exe /home/etaash/Games/Heroic/FallGuys/FallGuys_client_game.exe --no-wine --wrapper "'/home/etaash/.local/share/Steam/steamapps/common/Proton - Experimental/proton' run"
(17:18:23) INFO:    [Backend]:         Stopped Discord Rich Presence
(17:18:23) INFO:    [Backend]:         Stopping Display Power Saver Blocker
(17:18:24) INFO:    [Frontend]:        Refreshing Library
(17:18:24) INFO:    [Legendary]:       Refreshing library...
(17:18:24) INFO:    [Legendary]:       Updating game list
(17:18:24) INFO:    [Legendary]:       Game List Updated
(17:18:24) INFO:    [Legendary]:       Checking for game updates.
(17:18:24) INFO:    [Legendary]:       Running command: /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/legendary list-installed --check-updates --tsv
(17:18:25) INFO:    [Legendary]:       Found 0 game(s) to update
(18:26:48) INFO:    [Backend]:         Launching while True: learn() (4f272a49a39742b795d63e1f483a7c7d)
(18:26:48) INFO:    [Backend]:         Preventing display from sleep
(18:26:48) INFO:    [Legendary]:       Running command: /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/legendary --version
(18:26:49) ERROR:   Couldn't find all library folders of Wine Default - wine-7.13 (Staging)!
Missing undefined or undefined!
Falling back to system libraries!
(18:26:49) DEBUG:   [Legendary]:       Running Wine command: "/usr/bin/wine" wineboot --init
(18:27:14) DEBUG:   [Legendary]:       Ran Wine command: "/usr/bin/wine" wineboot --init
(18:27:14) INFO:    [Backend]:         Created/Updated Wineprefix at /home/etaash/Games/Heroic/Prefixes/whileTrueLearn
(18:27:14) INFO:    [DXVKInstaller]:   installing dxvk on... /home/etaash/Games/Heroic/Prefixes/whileTrueLearn
(18:27:33) INFO:    [DXVKInstaller]:   dxvk installed on /home/etaash/Games/Heroic/Prefixes/whileTrueLearn
(18:27:33) ERROR:   Couldn't find all library folders of Wine Default - wine-7.13 (Staging)!
Missing undefined or undefined!
Falling back to system libraries!
(18:27:33) INFO:    [Legendary]:       Launching while True: learn(): LD_PRELOAD= WINEPREFIX=/home/etaash/Games/Heroic/Prefixes/whileTrueLearn WINEESYNC=1 WINEFSYNC=1 /usr/bin/mangohud --dlsym /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/legendary launch 4f272a49a39742b795d63e1f483a7c7d --language en --wine /usr/bin/wine --wine-prefix /home/etaash/Games/Heroic/Prefixes/whileTrueLearn
(18:41:16) INFO:    [Backend]:         Stopped Discord Rich Presence
(18:41:16) INFO:    [Backend]:         Stopping Display Power Saver Blocker
(18:41:16) INFO:    [Frontend]:        Refreshing Library
(18:41:16) INFO:    [Legendary]:       Refreshing library...
(18:41:16) INFO:    [Legendary]:       Updating game list
(18:41:16) INFO:    [Legendary]:       Game List Updated
(18:41:16) INFO:    [Legendary]:       Checking for game updates.
(18:41:17) INFO:    [Legendary]:       Running command: /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/legendary list-installed --check-updates --tsv
(18:41:17) INFO:    [Legendary]:       Found 0 game(s) to update
(22:44:37) INFO:    [Backend]:         Launching Fall Guys (0a2d9f6403244d12969e11da6713137b)
(22:44:37) INFO:    [Legendary]:       Running command: /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/legendary --version
(22:44:39) WARNING: [Backend]:         You are using Proton, this can lead to some bugs. Please do not open issues with bugs related to games
(22:44:39) WARNING: [Legendary]:       No Steam runtime found
(22:44:39) INFO:    [Legendary]:       Launching Fall Guys: LD_PRELOAD= STEAM_COMPAT_CLIENT_INSTALL_PATH=/home/etaash/.steam/steam STEAM_COMPAT_DATA_PATH=/home/etaash/Games/Heroic/Prefixes/FallGuys PROTON_NO_ESYNC=1 PROTON_EAC_RUNTIME=/home/etaash/.config/heroic/tools/runtimes/eac_runtime STEAM_COMPAT_APP_ID=0 SteamAppId=0 SteamGameId=heroic-FallGuys PROTON_LOG_DIR=/home/etaash /usr/bin/mangohud --dlsym /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/legendary launch 0a2d9f6403244d12969e11da6713137b --language en --override-exe /home/etaash/Games/Heroic/FallGuys/FallGuys_client_game.exe --no-wine --wrapper "'/home/etaash/.local/share/Steam/steamapps/common/Proton - Experimental/proton' run"
(22:50:48) INFO:    [Backend]:         Writing config for 0a2d9f6403244d12969e11da6713137b
(22:50:48) INFO:    [Backend]:         {
  "autoInstallDxvk": false,
  "autoInstallVkd3d": false,
  "preferSystemLibs": true,
  "enableEsync": false,
  "enableFsync": true,
  "maxSharpness": 2,
  "language": "",
  "nvidiaPrime": false,
  "enviromentOptions": [],
  "wrapperOptions": [],
  "savesPath": "",
  "showFps": false,
  "showMangohud": true,
  "targetExe": "/home/etaash/Games/Heroic/FallGuys/FallGuys_client_game.exe",
  "useGameMode": true,
  "wineCrossoverBottle": "Heroic",
  "winePrefix": "/home/etaash/Games/Heroic/Prefixes/FallGuys",
  "wineVersion": {
    "bin": "/home/etaash/.local/share/Steam/steamapps/common/Proton - Experimental/proton",
    "name": "Proton - Proton - Experimental",
    "type": "proton"
  },
  "useSteamRuntime": false,
  "eacRuntime": true,
  "battlEyeRuntime": false,
  "gogSaves": []
}
(23:07:40) INFO:    [Backend]:         Stopped Discord Rich Presence
(23:07:40) INFO:    [Backend]:         Stopping Display Power Saver Blocker
(23:07:40) INFO:    [Frontend]:        Refreshing Library
(23:07:40) INFO:    [Legendary]:       Refreshing library...
(23:07:40) INFO:    [Legendary]:       Updating game list
(23:07:40) INFO:    [Legendary]:       Game List Updated
(23:07:40) INFO:    [Legendary]:       Checking for game updates.
(23:07:40) INFO:    [Legendary]:       Running command: /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/legendary list-installed --check-updates --tsv
(23:07:41) INFO:    [Legendary]:       Found 0 game(s) to update
(23:07:42) INFO:    [Backend]:         Exitting to tray instead of quitting
(10:25:56) INFO:    [Backend]:         Writing config for 4f272a49a39742b795d63e1f483a7c7d
(10:25:56) INFO:    [Backend]:         {
  "autoInstallDxvk": true,
  "autoInstallVkd3d": true,
  "preferSystemLibs": true,
  "autoSyncSaves": true,
  "enableEsync": true,
  "enableFsync": true,
  "maxSharpness": 2,
  "language": "",
  "nvidiaPrime": false,
  "enviromentOptions": [],
  "wrapperOptions": [],
  "savesPath": "/home/etaash/Games/Heroic/whileTrueLearn/Saves/",
  "showFps": false,
  "showMangohud": true,
  "targetExe": "",
  "useGameMode": false,
  "wineCrossoverBottle": "Heroic",
  "winePrefix": "/home/etaash/Games/Heroic/Prefixes/whileTrueLearn",
  "wineVersion": {
    "bin": "/usr/bin/wine",
    "name": "Wine Default - wine-7.13 (Staging)",
    "type": "wine",
    "wineserver": "/usr/bin/wineserver",
    "wineboot": "/usr/bin/wineboot"
  },
  "eacRuntime": false,
  "battlEyeRuntime": false,
  "gogSaves": []
}

Steps to reproduce

  1. run a game
  2. plug in controller
  3. play with controller
  4. pc decides to lock for no reason :/

Expected behavior

my pc shouldn't lock or sleep

Screenshots

No response

System Information

Additional information

No response

flavioislima commented 2 years ago

I dont think we can do anything on this matter, we will need to wait a fix on Electron side. I noticed this issue. Maybe some change on KDE side broke the Electron's api 🤷🏽

Etaash-mathamsetty commented 2 years ago

why does everything other than chromium keep working, this happens with chromium basically every single time... 🤦 I wonder if PR #1822 fixes it?

Nocccer commented 2 years ago

why does everything other than chromium keep working, this happens with chromium basically every single time... facepalm I wonder if PR #1822 fixes it?

Did you try. You can build and test it on your system

Etaash-mathamsetty commented 2 years ago

why does everything other than chromium keep working, this happens with chromium basically every single time... facepalm I wonder if PR #1822 fixes it?

Did you try. You can build and test it on your system

oh whoops, I built and forgot to test it lol have you also noticed the issue where the app image is really really slow for some reason?