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

[Flatpak] Blank Interface after upgrade - 2.3.0-beta.2 #1283

Closed rscm closed 2 years ago

rscm commented 2 years ago

Describe the bug

There's only a blank Interface when I open the client after upgrade, there's nothing on screen.

Can't access the logs so I'll paste the terminal output

Add logs

Gtk-Message: 19:40:46.332: Failed to load module "canberra-gtk-module"
Gtk-Message: 19:40:46.332: Failed to load module "canberra-gtk-module"
[3:0508/194046.343456:ERROR:bus.cc(397)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No existe el fichero o el directorio
[3:0508/194046.343544:ERROR:bus.cc(397)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No existe el fichero o el directorio
(19:40:46) DEBUG:   [Legendary]:       Running Legendary command: /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/legendary --version
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[42:0508/194046.431303:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process.
hostname: opción inválida -- 'f'
Pruebe 'hostname --help' para más información.
(19:40:46) INFO:    [Legendary]:       Legendary location: /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/legendary
(19:40:46) INFO:    [Gog]:             GOGDL location: /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl
(19:40:46) INFO:    [Backend]:         
  Heroic Version: 2.3.0-beta.2 Caesar Clown
  Legendary Version:  0.20.25 Our Benefactors
  OS: Freedesktop.org KERNEL: 5.17.5-200.fc35.x86_64 ARCH: x64
  CPU: AMD Ryzen 7 4800H with Radeon Graphics @2.9 GOVERNOR: schedutil
  RAM: Total: 15.06 GiB Available: 10.62 GiB
  GRAPHICS: GPU0: TU106M [GeForce RTX 2060 Mobile]  VRAM: 32MB DRIVER:  GPU1: Renoir VRAM: 512MB DRIVER:  
  PROTOCOL: wayland

(19:40:46) INFO:    [Gog]:             Getting data about the user
APPIMAGE env is not defined, current application is not an AppImage
LaunchProcess: failed to execvp:
xdg-settings
(19:40:47) ERROR:   [Backend]:         Failed to register protocol with OS.
[3:0508/194047.095160:ERROR:browser_main_loop.cc(269)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[3:0508/194047.095202:ERROR:browser_main_loop.cc(269)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[3:0508/194047.095268:ERROR:browser_main_loop.cc(269)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
(19:40:47) INFO:    [Gog]:             Saved user data to config
[3:0508/194048.214171:ERROR:browser_main_loop.cc(269)] Gdk: gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed
[42:0508/194051.323892:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
[42:0508/194110.562425:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
[42:0508/194110.563823:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!

Steps to reproduce

  1. Open the client
  2. nothing else

Expected behavior

To get the list of games and specially the client's interface

Screenshots

Main screen

Captura de pantalla de 2022-05-08 19-41-05

Main screen + Debug Open (Chromium console)

Captura de pantalla de 2022-05-08 19-41-23

Terminal Output

Captura de pantalla de 2022-05-08 19-41-41

System Information

Heroic Version

2.3.0-beta.2 Caesar Clown

$ flatpak --version

Flatpak 1.12.7

System info

Fedora 35 Silverblue Gnome 41.6 Wayland

($ inxi -F --no-host)

System:
  Kernel: 5.17.5-200.fc35.x86_64 arch: x86_64 bits: 64 Desktop: GNOME
    Distro: Fedora release 35 (Thirty Five)
Machine:
  Type: Laptop System: LENOVO product: 82B1 v: Lenovo Legion 5 15ARH05H
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: SDK0R33126 WIN
    serial: <superuser required> UEFI: LENOVO v: FSCN14WW date: 08/26/2020
Battery:
  ID-1: BAT0 charge: 48.8 Wh (60.0%) condition: 81.3/80.0 Wh (101.7%)
    volts: 15.3 min: 15.4
CPU:
  Info: 8-core model: AMD Ryzen 7 4800H with Radeon Graphics bits: 64
    type: MT MCP cache: L2: 4 MiB
  Speed (MHz): avg: 1410 min/max: 1400/2900 cores: 1: 1615 2: 1397 3: 1397
    4: 1397 5: 1397 6: 1397 7: 1397 8: 1397 9: 1397 10: 1397 11: 1397 12: 1397
    13: 1397 14: 1397 15: 1397 16: 1396
Graphics:
  Device-1: NVIDIA TU106M [GeForce RTX 2060 Mobile] driver: nvidia
    v: 510.60.02
  Device-2: AMD Renoir driver: amdgpu v: kernel
  Device-3: Chicony Integrated Camera type: USB driver: uvcvideo
  Display: wayland server: X.Org v: 1.21.1.4 compositor: gnome-shell
    driver: X: loaded: amdgpu,nvidia unloaded: fbdev,modesetting,nouveau,vesa
    gpu: amdgpu resolution: 1920x1080~144Hz
  Message: Wayland GBM/EGL data currently not available.
Audio:
  Device-1: NVIDIA TU106 High Definition Audio driver: snd_hda_intel
  Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor driver: N/A
  Device-3: AMD Family 17h/19h HD Audio driver: snd_hda_intel
  Sound Server-1: ALSA v: k5.17.5-200.fc35.x86_64 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    driver: r8169
  IF: eno1 state: down mac: 38:f3:ab:15:67:25
  Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi
  IF: wlp4s0 state: up mac: c0:3c:59:a9:1a:64
Bluetooth:
  Device-1: N/A type: USB driver: btusb
  Report: rfkill ID: hci0 state: up address: see --recommends
Drives:
  Local Storage: total: 2.29 TiB used: 728.71 GiB (31.1%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: MZALQ512HALU-000L2
    size: 476.94 GiB
  ID-2: /dev/sda type: USB vendor: Western Digital model: WD Elements 2621
    size: 1.82 TiB
Partition:
  Message: No partition data found.
Swap:
  ID-1: swap-1 type: zram size: 8 GiB used: 109.9 MiB (1.3%) dev: /dev/zram0
Sensors:
  System Temperatures: cpu: N/A mobo: N/A gpu: amdgpu temp: 30.0 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 447 Uptime: 1d 8h 3m Memory: 15.06 GiB used: 5 GiB (33.2%)
  Shell: Bash inxi: 3.3.14

Additional information

Tried downgrading through flatpak but couldn't (404)

❯ flatpak remote-info --log flathub-beta com.heroicgameslauncher.hgl
          ID: com.heroicgameslauncher.hgl
  Referencia: app/com.heroicgameslauncher.hgl/x86_64/beta
Arquitectura: x86_64
        Rama: beta
   Colección: org.flathub.Beta
    Descarga: 141,6 MB
   Instalada: 410,0 MB
     Runtime: org.freedesktop.Platform/x86_64/21.08
         Sdk: org.freedesktop.Sdk/x86_64/21.08

      Commit: 63c5a1dae229e46649f6808c02cd2c69fe4f79e9e26e06b0ada929dcba9afd53
       Padre: 03f143df7ee877d9d669603148483dcbe8635d283f8a16b1e1d969d2ed6781b8
      Asunto: chore: yml link (ab2fe17a)
       Fecha: 2022-05-08 15:04:10 +0000
   Histórico: 

      Commit: 03f143df7ee877d9d669603148483dcbe8635d283f8a16b1e1d969d2ed6781b8
      Asunto: release: 2.3.0 beta 2 (07178710)
       Fecha: 2022-05-08 13:58:05 +0000

      Commit: f525081724118f6057899a946b075fb102395e6c429bbaa502220d0cb7326eae
      Asunto: chore: updated changelog (441f8457)
       Fecha: 2022-04-25 16:52:29 +0000

      Commit: 4bcab96149f69f2dae8abc7b34d967e4a592b43ca2b37d32d3935734752c2f20
      Asunto: Add 2.3.0 beta 1 (c8caa8b4)
       Fecha: 2022-04-24 19:19:06 +0000

~ 
❯ flatpak update --commit=f525081724118f6057899a946b075fb102395e6c429bbaa502220d0cb7326eae com.heroicgameslauncher.hgl
Buscando actualizaciones…
error: Server returned status 404: Not Found

~ 
❯ flatpak update --commit=4bcab96149f69f2dae8abc7b34d967e4a592b43ca2b37d32d3935734752c2f20 com.heroicgameslauncher.hgl
Buscando actualizaciones…
error: Server returned status 404: Not Found

~ 
❯

update 1

I just uninstalled the client, removed the directory inside .var/app and then installed it and opened it again and now works. But the games installed were not detected. I'll try to figure it out how to add them manually.


update 2

I copied the file installed.jsonfrom the backup to their corresponding directories ~/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store (for GOG) ~/.var/app/com.heroicgameslauncher.hgl/config/legendary (for Epic) , and got the installed games recognized

arielj commented 2 years ago

can you share the installed.json file? from the error it looks like something might be wrong with the data in that file

rscm commented 2 years ago

I can say almost with 100% confidence that wasn't that file (those files) that caused the issue, because I used the ones from the backup in the new setup.

the issue probably was caused by another config file or something like that that I couldn't identify

either way I can share it if you still want it, which one you need? (Epic or GOG)

flavioislima commented 2 years ago

I am trying to replicate this issue but I cannot. @rscm was this on a clean install or on an update?

rscm commented 2 years ago

Was on an update

A clean install works (and is working as stated on update1)

flavioislima commented 2 years ago

Ok, closing this one then. 👍