SMM3 cant find Installation on Linux

hi i have Satisfactory installed via Epic Games Store in Lutris i reinstalled everything, rebooted etc. but smm still cant find the install location of my game i even reinstalled EpicGames and Satisfactory and left everything on the default settings from Lutris debug log says smm cant run lutris -lj ...but if i run the command in a shell, the command executes fine! somebody an idea how to fix this?
89 Replies
FICSIT-Fred
FICSIT-Fred•2mo ago
SMM Version: 3.0.0
SMM Version: 3.0.0
-# Responding to Key Details for SMMDebug-2024-10-12-13-45-41.zip triggered by @Exilium
Borketh
Borketh•2mo ago
@Mircea (Area Actions)
Mircea
Mircea•2mo ago
What's the output and exit code (echo $?) after running lutris -lj in the terminal?
Exilium
ExiliumOP•2mo ago
running lutris -lj and afterwards echo $? returns 130
Mircea
Mircea•2mo ago
Is lutris installed as a flatpak or native?
Exilium
ExiliumOP•2mo ago
native
Mircea
Mircea•2mo ago
Hmm, 130 is SIGINT, did you ctrl+C the command?
Exilium
ExiliumOP•2mo ago
strange, no i didnt i rerun it, now output is 0
Mircea
Mircea•2mo ago
What if you run LUTRIS_SKIP_INIT=1 lutris -lj?
Exilium
ExiliumOP•2mo ago
0 again
Mircea
Mircea•2mo ago
And if you run SMM from the terminal?
Exilium
ExiliumOP•2mo ago
still cannot find Satisfactory
Mircea
Mircea•2mo ago
Still logging failed to run lutris -lj: exit status 1?
Exilium
ExiliumOP•2mo ago
yes
Mircea
Mircea•2mo ago
I'll send a build in a moment that logs the output of that command as well, hopefully it will help
Mircea
Mircea•2mo ago
This took way longer to build than it should have
Exilium
ExiliumOP•2mo ago
no worries same as before, exit status = 1
Exilium
ExiliumOP•2mo ago
i hope the logs will tell you more
FICSIT-Fred
FICSIT-Fred•2mo ago
SMM Version: 3.0.0+a560018
SMM Version: 3.0.0+a560018
-# Responding to Key Details for SMMDebug-2024-10-12-14-31-55.zip triggered by @Exilium
Mircea
Mircea•2mo ago
Uhh It didn't log the extra thing I added Did I not upload the correct file?
Mircea
Mircea•2mo ago
I did not, but also apparently I can reproduce the issue
No description
Mircea
Mircea•2mo ago
What?
No description
Exilium
ExiliumOP•2mo ago
uh whats triggering it
Mircea
Mircea•2mo ago
How did I get a segfault on something made in python
Exilium
ExiliumOP•2mo ago
hmm i dont code in python 😄 i could help if it was asm or Pascal
Mircea
Mircea•2mo ago
This seems to be the error in my case
No description
Borketh
Borketh•2mo ago
oh no
Mircea
Mircea•2mo ago
Error: unable to open display
2024-10-12 16:48:49,365: ['glxinfo', '-B'] command failed: Command '['glxinfo', '-B']' returned non-zero exit status 255.
2024-10-12 16:48:49,365: No available glxinfo out
put
2024-10-12 16:48:49,365: Invalid glxinfo received

