Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Environment Variables seem not to work correctly (incl. workaround) #4344

Open
niklaskloth97 opened this issue Feb 20, 2025 · 0 comments
Open
Labels
bug:unconfirmed Someone works on identifying the issue

Comments

@niklaskloth97
Copy link

Describe the bug

When using vkBasalt, it is not correctly utilized when enabling it as a environment variable. MangoHud does not show it as enabled. However, if I include it as a wrapper (as a workaround), the environment variable is pulled correctly, as you can also see from the logs, where I first had the environment variable, but in the last try also as a wrapper with ENABLE_VKBASALT=1 as wrapper and as argument nothing.
The important log lines displayed in the additional section where you can observe where the difference is and also why it works as wrapper. Hope this helps and shows where the error is and how the workarounds are. I attached also a screenshot of the working approach. Hope it helps to debug :) Thanks for the amazing software!

Add logs

(21:20:43) INFO:    [Legendary]:        Legendary location: /usr/lib/heroic/app.asar.unpacked/build/bin/x64/linux/legendary

(21:20:43) INFO:    [Gog]:              GOGDL location: /usr/lib/heroic/app.asar.unpacked/build/bin/x64/linux/gogdl

(21:20:43) INFO:    [Connection]:       Connectivity: check-online

(21:20:43) INFO:    [Connection]:       Pinging external endpoints

(21:20:43) DEBUG:   [Backend]:          Skipping playtime sync queue upload - playtime sync disabled

(21:20:43) INFO:    [Gog]:              Checking for existing gog manifests

(21:20:43) INFO:    [Nile]:             Refreshing library...

(21:20:43) INFO:    [Nile]:             Refreshing Amazon Games...

(21:20:43) INFO:    [Nile]:             Running command: NILE_CONFIG_PATH=/home/niklas/.config/heroic/nile_config /usr/lib/heroic/app.asar.unpacked/build/bin/x64/linux/nile library sync

(21:20:43) INFO:    [Nile]:             Game list updated, got 25 games

(21:20:43) WARNING: [Backend]:          Failed to register protocol with OS.

(21:20:43) INFO:    [Legendary]:        Running command: LEGENDARY_CONFIG_PATH=/home/niklas/.config/heroic/legendaryConfig/legendary /usr/lib/heroic/app.asar.unpacked/build/bin/x64/linux/legendary --version

(21:20:43) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/niklas/.config/heroic/gogdlConfig /usr/lib/heroic/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/niklas/.config/heroic/gog_store/auth.json --version

(21:20:43) INFO:    [Nile]:             Running command: NILE_CONFIG_PATH=/home/niklas/.config/heroic/nile_config /usr/lib/heroic/app.asar.unpacked/build/bin/x64/linux/nile --version

(21:20:43) INFO:    [Connection]:       Connectivity: online

(21:20:43) INFO:    [Gog]:              Checking if login is valid

(21:20:43) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/niklas/.config/heroic/gogdlConfig /usr/lib/heroic/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/niklas/.config/heroic/gog_store/auth.json auth

(21:20:43) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/niklas/.config/heroic/gogdlConfig /usr/lib/heroic/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/niklas/.config/heroic/gog_store/auth.json auth

(21:20:43) INFO:    [Backend]:          AreWeAntiCheatYet data downloaded

(21:20:44) INFO:    [Backend]:          

System Information:

CPU: 16x AMD Ryzen 7 5700X3D 8-Core Processor

Memory: 33.57 GB (used: 7.4 GB)

GPUs:

  GPU 0:

    Name: Advanced Micro Devices, Inc. [AMD/ATI] MSI RX 6600XT MECH 2X

    IDs: D=73ff V=1002 SD=5021 SV=1462

    Driver: amdgpu

OS: Manjaro Linux 6.13.3-2-MANJARO (linux)

The current system is not a Steam Deck

We are not running inside a Flatpak container

Software Versions:

  Heroic: 2.15.2 Emeth

  Legendary: 0.20.36 Urban Flight (Heroic)

  gogdl: 1.1.2

  comet: comet 0.1.2

  Nile: 1.1.2 Will A. Zeppeli

(21:20:44) INFO:    [Nile]:             Saved user data to config file

