The forum

Error while running 1st installed Windows app :(

Spelunky - Any leads would be appreciated

Author Replies
drpeppercan Wednesday 14 December 2016 at 16:48
drpeppercan

Bare with me, this is my very 1st Windows app I install on Ubuntu 16.04 with PoL "ever".

I chose to install Spelunky (game), it is not a large nor particularly sources-demanding kind of game, it's only 19 Mbs.

The installation looked quite ok. However when attempting to run it, it gives me this message:

"Unexpected error occured while running Spelunky"

Nothing else is mentioned.

What is the 1st thing I should look into?

Thanks in advance guys :)

DPC

Linux version: Ubuntu 16.04 - 64bit.
Version de POL: 4.2.10
Full computer specs: Intel® Core™ i5-6400 CPU @ 2.70GHz × 4, 16 RAM, GeForce GTX 950/PCIe/SSE2, Nvidia binary driver - version 367.57 (proprietary, tested

Tool log:

PlayOnLinux debugging tool (v4.2.10)
-----------------------------------------------
Debugging: Spelunky

Warning: This is a PlayOnLinux script logfile. It does not contain everything that happened in your program\'s virtual drive (wineprefix)
Please do not use this logfile on winehq forum, this logfile is not interesting for wine debugging.

Date: 12/14/16 10:31:29

> uname -a
  Linux javier-Predator-G3-710 4.4.0-53-generic #74-Ubuntu SMP Fri Dec 2 15:59:10 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
> lsb_release -a
  
> wine --version (Be careful; this version might not be the version used
in the script. Read the content of this file for more information)
  wine-1.6.2
> glxinfo \| grep rendering
  direct rendering: Yes
    GL_NV_parameter_buffer_object2, GL_NV_path_rendering, 
    GL_NV_path_rendering_shared_edge, GL_NV_pixel_data_range, 
    GL_NV_parameter_buffer_object2, GL_NV_path_rendering, 
    GL_NV_path_rendering_shared_edge, GL_NV_pixel_data_range, 
    GL_NV_path_rendering, GL_NV_path_rendering_shared_edge, 
> glxinfo \| grep renderer
  OpenGL renderer string: GeForce GTX 950/PCIe/SSE2
> OpenGL libs
  check_dd_x86 missing, test skipped
  check_dd_amd64 missing, test skipped
> export
  declare -x AMD64_COMPATIBLE="True"
declare -x APPLICATION_TITLE="PlayOnLinux"
declare -x CLUTTER_IM_MODULE="xim"
declare -x COMPIZ_BIN_PATH="/usr/bin/"
declare -x COMPIZ_CONFIG_PROFILE="ubuntu"
declare -x DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-c3RBzAoKH7"
declare -x DEBIAN_PACKAGE="TRUE"
declare -x DEFAULTS_PATH="/usr/share/gconf/ubuntu.default.path"
declare -x DESKTOP="/home/javier/Desktop"
declare -x DESKTOP_SESSION="ubuntu"
declare -x DISPLAY=":0"
declare -x DONT_MONITOR="1"
declare -x DYLDPATH_ORIGIN=""
declare -x DYLD_LIBRARY_PATH=""
declare -x GDMSESSION="ubuntu"
declare -x GDM_LANG="en_CA"
declare -x GECKO_SITE="http://wine.playonlinux.com/gecko"
declare -x GIO_LAUNCHED_DESKTOP_FILE="/usr/share/applications/PlayOnLinux.desktop"
declare -x GIO_LAUNCHED_DESKTOP_FILE_PID="10843"
declare -x GNOME_DESKTOP_SESSION_ID="this-is-deprecated"
declare -x GNOME_KEYRING_CONTROL=""
declare -x GNOME_KEYRING_PID=""
declare -x GNUPGHOME="/home/javier/.PlayOnLinux//gpg"
declare -x GPG_AGENT_INFO="/home/javier/.gnupg/S.gpg-agent:0:1"
declare -x GTK2_MODULES="overlay-scrollbar"
declare -x GTK_IM_MODULE="ibus"
declare -x GTK_MODULES="gail:atk-bridge:unity-gtk-module"
declare -x G_FILENAME_ENCODING="UTF-8"
declare -x HOME="/home/javier"
declare -x IGNORE_ICON_DIR="false"
declare -x IM_CONFIG_PHASE="1"
declare -x INSTANCE=""
declare -x JOB="unity-settings-daemon"
declare -x LANG="en_CA.UTF-8"
declare -x LANGUAGE="en_CA:en"
declare -x LD_32_PATH_ORIGIN=""
declare -x LD_LIBRARY_PATH=""
declare -x LD_PATH_ORIGIN=""
declare -x LOGNAME="javier"
declare -x MACHTYPE="x86_64-pc-linux-gnu"
declare -x MANDATORY_PATH="/usr/share/gconf/ubuntu.mandatory.path"
declare -x MD5_COMMAND="md5sum"
declare -x MONO_SITE="http://wine.playonlinux.com/mono"
declare -x OLDPWD="/home/javier/.PlayOnLinux/plugins"
declare -x OS_NAME="linux"
declare -x OpenGL32="1"
declare -x OpenGL64="1"
declare -x PATH="/home/javier/bin:/home/javier/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"
declare -x PATH_ORIGIN="/home/javier/bin:/home/javier/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"
declare -x PLAYONLINUX="/usr/share/playonlinux"
declare -x POL_ARCH="x86"
declare -x POL_COOKIE="XOVA96sPDP9wYEh5jmMr"
declare -x POL_CURL="curl"
declare -x POL_DNS="playonlinux.com"
declare -x POL_HOST="127.0.0.1"
declare -x POL_ID="3635508"
declare -x POL_LANG="en"
declare -x POL_OS="Linux"
declare -x POL_PORT="30000"
declare -x POL_PYTHON="python"
declare -x POL_SetupWindow_ID="14278"
declare -x POL_TERM="x-terminal-emulator"
declare -x POL_UPTODATE="TRUE"
declare -x POL_USER_ARCH="x86"
declare -x POL_USER_ROOT="/home/javier/.PlayOnLinux/"
declare -x POL_WGET="env LD_LIBRARY_PATH=\"\" wget --prefer-family=IPv4 -q"
declare -x PWD="/usr/share/playonlinux/python"
declare -x QT4_IM_MODULE="xim"
declare -x QT_ACCESSIBILITY="1"
declare -x QT_IM_MODULE="ibus"
declare -x QT_LINUX_ACCESSIBILITY_ALWAYS_ON="1"
declare -x QT_QPA_PLATFORMTHEME="appmenu-qt5"
declare -x REPERTOIRE="/home/javier/.PlayOnLinux/"
declare -x SCRIPTID="Spelunky"
declare -x SED="sed"
declare -x SESSION="ubuntu"
declare -x SESSIONTYPE="gnome-session"
declare -x SETUPWINDOW_INIT="false"
declare -x SHELL="/bin/bash"
declare -x SHLVL="3"
declare -x SITE="http://repository.playonlinux.com"
declare -x SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"
declare -x TEXTDOMAIN="pol"
declare -x TITLE="Spelunky"
declare -x TITRE="PlayOnLinux"
declare -x UBUNTU_MENUPROXY="0"
declare -x UPSTART_EVENTS="xsession started"
declare -x UPSTART_INSTANCE=""
declare -x UPSTART_JOB="unity7"
declare -x UPSTART_SESSION="unix:abstract=/com/ubuntu/upstart-session/1000/1476"
declare -x USER="javier"
declare -x VERSION="4.2.10"
declare -x WGETRC="/home/javier/.PlayOnLinux//configurations/wgetrc"
declare -x WINEDLLOVERRIDES="winemenubuilder.exe=d"
declare -x WINEPREFIX="/home/javier/.PlayOnLinux//wineprefix/default"
declare -x WINE_SITE="http://wine.playonlinux.com/binaries"
declare -x WorkingDirectory="/home/javier"
declare -x XAUTHORITY="/home/javier/.Xauthority"
declare -x XDG_CONFIG_DIRS="/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg"
declare -x XDG_CURRENT_DESKTOP="Unity"
declare -x XDG_DATA_DIRS="/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop"
declare -x XDG_GREETER_DATA_DIR="/var/lib/lightdm-data/javier"
declare -x XDG_RUNTIME_DIR="/run/user/1000"
declare -x XDG_SEAT="seat0"
declare -x XDG_SEAT_PATH="/org/freedesktop/DisplayManager/Seat0"
declare -x XDG_SESSION_DESKTOP="ubuntu"
declare -x XDG_SESSION_ID="c2"
declare -x XDG_SESSION_PATH="/org/freedesktop/DisplayManager/Session0"
declare -x XDG_SESSION_TYPE="x11"
declare -x XDG_VTNR="7"
declare -x XMODIFIERS="@im=ibus"

12/14/16 10:31:33 - [POL_SetupWindow_Init] Message: Creating new window for pid 14278
12/14/16 10:31:57 - [POL_Wine_SelectPrefix] Message: Selecting prefix: spelunky
12/14/16 10:31:57 - [POL_Wine_PrefixCreate] Message: Setting POL_WINEVERSION to 1.3.24
12/14/16 10:31:57 - [POL_Wine_PrefixCreate] Message: Creating prefix (1.3.24)...
12/14/16 10:31:58 - [POL_Wine_PrefixCreate] Message: Using wine 1.3.24
12/14/16 10:31:58 - [POL_Wine_InstallVersion] Message: Installing wine version path: 1.3.24, x86
12/14/16 10:36:15 - [POL_Wine_Install_resources] Message: Installing gecko for wine 1.3.24 x86
12/14/16 10:36:15 - [POL_Wine_Install_resources] Message: Linking gecko
12/14/16 10:36:15 - [POL_Wine_Install_resources] Message: Installing wine_gecko-1.2.0-x86.msi
12/14/16 10:36:15 - [POL_Download] Message: Downloading http://wine.playonlinux.com/gecko/x86/wine_gecko-1.2.0-x86.msi
12/14/16 10:38:53 - [POL_Download] Message: Download MD5 matches
12/14/16 10:38:53 - [POL_Wine_Install_resources] Message: Installing mono for wine 1.3.24 x86
12/14/16 10:38:53 - [POL_Wine_Install_resources] Message: Linking mono
12/14/16 10:38:53 - [POL_Config_PrefixWrite] Message: Prefix config write: ARCH x86
12/14/16 10:38:53 - [POL_Config_PrefixWrite] Message: Prefix config write: VERSION 1.3.24
12/14/16 10:38:54 - [POL_Wine] Message: Running wine-1.3.24 --version (Working directory : /home/javier/.PlayOnLinux/wine/gecko)
12/14/16 10:38:54 - [POL_Wine] Message: Notice: PlayOnLinux deliberately disables winemenubuilder. See http://www.playonmac.com/fr/page-26-Winemenubuilder.html
wine-1.3.24
12/14/16 10:38:54 - [POL_Wine] Message: Wine return: 0
12/14/16 10:39:00 - [POL_LoadVar_PROGRAMFILES] Message: Getting Program Files name
12/14/16 10:39:00 - [POL_Wine] Message: Running wine-1.3.24 cmd /c echo %ProgramFiles% (Working directory : /home/javier/.PlayOnLinux/wine/gecko)
12/14/16 10:39:00 - [POL_Wine] Message: Notice: PlayOnLinux deliberately disables winemenubuilder. See http://www.playonmac.com/fr/page-26-Winemenubuilder.html
C:\Program Files
12/14/16 10:39:01 - [POL_Wine] Message: Wine return: 0
12/14/16 10:39:04 - [POL_Download] Message: Downloading http://www.derekyu.com/games/spelunky_1_1.zip
12/14/16 10:39:11 - [POL_Download] Message: Download MD5 matches
12/14/16 10:39:11 - [POL_Shortcut] Message: Looking for <Spelunky.exe>, found <./spelunky/Spelunky.exe>
12/14/16 10:39:11 - [POL_Wine_GetRegValue] Message: Getting registry value Desktop. Return: C:\\users\\javier\\Desktop
12/14/16 10:39:11 - [POL_Wine] Message: Running wine-1.3.24 winepath -u C:\\users\\javier\\Desktop (Working directory : /home/javier/.PlayOnLinux/wineprefix/spelunky/drive_c/spelunky)
12/14/16 10:39:11 - [POL_Wine] Message: Notice: PlayOnLinux deliberately disables winemenubuilder. See http://www.playonmac.com/fr/page-26-Winemenubuilder.html
/home/javier/.PlayOnLinux//wineprefix/spelunky/dosdevices/c:/users/javier/Desktop
12/14/16 10:39:12 - [POL_Wine] Message: Wine return: 0
12/14/16 10:39:15 - [CleanLnkDesktop] Message: Clean user's Windows desktop: C:\\users\\javier\\Desktop => /home/javier/.PlayOnLinux//wineprefix/spelunky/dosdevices/c:/users/javier/Desktop
12/14/16 10:39:15 - [POL_Shortcut] Message: Shortcut created: Spelunky.exe Spelunky
12/14/16 10:39:15 - [POL_SetupWindow_Close] Message: Closing window for pid 14278

Edited by drpeppercan

booman Thursday 15 December 2016 at 19:50
booman

I have successfully test Spelunky in PlayOnLinux.  I even have a GTX 950 as well.  I have the GOG version and can give it a try again.

Make sure you have the 32-bit libraries installed in Linux.

Are you able to play any other games in PlayOnLinux?


† Booman †
Mint 21.3 64-bit | Nvidia 550| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
drpeppercan Friday 16 December 2016 at 2:58
drpeppercan

Thank you for replying booman :)

"Are you able to play any other games in PlayOnLinux?"

No. Spelunky is the 1st program I try installing with POL.

 

booman Friday 16 December 2016 at 17:27
booman

Ok, its important to install the 32-bit libraries if you are using Ubuntu 64-bit.

Here is how to do it in Ubuntu:

  1. Open the terminal with Ctrl+Alt+T
  2. copy/paste or type:

  3. sudo dpkg --add-architecture i386
    
  4. Press Enter

  5. copy/paste or type:

  6. sudo apt-get update
  7. Press Enter
  8. copy/paste or type:

  9. sudo apt-get install libasound2:i386 libasound2-plugins:i386 libfontconfig1:i386 lib32nss-mdns libgnutls26:i386 libxslt1.1:i386 libxcursor1:i386 libxcomposite1:i386 libosmesa6:i386 libopenal1:i386 libmpg123-0:i386 libldap-2.4-2:i386 liblcms2-2:i386 libgstreamer0.10-0:i386 libgstreamer-plugins-base0.10-0:i386 libgsm1:i386 libxinerama1:i386 libxi6:i386 libv4l-0:i386 libsane:i386 libudev1:i386 libxml2:i386 libcups2:i386 libxrandr2:i386 libice6:i386 libsm6:i386
  10. Press Enter

Edited by booman


† Booman †
Mint 21.3 64-bit | Nvidia 550| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
booman Friday 16 December 2016 at 17:29
booman

In Mint we have a package that does all of this for us.  Ubuntu used to include the 32-bit libraries but the newer versions do not.  so you have to do it manually.


† Booman †
Mint 21.3 64-bit | Nvidia 550| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
drpeppercan Sunday 18 December 2016 at 4:45
drpeppercan

This is what I've got:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package libgnutls26:i386 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Unable to locate package lib32nss-mdns
E: Package 'libgnutls26:i386' has no installation candidate

What do you think?

DPC

drpeppercan Monday 19 December 2016 at 0:05
drpeppercan

Would I have more chances for this to work if I were to install the game in a Virtual Drive?

booman Monday 19 December 2016 at 16:39
booman

Looks like that one package didn't install.  Did the rest install anyways?

If you are unsure, you can always install them one at a time.  Or at least start at the beginning and if the first two are already installed then I would assume all of the packages are installed except the one that errored.

Once you have confirmed, try installing your game again.  I downloaded Spelunky from GOG this weekend and gave it a try.  It works perfectly for me through PlayOnLinux.  I couldn't setup my old controller, but I was able to play a two-player co-op game with my daughter.


† Booman †
Mint 21.3 64-bit | Nvidia 550| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmcayonlinux.com