(lutris:4727): Gtk-CRITICAL **: 16:48:49.507: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
Traceback (most recent call last):
File "/usr/games/lutris", line 61, in <module>
from lutris.gui.application import Application # pylint: disable=no-name-in-module
File "/usr/lib/python3/dist-packages/lutris/gui/application.py", line 42, in <module>
from lutris.gui.config.preferences_dialog import PreferencesDialog
File "/usr/lib/python3/dist-packages/lutris/gui/config/preferences_dialog.py", line 13, in <module>
from lutris.gui.config.runners_box import RunnersBox
File "/usr/lib/python3/dist-packages/lutris/gui/config/runners_box.py", line 9, in <module>
from lutris.gui.config.runner_box import RunnerBox
File "/usr/lib/python3/dist-packages/lutris/gui/config/runner_box.py", line 8, in <module>
from lutris.gui.dialogs.runner_install import RunnerInstallDialog
File "/usr/lib/python3/dist-packages/lutris/gui/dialogs/runner_install.py", line 92, in <module>
class RunnerInstallDialog(ModelessDialog):
File "/usr/lib/python3/dist-packages/lutris/gui/dialogs/runner_install.py", line 103, in RunnerInstallDialog
"software-installed-symbolic" if has_stock_icon("software-installed-symbolic") else "wine-symbolic"
File "/usr/lib/python3/dist-packages/lutris/gui/widgets/utils.py", line 159, in has_stock_icon
return theme.has_icon(name)
AttributeError: 'NoneType' object has no attribute 'has_icon'
Error: unable to open display
2024-10-12 16:48:49,365: ['glxinfo', '-B'] command failed: Command '['glxinfo', '-B']' returned non-zero exit status 255.
2024-10-12 16:48:49,365: No available glxinfo out
put
2024-10-12 16:48:49,365: Invalid glxinfo received

(lutris:4727): Gtk-CRITICAL **: 16:48:49.507: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
Traceback (most recent call last):
File "/usr/games/lutris", line 61, in <module>
from lutris.gui.application import Application # pylint: disable=no-name-in-module
File "/usr/lib/python3/dist-packages/lutris/gui/application.py", line 42, in <module>
from lutris.gui.config.preferences_dialog import PreferencesDialog
File "/usr/lib/python3/dist-packages/lutris/gui/config/preferences_dialog.py", line 13, in <module>
from lutris.gui.config.runners_box import RunnersBox
File "/usr/lib/python3/dist-packages/lutris/gui/config/runners_box.py", line 9, in <module>
from lutris.gui.config.runner_box import RunnerBox
File "/usr/lib/python3/dist-packages/lutris/gui/config/runner_box.py", line 8, in <module>
from lutris.gui.dialogs.runner_install import RunnerInstallDialog
File "/usr/lib/python3/dist-packages/lutris/gui/dialogs/runner_install.py", line 92, in <module>
class RunnerInstallDialog(ModelessDialog):
File "/usr/lib/python3/dist-packages/lutris/gui/dialogs/runner_install.py", line 103, in RunnerInstallDialog
"software-installed-symbolic" if has_stock_icon("software-installed-symbolic") else "wine-symbolic"
File "/usr/lib/python3/dist-packages/lutris/gui/widgets/utils.py", line 159, in has_stock_icon
return theme.has_icon(name)
AttributeError: 'NoneType' object has no attribute 'has_icon'
Exilium
ExiliumOP•2mo ago
so an error mostly related to the lutris-installation?
Mircea
Mircea•2mo ago
Maybe, but could also be related to being called from within another program Well, I removed the LUTRIS_SKIP_INIT=1 and it seems to work now, but it means lutris will show the check for updates popup every time you open SMM
Exilium
ExiliumOP•2mo ago
well i would prefer playing the game with mods having an annoying popup over no mods at all 😄 can you share me your version that works?
Mircea
Mircea•2mo ago
Hmm, I'm not sure removing that would fix it for the appimage
Exilium
ExiliumOP•2mo ago
ah okay :/
Mircea
Mircea•2mo ago
Uploaded another build just in case (same link) But I got a different error when launching the appimage So the GTK one might have just been on my end
Python path configuration:
PYTHONHOME = '/tmp/.mount_SatisfDc24PY/usr/'
PYTHONPATH = '/tmp/.mount_SatisfDc24PY/usr/share/pyshared/:'
program name = '/usr/bin/python3'
isolated = 0
environment = 1
user site = 1
import site = 1
sys._base_executable = '/usr/bin/python3'
sys.base_prefix = '/tmp/.mount_SatisfDc24PY/usr'
sys.base_exec_prefix = '/tmp/.mount_SatisfDc24PY/usr'
sys.platlibdir = 'lib'
sys.executable = '/usr/bin/python3'
sys.prefix = '/tmp/.mount_SatisfDc24PY/usr'
sys.exec_prefix = '/tmp/.mount_SatisfDc24PY/usr'
sys.path = [
'/tmp/.mount_SatisfDc24PY/usr/share/pyshared/',
'',
'/tmp/.mount_SatisfDc24PY/usr/lib/python310.zip',
'/tmp/.mount_SatisfDc24PY/usr/lib/python3.10',
'/tmp/.mount_SatisfDc24PY/usr/lib/python3.10/lib-dynload',
]
Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding
Python runtime state: core initialized
ModuleNotFoundError: No module named 'encodings'

