Jump to content
The Dark Mod Forums
Sign in to follow this  
omginput

TDM doesnt start on Ubuntu 16.04

Recommended Posts

Hi,

 

 

i have trouble running TDM 2.04 on Ubuntu 16.04. I installed the needed 32bit packages (https://wiki.ubuntuusers.de/Spiele/The_Dark_Mod/).

Also I enabled the use of 32bit: http://askubuntu.com/questions/454253/how-to-run-32-bit-app-in-ubuntu-64-bit/454254#454254

 

But I still get this error:

 

andre@linuxhost:~/Spiele/darkmod$ ./thedarkmod.x86
TDM 2.04 #6596 linux-x86 Jul 7 2016 15:43:56
found interface lo - loopback
found interface enp9s0 - 192.168.2.104/255.255.255.0
Found Intel CPU with Hyper-Threading enabled, features: MMX SSE SSE2 SSE3 CMOV
tdm using generic code for SIMD processing.
------ Initializing File System ------
Current search path:
/home/andre/Spiele/darkmod/
/home/andre/Spiele/darkmod/tdm_textures_wood01.pk4 (317 files)
/home/andre/Spiele/darkmod/tdm_textures_window01.pk4 (348 files)
/home/andre/Spiele/darkmod/tdm_textures_stone_sculpted01.pk4 (424 files)
/home/andre/Spiele/darkmod/tdm_textures_stone_natural01.pk4 (123 files)
/home/andre/Spiele/darkmod/tdm_textures_stone_flat01.pk4 (281 files)
/home/andre/Spiele/darkmod/tdm_textures_stone_cobblestones01.pk4 (214 files)
/home/andre/Spiele/darkmod/tdm_textures_stone_brick01.pk4 (440 files)
/home/andre/Spiele/darkmod/tdm_textures_sfx01.pk4 (64 files)
/home/andre/Spiele/darkmod/tdm_textures_roof01.pk4 (65 files)
/home/andre/Spiele/darkmod/tdm_textures_plaster01.pk4 (140 files)
/home/andre/Spiele/darkmod/tdm_textures_paint_paper01.pk4 (42 files)
/home/andre/Spiele/darkmod/tdm_textures_other01.pk4 (51 files)
/home/andre/Spiele/darkmod/tdm_textures_nature01.pk4 (256 files)
/home/andre/Spiele/darkmod/tdm_textures_metal01.pk4 (465 files)
/home/andre/Spiele/darkmod/tdm_textures_glass01.pk4 (50 files)
/home/andre/Spiele/darkmod/tdm_textures_fabric01.pk4 (41 files)
/home/andre/Spiele/darkmod/tdm_textures_door01.pk4 (171 files)
/home/andre/Spiele/darkmod/tdm_textures_decals01.pk4 (367 files)
/home/andre/Spiele/darkmod/tdm_textures_carpet01.pk4 (92 files)
/home/andre/Spiele/darkmod/tdm_textures_base01.pk4 (375 files)
/home/andre/Spiele/darkmod/tdm_standalone.pk4 (4 files)
/home/andre/Spiele/darkmod/tdm_sound_vocals_decls01.pk4 (27 files)
/home/andre/Spiele/darkmod/tdm_sound_vocals07.pk4 (1111 files)
/home/andre/Spiele/darkmod/tdm_sound_vocals06.pk4 (688 files)
/home/andre/Spiele/darkmod/tdm_sound_vocals05.pk4 (128 files)
/home/andre/Spiele/darkmod/tdm_sound_vocals04.pk4 (2854 files)
/home/andre/Spiele/darkmod/tdm_sound_vocals03.pk4 (743 files)
/home/andre/Spiele/darkmod/tdm_sound_vocals02.pk4 (1300 files)
/home/andre/Spiele/darkmod/tdm_sound_vocals01.pk4 (82 files)
/home/andre/Spiele/darkmod/tdm_sound_sfx02.pk4 (596 files)
/home/andre/Spiele/darkmod/tdm_sound_sfx01.pk4 (924 files)
/home/andre/Spiele/darkmod/tdm_sound_ambient_decls01.pk4 (8 files)
/home/andre/Spiele/darkmod/tdm_sound_ambient03.pk4 (24 files)
/home/andre/Spiele/darkmod/tdm_sound_ambient02.pk4 (156 files)
/home/andre/Spiele/darkmod/tdm_sound_ambient01.pk4 (209 files)
/home/andre/Spiele/darkmod/tdm_prefabs01.pk4 (557 files)
/home/andre/Spiele/darkmod/tdm_player01.pk4 (125 files)
/home/andre/Spiele/darkmod/tdm_models_decls01.pk4 (93 files)
/home/andre/Spiele/darkmod/tdm_models02.pk4 (1836 files)
/home/andre/Spiele/darkmod/tdm_models01.pk4 (1916 files)
/home/andre/Spiele/darkmod/tdm_gui_credits01.pk4 (49 files)
/home/andre/Spiele/darkmod/tdm_gui01.pk4 (679 files)
/home/andre/Spiele/darkmod/tdm_game02.pk4 (2 files)
/home/andre/Spiele/darkmod/tdm_game01.pk4 (2 files)
/home/andre/Spiele/darkmod/tdm_fonts01.pk4 (696 files)
/home/andre/Spiele/darkmod/tdm_env01.pk4 (98 files)
/home/andre/Spiele/darkmod/tdm_defs01.pk4 (166 files)
/home/andre/Spiele/darkmod/tdm_base01.pk4 (156 files)
/home/andre/Spiele/darkmod/tdm_ai_steambots01.pk4 (24 files)
/home/andre/Spiele/darkmod/tdm_ai_monsters_spiders01.pk4 (82 files)
/home/andre/Spiele/darkmod/tdm_ai_humanoid_undead01.pk4 (50 files)
/home/andre/Spiele/darkmod/tdm_ai_humanoid_townsfolk01.pk4 (95 files)
/home/andre/Spiele/darkmod/tdm_ai_humanoid_pagans01.pk4 (10 files)
/home/andre/Spiele/darkmod/tdm_ai_humanoid_nobles01.pk4 (48 files)
/home/andre/Spiele/darkmod/tdm_ai_humanoid_mages01.pk4 (8 files)
/home/andre/Spiele/darkmod/tdm_ai_humanoid_heads01.pk4 (96 files)
/home/andre/Spiele/darkmod/tdm_ai_humanoid_guards01.pk4 (373 files)
/home/andre/Spiele/darkmod/tdm_ai_humanoid_females01.pk4 (169 files)
/home/andre/Spiele/darkmod/tdm_ai_humanoid_builders01.pk4 (91 files)
/home/andre/Spiele/darkmod/tdm_ai_base01.pk4 (8 files)
/home/andre/Spiele/darkmod/tdm_ai_animals01.pk4 (80 files)
File System Initialized.
--------------------------------------
----- Initializing Decls -----
------------------------------
------- Initializing renderSystem --------
using ARB renderSystem
renderSystem initialized.
--------------------------------------
I18N: SetLanguage: 'english'.
I18N: Found no character remapping for english.
I18N: 1228 strings read from strings/english.lang
I18N: 'strings/fm/english.lang' not found.
WARNING:Couldn't load image: guis/assets/splash/launch
Couldn't open journal files
Couldn't exec editor.cfg - file does not exist.
execing default.cfg
Unknown command 'use'
Unknown command 'console'
Unknown command 'next'
Unknown command 'prev'
Unknown command 'previous'
Unknown command 'next'
Unknown command 'crouch'
Unknown command 'Lean'
Unknown command 'lean'
Unknown command 'Readables'
Unknown command 'spyglass'
Unknown command 'compass'
Unknown command 'lantern'
Unknown command 'maps'
Unknown command 'objectives'
Unknown command 'keys'
Unknown command 'lockpicks'
Unknown command 'lean'
Unknown command 'Inventory'
Unknown command 'Mantle'
Unknown command 'creep'
Unknown command 'frob'
Unknown command 'inventory'
Couldn't exec autoexec.cfg - file does not exist.
I18N: SetLanguage: 'english'.
I18N: Found no character remapping for english.
I18N: 1228 strings read from strings/english.lang
I18N: 'strings/fm/english.lang' not found.
----- Initializing Sound System ------
sound system initialized.
--------------------------------------
----- R_InitOpenGL -----
Setup X display connection
dlopen(libGL.so.1)
dlopen(libGL.so.1)
idRenderSystem::Shutdown()
signal caught: Segmentation fault
si_code 1
Was in fatal error shutdown: Unable to initialize OpenGL
Trying to exit gracefully..
About to exit with code 0
Please help me. What should I do? :(

Share this post


Link to post
Share on other sites

I have a Nividia GForce GTX 860M in my Lenovo y50-y70. But I dont use the proprietary drivers so the Intel Chip is in use.

But it also doesnt work with the proprietary one. Same error message.

Share this post


Link to post
Share on other sites
andre@linuxhost:~$ sudo ldconfig -v | grep libGL

[sudo] Passwort für andre:

/sbin/ldconfig.real: »stat()« kann nicht für »/lib/i686-linux-gnu« aufgerufen werden: Datei oder Verzeichnis nicht gefunden //file or directory not found

/sbin/ldconfig.real: »stat()« kann nicht für »/usr/lib/i686-linux-gnu« aufgerufen werden: Datei oder Verzeichnis nicht gefunden //file or directory not found

/sbin/ldconfig.real: »stat()« kann nicht für »/lib32« aufgerufen werden: Datei oder Verzeichnis nicht gefunden //file or directory not found

/sbin/ldconfig.real: Pfad »/lib/x86_64-linux-gnu« mehrfach angegeben //specified multiple times

/sbin/ldconfig.real: Pfad »/usr/lib/x86_64-linux-gnu« mehrfach angegeben //specified multiple times

/sbin/ldconfig.real: /lib/i386-linux-gnu/ld-2.23.so is the dynamic linker, ignoring


/sbin/ldconfig.real: /lib/x86_64-linux-gnu/ld-2.23.so is the dynamic linker, ignoring


libGLEW.so.1.13 -> libGLEW.so.1.13.0

libGLU.so.1 -> libGLU.so.1.3.1

libGLEWmx.so.1.13 -> libGLEWmx.so.1.13.0

libGL.so.1 -> libGL.so.1.2.0




//**** is translation from german in english

Share this post


Link to post
Share on other sites

Looks like you've got general driver configuration issues such as mismatched libraries ( 1.3.1 vs 1.13.0 )

and missing files. I would head over to the Ubuntu forums to see about the best way to repair things.


Please visit TDM's IndieDB site and help promote the mod:

 

http://www.indiedb.com/mods/the-dark-mod

 

(Yeah, shameless promotion... but traffic is traffic folks...)

Share this post


Link to post
Share on other sites

The Ubuntu Installation is brand new. So I don't think that this is definitely the point...

 

A new installation does not mean something can't go wrong, and if the output log that you posted is showing mismatched files, then something isn't right.

Share this post


Link to post
Share on other sites

I've got the solution!!

 

First install these packages:

sudo apt-get install libc6:i386 libstdc++6:i386 libx11-6:i386 libxext6:i386 libxxf86vm1:i386 libpng12-0:i386 libasound2-plugins:i386

 

Then install PlayOnLinux (it includes the packages to make OpenGL in 32bit possible):

sudo apt-get install playonlinux

 

Have fun :)

 

 

Please put this to the installation instructions for Ubuntu.

Share this post


Link to post
Share on other sites

Then install PlayOnLinux (it includes the packages to make OpenGL in 32bit possible):

sudo apt-get install playonlinux

But running tdm on wine (playonlinux) is a workaround, not a native sollution.

(I already made a playonlinux/playonmac installatin script for it)

But running tdm not natively, its possible that youre may experience speed/sound/display problems.

 

We would like to see that you fix your driverproblem.

Edited by freyk

Share this post


Link to post
Share on other sites

It runs natively! Playonlinux has some dependencies which are needed for Opengl in 32bit to work. Just after installing it you can start tdm through./thedarkmod.x86. It isn't a driver problem. Lots of people experience this in Ubuntu 1604. POL has ~150 packages. It would be a lot of work to find those which are needed. So Id recommend install POL and you are fine.

Share this post


Link to post
Share on other sites

And the packages to solve the dependencies for playonlinux, are the things we need to run tdm.

(so an install for playonlinux is not necessary)

 

If i compare the outdated installation howto with your info, do we also need to install to install the following packages?

libglu, libgl1-mesa-dri,libgl1-mesa-glx and libglapi?

Share this post


Link to post
Share on other sites

Ok.

When i summarize all the installation manuals and sollutions for you all, this is the following result.

What do you think about the following howto?

 

I will also update my these packages to the deb and rpm packages, with this information soon.

Because the only step that was missing, where installing the other packages.

 

==

 

Howto install tdm on ubuntu linux 64 bit manually:

 

Open your terminal and enter the following commands:

sudo dpkg --add-architecture i386
sudo apt-get install libc6:i386 libstdc++6:i386 libx11-6:i386 libxext6:i386 libxxf86vm1:i386 libpng12-0:i386 libasound2-plugins:i386 libgl1-mesa-dri:i386 libgl1-mesa-glx libgl1-mesa-glx:i386 libglapi-mesa:i386 libglu1-mesa:i386 wget unzip
sudo mkdir -p /usr/share/games/darkmod
sudo chown -R nobody:users /usr/share/games/darkmod
sudo chmod uga+w /usr/share/games/darkmod
exit
open the terminal again and enter the following lines:

cd /usr/share/games/darkmod
wget http://www.fidcal.com/darkuser/tdm_update_linux.zip
unzip ./tdm_update_linux.zip -d /usr/share/games/darkmod
rm ./tdm_update_linux.zip
chmod uga+x ./tdm_update.linux
Run the updater:

./tdm_update.linux
Wait until the updater ends, then:

chmod uga+x ./thedarkmod.x86
If you want to have some desktop shortcuts for the tdm-executable and the tdm-updater,

create them and use the following settings:

settings for updater-shortcut

Path=/usr/share/games/darkmod/
Exec=sh -c /usr/share/games/darkmod/tdm_update.linux;$SHELL
Categories=Game;ArcadeGame;
Type=Application
settings for the gameexecutable-shortcut

 
Path=/usr/share/games/darkmod/
Exec=sh -c /usr/share/games/darkmod/thedarkmod.x86;$SHELL
Type=Application
Terminal=false
Note:

The following things are done automatically using my rpm and deb packages

This will also create shortcuts and installs other things.

===

Edited by freyk

Share this post


Link to post
Share on other sites

I followed the manual above, using my Ubuntu 64 vm.
Got the same video error (exactly as in the topic-start).
And I confirm the solution, to install the playonlinux-package.
(added this to manual above.)

But why needs TDM this (and other packages dependencies from playonlinux)??

Dhewm doesn't need that package as a dependency (but i didn't did a test run)

