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

Trying to create Heroic Launcher image #189

Closed
austonpramodh opened this issue Sep 4, 2024 · 3 comments
Closed

Trying to create Heroic Launcher image #189

austonpramodh opened this issue Sep 4, 2024 · 3 comments

Comments

@austonpramodh
Copy link

austonpramodh commented Sep 4, 2024

I am just trying to create a Heroic Game Launcher Docker Image, I am at the starting stage and I have hit a blocker.

I have copied the lutris folder, and changed the following

Dockerfile

# Updated Required Packages
ARG REQUIRED_PACKAGES=" \
    lutris \
    libfreetype6:i386 \
    libvulkan1 \
    libvulkan1:i386 \
    mesa-vulkan-drivers \
    mesa-vulkan-drivers:i386 \
    wine64 \
    wine32 \
    libasound2-plugins:i386 \
    libsdl2-2.0-0:i386 \
    libdbus-1-3:i386 \
    libsqlite3-0:i386 \
    wine-stable \
    wget \
    xdg-utils \
    xz-utils \
    "
---
---
# End of the file
RUN wget "https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/releases/download/v2.15.1/heroic_2.15.1_amd64.deb"  -O /tmp/heroic.deb && \
    dpkg -i /tmp/heroic.deb && \
    rm /tmp/heroic.deb

in startup.sh I have just modified /usr/games/lutris to /usr/games/kitty in order to manually start and see the error.

config.toml entry is same as lutris, but with different image.

Error Log:

