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.81k stars 418 forks source link

Installers run in background but aren't visible on screen #3144

Open FrozenOrchestra opened 10 months ago

FrozenOrchestra commented 10 months ago

Describe the bug

When running an installer (whether it's a launcher like Ubisoft Connect or a game installer) it runs in the background according to htop, but the installer never shows on screen. The Ubisoft Connect installer doesn't show up automatically either when running a Ubisoft game for the first time, it just days running installer and never shows on screen. I use a tiling window manager (BSPWM) so I thought the windows might be on a different workspace or under the Heroic launcher but this was not the case.

Add logs

(02:42:13) INFO:    [Legendary]:        Legendary location: /opt/heroic/resources/app.asar.unpacked/build/bin/linux/legendary
(02:42:13) INFO:    [Gog]:              GOGDL location: /opt/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl
(02:42:13) INFO:    [Connection]:       Connectivity: check-online
(02:42:13) INFO:    [Connection]:       Pinging external endpoints
(02:42:13) INFO:    [Nile]:             Refreshing library...
(02:42:13) INFO:    [Nile]:             Refreshing Amazon Games...
(02:42:13) INFO:    [Nile]:             Running command: XDG_CONFIG_HOME=/home/frozenorchestra/.config/heroic/nile_config /opt/heroic/resources/app.asar.unpacked/build/bin/linux/nile library sync
(02:42:13) INFO:    [Nile]:             Game list updated, got 444 games
(02:42:13) INFO:    [Backend]:          DRM module staus {
  "oimompecagnajdejgnnjijobebaeigek": {
    "name": "Widevine Content Decryption Module",
    "status": "new",
    "version": "4.10.2710.0"
  }
}
(02:42:13) WARNING: [Backend]:          Protocol already registered.
(02:42:13) INFO:    [Legendary]:        Running command: XDG_CONFIG_HOME=/home/frozenorchestra/.config/heroic/legendaryConfig /opt/heroic/resources/app.asar.unpacked/build/bin/linux/legendary --version
(02:42:13) INFO:    [Gog]:              Running command: /opt/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl --auth-config-path /home/frozenorchestra/.config/heroic/gog_store/auth.json --version
(02:42:14) INFO:    [Nile]:             Running command: XDG_CONFIG_HOME=/home/frozenorchestra/.config/heroic/nile_config /opt/heroic/resources/app.asar.unpacked/build/bin/linux/nile --version
(02:42:14) INFO:    [Connection]:       Connectivity: online
(02:42:14) INFO:    [Gog]:              Checking if login is valid
(02:42:14) INFO:    [Gog]:              Running command: /opt/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl --auth-config-path /home/frozenorchestra/.config/heroic/gog_store/auth.json auth
(02:42:14) INFO:    [Backend]:          
System Information:
CPU: 16x AMD Ryzen 7 1700 Eight-Core Processor
Memory: 16.72 GB (used: 2.57 GB)
GPUs:
  GPU 0:
    Name: NVIDIA Corporation GP104 [GeForce GTX 1080]
    IDs: D=1b80 V=10de SD=3702 SV=1458
    Driver: nvidia
OS: Arch Linux 6.5.7-arch1-1 (linux)

The current system is not a Steam Deck
We are not running inside a Flatpak container

Software Versions:
  Heroic: 2.9.2 Boa Hancock
  Legendary: 0.20.32 Dark Energy (hotfix #6)
  gogdl: 0.7.3
  Nile: 1.0.0 Jonathan Joestar

(02:42:14) INFO:    [Backend]:          AreWeAntiCheatYet data downloaded
(02:42:14) INFO:    [Backend]:          Loading Screen Ready
(02:42:14) INFO:    [Nile]:             Saved user data to config file
(02:42:14) INFO:    [Frontend]:         Refreshing undefined Library
(02:42:14) WARNING: [Backend]:          refresh not implemented on Sideload Library Manager
(02:42:14) INFO:    [Gog]:              Running command: /opt/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl --auth-config-path /home/frozenorchestra/.config/heroic/gog_store/auth.json auth
(02:42:14) INFO:    [Legendary]:        Refreshing library...
(02:42:14) INFO:    [Legendary]:        Refreshing Epic Games...
(02:42:14) INFO:    [Nile]:             Refreshing library...
(02:42:14) INFO:    [Nile]:             Refreshing Amazon Games...
(02:42:14) INFO:    [Nile]:             Running command: XDG_CONFIG_HOME=/home/frozenorchestra/.config/heroic/nile_config /opt/heroic/resources/app.asar.unpacked/build/bin/linux/nile library sync
(02:42:14) INFO:    [Nile]:             Game list updated, got 444 games
(02:42:14) INFO:    [Legendary]:        Game list updated, got 363 games & DLCs
(02:42:14) INFO:    [Backend]:          Frontend Ready
(02:42:14) INFO:    [Gog]:              Getting GOG library
(02:42:14) INFO:    [Gog]:              Running command: /opt/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl --auth-config-path /home/frozenorchestra/.config/heroic/gog_store/auth.json auth
(02:42:15) INFO:    [Backend]:          Checking for new Heroic Updates
(02:42:15) INFO:    [Backend]:          Checking for current version changelog
(02:42:15) INFO:    [Legendary]:        Running command: XDG_CONFIG_HOME=/home/frozenorchestra/.config/heroic/legendaryConfig /opt/heroic/resources/app.asar.unpacked/build/bin/linux/legendary list --third-party
(02:42:15) INFO:    [Gog]:              Saved username to config file
(02:42:16) INFO:    [Winetricks]:       Downloading Winetricks
(02:42:16) INFO:    [Gog]:              Running command: /opt/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl --auth-config-path /home/frozenorchestra/.config/heroic/gog_store/auth.json auth
(02:42:18) INFO:    [Gog]:              Running command: /opt/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl --auth-config-path /home/frozenorchestra/.config/heroic/gog_store/auth.json auth
(02:42:19) INFO:    [Backend]:          Starting the Download Queue
(02:42:22) INFO:    [Gog]:              Saved games data
(02:42:22) WARNING: [Backend]:          listUpdateableGames not implemented on Sideload Library Manager
(02:42:22) INFO:    [Gog]:              Found 0 game(s) to update
(02:42:24) INFO:    [Legendary]:        Checking for game updates: XDG_CONFIG_HOME=/home/frozenorchestra/.config/heroic/legendaryConfig /opt/heroic/resources/app.asar.unpacked/build/bin/linux/legendary list --third-party
(02:42:27) INFO:    [Legendary]:        Found 0 games to update
(02:42:27) INFO:    [Nile]:             Looking for updates...
(02:42:27) INFO:    [Nile]:             Running command: XDG_CONFIG_HOME=/home/frozenorchestra/.config/heroic/nile_config /opt/heroic/resources/app.asar.unpacked/build/bin/linux/nile list-updates --json
(02:42:31) INFO:    [Backend]:          Writing config for e7rs2vSK4sAQ7yVKspHHu7
(02:42:31) INFO:    [Backend]:          Changed config: winePrefix from /home/frozenorchestra/Games/Heroic/Prefixes/default to /home/frozenorchestra/Games/Heroic/Prefixes/default/Ubisoft Connect
(02:42:31) INFO:    [Backend]:          Checking if wine version exists: Proton - Proton 8.0
(02:42:31) DEBUG:   [Backend]:          Running Wine command: runinprefix /home/frozenorchestra/Downloads/UbisoftConnectInstaller.exe

Steps to reproduce

  1. Go to "Add Game'
  2. Click on 'Run Installer First'
  3. Select Executable
  4. See 'Running Installer'
  5. Installer never shows on screen.

Expected behavior

Installer shows on screen.

Screenshots

![Uploading 2023-10-20_02-48.png…]()

Heroic Version

Latest Stable

System Information

Additional information

No response

Geroldin commented 10 months ago

Hi, had a similar issue when trying to install Ubisoft Connect. Please check if the wine version selected for the "game" is actually present. I don´t know why an unavailable / not installed wine version was pre-selected but when i changed it to an installed one the installer came up just fine for Ubisoft Connect.

CaptainCoward commented 9 months ago

Just installed heroic launcher (flatpak) and i have the very same issue. "Run Installer first".. and nothing happens after selecting a setup file.

arielj commented 7 months ago

This seems to be an issue with the windows manager? we just tell wine/proton to run the executable but we have no control after that

have you tried with wine-ge? or only with proton?

codingthat commented 4 months ago

Seeing this too here running an .msi on Proton-GE-Proton9-2.

By contrast, on Wine-GE-Proton8-26, there's a popup ("The Wine configuration in /home/me/Games/Heroic/Prefixes/default/MyNewTitle is being updated, please wait...") that never goes away. In this case, log output is stalled after:

(15:27:35) WARNING: [Backend]:          Required prefix files are missing, running `verifyWinePrefix` to create prefix
(15:27:35) INFO:    [Backend]:          Checking if wine version exists: Wine - Wine-GE-Proton8-26
(15:27:35) INFO:    [Backend]:          Checking if wine version exists: Wine - Wine-GE-Proton8-26
(15:27:35) DEBUG:   [Backend]:          Running Wine command: wineboot --init

Specs:

CPU: 16x 11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz Memory: 16.5 GB (used: 4.32 GB) GPUs: GPU 0: Name: NVIDIA Corporation GA107M [GeForce RTX 3050 Ti Mobile] IDs: D=25a0 V=10de SD=0a83 SV=1028 Driver: nvidia GPU 1: Name: Intel Corporation TigerLake-H GT1 [UHD Graphics] IDs: D=9a60 V=8086 SD=0a82 SV=1028 Driver: i915 OS: Linux Mint 20.3 (Una) (linux)

The current system is not a Steam Deck We are not running inside a Flatpak container

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