(21:20:44) INFO:    [Frontend]:         Refreshing undefined Library

(21:20:44) WARNING: [Backend]:          refresh not implemented on Sideload Library Manager

(21:20:44) INFO:    [Legendary]:        Refreshing library...

(21:20:44) INFO:    [Legendary]:        Refreshing Epic Games...

(21:20:44) INFO:    [Nile]:             Refreshing library...

(21:20:44) INFO:    [Nile]:             Refreshing Amazon Games...

(21:20:44) INFO:    [Nile]:             Running command: NILE_CONFIG_PATH=/home/niklas/.config/heroic/nile_config /usr/lib/heroic/app.asar.unpacked/build/bin/x64/linux/nile library sync

(21:20:44) INFO:    [Nile]:             Game list updated, got 25 games

(21:20:44) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/niklas/.config/heroic/gogdlConfig /usr/lib/heroic/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/niklas/.config/heroic/gog_store/auth.json auth

(21:20:44) INFO:    [Backend]:          Frontend Ready

(21:20:44) INFO:    [Gog]:              Saved username to config file

(21:20:44) INFO:    [Legendary]:        Running command: LEGENDARY_CONFIG_PATH=/home/niklas/.config/heroic/legendaryConfig/legendary /usr/lib/heroic/app.asar.unpacked/build/bin/x64/linux/legendary list --third-party

(21:20:44) INFO:    [Backend]:          Checking for new Heroic Updates

(21:20:44) INFO:    [Gog]:              Getting GOG library

(21:20:44) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/niklas/.config/heroic/gogdlConfig /usr/lib/heroic/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/niklas/.config/heroic/gog_store/auth.json auth

(21:20:45) INFO:    [Gog]:              Saved games data

(21:20:46) INFO:    [Legendary]:        Game list updated, got 190 games & DLCs

(21:20:46) WARNING: [Backend]:          listUpdateableGames not implemented on Sideload Library Manager

(21:20:46) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/niklas/.config/heroic/gogdlConfig /usr/lib/heroic/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/niklas/.config/heroic/gog_store/auth.json auth

(21:20:46) INFO:    [Winetricks]:       Downloading Winetricks

(21:20:46) INFO:    [Gog]:              Found 0 game(s) to update

(21:20:46) INFO:    [Legendary]:        Checking for game updates: LEGENDARY_CONFIG_PATH=/home/niklas/.config/heroic/legendaryConfig/legendary /usr/lib/heroic/app.asar.unpacked/build/bin/x64/linux/legendary list --third-party

(21:20:48) INFO:    [Legendary]:        Found 0 games to update

(21:20:48) INFO:    [Nile]:             Looking for updates...

(21:20:48) INFO:    [Nile]:             Running command: NILE_CONFIG_PATH=/home/niklas/.config/heroic/nile_config /usr/lib/heroic/app.asar.unpacked/build/bin/x64/linux/nile list-updates --json

(21:20:48) INFO:    [WineDownloader]:   Updating wine versions info

(21:20:48) INFO:    [WineDownloader]:   Fetching upstream information...

(21:20:49) INFO:    [Backend]:          Starting the Download Queue

(21:20:49) INFO:    [WineDownloader]:   wine versions updated

(21:21:40) INFO:    [Backend]:          1213504814: Setting wrapperOptions to [{"exe":"mangohud","args":"''"},{"exe":"ENABLE_VKBASALT","args":"1"}]

(21:22:53) INFO:    [Backend]:          1213504814: Setting wrapperOptions to [{"exe":"mangohud","args":"''"},{"exe":"ENABLE_VKBASALT","args":"1"},{"exe":"ENABLE_VKBASALT=1","args":"\""}]

(21:23:08) INFO:    [Backend]:          Launching Middle-earth™: Shadow of Mordor™ Game of the Year Edition (1213504814)

(21:23:08) INFO:    [Backend]:          Preventing display from sleep

(21:23:08) INFO:    [Backend]:          Checking if wine version exists: Wine - wine-10.1-staging-tkg-amd64

(21:23:08) INFO:    [Backend]:          Preventing machine to sleep

(21:23:08) INFO:    [Backend]:          Started Discord Rich Presence

