Linux GOG game failing to launch

Specs: x86_64 , Manjaro XFCE , NVIDIA gpu & i7 cpu
I get the error:

gamemodeauto: 
lutris-wrapper: Mark of the Ninja: Remastered
Running /home/USER/GOG Games/Mark of the Ninja/start.sh
Initial process has started with pid 295162
Game is considered started.
gamemodeauto: 
gamemodeauto: 
gamemodeauto: 
gamemodeauto: 
Running Mark of the Ninja
gamemodeauto: 
malloc_consolidate(): invalid chunk size
support/gog_com.shlib: line 114: 295178 Aborted                 (core dumped) ./"${bin_64}" "$@"

It does run fine if the .sh is launched using the terminal though. Any help is appreciated :slight_smile:

Could you also share the output of lutris -d when you try to start the game?

Yeah, sorry:

INFO     2020-05-23 11:37:59,486 [application.do_command_line:245]:Running Lutris 0.5.6
INFO     2020-05-23 11:37:59,486 [startup.check_driver:54]:Using NVIDIA drivers 440.82 for x86_64
INFO     2020-05-23 11:37:59,487 [startup.check_driver:60]:GPU: GeForce GTX 1070
INFO     2020-05-23 11:37:59,487 [startup.check_driver:77]:GPU: 10DE:1B81 1462:3302 using nvidia drivers
INFO     2020-05-23 11:37:59,681 [startup.check_vulkan:132]:Vulkan is supported
INFO     2020-05-23 11:37:59,682 [dxvk.get_dxvk_versions:22]:Updating DXVK versions
DEBUG    2020-05-23 11:37:59,886 [http.get:65]:GET https://lutris.net/api/runtime
INFO     2020-05-23 11:37:59,892 [lutriswindow.toggle_connection:642]:Connected to lutris.net as Blueberry711
DEBUG    2020-05-23 11:37:59,893 [http.get:65]:GET https://lutris.net/api/games/library/Blueberry711
DEBUG    2020-05-23 11:37:59,902 [http.get:65]:GET https://lutris.net/api/games
DEBUG    2020-05-23 11:38:00,277 [api.get_game_api_page:132]:Loaded 3 games from page 1
DEBUG    2020-05-23 11:38:12,051 [application.launch:379]:Launching Mark of the Ninja: Remastered (linux) (140660754163136)
DEBUG    2020-05-23 11:38:12,054 [xrandr._get_vidmodes:16]:Retrieving video modes from XrandR
DEBUG    2020-05-23 11:38:12,160 [game.configure_game:334]:Launching Mark of the Ninja: Remastered: {'command': ['/home/USER/GOG Games/Mark of the Ninja/start.sh']}
DEBUG    2020-05-23 11:38:12,160 [game.configure_game:335]:Game info: {
  "command": [
    "/home/USER/GOG Games/Mark of the Ninja/start.sh"
  ]
}
DEBUG    2020-05-23 11:38:12,165 [system.execute:38]:Executing x f c o n f - q u e r y   - - c h a n n e l = x f w m 4   - - p r o p e r t y = / g e n e r a l / u s e _ c o m p o s i t i n g
DEBUG    2020-05-23 11:38:12,176 [command.start:133]:Running /usr/share/lutris/bin/lutris-wrapper Mark of the Ninja: Remastered 0 0 /home/USER/GOG Games/Mark of the Ninja/start.sh
DEBUG    2020-05-23 11:38:12,177 [command.start:135]:ENV: SDL_VIDEO_FULLSCREEN_DISPLAY="off"
DEBUG    2020-05-23 11:38:12,177 [command.start:135]:ENV: STEAM_RUNTIME="/home/USER/.local/share/lutris/runtime/steam"
DEBUG    2020-05-23 11:38:12,177 [command.start:135]:ENV: LD_LIBRARY_PATH="/usr/lib/libfakeroot:/usr/lib/openmpi:/usr/lib32:/usr/lib:/usr/lib64:/home/USER/.local/share/lutris/runtime/Ubuntu-18.04-i686:/home/USER/.local/share/lutris/runtime/steam/i386/lib/i386-linux-gnu:/home/USER/.local/share/lutris/runtime/steam/i386/lib:/home/USER/.local/share/lutris/runtime/steam/i386/usr/lib/i386-linux-gnu:/home/USER/.local/share/lutris/runtime/steam/i386/usr/lib:/home/USER/.local/share/lutris/runtime/Ubuntu-18.04-x86_64:/home/USER/.local/share/lutris/runtime/steam/amd64/lib/x86_64-linux-gnu:/home/USER/.local/share/lutris/runtime/steam/amd64/lib:/home/USER/.local/share/lutris/runtime/steam/amd64/usr/lib/x86_64-linux-gnu:/home/USER/.local/share/lutris/runtime/steam/amd64/usr/lib:$LD_LIBRARY_PATH"
DEBUG    2020-05-23 11:38:12,177 [command.start:135]:ENV: game_name="Mark of the Ninja: Remastered"
DEBUG    2020-05-23 11:38:12,177 [command.start:135]:ENV: LD_PRELOAD="libgamemodeauto.so"
DEBUG    2020-05-23 11:38:12,177 [command.start:135]:ENV: PYTHONPATH="/usr/lib/lutris:/usr/bin:/usr/lib/python38.zip:/usr/lib/python3.8:/usr/lib/python3.8/lib-dynload:/usr/lib/python3.8/site-packages"
gamemodeauto:
lutris-wrapper: Mark of the Ninja: Remastered
Running /home/USER/GOG Games/Mark of the Ninja/start.sh
Initial process has started with pid 330105
Game is considered started.
gamemodeauto:
gamemodeauto:
gamemodeauto:
gamemodeauto:
Running Mark of the Ninja
gamemodeauto:
malloc_consolidate(): invalid chunk size
support/gog_com.shlib: line 114: 330121 Aborted                 (core dumped) ./"${bin_64}" "$@"
Game is considered exited.
Initial process has exited.
All children have exited.
Exit with returncode 34304
DEBUG    2020-05-23 11:38:12,992 [command.on_stop:182]:The process has terminated with code 0
DEBUG    2020-05-23 11:38:12,992 [command.stop:266]:Management process looks dead already.
DEBUG    2020-05-23 11:38:12,992 [command.stop:278]:logger already detached
DEBUG    2020-05-23 11:38:14,190 [game.beat:596]:Game thread stopped
WARNING  2020-05-23 11:38:14,191 [game.on_game_quit:626]:Game still running (state: running)
INFO     2020-05-23 11:38:14,191 [game.stop:611]:Stopping Mark of the Ninja: Remastered (linux)
DEBUG    2020-05-23 11:38:14,191 [command.stop:266]:Management process looks dead already.
DEBUG    2020-05-23 11:38:14,191 [command.stop:278]:logger already detached
DEBUG    2020-05-23 11:38:14,197 [game.on_game_quit:645]:Mark of the Ninja: Remastered stopped at Sat, 23 May 2020 11:38:14
DEBUG    2020-05-23 11:38:14,197 [game.save:249]:Saving Mark of the Ninja: Remastered (linux)
DEBUG    2020-05-23 11:38:14,202 [lutriswindow.on_game_updated:779]:Updating game Mark of the Ninja: Remastered (linux)

Hm, that helps a little, but I think I would have to break out gdb to find out what exactly is going wrong. Try changing your game settings by toggling “disable Lutris runtime” and/or “prefer system libraries” in the “System options” tab.

Both didn’t work. And now I tried a different game (Windows so using WINE this time) and it says path not found. crap. feels like it is all falling apart haha.

Hm, I’m out of ideas. I don’t know what else would be different when you run it in Lutris. Maybe someone else knows.

1 Like

Thanks for trying to help though :slight_smile:

Could you check these steps please? It sounds familiar.

The flickering effect was because of an incompatible upgrade of the mesa libraries. This was fixed by the mesa developers and pushed a few days later.

Can confirm that it still doesn’t work

Ive created an installer for the GOG version.

I know, its the one line developers should never say:

It works on my machine…

1 Like

I totally understand, but sadly it doesn’t even unpack it for me. Just loads forever.

The Linux GOG version? Wow.

What does the log say?

it gets stuck at
creating dir: /home/USER/Games/mark-of-the-ninja/support/xdg-utils

USER was you hiding your actual username right?

Do you have enough space available in you Games directory?
Ext4 file system?
Permissions correct?
Running under your own account and not root?

yes to all

And was this install location completely empty before running the installer?

It’s the place I put the rest of my games. Other GOG games.

You don’t have to remove the other games. Just empty the install location of the game itself.

I’ve read somewhere once that it sometimes helps to rerun the installer. And for piece of mind I always start clean.

OH in that case, yes, I have been running it clean every time

Ok, well you are doing the correct things then.

Can you perform a clean install from Lutris in debug mode?