Current thread 0x00007fb44ab00740 (most recent call first):
<no Python frame>
Python path configuration:
PYTHONHOME = '/tmp/.mount_SatisfDc24PY/usr/'
PYTHONPATH = '/tmp/.mount_SatisfDc24PY/usr/share/pyshared/:'
program name = '/usr/bin/python3'
isolated = 0
environment = 1
user site = 1
import site = 1
sys._base_executable = '/usr/bin/python3'
sys.base_prefix = '/tmp/.mount_SatisfDc24PY/usr'
sys.base_exec_prefix = '/tmp/.mount_SatisfDc24PY/usr'
sys.platlibdir = 'lib'
sys.executable = '/usr/bin/python3'
sys.prefix = '/tmp/.mount_SatisfDc24PY/usr'
sys.exec_prefix = '/tmp/.mount_SatisfDc24PY/usr'
sys.path = [
'/tmp/.mount_SatisfDc24PY/usr/share/pyshared/',
'',
'/tmp/.mount_SatisfDc24PY/usr/lib/python310.zip',
'/tmp/.mount_SatisfDc24PY/usr/lib/python3.10',
'/tmp/.mount_SatisfDc24PY/usr/lib/python3.10/lib-dynload',
]
Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding
Python runtime state: core initialized
ModuleNotFoundError: No module named 'encodings'