(21:23:08) ERROR:   [Backend]:          Error: Got EOF while in a quoted string

    at Shlexer.[Symbol.iterator] (/usr/lib/heroic/app.asar/node_modules/shlex/shlex.js:169:30)

    at Generator.next (<anonymous>)

    at Function.from (<anonymous>)

    at Object.exports.split (/usr/lib/heroic/app.asar/node_modules/shlex/shlex.js:270:16)

    at /usr/lib/heroic/app.asar/build/main/main.js:106:145

    at Array.forEach (<anonymous>)

    at ni (/usr/lib/heroic/app.asar/build/main/main.js:106:106)

    at Module.Cu [as launch] (/usr/lib/heroic/app.asar/build/main/main.js:11:5433)

    at processTicksAndRejections (node:internal/process/task_queues:95:5)

    at /usr/lib/heroic/app.asar/build/main/main.js:184:8140

(21:23:08) INFO:    [Backend]:          Stopping Display Power Saver Blocker

(21:23:08) WARNING: [Backend]:          Posting playtime session to server skipped - playtime sync disabled

(21:23:08) INFO:    [Frontend]:         Refreshing gog Library

(21:23:08) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/niklas/.config/heroic/gogdlConfig /usr/lib/heroic/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/niklas/.config/heroic/gog_store/auth.json auth

(21:23:08) INFO:    [Backend]:          Stopping Power Saver Blocker

(21:23:08) INFO:    [Gog]:              Getting GOG library

(21:23:08) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/niklas/.config/heroic/gogdlConfig /usr/lib/heroic/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/niklas/.config/heroic/gog_store/auth.json auth

(21:23:09) INFO:    [Gog]:              Saved games data

(21:24:03) INFO:    [Backend]:          1213504814: Setting wrapperOptions to [{"exe":"mangohud","args":"''"},{"exe":"ENABLE_VKBASALT","args":"1"}]

(21:24:07) INFO:    [Backend]:          1213504814: Setting wrapperOptions to [{"exe":"mangohud","args":"''"}]

(21:24:11) INFO:    [Backend]:          Launching Middle-earth™: Shadow of Mordor™ Game of the Year Edition (1213504814)

(21:24:11) INFO:    [Backend]:          Preventing display from sleep

(21:24:11) INFO:    [Backend]:          Checking if wine version exists: Wine - wine-10.1-staging-tkg-amd64

(21:24:11) INFO:    [Backend]:          Started Discord Rich Presence

(21:24:11) INFO:    [Backend]:          Checking if wine version exists: Wine - wine-10.1-staging-tkg-amd64

(21:24:11) INFO:    [Backend]:          Checking if wine version exists: Wine - wine-10.1-staging-tkg-amd64

(21:24:11) INFO:    [Backend]:          Preventing machine to sleep

(21:24:11) INFO:    [Backend]:          Checking if wine version exists: Wine - wine-10.1-staging-tkg-amd64

(21:24:11) DEBUG:   [Backend]:          Running Wine command: wineboot --init

(21:24:17) INFO:    [Backend]:          Checking if wine version exists: Wine - wine-10.1-staging-tkg-amd64

(21:24:17) DEBUG:   [Backend]:          Running Wine command: cmd /c winepath -u C:\ProgramData\GOG.com\Galaxy\redists\GalaxyCommunication.exe

(21:24:23) INFO:    [DXVKInstaller]:    installing dxvk on... /home/niklas/Games/Heroic/Prefixes/Middle-earth Shadow of Mordor Game of the Year Edition

(21:24:23) INFO:    [DXVKInstaller]:    dxvk already installed!

(21:24:23) INFO:    [DXVKInstaller]:    installing vkd3d on... /home/niklas/Games/Heroic/Prefixes/Middle-earth Shadow of Mordor Game of the Year Edition

(21:24:23) INFO:    [DXVKInstaller]:    vkd3d already installed!

(21:24:25) INFO:    [Gog]:              Launching Comet!

