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.25k stars 433 forks source link

Oct-5 UMU update broke Gamescope fullscreen and copy/paste #4042

Open RickAndTired opened 1 month ago

RickAndTired commented 1 month ago

Describe the bug

Oct-5 UMU update broke Gamescope fullscreen and copy/paste

Fullscreen and copy/paste worked with Gamescope on Oct 4th and stopped working on Oct 5th Heroic Flatpak, Gamescope, GE-Proton-9-15 are all the same with no updates during that time Disabling UMU fixes the issues

Add logs

(11:28:33) INFO:    [Legendary]:        Legendary location: /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/legendary

(11:28:33) INFO:    [Gog]:              GOGDL location: /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl

(11:28:33) INFO:    [Connection]:       Connectivity: check-online

(11:28:33) INFO:    [Connection]:       Pinging external endpoints

(11:28:33) INFO:    [Gog]:              Checking for existing gog manifests

(11:28:33) WARNING: [Backend]:          Failed to register protocol with OS.

(11:28:33) INFO:    [Legendary]:        Running command: LEGENDARY_CONFIG_PATH=/home/rick/.var/app/com.heroicgameslauncher.hgl/config/heroic/legendaryConfig/legendary /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/legendary --version

(11:28:33) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/rick/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/rick/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store/auth.json --version

(11:28:33) INFO:    [Nile]:             Running command: NILE_CONFIG_PATH=/home/rick/.var/app/com.heroicgameslauncher.hgl/config/heroic/nile_config /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/nile --version

(11:28:33) INFO:    [Connection]:       Connectivity: online

(11:28:33) INFO:    [Gog]:              Checking if login is valid

(11:28:33) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/rick/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/rick/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store/auth.json auth

(11:28:33) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/rick/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/rick/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store/auth.json auth

(11:28:33) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/rick/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/rick/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store/auth.json auth

(11:28:34) INFO:    [Backend]:          AreWeAntiCheatYet data downloaded

(11:28:34) INFO:    [Backend]:          

System Information:

CPU: 12x AMD Ryzen 5 5600G with Radeon Graphics

Memory: 33.43 GB (used: 6.32 GB)

GPUs:

  GPU 0:

    Name: Advanced Micro Devices, Inc. [AMD/ATI] Navi 23 [Radeon RX 6600/6600 XT/6600M]

    IDs: D=73ff V=1002 SD=e448 SV=1da2

    Driver: amdgpu

OS: Ubuntu 24.04.1 LTS (Noble Numbat) (linux)

The current system is not a Steam Deck

We are 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

(11:28:34) INFO:    [Frontend]:         Refreshing undefined Library

(11:28:34) WARNING: [Backend]:          refresh not implemented on Sideload Library Manager

(11:28:34) INFO:    [Legendary]:        Refreshing library...

(11:28:34) INFO:    [Legendary]:        Refreshing Epic Games...

(11:28:34) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/rick/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/rick/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store/auth.json auth

(11:28:34) INFO:    [Backend]:          Frontend Ready

(11:28:34) INFO:    [Gog]:              GOG presence set

(11:28:34) INFO:    [Legendary]:        Running command: LEGENDARY_CONFIG_PATH=/home/rick/.var/app/com.heroicgameslauncher.hgl/config/heroic/legendaryConfig/legendary /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/legendary list --third-party

(11:28:34) INFO:    [Gog]:              Getting GOG library

(11:28:34) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/rick/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/rick/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store/auth.json auth

(11:28:34) INFO:    [Backend]:          Checking for current version changelog

(11:28:35) INFO:    [Gog]:              Saved username to config file

(11:28:35) INFO:    [Gog]:              Saved games data

(11:28:36) INFO:    [Winetricks]:       Downloading Winetricks

(11:28:36) INFO:    [Legendary]:        Game list updated, got 503 games & DLCs

(11:28:36) WARNING: [Backend]:          listUpdateableGames not implemented on Sideload Library Manager

(11:28:36) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/rick/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/rick/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store/auth.json auth

(11:28:36) INFO:    [Gog]:              Found 0 game(s) to update

(11:28:36) INFO:    [Legendary]:        Checking for game updates: LEGENDARY_CONFIG_PATH=/home/rick/.var/app/com.heroicgameslauncher.hgl/config/heroic/legendaryConfig/legendary /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/legendary list --third-party

(11:28:36) INFO:    [Backend]:          Launching MapleStory (gkLBAbFrCtjJUFJJRuwtud)

(11:28:36) INFO:    [Backend]:          Preventing display from sleep

(11:28:36) INFO:    [Backend]:          Checking if wine version exists: Proton - Proton-GE-latest

(11:28:37) INFO:    [Backend]:          Preventing machine to sleep

(11:28:37) INFO:    [Backend]:          Checking if wine version exists: Proton - Proton-GE-latest

(11:28:37) INFO:    [Backend]:          Checking if wine version exists: Proton - Proton-GE-latest

