Jump to content


Photo

TDM doesnt start on Ubuntu 16.04

ubuntu

  • Please log in to reply
35 replies to this topic

#1 omginput

omginput

    Newbie

  • Member
  • Pip
  • 8 posts

Posted 20 October 2016 - 10:55 AM

Hi,

 

 

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

Also I enabled the use of 32bit: http://askubuntu.com...t/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? :(


#2 nbohr1more

nbohr1more

    Darkmod PR, Wordsmith

  • Development Role
  • PipPipPipPipPip
  • 9501 posts

Posted 20 October 2016 - 11:02 AM

Looks like you don't have proper OpenGL driver support?

 

What GPU?


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

http://www.indiedb.c...ds/the-dark-mod

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

#3 omginput

omginput

    Newbie

  • Member
  • Pip
  • 8 posts

Posted 20 October 2016 - 11:12 AM

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.



#4 nbohr1more

nbohr1more

    Darkmod PR, Wordsmith

  • Development Role
  • PipPipPipPipPip
  • 9501 posts

Posted 20 October 2016 - 11:19 AM

Post the results for:

 

sudo ldconfig -v | grep libGL


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

http://www.indiedb.c...ds/the-dark-mod

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

#5 omginput

omginput

    Newbie

  • Member
  • Pip
  • 8 posts

Posted 20 October 2016 - 11:35 AM

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


#6 nbohr1more

nbohr1more

    Darkmod PR, Wordsmith

  • Development Role
  • PipPipPipPipPip
  • 9501 posts

Posted 20 October 2016 - 11:39 AM

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.c...ds/the-dark-mod

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

#7 omginput

omginput

    Newbie

  • Member
  • Pip
  • 8 posts

Posted 20 October 2016 - 12:08 PM

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

#8 nbohr1more

nbohr1more

    Darkmod PR, Wordsmith

  • Development Role
  • PipPipPipPipPip
  • 9501 posts

Posted 20 October 2016 - 12:15 PM

Do any other 3D accelerated Applications work?

 

glgears ?

 

xonotic ?


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

http://www.indiedb.c...ds/the-dark-mod

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

#9 New Horizon

New Horizon

    Mod hero

  • Active Developer
  • PipPipPipPipPip
  • 13902 posts

Posted 20 October 2016 - 12:16 PM

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.



#10 omginput

omginput

    Newbie

  • Member
  • Pip
  • 8 posts

Posted 22 October 2016 - 03:41 AM

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.



#11 freyk

freyk

    Advanced Member

  • Member
  • PipPipPip
  • 780 posts

Posted 22 October 2016 - 07:12 AM

 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, 22 October 2016 - 07:20 AM.


#12 omginput

omginput

    Newbie

  • Member
  • Pip
  • 8 posts

Posted 22 October 2016 - 07:41 AM

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.

#13 freyk

freyk

    Advanced Member

  • Member
  • PipPipPip
  • 780 posts

Posted 23 October 2016 - 01:34 PM

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?



#14 omginput

omginput

    Newbie

  • Member
  • Pip
  • 8 posts

Posted 24 October 2016 - 02:54 PM

Yep, those are needed but they come with POL even in 32 bit.



#15 freyk

freyk

    Advanced Member

  • Member
  • PipPipPip
  • 780 posts

Posted 27 October 2016 - 03:48 PM

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, 10 February 2017 - 03:34 AM.


#16 freyk

freyk

    Advanced Member

  • Member
  • PipPipPip
  • 780 posts

Posted 09 November 2016 - 10:09 AM

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, 09 November 2016 - 02:58 PM.


#17 freyk

freyk

    Advanced Member

  • Member
  • PipPipPip
  • 780 posts

Posted 11 November 2016 - 03:02 AM

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, 14 November 2016 - 04:26 AM.


#18 element79

element79

    Newbie

  • Member
  • Pip
  • 7 posts

Posted 26 November 2016 - 01:02 AM

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



#19 element79

element79

    Newbie

  • Member
  • Pip
  • 7 posts

Posted 30 November 2016 - 01:53 AM

Also needed libgl1-nvidia-glx:i386

Works after installing that.



#20 freyk

freyk

    Advanced Member

  • Member
  • PipPipPip
  • 780 posts

Posted 30 November 2016 - 01:24 PM

Nice to know. But that is videocard-specific.

#21 element79

element79

    Newbie

  • Member
  • Pip
  • 7 posts

Posted 01 December 2016 - 03:52 AM

Yes, it is specific to Nvidia.  So?



#22 freyk

freyk

    Advanced Member

  • Member
  • PipPipPip
  • 780 posts

Posted 01 December 2016 - 04:17 AM

I will put that in a seperate chapter in the installation manual.

And because its system-specific, its not advisable to put that in the installation packages (rpm & deb).


Edited by freyk, 01 December 2016 - 04:17 AM.


#23 fraten

fraten

    Member

  • Member
  • PipPip
  • 79 posts

Posted 04 February 2019 - 10:36 AM


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... 



#24 OrbWeaver

OrbWeaver

    Mod hero

  • Active Developer
  • PipPipPipPipPip
  • 7641 posts

Posted 08 February 2019 - 07:41 AM

Those lines need to go in a text file ending in .desktop and placed somewhere like $HOME/Desktop or $HOME/.local/share/applications — it looks like you are trying to run them as terminal commands, which won't work.



#25 freyk

freyk

    Advanced Member

  • Member
  • PipPipPip
  • 780 posts

Posted 08 February 2019 - 07:52 AM

And follow the instruction manual on the TDM wiki and read the notes on it.
(if they uploaded the 64 bit version of the TDM updater, you dont have to install the 32 bit libraries)

Edited by freyk, 08 February 2019 - 09:20 AM.






Also tagged with one or more of these keywords: ubuntu

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users