(21:24:25) INFO:    [Gog]:              Launching Middle-earth™: Shadow of Mordor™ Game of the Year Edition: HEROIC_APP_NAME=1213504814 HEROIC_APP_RUNNER=gog GAMEID=umu-0 HEROIC_APP_SOURCE=gog STORE=gog STEAM_COMPAT_INSTALL_PATH="/mnt/d2fd55e7-47e7-4d37-93ba-ef4fd1b4a3d9/heroic/Shadow of Mordor" ENABLE_VKBASALT=1 LD_PRELOAD= WINEPREFIX="/home/niklas/Games/Heroic/Prefixes/Middle-earth Shadow of Mordor Game of the Year Edition" WINEDLLOVERRIDES=winemenubuilder.exe=d WINE_FULLSCREEN_FSR=0 WINEESYNC=1 WINEFSYNC=1 PROTON_EAC_RUNTIME=/home/niklas/.config/heroic/tools/runtimes/eac_runtime GOGDL_CONFIG_PATH=/home/niklas/.config/heroic/gogdlConfig /usr/lib/heroic/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/niklas/.config/heroic/gog_store/auth.json launch "/mnt/d2fd55e7-47e7-4d37-93ba-ef4fd1b4a3d9/heroic/Shadow of Mordor" 1213504814 --wine /home/niklas/.local/share/lutris/runners/wine/wine-10.1-staging-tkg-amd64/bin/wine --wrapper "/usr/bin/gamescope -w 2560 -h 1440 -W 2560 -H 1440 -F fsr -f -r 180 -o 45 --mangoapp --expose-wayland --adaptive-sync --mangoapp --hdr-enabled -- mangohud" --platform windows

(21:24:25) INFO:    [Backend]:          Preventing display to sleep

(21:30:44) INFO:    [Gog]:              Abort command "HEROIC_APP_NAME=1213504814 HEROIC_APP_RUNNER=gog GAMEID=umu-0 HEROIC_APP_SOURCE=gog STORE=gog STEAM_COMPAT_INSTALL_PATH="/mnt/d2fd55e7-47e7-4d37-93ba-ef4fd1b4a3d9/heroic/Shadow of Mordor" ENABLE_VKBASALT=1 LD_PRELOAD= WINEPREFIX="/home/niklas/Games/Heroic/Prefixes/Middle-earth Shadow of Mordor Game of the Year Edition" WINEDLLOVERRIDES=winemenubuilder.exe=d WINE_FULLSCREEN_FSR=0 WINEESYNC=1 WINEFSYNC=1 PROTON_EAC_RUNTIME=/home/niklas/.config/heroic/tools/runtimes/eac_runtime GOGDL_CONFIG_PATH=/home/niklas/.config/heroic/gogdlConfig /usr/lib/heroic/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/niklas/.config/heroic/gog_store/auth.json launch "/mnt/d2fd55e7-47e7-4d37-93ba-ef4fd1b4a3d9/heroic/Shadow of Mordor" 1213504814 --wine /home/niklas/.local/share/lutris/runners/wine/wine-10.1-staging-tkg-amd64/bin/wine --wrapper "/usr/bin/gamescope -w 2560 -h 1440 -W 2560 -H 1440 -F fsr -f -r 180 -o 45 --mangoapp --expose-wayland --adaptive-sync --mangoapp --hdr-enabled -- mangohud" --platform windows"

(21:30:44) INFO:    [Gog]:              Killing Comet!

(21:30:44) INFO:    [Backend]:          Stopped Discord Rich Presence

(21:30:45) INFO:    [Backend]:          Stopping Display Power Saver Blocker

(21:30:45) WARNING: [Backend]:          Posting playtime session to server skipped - playtime sync disabled

(21:30:45) INFO:    [Frontend]:         Refreshing gog Library

(21:30:45) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/niklas/.config/heroic/gogdlConfig /usr/lib/heroic/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/niklas/.config/heroic/gog_store/auth.json auth

(21:30:45) INFO:    [Backend]:          Stopping Power Saver Blocker

(21:30:45) INFO:    [Backend]:          Stopping Display Sleep Blocker

(21:30:45) INFO:    [Gog]:              Getting GOG library

(21:30:45) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/niklas/.config/heroic/gogdlConfig /usr/lib/heroic/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/niklas/.config/heroic/gog_store/auth.json auth

(21:30:46) INFO:    [Gog]:              Saved games data

