• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!
  • Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

Linux (SOLVED) Won't run on Ubuntu 14.04.5 LTS on digital ocean

The-any-Key

Member
I am new to Linux and Ubuntu and I have some issues when I try run mu game on a Ubuntu 14.04.5 LTS with gnome.
From GM1.4 I can compile the game. (OK)
After the compile game maker put it on my Ubuntu into a folder and install it. (OK)
But when I try run it nothing happens.
upload_2017-7-30_15-4-28.png

Any ubuntu guru/master/jedi here?

Or must I run ubuntu desktop?
 

Mick

Member
Did you install the required packages in Ubuntu? I managed to get my current game running on 16.04 LTS by running this shell script:

Code:
#!/bin/sh
# Update sources
sudo apt-get update
# Install all required packages
sudo apt-get install libopenal1 -y
sudo apt-get install libopenal1:i386 -y
sudo apt-get install libstdc++6:i386 -y
sudo apt-get install libxxf86vm1 -y
sudo apt-get install libssl1.0.0:i386 -y
sudo apt-get install libglu1:i386 -y
sudo apt-get install libxrandr2:i386 -y
If any dependencies are missing the game won't run (nothing happens).
 
Last edited:

The-any-Key

Member
Also tested on ubuntu desktop on 16.04.2 x64
Everything works but when I try start. It won't start.
upload_2017-7-30_21-41-26.png

I notice that some of the needed installs are unable to be located:
sudo apt-get install libopenal1:i386
sudo apt-get install lib32bz2-1.0 and sudo apt-get install libbz2-1.0:i386
sudo apt-get install libstdc++6:i386
sudo apt-get install libssl1.0.0:i386
sudo apt-get install libglu1:i386
sudo apt-get install libxrandr2:i386

Edit Ahh. Needed to run:
sudo dpkg --add-architecture i386
sudo apt-get update
Before the above packets could be found and installed.
But I still can't run the games.
 
Last edited:

Mick

Member
Hmm, maybe the ldd command can help you (use: ldd runner). It should list all dependencies for an executable, if there are missing ones you should see a not found message for that dependency.
 

The-any-Key

Member
Code:
root@online:~/GameMaker/Applications/Project1/Project1# ldd runner
    linux-gate.so.1 =>  (0xb7750000)
    libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xb7651000)
    libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xb7637000)
    libXxf86vm.so.1 => /usr/lib/i386-linux-gnu/libXxf86vm.so.1 (0xb7630000)
    libGL.so.1 => /usr/lib/i386-linux-gnu/mesa/libGL.so.1 (0xb75d0000)
    libopenal.so.1 => /usr/lib/i386-linux-gnu/libopenal.so.1 (0xb757b000)
    libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xb7535000)
    librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xb752c000)
    libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xb750f000)
    libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xb750a000)
    libcrypto.so.1.0.0 => /lib/i386-linux-gnu/libcrypto.so.1.0.0 (0xb735d000)
    libXext.so.6 => /usr/lib/i386-linux-gnu/libXext.so.6 (0xb734a000)
    libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xb7216000)
    libXrandr.so.2 => /usr/lib/i386-linux-gnu/libXrandr.so.2 (0xb720a000)
    libGLU.so.1 => /usr/lib/i386-linux-gnu/libGLU.so.1 (0xb7197000)
    libssl.so.1.0.0 => /lib/i386-linux-gnu/libssl.so.1.0.0 (0xb713f000)
    libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xb7122000)
    libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb6f71000)
    /lib/ld-linux.so.2 (0xb7751000)
    libglapi.so.0 => /usr/lib/i386-linux-gnu/libglapi.so.0 (0xb6f58000)
    libXdamage.so.1 => /usr/lib/i386-linux-gnu/libXdamage.so.1 (0xb6f54000)
    libXfixes.so.3 => /usr/lib/i386-linux-gnu/libXfixes.so.3 (0xb6f4e000)
    libX11-xcb.so.1 => /usr/lib/i386-linux-gnu/libX11-xcb.so.1 (0xb6f4b000)
    libxcb-glx.so.0 => /usr/lib/i386-linux-gnu/libxcb-glx.so.0 (0xb6f33000)
    libxcb-dri2.so.0 => /usr/lib/i386-linux-gnu/libxcb-dri2.so.0 (0xb6f2c000)
    libxcb-dri3.so.0 => /usr/lib/i386-linux-gnu/libxcb-dri3.so.0 (0xb6f28000)
    libxcb-present.so.0 => /usr/lib/i386-linux-gnu/libxcb-present.so.0 (0xb6f24000)
    libxcb-sync.so.1 => /usr/lib/i386-linux-gnu/libxcb-sync.so.1 (0xb6f1d000)
    libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xb6efb000)
    libxshmfence.so.1 => /usr/lib/i386-linux-gnu/libxshmfence.so.1 (0xb6ef7000)
    libdrm.so.2 => /usr/lib/i386-linux-gnu/libdrm.so.2 (0xb6ee7000)
    libXrender.so.1 => /usr/lib/i386-linux-gnu/libXrender.so.1 (0xb6edc000)
    libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0xb6ed8000)
    libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0xb6ed0000)