Quake 2 engine games works fine (without installing playonlinux)

Edited by freyk

Share this post


Link to post
Share on other sites

For my 200th post on this forum, i answer my own question:

As it is said, TDM executable and the updater are 32 bit applications.

They dont run on a 64bit Linux Distro, so 32 bit libraries must be installed.

Playonlinux depence on more 32bit libraries, that are not registered in the manual.

Going to filter it (again).

 

Playonlinux is nice to have. You can even run tdm on it.

 

edit:

Instead of playonlinux-package, install also the following packages:

libgl1-mesa-glx:i386 libglapi-mesa:i386 libglu1-mesa:i386

(searching for more)

Edited by freyk

Share this post


Link to post
Share on other sites

I didn't have those three packages installed because:

~/darkmod$ ldd thedarkmod.x86 
	linux-gate.so.1 (0xf774a000)
	libpthread.so.0 => /lib/i386-linux-gnu/i686/cmov/libpthread.so.0 (0xf7711000)
	libdl.so.2 => /lib/i386-linux-gnu/i686/cmov/libdl.so.2 (0xf770c000)
	librt.so.1 => /lib/i386-linux-gnu/i686/cmov/librt.so.1 (0xf7702000)
	libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xf75b0000)
	libXext.so.6 => /usr/lib/i386-linux-gnu/libXext.so.6 (0xf759b000)
	libXxf86vm.so.1 => /usr/lib/i386-linux-gnu/libXxf86vm.so.1 (0xf7594000)
	libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf74a2000)
	libm.so.6 => /lib/i386-linux-gnu/i686/cmov/libm.so.6 (0xf745b000)
	libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf743e000)
	libc.so.6 => /lib/i386-linux-gnu/i686/cmov/libc.so.6 (0xf7291000)
	/lib/ld-linux.so.2 (0xf774d000)
	libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xf726b000)
	libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0xf7267000)
	libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0xf7260000)

