Lutris flatpak breaks - data migration

Hello,
I’m encountering a serious problem with Lutris since a few months.
Every time I try to update any component on my OS, all my games break (always on 100% CPU load, very slow frame pace, ctd, etc). If I don’t update my OS, all games run super smooth, low cpu load, no ctd, normally in other words.
This must be related to flatpak OpenGL, but I’m unsure if this is the only issue stopping me from updating my OS.

To find out, I installed today the deb version of Lutris in the hope to run my games independently from the flatpak ecosystem. Also to see if flatpak is the cause of breaking my games. Now I’d like to migrate my flatpak settings so I don’t have to re-install again all my games.

Maybe I’m just lazy to look myself for a lutris folder in my home folder, but I also wanna know why my flatpak version of Lutris breaks so easily and encourage you to give me directions. Maybe switching to the deb version helps, I hope so: otherwise i can’t play games anymore, literally. Since I’ve a collection, abandoning all is not an alternative.

Anyway, I’ve to update my OS.

I do not know where the flatpak version stores its data, but for native Lutris you have these default locations:

~/Games
~/.cache/lutris
~/.config/lutris
~/.local/share/lutris

If you can find the data from the Lutris flatpak and move/copy it into those locations, the native version of Lutris should work.

1 Like

Thanks, paths are always useful.
I found ~/.local/share/lutris, this restored my games in Lutris.

However, I’m unsure where to put the drivers, they should be in cache/lutris but moving drivers in there or in config/lutris seems not working. Games complain in the protocol to be unable to find DX Vulkan and Proton. :face_exhaling:

Paths from flatpak and deb packages should be the same or add at least an import feature, I’m not willing to fiddle around with 50+ titles.

I’m not sure which drivers you are referring to, but runtimes goes into ~/.local/share/lutris/runtime. Just beware that runtimes who are part of the flatpak may not work on the host OS, instead you should try to update the runtimes in Lutris settings: Main window → Burger menu → Preferences → Updates.

I didn’t understand why you want to migrate from Lutris FLatpak to Lutris system, Lutris FLatpak should just work, your system is not stable/clean/old?

Anyway this is how to migrate from Lutris system to Flatpak, you just need to inverse tutorial:

Most likely the data is in .local/share/lutris the flatpak data is in .var/app/net.lutris.Lutris/data/lutris delete .var/app/net.lutris.Lutris/data/lutris folder that was created when you launched the flatpak version. Then copy .local/share/lutris folder in it’s place.
when you launch the flatpak version you should see all your games as installed, you can then delete .local/share/lutris

Because updating shared components (example OpenGL) breaks performance to all games in a shot, no exception, reproducible each and every time.
I need to understand if my problem is due to flatpaks shared pipline, therefore this move.

Right now if I’ve put my flatpak locale data to ~/.local/share/lutris.
All games appear, but all game paths are missing, although I moved also game-paths.json. Anyway, after adding paths to some games manually, games don’t start like Dying Light, Deus Ex, etc.

The reason will be

  • flatpak ships with newer components needed to play than the deb package. Damn, any way I go seems a death end.
  • I installed many of my games with wine before the recent move to proton, so this games need probably to be re-installed to work again but with Proton.

Since you’re a developer you should know what makes and breaks Lutris:
I had a semi broken home on a older OS.
I upgraded OS, installed Lutris but had to add again all my installed games to make them visible to Lutris. Damn this is a lot of work, luckily my collection isn’t gigantic, less than 100 titles.

Installing Lutris from my Linux Mint’s app repo gave me v0.5.23 ??
I just checked but there is only v0.5.22 on GitHub! What does this mean?

Flatpak is actually 0.5.23 dev version, but enough stable for a daily use.

Good to know, I remember one of previous versions v20 ? was uploaded by mistake.
Anyway, next time I prefer GitHub.
Otherwise, Lutris rocks.