rockerbacon / modorganizer2-linux-installer

An easy-to-use Mod Organizer 2 installer for Linux
GNU General Public License v3.0
1.02k stars 80 forks source link

MO2 Won't launch - libgamemodeauto.so.0 "LD_PRELOAD cannot be preloaded" #119

Closed nikspyratos closed 4 years ago

nikspyratos commented 4 years ago

Hi there,

Firstly, thanks for this project. Definitely saving gaming efforts out there.

I seem to be having some issue with LD_PRELOAD on Mod Organizer 2. My log is:

Running gamemoderun /home/thecapegreek/.local/share/lutris/runners/wine/lutris-5.7-5-x86_64/bin/wine /media/thecapegreek/BenSwolo/Games/Mods/Skyrim/Tools/modorganizer2/run.sh
Initial process has started with pid 84016
Game is considered started.
ERROR: ld.so: object '/usr/$LIB/libgamemodeauto.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/$LIB/libgamemodeauto.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Game is considered exited.
Initial process has exited.
All monitored processes have exited.
Exit with returncode 12032

Tried searching reddit but only found some people getting similar issues for WoW/Battle.net games. No idea if it would have any effect but I also tried adding LD_PRELOAD=$LD_PRELOAD:/usr/\$LIB/libgamemodeauto.so before the rest of the command in the run.sh file but that didn't help.

Any idea where to look next on this?

rockerbacon commented 4 years ago

Running gamemoderun /home/thecapegreek/.local/share/lutris/runners/wine/lutris-5.7-5-x86_64/bin/wine /media/thecapegreek/BenSwolo/Games/Mods/Skyrim/Tools/modorganizer2/run.sh

Looks like you got the installer from Lutris.net instead of getting it from this repo, see #118.

If you have any problems after getting the correct installer, feel free to open another issue.

nikspyratos commented 4 years ago

Fair enough, Saw that installer having some references to this repo and had Lutris hanging on extractions using the direct one, but I'll try again.

SmiVan commented 3 years ago

Just a note for future readers - libgamemodeauto.so.0 "LD_PRELOAD cannot be preloaded" probably cannot be a cause for launching issues - as it occurs even in normal behaviour.