(21:31:42) INFO:    [Backend]:          1213504814: Setting wrapperOptions to [{"exe":"mangohud","args":"''"},{"exe":"ENABLE_VKBASALT=1","args":""}]

(21:31:46) INFO:    [Backend]:          Launching Middle-earth™: Shadow of Mordor™ Game of the Year Edition (1213504814)

(21:31:46) INFO:    [Backend]:          Checking if wine version exists: Wine - wine-10.1-staging-tkg-amd64

(21:31:46) INFO:    [Backend]:          Preventing machine to sleep

(21:31:46) INFO:    [Backend]:          Started Discord Rich Presence

(21:31:46) INFO:    [Backend]:          Checking if wine version exists: Wine - wine-10.1-staging-tkg-amd64

(21:31:46) INFO:    [Backend]:          Checking if wine version exists: Wine - wine-10.1-staging-tkg-amd64

(21:31:46) INFO:    [Backend]:          Checking if wine version exists: Wine - wine-10.1-staging-tkg-amd64

(21:31:46) DEBUG:   [Backend]:          Running Wine command: wineboot --init

(21:31:52) INFO:    [Backend]:          Checking if wine version exists: Wine - wine-10.1-staging-tkg-amd64

(21:31:52) DEBUG:   [Backend]:          Running Wine command: cmd /c winepath -u C:\ProgramData\GOG.com\Galaxy\redists\GalaxyCommunication.exe

(21:31:58) INFO:    [DXVKInstaller]:    installing dxvk on... /home/niklas/Games/Heroic/Prefixes/Middle-earth Shadow of Mordor Game of the Year Edition

(21:31:58) INFO:    [DXVKInstaller]:    dxvk already installed!

(21:31:58) INFO:    [DXVKInstaller]:    installing vkd3d on... /home/niklas/Games/Heroic/Prefixes/Middle-earth Shadow of Mordor Game of the Year Edition

(21:31:58) INFO:    [DXVKInstaller]:    vkd3d already installed!

(21:31:58) INFO:    [Gog]:              Launching Comet!

(21:31:58) INFO:    [Gog]:              Launching Middle-earth™: Shadow of Mordor™ Game of the Year Edition: HEROIC_APP_NAME=1213504814 HEROIC_APP_RUNNER=gog GAMEID=umu-0 HEROIC_APP_SOURCE=gog STORE=gog STEAM_COMPAT_INSTALL_PATH="/mnt/d2fd55e7-47e7-4d37-93ba-ef4fd1b4a3d9/heroic/Shadow of Mordor" ENABLE_VKBASALT=1 LD_PRELOAD= WINEPREFIX="/home/niklas/Games/Heroic/Prefixes/Middle-earth Shadow of Mordor Game of the Year Edition" WINEDLLOVERRIDES=winemenubuilder.exe=d WINE_FULLSCREEN_FSR=0 WINEESYNC=1 WINEFSYNC=1 PROTON_EAC_RUNTIME=/home/niklas/.config/heroic/tools/runtimes/eac_runtime GOGDL_CONFIG_PATH=/home/niklas/.config/heroic/gogdlConfig /usr/lib/heroic/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/niklas/.config/heroic/gog_store/auth.json launch "/mnt/d2fd55e7-47e7-4d37-93ba-ef4fd1b4a3d9/heroic/Shadow of Mordor" 1213504814 --wine /home/niklas/.local/share/lutris/runners/wine/wine-10.1-staging-tkg-amd64/bin/wine --wrapper "/usr/bin/gamescope -w 2560 -h 1440 -W 2560 -H 1440 -F fsr -f -r 180 -o 45 --mangoapp --expose-wayland --adaptive-sync --mangoapp --hdr-enabled -- mangohud ENABLE_VKBASALT=1" --platform windows

(21:31:58) INFO:    [Backend]:          Preventing display to sleep

(21:51:49) INFO:    [Gog]:              Killing Comet!

(21:51:49) INFO:    [Backend]:          Stopped Discord Rich Presence

(21:51:49) INFO:    [Backend]:          Stopping Display Power Saver Blocker

(21:51:49) WARNING: [Backend]:          Posting playtime session to server skipped - playtime sync disabled

(21:51:49) INFO:    [Frontend]:         Refreshing gog Library

