flathub / net.lutris.Lutris

https://flathub.org/apps/details/net.lutris.Lutris
123 stars 23 forks source link

Can't install Epic Games Store #272

Open Riktastic opened 2 years ago

Riktastic commented 2 years ago

Describe the problem Installing Epic Games Store won't work when installing using the latest available Lutris flatpak + dependencies.

Is it reproducible with native Lutris? No

Steps to reproduce

  1. Install Flatpak using:

    sudo add-apt-repository ppa:flatpak/stable -y
    sudo apt update -y
    sudo apt install flatpak -y
    sudo flatpak remote-add --if-not-exist flathub https://flathub.org/repo/flathub.flatpakrepo
    flatpak update --appstream
  2. Install Lutris:

    sudo flatpak remote-add flathub-beta https://flathub.org/beta-repo/flathub-beta.flatpakrepo
    flatpak update --appstream
    flatpak install flathub org.gnome.Platform.Compat.i386/x86_64/42 org.freedesktop.Platform.GL32.default/x86_64/21.08 org.freedesktop.Platform.GL.default/x86_64/21.08 -y
    flatpak install flathub-beta net.lutris.Lutris -y
  3. Install a Epic Games Store game. This will trigger the installation of the Epic Games Store.

Expected behavior Installation succeeds.

Actual behavior Won't install. "lutris-fshack-7.2-x86_64/bin/wiine" complains about not getting the correct display settings (0024:err:x11settings:X11DRV_EnumDisplaySettingsEx Failed to get L"\\\\.\\DISPLAY1" current display settings). This could be realted to this warning: Wine cannot find the FreeType font library. To enable Wine to use TrueType fonts please install a version of FreeType greater than or equal to 2.0.5.

Installation.log Trying_to_run_the_error_manually.log

Flatpak info flatpak --version: Flatpak 1.12.7 flatpak --gl-drivers:

nvidia-510-73-05
default
host
Riktastic commented 2 years ago

I'm not sure why. But after trying it for about 5 times after posting this issue. It suddenly works. But it seems based on luck. During these tries I haven't changed any of the settings within Lutris, flatpak or the dependencies.

Riktastic commented 2 years ago

Same error when trying to install Ubisoft Connect and Origin.

Riktastic commented 2 years ago

After installing FreeType (on ubuntu 22.04: sudo apt install libfreetype6:i386) both Ubisoft Connect and Origin install perfectly. But shouldnt FreeType reside within one of the flatpaks?

Aex12 commented 2 years ago

I dont have any error installing Epic Games Store through the Lutris flatpak, however, after installation, Epic wont launch.