[485:0904/075620.316523:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
Checking for beta autoupdate feature for deb/rpm distributions
Found package-type: deb
[485:0904/075620.805288:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[485:0904/075620.805337:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
(07:56:20) INFO:    [Legendary]:        Legendary location: /opt/Heroic/resources/app.asar.unpacked/build/bin/x64/linux/legendary
(07:56:20) INFO:    [Gog]:              GOGDL location: /opt/Heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl
(07:56:20) INFO:    [Connection]:       Connectivity: check-online
(07:56:20) INFO:    [Connection]:       Pinging external endpoints
(07:56:20) INFO:    [Gog]:              Checking for existing gog manifests
Checking for update
src/gbm_drv_common.c:57: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 538982482

src/gbm_drv_common.c:57: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 943215175

src/gbm_drv_common.c:57: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 842094158

src/gbm_drv_common.c:57: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 842094169

src/gbm_drv_common.c:57: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

src/gbm_drv_common.c:57: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 538982482

src/gbm_drv_common.c:57: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 943215175

src/gbm_drv_common.c:57: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 842094158

src/gbm_drv_common.c:57: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 842094169

src/gbm_drv_common.c:57: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

src/gbm_drv_common.c:57: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 538982482

src/gbm_drv_common.c:57: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 943215175

src/gbm_drv_common.c:57: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 842094158

src/gbm_drv_common.c:57: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 842094169

src/gbm_drv_common.c:57: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

src/gbm_drv_common.c:57: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 538982482

src/gbm_drv_common.c:57: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 943215175

src/gbm_drv_common.c:57: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 842094158

src/gbm_drv_common.c:57: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 842094169

src/gbm_drv_common.c:57: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

src/gbm_drv_common.c:57: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 538982482

src/gbm_drv_common.c:57: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 943215175

src/gbm_drv_common.c:57: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 842094158

src/gbm_drv_common.c:57: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 842094169

src/gbm_drv_common.c:57: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

(07:56:21) WARNING: [Backend]:          Protocol already registered.
[485:0904/075621.009288:ERROR:browser_main_loop.cc(278)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[485:0904/075621.009346:ERROR:browser_main_loop.cc(278)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[485:0904/075621.009384:ERROR:browser_main_loop.cc(278)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
(07:56:21) INFO:    [Legendary]:        Running command: LEGENDARY_CONFIG_PATH=/home/retro/.config/heroic/legendaryConfig/legendary /opt/Heroic/resources/app.asar.unpacked/build/bin/x64/linux/legendary --version
(07:56:21) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/retro/.config/heroic/gogdlConfig /opt/Heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/retro/.config/heroic/gog_store/auth.json --version
(07:56:21) INFO:    [Nile]:             Running command: NILE_CONFIG_PATH=/home/retro/.config/heroic/nile_config /opt/Heroic/resources/app.asar.unpacked/build/bin/x64/linux/nile --version
(07:56:21) INFO:    [Connection]:       Connectivity: online
(07:56:21) INFO:    [Backend]:          User Not Found, removing it from Store
(07:56:21) ERROR:   [Gog]:              Unable to syncQueued playtime, userData not present
(07:56:21) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/retro/.config/heroic/gogdlConfig /opt/Heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/retro/.config/heroic/gog_store/auth.json auth
(07:56:21) INFO:    [Backend]:          AreWeAntiCheatYet data downloaded
(07:56:21) INFO:    [Backend]:          Frontend Ready
(07:56:21) INFO:    [Backend]:          
System Information:
CPU: 32x AMD Ryzen 9 5950X 16-Core Processor
Memory: 67.34 GB (used: 55.04 GB)
GPUs:

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

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

Software Versions:
  Heroic: 2.15.1 Emeth
  Legendary: 0.20.35 Lowlife (Heroic)
  gogdl: 1.1.1
  comet: comet 0.1.2

  Nile: 1.1.1 Will A. Zeppeli

(07:56:21) INFO:    [Backend]:          Checking for new Heroic Updates
(07:56:21) INFO:    [Backend]:          Checking for current version changelog
Update for version 2.15.1 is not available (latest version: 2.15.1, downgrade is disallowed).
(07:56:23) DEBUG:   [Backend]:          Unable to load Steam Libraries, libraryfolders.vdf not found
(07:56:23) INFO:    [Winetricks]:       Downloading Winetricks
(07:56:25) INFO:    [WineDownloader]:   Updating wine versions info
(07:56:25) INFO:    [WineDownloader]:   Fetching upstream information...
(07:56:26) INFO:    [Backend]:          Starting the Download Queue
(07:56:26) INFO:    [WineDownloader]:   wine versions updated

image

Note: This could be specific to electron/chrome. This would help us in terms of UI development for wolf if we end up going electron route. A UI for Wolf

[update]
Looking into the logs, Found out that my GPU isn't showing up on heroic logs.

on Local

GPUs:
  GPU 0:
    Name: NVIDIA Corporation GA102 [GeForce RTX 3090]
    IDs: D=2204 V=10de SD=88d5 SV=103c
    Driver: nvidia
@austonpramodh
Copy link
Author

austonpramodh commented Sep 4, 2024

Found the issue, sort of

copied REQUIRED_PACKAGES from steam docker image

ARG REQUIRED_PACKAGES=" \
    steam \
    libvulkan1 libvulkan1:i386 \
    mesa-vulkan-drivers mesa-vulkan-drivers:i386 \
    libgbm1:i386 libgles2:i386 libegl1:i386 libgl1-mesa-dri:i386 libgl1:i386 libglapi-mesa:i386 libglx0:i386 \
    libdbus-1-3 libgtk-3-0 libegl1 libsdl2-2.0-0 libcurl4 libcurl4:i386 \
    dbus-daemon dbus-system-bus-common dbus-session-bus-common whoopsie network-manager bluez \
    mangoapp ibus curl pkexec xz-utils zenity file xdg-user-dirs xdg-utils lsof pciutils lsb-release mesa-utils \
    libfontconfig1:i386 libfontconfig1:amd64 libfreetype6 libfreetype6:i386 \
    "

and it started working.

I will try to run games and update here.

Thanks

@ABeltramo
Copy link
Member

In theory you shouldn't need all the :i386 dependencies. Those are the old 32 bit libraries that nobody apart from Steam still uses.

Looking forward for a PR for this container!

@ABeltramo
Copy link
Member

We've got an heroic image available #193 see: https://github.com/games-on-whales/gow/pkgs/container/heroic-games-launcher

You should be able to use it by pulling the following image:

ghcr.io/games-on-whales/heroic-games-launcher:edge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants