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

Legendary, Gamescope and Wineprefix Together Crashing #4365

Open
SealProgrammer opened this issue Mar 1, 2025 · 0 comments
Open

Legendary, Gamescope and Wineprefix Together Crashing #4365

SealProgrammer opened this issue Mar 1, 2025 · 0 comments
Labels
bug:unconfirmed Someone works on identifying the issue

Comments

@SealProgrammer
Copy link

Describe the bug

I am using Heroic 2.15.2-1 (heroic-games-launcher-bin from AUR) but observed the same behavior with the Flatpak.

When I go to run a game without gamescope, it runs completely fine. When I run a game with it, it crashes immediately if opened on my 4K monitor, and is fine on my 1080p one. Moving the window from the 1080p monitor to the 4K monitor instantly crashes it.

I tried running some other games; DDLC (from Epic) crashes, 20 Minutes Till Dawn (from Epic) crashes, Bioshock (from GOG) is fine. I am led to believe that this might be related to Legendary by this.

I ran Heroic from the commandline and found that it was using this command to launch the game:

(11:55:02) INFO: [Legendary]: Launching Doki Doki Literature Club Plus!: HEROIC_APP_NAME=c5109bdceb3a453bb38c2fdc964ddee8 HEROIC_APP_RUNNER=legendary GAMEID=umu-0 HEROIC_APP_SOURCE=epic STORE=egs STEAM_COMPAT_INSTALL_PATH=/home/julie/Games/Heroic/DokiDokiLitClubPlus LD_PRELOAD= WINEPREFIX="/home/julie/Games/Heroic/Prefixes/default/Doki Doki Literature Club Plus" WINEDLLOVERRIDES=winemenubuilder.exe=d WINE_FULLSCREEN_FSR=0 WINEESYNC=1 WINEFSYNC=1 PROTON_EAC_RUNTIME=/home/julie/.config/heroic/tools/runtimes/eac_runtime PROTON_BATTLEYE_RUNTIME=/home/julie/.config/heroic/tools/runtimes/battleye_runtime ORIG_LD_LIBRARY_PATH= LEGENDARY_CONFIG_PATH=/home/julie/.config/heroic/legendaryConfig/legendary /opt/Heroic/resources/app.asar.unpacked/build/bin/x64/linux/legendary launch c5109bdceb3a453bb38c2fdc964ddee8 --wine /usr/bin/wine --wrapper "/usr/bin/gamescope -w 1920 -h 1080 -W 3840 -H 2160 -F fsr -f --" --language en --override-exe "/home/julie/Games/Heroic/DokiDokiLitClubPlus/Doki Doki Literature Club Plus.exe"

Making it a bit more readable:

HEROIC_APP_NAME=c5109bdceb3a453bb38c2fdc964ddee8 \
HEROIC_APP_RUNNER=legendary \
GAMEID=umu-0 \
HEROIC_APP_SOURCE=epic \
STORE=egs \
STEAM_COMPAT_INSTALL_PATH="/home/julie/Games/Heroic/DokiDokiLitClubPlus" \
LD_PRELOAD= \
WINEPREFIX="/home/julie/Games/Heroic/Prefixes/default/Doki Doki Literature Club Plus" \
WINEDLLOVERRIDES=winemenubuilder.exe=d \
WINE_FULLSCREEN_FSR=0 \
WINEESYNC=1 \
WINEFSYNC=1 \
PROTON_EAC_RUNTIME="/home/julie/.config/heroic/tools/runtimes/eac_runtime" \
PROTON_BATTLEYE_RUNTIME="/home/julie/.config/heroic/tools/runtimes/battleye_runtime" \
ORIG_LD_LIBRARY_PATH= \
LEGENDARY_CONFIG_PATH="/home/julie/.config/heroic/legendaryConfig/legendary" \
/opt/Heroic/resources/app.asar.unpacked/build/bin/x64/linux/legendary launch c5109bdceb3a453bb38c2fdc964ddee8 \
--wine /usr/bin/wine \
--wrapper "/usr/bin/gamescope -w 1920 -h 1080 -W 3840 -H 2160 -F fsr -f --" \
--language en \
--override-exe "/home/julie/Games/Heroic/DokiDokiLitClubPlus/Doki Doki Literature Club Plus.exe"

Running that in a terminal does the exact same thing.

If I remove the line that specifies the WINEPREFIX, it works! Although without the save data, because it is stored there.

When running it with the prefix, here seems to be the error that seems to be causing it:

[gamescope] [Error] vulkan: vkImportSemaphoreFdKHR failed (VkResult: -3)
[gamescopereaper] [Info]  reaper: Parent of gamescopereaper was killed. Killing children.
(EE) failed to read Wayland events: Broken pipe

Add logs

Using pastebin because they are too long for Github.

Heroic logs: https://pastebin.com/U3G1kQzy

Legendary (Truncated): https://pastebin.com/k73hju9i

DDLC: https://pastebin.com/FmUcCDH0

Steps to reproduce

  1. Go to Library
  2. Install any game from Epic
  3. Enable FSR Upscaling
  4. Launch game
  5. Put game on 4K monitor

Expected behavior

Game should launch properly using Gamescope.

Screenshots

No response

Heroic Version

Latest Stable

System Information

  • OS [e. g. "Ubuntu"]: Arch Linux

Additional information

No response

@SealProgrammer SealProgrammer added the bug:unconfirmed Someone works on identifying the issue label Mar 1, 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