(11:28:37) INFO:    [Backend]:          Checking if wine version exists: Proton - Proton-GE-latest

(11:28:37) DEBUG:   [Backend]:          Running Wine command: run wineboot --init

(11:28:38) INFO:    [Legendary]:        Found 0 games to update

(11:28:38) INFO:    [WineDownloader]:   Updating wine versions info

(11:28:38) INFO:    [WineDownloader]:   Fetching upstream information...

(11:28:38) INFO:    [Backend]:          launching non-native sideloaded: /mnt/data/Games/PC/Heroic/MapleStory/MapleStory 4G (no admin req).exe 

(11:28:38) INFO:    [Backend]:          Checking if wine version exists: Proton - Proton-GE-latest

(11:28:39) DEBUG:   [Backend]:          Running Wine command: waitforexitandrun /mnt/data/Games/PC/Heroic/MapleStory/MapleStory 4G (no admin req).exe

(11:28:39) DEBUG:   [Backend]:          Logging to file "/home/rick/.var/app/com.heroicgameslauncher.hgl/config/heroic/GamesConfig/gkLBAbFrCtjJUFJJRuwtud-lastPlay.log"

(11:28:39) INFO:    [Backend]:          Preventing display to sleep

(11:28:39) INFO:    [Backend]:          Starting the Download Queue

(11:28:39) INFO:    [WineDownloader]:   wine versions updated

(11:28:48) INFO:    [Backend]:          Stopping Display Power Saver Blocker

(11:28:48) INFO:    [Frontend]:         Refreshing sideload Library

(11:28:48) WARNING: [Backend]:          refresh not implemented on Sideload Library Manager

(11:28:48) INFO:    [Backend]:          Stopping Power Saver Blocker

(11:28:48) INFO:    [Backend]:          Stopping Display Sleep Blocker

(11:28:58) INFO:    [Backend]:          gkLBAbFrCtjJUFJJRuwtud: Setting useSteamRuntime to true

(11:29:08) INFO:    [Backend]:          gkLBAbFrCtjJUFJJRuwtud: Setting useSteamRuntime to false

(11:29:12) INFO:    [Backend]:          Launching MapleStory (gkLBAbFrCtjJUFJJRuwtud)

(11:29:12) INFO:    [Backend]:          Preventing display from sleep

(11:29:12) INFO:    [Backend]:          Checking if wine version exists: Proton - Proton-GE-latest

(11:29:12) INFO:    [Backend]:          Preventing machine to sleep

(11:29:12) INFO:    [Backend]:          Checking if wine version exists: Proton - Proton-GE-latest

(11:29:12) INFO:    [Backend]:          Checking if wine version exists: Proton - Proton-GE-latest

(11:29:12) INFO:    [Backend]:          Checking if wine version exists: Proton - Proton-GE-latest

(11:29:12) DEBUG:   [Backend]:          Running Wine command: run wineboot --init

(11:29:14) INFO:    [Backend]:          launching non-native sideloaded: /mnt/data/Games/PC/Heroic/MapleStory/MapleStory 4G (no admin req).exe 

(11:29:14) INFO:    [Backend]:          Checking if wine version exists: Proton - Proton-GE-latest

(11:29:14) DEBUG:   [Backend]:          Running Wine command: waitforexitandrun /mnt/data/Games/PC/Heroic/MapleStory/MapleStory 4G (no admin req).exe

(11:29:14) DEBUG:   [Backend]:          Logging to file "/home/rick/.var/app/com.heroicgameslauncher.hgl/config/heroic/GamesConfig/gkLBAbFrCtjJUFJJRuwtud-lastPlay.log"

(11:29:14) INFO:    [Backend]:          Preventing display to sleep

(11:29:44) INFO:    [Backend]:          Stopping Display Power Saver Blocker

(11:29:44) INFO:    [Frontend]:         Refreshing sideload Library

(11:29:44) WARNING: [Backend]:          refresh not implemented on Sideload Library Manager

(11:29:44) INFO:    [Backend]:          Stopping Power Saver Blocker

(11:29:44) INFO:    [Backend]:          Stopping Display Sleep Blocker

Steps to reproduce

  1. Use GE-Proton-9-15
  2. Enable Use UMU as Proton runtime
  3. Game Settings - Gamescope - Enable Upscaling
  4. Game Settings - Gamescope - Window Type - Fullscreen
  5. Launch Game
  6. Game is not fullscreen
  7. CTRL+C text outside of game
  8. Try to CTRL+V to paste text into game
  9. Paste does not work

Expected behavior

Gamescope Fullscreen working Copy and paste working

Screenshots

No response

Heroic Version

Latest Stable (Flatpak)

System Information

Additional information

No response

MithicSpirit commented 1 week ago

I suspect that the issue is that umu containerizes the game similar to how steam does it, which means that the gamescope X11 socket is not available in the container.