root@online:~/GameMaker/Applications/Project1/Project1#
Seem fine. I installed Ubuntu 14.04.05 x32 server and installed desktop and I notice when I try start it it open and blink once and then disappears.
upload_2017-7-31_0-22-10.png
It's just a project with one room and one object with a 32x32 sprite at 640x480 in size. Exported from EA 1.99.551
 

The-any-Key

Member
Ran the script:
Code:
#!/usr/bin/env bash

## Launch 'yourapp' and capture its standard error output
GameMaker/Applications/Project1/Project1/runner 2>~/myapp.log
And got some info:

Code:
Xlib:  extension "XFree86-VidModeExtension" missing on display ":1.0".
libGL error: failed to load driver: swrast
X Error of failed request:  BadRequest (invalid request code or no such operation)
  Major opcode of failed request:  149 (RANDR)
  Minor opcode of failed request:  8 (RRGetScreenResources)
  Serial number of failed request:  40
  Current serial number in output stream:  40
 

The-any-Key

Member
Checked the log files when I start tightvncserver
Code:
31/07/17 07:37:56 Xvnc version TightVNC-1.3.9
31/07/17 07:37:56 Copyright (C) 2000-2007 TightVNC Group
31/07/17 07:37:56 Copyright (C) 1999 AT&T Laboratories Cambridge
31/07/17 07:37:56 All Rights Reserved.
31/07/17 07:37:56 See http://www.tightvnc.com/ for information on TightVNC
31/07/17 07:37:56 Desktop name 'X' (online:1)
31/07/17 07:37:56 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t
31/07/17 07:37:56 Listening for VNC connections on TCP port 5901
No VNC extension on display :1
Xlib:  extension "RANDR" missing on display ":1".
Xlib:  extension "RANDR" missing on display ":1".
Option "--login" is no longer supported in this version of gnome-terminal; you might want to create a profile with the desired setting, and use the new '--profile' option
Window manager warning: Log level 32: could not find XKB extension.
Window manager warning: Log level 32: could not find XKB extension.
Window manager warning: Screen 0 on display ":1" already has a window manager; try using the --replace option to replace the current window manager.

(nautilus:2023): Gtk-WARNING **: Failed to register client: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files

(gnome-terminal:2018): GLib-GIO-CRITICAL **: g_settings_get: the format string may not contain '&' (key 'monospace-font-name' from schema 'org.gnome.desktop.interface'). This call will probably stop working with a future version of glib.

(gnome-settings-daemon:2021): power-plugin-WARNING **: Unable to start gsd_power manager: RANDR extension is not present

(gnome-settings-daemon:2021): xrandr-plugin-WARNING **: Unable to start gsd_xrandr manager: RANDR extension is not present

(gnome-settings-daemon:2021): color-plugin-WARNING **: Unable to start gsd_color manager: RANDR extension is not present

(gnome-settings-daemon:2021): cursor-plugin-WARNING **: Unable to start gsd_cursor manager: XFixes cursor extension not available

** (gnome-settings-daemon:2021): WARNING **: Unable to register client: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
Nautilus-Share-Message: Called "net usershare info" but it failed: 'net usershare' returned error 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error No such file or directory
Please ask your system administrator to enable user sharing.
I guess
Xlib: extension "RANDR" missing on display ":1".
has something to do with it.
 

The-any-Key

Member
Ok. Found the issue. Digital ocean only got the very basic of GPU and it's not enough to make a game maker project get going.
Will try use paperspace instead. They got Ubuntu with GPU.
 
Top