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.29k stars 438 forks source link

[Wayland] Heroic does not open #4083

Open SamRodri opened 3 weeks ago

SamRodri commented 3 weeks ago

Describe the bug

Heroic doesn't open on Ubuntu 24.10 with Wayland and NVIDIA drivers. Both Flatpak and Dep fails with the same error.

Add logs

[13:1030/105151.856892:ERROR:wayland_event_watcher.cc(43)] libwayland: [destroyed object]: error 7: failed to import supplied dmabufs: Could not bind the given EGLImage to a CoglTexture2D

Steps to reproduce

  1. Open the launcher from command line to see errors, flatpak run com.heroicgameslauncher.hgl.

Expected behavior

Expected launcher window to open.

Screenshots

No response

Heroic Version

Latest Stable

System Information

Additional information

No response

LazyStability commented 3 weeks ago

Not on Ubuntu but on nixos, with a similiar problem the heroic window does not open in wayland, but it does in xwayland/x11.

Steps to reproduce

  1. type in cmd heroic --enable-features=UseOzonePlatform --ozone-platform=wayland, no window opens
  2. type in cmd heroic --enable-features=UseOzonePlatform --ozone-platform=x11, window opens

System Information:
[...]
GPUs:
  GPU 0:
    [...]
    Driver: nvidia
OS: NixOS 24.11 (Vicuna) (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.1.2

  Nile: 1.1.2 Will A. Zeppeli
SamRodri commented 3 weeks ago

Command heroic --enable-features=UseOzonePlatform --ozone-platform=x11 works for me too. Thanks for the workaround.