Current thread 0x00007fb44ab00740 (most recent call first):
<no Python frame>
Exilium
ExiliumOP•2mo ago
hmm so no easy way to fix this i assume ^^
Mircea
Mircea•2mo ago
I hope just overwriting the PYTHONHOME and PYTHONPATH to empty will make it use the proper system python Hmm, now I'm getting the GTK error again Even with the SKIP_INIT commented Uploaded another build Same link
Exilium
ExiliumOP•2mo ago
well error log is different but same result, lutris exit code = 1 and cant find the game
FICSIT-Fred
FICSIT-Fred•2mo ago
SMM Version: 3.0.0+6f732af
SMM Version: 3.0.0+6f732af
-# Responding to Key Details for SMMDebug-2024-10-12-17-07-15.zip triggered by @Exilium
Exilium
ExiliumOP•2mo ago
sry for the delay, had to buy some stuff before closing hour 😄
Mircea
Mircea•2mo ago
No worries And you just reminded me that I should do that too lol Mh, it's still the GTK error Why is lutris even trying to initialize its window for this
Exilium
ExiliumOP•2mo ago
maybe the -j operator? lutris -l does list the games properly if i just execute the -j operator, lutris will open a window
Mircea
Mircea•2mo ago
Just the j by itself does nothing It's only checked when in combination with l
Exilium
ExiliumOP•2mo ago
ah okay, then its just the normal bootup 🙂 i hit it and i started Lutris, thats why i misunderstood
Mircea
Mircea•2mo ago
Ok, update, it looks like SMM's env vars were not passed to the subprocess if other env vars for the process were set So when I "fixed" it for the appimage, it broke again because env vars were still set Now for me it still doesn't work because of the segfault, but it does also log the correct lutris output Will upload a build soon that I hope will work Uploaded
Exilium
ExiliumOP•2mo ago
same link? because i tried the google-drive one and it returns the same result
Mircea
Mircea•2mo ago
Should be the same Unless I yet again didn't actually upload the file
Exilium
ExiliumOP•2mo ago
file size is different, so it should already be the new one i guess
Mircea
Mircea•2mo ago
What's the new output?
FICSIT-Fred
FICSIT-Fred•2mo ago
SMM Version: 3.0.0+e27e58b
SMM Version: 3.0.0+e27e58b
-# Responding to Key Details for SMMDebug-2024-10-12-18-49-17.zip triggered by @Exilium
Exilium
ExiliumOP•2mo ago
again the lutris exit = 1, then some errors where smm somehow doesnt recognize its appimage file and then multiple GTK-errors
Mircea
Mircea•2mo ago
Traceback (most recent call last):
File "/usr/games/lutris", line 57, in <module>
from lutris.gui.application import Application # pylint: disable=no-name-in-module
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/lutris/gui/application.py", line 29, in <module>
import gi
File "/usr/lib/python3/dist-packages/gi/__init__.py", line 40, in <module>
from . import _gi
ImportError: /lib/x86_64-linux-gnu/libgirepository-1.0.so.1: undefined symbol: g_once_init_leave_pointer
Traceback (most recent call last):
File "/usr/games/lutris", line 57, in <module>
from lutris.gui.application import Application # pylint: disable=no-name-in-module
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/lutris/gui/application.py", line 29, in <module>
import gi
File "/usr/lib/python3/dist-packages/gi/__init__.py", line 40, in <module>
from . import _gi
ImportError: /lib/x86_64-linux-gnu/libgirepository-1.0.so.1: undefined symbol: g_once_init_leave_pointer
It's a different one this time
Exilium
ExiliumOP•2mo ago
hmm so you are kind of on the right track of fixing 🙂 by the way: thank you for your effort and time!!
Mircea
Mircea•2mo ago
No worries
Inphy
Inphy•2mo ago
New SMM versions can find Heroic Launcher installation. That's why I moved from Epic with Lutris when I was experiencing this issue. It was very easy as well, just had to copy the files from the Epic installation and verified with the Heroic Launcher. However you can't get achievements on Heroic, that's the biggest downside, but you can play and update pretty decently, so idc.
Mircea
Mircea•2mo ago
Alright, I think I found the final fix So, some of the parent env vars have to be passed (at least DISPLAY, not having it set causes the GDK_IS_SCREEN error, since GDK doesn't initialize when there is no display, but potentially other env vars have to be passed too) But passing all of them ends up with lutris using some appimage libs and some system libs, because the LD_LIBRARY_PATH and PYTHONHOME are set by the appimage, and a couple of GDK libs lutris wants are found in the appimage, and no python libs are in the appimage, so this breaks Thankfully, appimage doesn't fully overwrite the LD_PATH_LIBRARY, it does keep the original at the end, so I made it just remove the entries that are part of the appimage
Mircea
Mircea•2mo ago
Uploaded the build, same link (https://drive.google.com/file/d/1-HinT5TA7pC7C-L4Ww5bNn-CRt7mrvPB/view?usp=sharing), tested on a Manjaro Live CD with just the appimage and lutris installed
Exilium
ExiliumOP•2mo ago
thx for the update, gonna test it as soon as possible and will report back 🙂
FICSIT-Fred
FICSIT-Fred•2mo ago
SMM Version: 3.0.0+4d64e3d
SMM Version: 3.0.0+4d64e3d
-# Responding to Key Details for SMMDebug-2024-10-14-05-14-18.zip triggered by @Exilium
Exilium
ExiliumOP•2mo ago
12T20:49:08.915436484+02:00","level":"ERROR","msg":"lutriserror","display":":0","cmd":"/usr/games/lutris -lj","stderr":"Traceback (most recent call last):\n File \"/usr/games/lutris\", line 57, in <module>\n from lutris.gui.application import Application # pylint: disable=no-name-in-module\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/lib/python3/dist-packages/lutris/gui/application.py\", line 29, in <module>\n import gi\n File \"/usr/lib/python3/dist-packages/gi/__init__.py\", line 40, in <module>\n from . import _gi\nImportError: /lib/x86_64-linux-gnu/libgirepository-1.0.so.1: undefined symbol: g_once_init_leave_pointer\n"}

12T20:49:08.915436484+02:00","level":"ERROR","msg":"lutriserror","display":":0","cmd":"/usr/games/lutris -lj","stderr":"Traceback (most recent call last):\n File \"/usr/games/lutris\", line 57, in <module>\n from lutris.gui.application import Application # pylint: disable=no-name-in-module\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/lib/python3/dist-packages/lutris/gui/application.py\", line 29, in <module>\n import gi\n File \"/usr/lib/python3/dist-packages/gi/__init__.py\", line 40, in <module>\n from . import _gi\nImportError: /lib/x86_64-linux-gnu/libgirepository-1.0.so.1: undefined symbol: g_once_init_leave_pointer\n"}