(21:51:49) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/niklas/.config/heroic/gogdlConfig /usr/lib/heroic/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/niklas/.config/heroic/gog_store/auth.json auth

(21:51:49) INFO:    [Backend]:          Stopping Power Saver Blocker

(21:51:49) INFO:    [Backend]:          Stopping Display Sleep Blocker

(21:51:49) INFO:    [Gog]:              Getting GOG library

(21:51:49) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/niklas/.config/heroic/gogdlConfig /usr/lib/heroic/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/niklas/.config/heroic/gog_store/auth.json auth

(21:51:50) INFO:    [Gog]:              Saved games data

(22:32:35) INFO:    [Frontend]:         Refreshing undefined Library

(22:32:35) WARNING: [Backend]:          refresh not implemented on Sideload Library Manager

(22:32:35) INFO:    [Legendary]:        Refreshing library...

(22:32:35) INFO:    [Legendary]:        Refreshing Epic Games...

(22:32:35) INFO:    [Nile]:             Refreshing library...

(22:32:35) INFO:    [Nile]:             Refreshing Amazon Games...

(22:32:35) INFO:    [Nile]:             Running command: NILE_CONFIG_PATH=/home/niklas/.config/heroic/nile_config /usr/lib/heroic/app.asar.unpacked/build/bin/x64/linux/nile library sync

(22:32:35) INFO:    [Nile]:             Game list updated, got 25 games

(22:32:35) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/niklas/.config/heroic/gogdlConfig /usr/lib/heroic/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/niklas/.config/heroic/gog_store/auth.json auth

(22:32:35) INFO:    [Legendary]:        Running command: LEGENDARY_CONFIG_PATH=/home/niklas/.config/heroic/legendaryConfig/legendary /usr/lib/heroic/app.asar.unpacked/build/bin/x64/linux/legendary list --third-party

(22:32:35) INFO:    [Gog]:              Getting GOG library

(22:32:35) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/niklas/.config/heroic/gogdlConfig /usr/lib/heroic/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/niklas/.config/heroic/gog_store/auth.json auth

(22:32:36) INFO:    [Gog]:              Saved games data

(22:32:37) INFO:    [Legendary]:        Game list updated, got 190 games & DLCs

(22:32:37) WARNING: [Backend]:          listUpdateableGames not implemented on Sideload Library Manager

(22:32:37) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/niklas/.config/heroic/gogdlConfig /usr/lib/heroic/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/niklas/.config/heroic/gog_store/auth.json auth

(22:32:38) INFO:    [Gog]:              Found 0 game(s) to update

(22:32:38) INFO:    [Legendary]:        Checking for game updates: LEGENDARY_CONFIG_PATH=/home/niklas/.config/heroic/legendaryConfig/legendary /usr/lib/heroic/app.asar.unpacked/build/bin/x64/linux/legendary list --third-party

(22:32:40) INFO:    [Legendary]:        Found 0 games to update

(22:32:40) INFO:    [Nile]:             Looking for updates...

(22:32:40) INFO:    [Nile]:             Running command: NILE_CONFIG_PATH=/home/niklas/.config/heroic/nile_config /usr/lib/heroic/app.asar.unpacked/build/bin/x64/linux/nile list-updates --json

(23:30:33) INFO:    [Connection]:       Connectivity: offline

(23:30:34) INFO:    [Connection]:       Connectivity: check-online

(23:30:34) INFO:    [Connection]:       Pinging external endpoints

(23:30:34) INFO:    [Connection]:       Connectivity: online

(23:30:41) INFO:    [Connection]:       Connectivity: offline

(23:30:42) INFO:    [Connection]:       Connectivity: check-online

(23:30:42) INFO:    [Connection]:       Pinging external endpoints

(23:30:42) INFO:    [Connection]:       Connectivity: online

(23:30:49) INFO:    [Connection]:       Connectivity: offline

(23:30:53) INFO:    [Connection]:       Connectivity: check-online

(23:30:53) INFO:    [Connection]:       Pinging external endpoints

(23:30:53) INFO:    [Connection]:       Connectivity: online

(23:39:43) INFO:    [LogUploader]:      Uploaded log file General Heroic log to https://0x0.st/8Tzm.log

Steps to reproduce

