Flatpak permission issues

Please can someone help me point why lutris showing me such errors I don’t know why lutris cannot download games. I looked on folder permission and they are owned by me so it shouldn’t have issue creating folders etc.

Can this be caused that lutris is installed --system option

lutris-issue-report.json

jazz jackrabbit dosbox.log

Failed to retrieve wine (GE-Proton (Latest)) information

when i used -d option was able install proton but than failed on wine
https://paste.ubuntu.com/p/mNm89y9XrD/

Most flatpak builds are configured to run in userspace, so yes, generally avoid using system installs with flatpak.

However, in this case it is that the installer you picked uses a winetricks operation. We’ve come to understand that some installers, particularly winetricks, can be missing commands inside the flatpak.

The GoG install runs “winetricks -q directmusic” so will require the “cabextract” command to be installed and available - it will be missing from the flatpak. There should be a cabextract available in your standard Linux repository.

Thanks so lutis must be installed with --user options and cabextract is not in flatpak lutris distribution so i must use native version in my case apt and it will work?

Most flatpaks should work in system. Default to user for obvious reasons, but it is your choice :slight_smile:

Yes, cabextract is missing from the standard Lutris flatpak, so things like winetricks commands that use it will fail. After installing it, add it to the flatpak with flatseal, or copy it into your user’s flatpak files under ~/.var/app/net.lutris.Lutris - anywhere in the PATH

Alternatively, use a GE-Proton runner - they include a cabextract in their archives.

You can force a check for Lutris’s default WINE and ge-proton by going into options (three bars, top right) → Preferences → update tab and click the button next to the wine box. It will either say “download wine-ge” or “check again”

tl;dr: acording flatpak doc is system-wide by default maybe i need delete all data because i have lutris as .deb .GOG installer works in flatpak error windows can be ignored and installation can be finishted.

Well after more digging I tried install as user and run flatpak run --user it still need --filesystem=host permission so maybe its because i had previously lutris installed as .deb native package.GE-Proton runner was installed probably because old lutris install as .deb. And GOG installer you just ignore errors and works game is in small window but this is probably because its old game. After I run game I closed game cabextract was run by installer.But when I use native lutris I unable install GOG Games because Installer will retur non 0 return code .Games installer works only when its flatpak even when wine its showing in gui error but it can be ignored.

Started initial process 50777 from /home/magnitudevector/.local/share/lutris/runners/wine/wine-ge-8-26-x86_64/bin/wine /home/magnitudevector/.cache/lutris/installer/anno-1701-ad/gog/setup_anno_1701_2.0.0.4.exe
Start monitoring process.
fsync: up and running.
wine: RLIMIT_NICE is <= 20, unable to use setpriority safely
wine client error:114: write: Chybný popisovač souboru
Monitored process exited.
Initial process has exited (return code: 0)
Exit with return code 0
2025-01-20 12:42:03,103: Unable to load libGLX_nvidia.so.0
2025-01-20 12:42:03,103: Unable to locate libGLX_nvidia
Started initial process 51987 from gamemoderun /home/magnitudevector/.local/share/lutris/runners/wine/wine-ge-8-26-x86_64/bin/wine /home/magnitudevector/Games/gog/anno-1701-ad/drive_c/GOG Games/Anno 1701 AD/Anno1701.exe
Start monitoring process.
gamemodeauto: 
fsync: up and running.
wine: RLIMIT_NICE is <= 20, unable to use setpriority safely
did not find extension DRI_IMAGE_DRIVER version 1
did not find extension DRI_Mesa version 1
failed to load driver: radeonsi
did not find extension DRI_Mesa version 1
wine client error:114: write: Chybný popisovač souboru
Monitored process exited.
Initial process has exited (return code: 65280)
Exit with return code 65280
2025-01-20 12:42:21,493: Game still running (state: running)
2025-01-20 12:42:21,493: Stopping Anno 1701 A.D. (wine)

Since you have switched to 1701 now, that’s something I do own on GoG. However, it is a 32-bit WINE prefix. Does your game launch at all?

The game runs okay for me but does exit with the same return code (65280) which can be ignored.

Did you enable 32 bit architecture support?
If not, enable 32 bit support, then you will need to install 32 bit drivers, and vulkan.

You should have installed these for vulkan on AMD (and 32 bit support) mesa-vulkan-drivers:amd64 and mesa-vulkan-drivers:i386

For info - I run flatpak on my other PC and it does not require filesystem=host

Yes its 32 bit and I have some mesa packages but also I use AMD rocm so I have official AMD driver so maybe this is why I getting on some Games DRI_Mesa complaints that is not found.I guess there are not some run options to wine so I need chose between rocm or games.Sorry that I didn’t told you but I didn’t thought it was issue(related).

did not find extension DRI_IMAGE_DRIVER version 1
did not find extension DRI_Mesa version 1
failed to load driver: radeonsi

So on native lutris games can be somehow installed(flatpak cannot get over GE-Proton) now but I didn’t changed anything or other games.

My installed packages

ii  mesa-amdgpu-libgallium:i386                      1:24.3.0.60301-2095006.24.04              i386         shared infrastructure for Mesa drivers
ii  mesa-amdgpu-va-drivers:i386                      1:24.3.0.60301-2095006.24.04              i386         Mesa VA-API video acceleration drivers
ii  mesa-vdpau-drivers:i386                          24.0.9-0ubuntu0.3                         i386         Mesa VDPAU video acceleration drivers
ii  mesa-vulkan-drivers:i386                         24.0.9-0ubuntu0.3                         i386         Mesa Vulkan graphics drivers
ii  libegl1-amdgpu-mesa-drivers:amd64                1:24.3.0.60301-2095006.24.04              amd64        free implementation of the EGL API -- hardware drivers
ii  libgl1-amdgpu-mesa-dri:amd64                     1:24.3.0.60301-2095006.24.04              amd64        free implementation of the OpenGL API -- DRI modules
ii  libgl1-mesa-dri:amd64                            24.0.9-0ubuntu0.3                         amd64        free implementation of the OpenGL API -- DRI modules
ii  libvulkan-dev:amd64                              1.3.275.0-1build1                         amd64        Vulkan loader library -- development files
ii  libvulkan1:amd64                                 1.3.275.0-1build1                         amd64        Vulkan loader library
ii  mesa-vulkan-drivers:amd64                        24.0.9-0ubuntu0.3                         amd64        Mesa Vulkan graphics drivers

The current advice to AMD users is don’t use AMD’s own driver, as it installs compute libraries and performance seems aimed more at that than games. It should work in most cases, though.

You are missing libgl1-mesa-dri:i386 for 32 bit support.

The stock Mesa driver from Ubuntu works well on Mint 22 - it is what I run on my 7900XT. Just for reference, this is what I have for i386 (obviously I also have 64-bit packages)

libegl-mesa0:i386 			24.0.9-0ubuntu0.3
libgl1-mesa-dri:i386 		24.0.9-0ubuntu0.3
libglapi-mesa:i386 			24.0.9-0ubuntu0.3
libglu1-mesa:i386 			9.0.2-1.1build1
libglx-mesa0:i386 			24.0.9-0ubuntu0.3
libosmesa6:i386 			24.0.9-0ubuntu0.3
mesa-va-drivers:i386 		24.0.9-0ubuntu0.3
mesa-vdpau-drivers:i386 	24.0.9-0ubuntu0.3
mesa-vulkan-drivers:i386 	24.0.9-0ubuntu0.3