same error. Did you upload the new version? ^^ sorry for the bad formatted log text, i sent it from my phone
Mircea
Mircea•2mo ago
It's fine I'll build it again and upload with a different filename Sorry it took so long, started debugging another thing and forgot I started the build
Mircea
Mircea•2mo ago
Will also log the env vars passed to lutris, in case there's another env var that can give it the wrong lib paths
FICSIT-Fred
FICSIT-Fred•2mo ago
SMM Version: 3.0.0+d8fa393
SMM Version: 3.0.0+d8fa393
-# Responding to Key Details for SMMDebug-2024-10-14-12-41-17.zip triggered by @Exilium
Mircea
Mircea•2mo ago
Where did the code that logged the error go...
Exilium
ExiliumOP•2mo ago
what do you mean?
Mircea
Mircea•2mo ago
It only logged the env vars, not the lutris stderr, because I stashed that to make a build with a fix for a different issue
Exilium
ExiliumOP•2mo ago
well then next try XD i will test it right away 🙂
Mircea
Mircea•2mo ago
Uploaded
FICSIT-Fred
FICSIT-Fred•2mo ago
SMM Version: 3.0.0+35ff584
SMM Version: 3.0.0+35ff584
-# Responding to Key Details for SMMDebug-2024-10-14-12-57-23.zip triggered by @Exilium
Mircea
Mircea•2mo ago
Hmm, there actually was no error
Exilium
ExiliumOP•2mo ago
hmm only thing i could try would be purging and reinstalling Lutris itself i already tried reinstalling EpicGames (and Satisfactory multiple times)
Mircea
Mircea•2mo ago
I'll add more logging on the lutris install checking
Exilium
ExiliumOP•2mo ago
maybe sth is messed up with the Game-Path on my end? /home/pat/Games/epic-games-store/drive_c/Program Files/Epic Games/Satisfactory/FactoryGameEGS.exe i assume this is the executable run by EGS thats where Lutris and EGS put the .exe
Mircea
Mircea•2mo ago
Uploaded
FICSIT-Fred
FICSIT-Fred•2mo ago
SMM Version: 3.0.0+35ff584
SMM Version: 3.0.0+35ff584
-# Responding to Key Details for SMMDebug-2024-10-14-13-14-54.zip triggered by @Exilium
Mircea
Mircea•2mo ago
Ah, I see I've made it so that it reuses the windows epic finder But converting the path to a wine path using the prefix And missed adding the conversion in a few places
Exilium
ExiliumOP•2mo ago
sounds promising 🙂
Mircea
Mircea•2mo ago
Uploaded
Exilium
ExiliumOP•2mo ago
whoop, its working! 😄 do u need sth again? another log file or so?
Mircea
Mircea•2mo ago
No, if it works it's fine
Exilium
ExiliumOP•2mo ago
perfect, thanks for your effort
Mircea
Mircea•2mo ago
No worries
Want results from more Discord servers?
Add your server