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

Version 2.15.2 - Flatpak not opening window #4173

Open
codywlsmith opened this issue Dec 13, 2024 · 8 comments
Open

Version 2.15.2 - Flatpak not opening window #4173

codywlsmith opened this issue Dec 13, 2024 · 8 comments
Labels
bug:unconfirmed Someone works on identifying the issue

Comments

@codywlsmith
Copy link

codywlsmith commented Dec 13, 2024

Describe the bug

Installed the flatpak version 2.15.2 from flathub. When opening through the shortcut, nothing happens except the icon in the system tray.

If I run the flatpak through the console, the same thing happens, and when I right click the icon in the system tray and click Debug, I get these lines in the terminal:

[13:1213/135935.602376:ERROR:CONSOLE(1)] "Request Autofill.enable failed. {"code":-32601,"message":"'Autofill.enable' wasn't found"}", source: devtools://devtools/bundled/core/protocol_client/protocol_client.js (1)
[13:1213/135935.602395:ERROR:CONSOLE(1)] "Request Autofill.setAddresses failed. {"code":-32601,"message":"'Autofill.setAddresses' wasn't found"}", source: devtools://devtools/bundled/core/protocol_client/protocol_client.js (1)

I have tried uninstalling and reinstalling the flatpak, but still have the same issue.

Add logs

Can't get logs as I can't open the application.

Steps to reproduce

  1. Run the 2.15.2 flatpak through terminal using flatpak run com.heroicgameslauncher.hgl
  2. Right click on icon in system tray
  3. Click 'Debug'
  4. See error in terminal

Expected behavior

I expect to click on the flatpak shortcut and the application loads as normal.

Screenshots

No response

Heroic Version

Latest Stable

System Information

  • OS: NobaraOS
  • DE: KDE
  • RTX 4080 SUPER - Nvidia driver 565.77

Additional information

No response

@codywlsmith codywlsmith added the bug:unconfirmed Someone works on identifying the issue label Dec 13, 2024
@Zeabyte
Copy link

Zeabyte commented Dec 13, 2024

I have the same problem on latest Fedora 41 since an update yesterday. Also on Nvidia, KDE Plasma 6, Flatpak and same driver.

The only ways I have found to display the window, is to do the following:

  • start Heroic; the window will be invisible
  • start any game; the window will "hide in tray icon"
  • click the tray icon; the window will appear; working perfectly

or

  • wait a couple of minutes
  • click the tray icon; the window will appear

This issue seems to be related to Wayland. As this happened right after a daily OS upgrade, this could be an upstream problem with either nvidia, wayland or Electron.

Relevant part of output of flatpak run:

APPIMAGE env is not defined, current application is not an AppImage
LaunchProcess: failed to execvp:
xdg-settings
(21:20:52) WARNING: [Backend]:          Failed to register protocol with OS.
Unsupported modifier, resource creation failed.
[55:1213/212052.429518:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= RGBA_8888 and usage=SCANOUT
Unsupported modifier, resource creation failed.
[55:1213/212052.429616:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= RGBA_8888 and usage=GPU_READ
[55:1213/212052.429658:ERROR:shared_image_factory.cc(1015)] CreateSharedImage: could not create backing.
[55:1213/212052.429697:ERROR:shared_image_factory.cc(764)] DestroySharedImage: Could not find shared image mailbox
[55:1213/212052.429761:ERROR:gpu_service_impl.cc(1125)] Exiting GPU process because some drivers can't recover from errors. GPU process will restart shortly.
[13:1213/212052.453359:ERROR:gpu_process_host.cc(1002)] GPU process exited unexpectedly: exit_code=8704
Unsupported modifier, resource creation failed.
[161:1213/212052.508005:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= RGBA_8888 and usage=SCANOUT
Unsupported modifier, resource creation failed.
[161:1213/212052.508096:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= RGBA_8888 and usage=GPU_READ
[161:1213/212052.508132:ERROR:shared_image_factory.cc(1015)] CreateSharedImage: could not create backing.
[161:1213/212052.508151:ERROR:shared_image_factory.cc(764)] DestroySharedImage: Could not find shared image mailbox
[161:1213/212052.508188:ERROR:gpu_service_impl.cc(1125)] Exiting GPU process because some drivers can't recover from errors. GPU process will restart shortly.
[13:1213/212052.513334:ERROR:gpu_process_host.cc(1002)] GPU process exited unexpectedly: exit_code=8704
Unsupported modifier, resource creation failed.
[198:1213/212052.561398:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= RGBA_8888 and usage=SCANOUT
Unsupported modifier, resource creation failed.
[198:1213/212052.561488:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= RGBA_8888 and usage=GPU_READ
[198:1213/212052.561540:ERROR:shared_image_factory.cc(1015)] CreateSharedImage: could not create backing.
[198:1213/212052.561609:ERROR:shared_image_factory.cc(764)] DestroySharedImage: Could not find shared image mailbox
[198:1213/212052.561673:ERROR:gpu_service_impl.cc(1125)] Exiting GPU process because some drivers can't recover from errors. GPU process will restart shortly.
[13:1213/212052.567463:ERROR:gpu_process_host.cc(1002)] GPU process exited unexpectedly: exit_code=8704

@natervader
Copy link

natervader commented Dec 14, 2024

Recently updated my NixOS machine to unstable and getting the same issue. Application window never appears, however I am able to open the About page from the tray.

I have also tried (sort of) the suggested fix on the wiki to no avail.

I had a hunch it's related to Wayland but @Zeabyte beat me to the comment on that one.

System info from microfetch:

      ▟█▖    ▝█▙ ▗█▛          n0ll@NateNix ~
   ▗▄▄▟██▄▄▄▄▄▝█▙█▛  ▖          System        NixOS 25.05 (Warbler)
   ▀▀▀▀▀▀▀▀▀▀▀▘▝██  ▟█▖         Kernel        Linux 6.6.63 (x86_64)
      ▟█▛       ▝█▘▟█▛          Shell         bash
 ▟█████▛          ▟█████▛       Uptime        1 hours, 30 minutes
    ▟█▛▗█▖       ▟█▛            Desktop       Hyprland (Wayland)
   ▝█▛  ██▖▗▄▄▄▄▄▄▄▄▄▄▄       󰍛  Memory        8.15 GiB / 62.72 GiB (13%)
    ▝  ▟█▜█▖▀▀▀▀▀██▛▀▀▘       󱥎  Storage (/)   1414.62 GiB / 1832.20 GiB (77%)
      ▟█▘ ▜█▖    ▝█▛            Colors                    

Running from terminal doesn't seem to provide any useful output.

(19:02:20) INFO:    [Legendary]:        Legendary location: /nix/store/3swqgc7pkqqnrwll3d7kbcwkd84q69lk-heroic-unwrapped-2.15.2/share/heroic/build/bin/x64/linux/legendary
(19:02:20) INFO:    [Gog]:              GOGDL location: /nix/store/3swqgc7pkqqnrwll3d7kbcwkd84q69lk-heroic-unwrapped-2.15.2/share/heroic/build/bin/x64/linux/gogdl
(19:02:20) INFO:    [Connection]:       Connectivity: check-online
(19:02:20) INFO:    [Connection]:       Pinging external endpoints
(19:02:20) INFO:    [Gog]:              Checking for existing gog manifests
APPIMAGE env is not defined, current application is not an AppImage
libEGL warning: egl: failed to create dri2 screen
(19:02:20) WARNING: [Backend]:          Failed to register protocol with OS.
(19:02:20) INFO:    [Legendary]:        Running command: LEGENDARY_CONFIG_PATH=/home/n0ll/.config/heroic/legendaryConfig/legendary /nix/store/3swqgc7pkqqnrwll3d7kbcwkd84q69lk-heroic-unwrapped-2.15.2/share/heroic/build/bin/x64/linux/legendary --version
(19:02:20) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/n0ll/.config/heroic/gogdlConfig /nix/store/3swqgc7pkqqnrwll3d7kbcwkd84q69lk-heroic-unwrapped-2.15.2/share/heroic/build/bin/x64/linux/gogdl --auth-config-path /home/n0ll/.config/heroic/gog_store/auth.json --version
(19:02:20) INFO:    [Nile]:             Running command: NILE_CONFIG_PATH=/home/n0ll/.config/heroic/nile_config /nix/store/3swqgc7pkqqnrwll3d7kbcwkd84q69lk-heroic-unwrapped-2.15.2/share/heroic/build/bin/x64/linux/nile --version
(19:02:20) INFO:    [Connection]:       Connectivity: online
(19:02:20) INFO:    [Backend]:          User Not Found, removing it from Store
(19:02:20) ERROR:   [Gog]:              Unable to syncQueued playtime, userData not present
(19:02:20) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/n0ll/.config/heroic/gogdlConfig /nix/store/3swqgc7pkqqnrwll3d7kbcwkd84q69lk-heroic-unwrapped-2.15.2/share/heroic/build/bin/x64/linux/gogdl --auth-config-path /home/n0ll/.config/heroic/gog_store/auth.json auth
(19:02:20) INFO:    [Backend]:          
System Information:
CPU: 24x AMD Ryzen 9 3900X 12-Core Processor
Memory: 67.34 GB (used: 8.19 GB)
GPUs:
  GPU 0:
    Name: NVIDIA Corporation GA106 [GeForce RTX 3060 Lite Hash Rate]
    IDs: D=2504 V=10de SD=4630 SV=19da
    Driver: nvidia
OS: NixOS 25.05 (Warbler) (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.34 Direct Intervention
  gogdl: 1.1.2
  comet: comet 0.2.0

  Nile: 1.1.2 Will A. Zeppeli

(19:02:20) INFO:    [Backend]:          AreWeAntiCheatYet data downloaded
(19:02:23) INFO:    [Winetricks]:       Downloading Winetricks
(19:02:25) INFO:    [WineDownloader]:   Updating wine versions info
(19:02:25) INFO:    [WineDownloader]:   Fetching upstream information...
(19:02:26) INFO:    [WineDownloader]:   wine versions updated

After checking wine versions the program just hangs for a while until checking GOG settings. If there's anything I can assist with please let me know.

Edit: Sorry I didn't realize this was specifically an issue with Flatpak. Whoops. I'm not using the flatpak version, but I'll leave this up in case it's helpful.

@Zeabyte
Copy link

Zeabyte commented Dec 14, 2024

After upgrading various graphics related packages, the issue is now gone for me. I am sure that this was an issue with some latest stable fedora package.

@codywlsmith
Copy link
Author

After upgrading various graphics related packages, the issue is now gone for me. I am sure that this was an issue with some latest stable fedora package.

What do you mean when you say you updated 'various graphics related packages'? Which ones?

@Zeabyte
Copy link

Zeabyte commented Dec 14, 2024

After upgrading various graphics related packages, the issue is now gone for me. I am sure that this was an issue with some latest stable fedora package.

What do you mean when you say you updated 'various graphics related packages'? Which ones?

Sorry, I could not be specific as I upgraded many packages, many of which were graphics related. The one that is, in my opinion, most likely at fault here is the RPMFusion nvidia driver package.

Does a full dnf upgrade not fix the issue for you?

@mat-49
Copy link

mat-49 commented Dec 15, 2024

After updating flatpak Heroic Games Launcher yesterday, I am also experiencing similar issue. I have tried uninstalled with flatpak uninstall --delete-data com.heroicgameslauncher.hgl and flatpak uninstall --unused then reinstalled.

Here is my computer system info:

OS: Linux Mint 22 x86_64 
Host: Inspiron 5575 1.3.3 
Kernel: 6.8.0-50-generic 
Packages: 3064 (dpkg), 8 (flatpak) 
Shell: bash 5.2.21 
Resolution: 1920x1080 
DE: Cinnamon 6.2.9 
WM: Mutter (Muffin) 
Terminal: gnome-terminal 
CPU: AMD Ryzen 5 2500U with Radeon V 
GPU: AMD ATI Radeon Vega Series / Ra 
Memory: 15629MiB

Running flatpak run com.heroicgameslauncher.hgl in the terminal shows blank window like below.

Screenshot from 2024-12-15 14-03-59

The heroic icon shows up in the taskbar and I can open the menu with Show, About, Reload, Debug, Quit. When I click About, I got this.

Screenshot from 2024-12-15 14-04-34

Here is the output in the terminal:

Gtk-Message: 14:21:07.993: Failed to load module "xapp-gtk3-module"
which: no wine in (/app/bin:/app/bin:/app/utils/bin:/usr/bin:/usr/lib/extensions/vulkan/MangoHud/bin:/usr/lib/extensions/vulkan/gamescope/bin:/usr/lib/extensions/vulkan/OBSVkCapture/bin:/app/bin/heroic/resources/app.asar.unpacked/build/bin/linux)
(14:21:08) INFO:    [Legendary]:        Legendary location: /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/legendary
(14:21:08) INFO:    [Gog]:              GOGDL location: /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl
(14:21:08) INFO:    [Connection]:       Connectivity: check-online
(14:21:08) INFO:    [Connection]:       Pinging external endpoints
(14:21:08) INFO:    [Gog]:              Checking for existing gog manifests
LaunchProcess: failed to execvp:
xdg-settings
(14:21:08) WARNING: [Backend]:          Failed to register protocol with OS.
(14:21:08) INFO:    [Legendary]:        Running command: LEGENDARY_CONFIG_PATH=/home/minh/.var/app/com.heroicgameslauncher.hgl/config/heroic/legendaryConfig/legendary /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/legendary --version
(14:21:08) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/minh/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/minh/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store/auth.json --version
(14:21:08) INFO:    [Nile]:             Running command: NILE_CONFIG_PATH=/home/minh/.var/app/com.heroicgameslauncher.hgl/config/heroic/nile_config /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/nile --version
(14:21:08) INFO:    [Connection]:       Connectivity: online
(14:21:08) INFO:    [Backend]:          User Not Found, removing it from Store
(14:21:08) ERROR:   [Gog]:              Unable to syncQueued playtime, userData not present
(14:21:08) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/minh/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/minh/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store/auth.json auth
(14:21:09) INFO:    [Backend]:          AreWeAntiCheatYet data downloaded
(14:21:09) INFO:    [Backend]:          
System Information:
CPU: 8x AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx
Memory: 16.39 GB (used: 5.57 GB)
GPUs:
  GPU 0:
    Name: Advanced Micro Devices, Inc. [AMD/ATI] Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series]
    IDs: D=15dd V=1002 SD=0812 SV=1028
    Driver: amdgpu
OS: Linux Mint 22 (Wilma) (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

which: no wine in (/app/bin:/app/bin:/app/utils/bin:/usr/bin:/usr/lib/extensions/vulkan/MangoHud/bin:/usr/lib/extensions/vulkan/gamescope/bin:/usr/lib/extensions/vulkan/OBSVkCapture/bin:/app/bin/heroic/resources/app.asar.unpacked/build/bin/linux)
(14:21:10) INFO:    [Winetricks]:       Downloading Winetricks
(14:21:13) INFO:    [WineDownloader]:   Updating wine versions info
(14:21:13) INFO:    [WineDownloader]:   Fetching upstream information...
(14:21:14) INFO:    [WineDownloader]:   wine versions updated

@codywlsmith
Copy link
Author

Bizarre update here: I haven't done anything different other than using my machine a few times over the last few days (shutting down when done at night) and Heroic is magically working again this morning. I might have ran some updates that Nobara said I need to run for flatpaks, but I don't think Heroic was included, given that it's still showing v 2.15.2

@Zeabyte
Copy link

Zeabyte commented Dec 16, 2024

Bizarre update here: I haven't done anything different other than using my machine a few times over the last few days (shutting down when done at night) and Heroic is magically working again this morning. I might have ran some updates that Nobara said I need to run for flatpaks, but I don't think Heroic was included, given that it's still showing v 2.15.2

If you used dnf, you can list the transactions with dnf history list and see the upgrades with dnf history info [id] or dnf history info last.

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

4 participants