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.

I installed a fresh copy of Lutris and everything should work fine.

When I launch a game, 2-4 terminal windows open in the top left corner (I guess lutris’ debugger) in rapid succesion. First time to see this ever, after using Lutris for years. This happens with almost every game loading to fullscreen, but once loaded, games run smootly.

I’m just wondering, is there a way to hide this debugger or to correct this minor bug?
Eventually by re-installing Lutris? I guess this would be like shooting at ants…
Maybe I can try to apply some winetricks option, but what option in specific?

Start monitoring process.
gamemodeauto: 
wine: Unhandled page fault on execute access to 000000000040BF10 at address 000000000040BF10 (thread 0034), starting debugger...
wine: Unhandled page fault on execute access to 000000006F701AE0 at address 000000006F701AE0 (thread 0054), starting debugger...
00a0:err:ole:start_rpcss Failed to start RpcSs service
0074:fixme:dbghelp:elf_search_auxv can't find symbol in module
0074:fixme:dbghelp:elf_search_auxv can't find symbol in module

Edit
Lutris’ “debug window” pops up wherever a runner/wine/proton engine is a bit incompatible. Strange, if I use new wine/proton engines with Proton tricks my games don’t start at all.

I downgraded Lutris from a previous backup and restored as well my user flatpak data in home but the debugger window didn’t go away completely. Both default engines don’t work anymore as before.

I didn’t have issues with my previous installation of Lutris, strange why this debugger comes up again.
Must be because of some changes in the gpu pipeline.

Maybe I should create a new thread, but the problem is always the same: data migration.
Or, how to play already installed games on newer versions of Lutris.

First of all, Lutris is for me THE game launcher, it has many great features and it worked always great for years now.

Still, since the transition to Proton I get just problems, every time I update Lutris. To maintain a big collection of games (around 100) is not fun.
But the problem isn’t just Lutris, but a combination of shared flatpak libraries, newer versions of engines and newer versions of Lutris too: recently, Games break easily (from Lutris v20 onwards).

Only more modern games survived and play flawlessly older games got all kind of bug now, like: invisible stylized mouse (Stronghold, Battle for Middleearth), or are slow, or dont play the music, games like skyrim dont open anymore through Mod Organizer (this is a big issue, because modding games takes a lot of effort), black screens, etc.

Previously all these wrappers did work normally, smooth, without critical bugs and now most of them are plain broken. I checked the logs to find out what’s wrong and didn’t find much info to work with. Even if I delete the cache, the games don’t work anymore normally. Well, many of my old games are 32 bit and need older wrappers, Proton is for new titles.

  • fun thing, not even Linux games itself start anymore inside Lutris, I get privileges errors but checking the executable, owner and permissions are perfectly fine.
  • game installation is broken as well, I get access violation errors. So now I can’t install any new games. Only installed games are playable, if playable.

Since my OS is Mint cinnamon and not catchy OS, the usual update rhythm of my OS is much slower. Flatpak should bridge this update speed, but it doesn’t for me at least. Maybe I need to re-install again all games to make all games compatible with Lutris ? I thought game engines add and remove the necessary files to make wrappers compatible with new versions of Lutris?

Right now I’m trying to sort out how to manage my game collection in future:

  • I need a working game library that needs minimal to no maintenance
  • I also wanna play, not only to bugfix proton and wine, fixing bugs that didn’t exist before
  • I want a slow development pace and be able to have portable wrappers, to transfer data without re-installing everything
  • I would welcome an option to apply game specific fixes to re-installed games from offline, if I need to create a new wrapper (most of my games are single-player games, bought on gog, older ones and also newer, but not recent ones)
  • I would like if Lutris could run in a virtual environment (sandboxed from my OS and separate from shared GL and other graphical updates)

Maybe I should install games on another OS like Nobara (only for gaming), but hmm, dual booting just for games… I don’t like that. Games are important yes, but all I need is an app, helping me to organise games and not game maintenance all times. Time is short, so at the end there is no time for gaming any more.

With this post I would like some discussion, to understand what is going on. Maybe my problem are:

  • an outdated pga.db?
  • old wrappers ?
  • old games that don’t run anymore with newest wrappers?
  • the wrong OS to play games?
  • another launcher? (I tried Bottles and Faugus, but prefer a lot more Lutris)
  • maybe I just need to downgrade Lutris to v20?