But it makes sense that I would need to install them. After doing so, I still get the same exact error message:

----- R_InitOpenGL -----
Setup X display connection
dlopen(libGL.so.1)
dlopen(libGL.so.1)
idRenderSystem::Shutdown()
signal caught: Segmentation fault
si_code 1
Was in fatal error shutdown: Unable to initialize OpenGL
Trying to exit gracefully..
About to exit with code 0

Share this post


Link to post
Share on other sites
If you want to have some desktop shortcuts for the tdm-executable and the tdm-updater,

create them and use the following settings:

settings for updater-shortcut

Path=/usr/share/games/darkmod/
Exec=sh -c /usr/share/games/darkmod/tdm_update.linux;$SHELL
Categories=Game;ArcadeGame;
Type=Application
settings for the gameexecutable-shortcut

 
Path=/usr/share/games/darkmod/
Exec=sh -c /usr/share/games/darkmod/thedarkmod.x86;$SHELL
Type=Application
Terminal=false
Note:

The following things are done automatically using my rpm and deb packages

This will also create shortcuts and installs other things.

===

 

 

Hi! I am currently installing TDM on my new computer (Ubuntu 18.04), but whenever I try to create shortcuts I get this error message (command not found).

boris@boris-VM40B:~$ Path=/usr/share/games/darkmod/
boris@boris-VM40B:~$ Exec=sh -c /usr/share/games/darkmod/tdm_update.linux;$SHELL-c: Befehl nicht gefunden.
boris@boris-VM40B:~$ Categories=Game;ArcadeGame;
ArcadeGame: Befehl nicht gefunden.
boris@boris-VM40B:~$ Type=Application

I tried several other tutorials to create a shortcut, but I am stuck...

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...