(prequiste: Enable VKBASALT as indicator in mangohud)

  1. Click on a game
  2. Open Settings of the game
  3. Go to advanced
  4. Add an environment variable into the table and save it
  5. run the game
  6. Check on MangoHud, if VKBASALT is pulled correctly as the idicator can show

Expected behavior

when using ENABLE_VKBASALT=1 as environment variable, from what the settings indicate, I as user would assume that the environment variables are pulled and included to the game (basically how I know it from lutris for example)

Screenshots

Image

Heroic Version

Latest Stable

System Information

  • OS Manjaro testing

Additional information

Only with environment variable:
(21:30:44) INFO: [Gog]: Abort command "HEROIC_APP_NAME=1213504814 HEROIC_APP_RUNNER=gog GAMEID=umu-0 HEROIC_APP_SOURCE=gog STORE=gog STEAM_COMPAT_INSTALL_PATH="/mnt/d2fd55e7-47e7-4d37-93ba-ef4fd1b4a3d9/heroic/Shadow of Mordor" ENABLE_VKBASALT=1 LD_PRELOAD= WINEPREFIX="/home/niklas/Games/Heroic/Prefixes/Middle-earth Shadow of Mordor Game of the Year Edition" WINEDLLOVERRIDES=winemenubuilder.exe=d WINE_FULLSCREEN_FSR=0 WINEESYNC=1 WINEFSYNC=1 PROTON_EAC_RUNTIME=/home/niklas/.config/heroic/tools/runtimes/eac_runtime GOGDL_CONFIG_PATH=/home/niklas/.config/heroic/gogdlConfig /usr/lib/heroic/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/niklas/.config/heroic/gog_store/auth.json launch "/mnt/d2fd55e7-47e7-4d37-93ba-ef4fd1b4a3d9/heroic/Shadow of Mordor" 1213504814 --wine /home/niklas/.local/share/lutris/runners/wine/wine-10.1-staging-tkg-amd64/bin/wine --wrapper "/usr/bin/gamescope -w 2560 -h 1440 -W 2560 -H 1440 -F fsr -f -r 180 -o 45 --mangoapp --expose-wayland --adaptive-sync --mangoapp --hdr-enabled -- mangohud" --platform windows"

With the wrapper included (observe the end of the string)
(21:31:58) INFO: [Gog]: Launching Middle-earth™: Shadow of Mordor™ Game of the Year Edition: HEROIC_APP_NAME=1213504814 HEROIC_APP_RUNNER=gog GAMEID=umu-0 HEROIC_APP_SOURCE=gog STORE=gog STEAM_COMPAT_INSTALL_PATH="/mnt/d2fd55e7-47e7-4d37-93ba-ef4fd1b4a3d9/heroic/Shadow of Mordor" ENABLE_VKBASALT=1 LD_PRELOAD= WINEPREFIX="/home/niklas/Games/Heroic/Prefixes/Middle-earth Shadow of Mordor Game of the Year Edition" WINEDLLOVERRIDES=winemenubuilder.exe=d WINE_FULLSCREEN_FSR=0 WINEESYNC=1 WINEFSYNC=1 PROTON_EAC_RUNTIME=/home/niklas/.config/heroic/tools/runtimes/eac_runtime GOGDL_CONFIG_PATH=/home/niklas/.config/heroic/gogdlConfig /usr/lib/heroic/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/niklas/.config/heroic/gog_store/auth.json launch "/mnt/d2fd55e7-47e7-4d37-93ba-ef4fd1b4a3d9/heroic/Shadow of Mordor" 1213504814 --wine /home/niklas/.local/share/lutris/runners/wine/wine-10.1-staging-tkg-amd64/bin/wine --wrapper "/usr/bin/gamescope -w 2560 -h 1440 -W 2560 -H 1440 -F fsr -f -r 180 -o 45 --mangoapp --expose-wayland --adaptive-sync --mangoapp --hdr-enabled -- mangohud ENABLE_VKBASALT=1" --platform windows

@niklaskloth97 niklaskloth97 added the bug:unconfirmed Someone works on identifying the issue label Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug:unconfirmed Someone works on identifying the issue
Projects
None yet
Development

No branches or pull requests

1 participant