Jump to content
The Dark Mod Forums

tdm doesnt launch


hammadnadeemx

Recommended Posts

double clicking on the darkmod.x86 dosent do anything . opening it in a terminal however brings this up :

hammad@AMDBOX:~/darkmod$ ./thedarkmod.x86
TDM 2.03 #6455 linux-x86 Feb 8 2015 10:21:09
found interface lo - loopback
found interface eth0 - 192.168.1.2/255.255.255.0
Found AMD CPU, features: MMX SSE SSE2 SSE3 3DNow! CMOV
tdm using generic code for SIMD processing.
------ Initializing File System ------
Current search path:
/home/hammad/darkmod/fms/training_mission
/home/hammad/darkmod/fms/training_mission/training_mission.pk4 (97 files)
/home/hammad/darkmod/
/home/hammad/darkmod/tdm_textures_wood01.pk4 (317 files)
/home/hammad/darkmod/tdm_textures_window01.pk4 (345 files)
/home/hammad/darkmod/tdm_textures_stone_sculpted01.pk4 (424 files)
/home/hammad/darkmod/tdm_textures_stone_natural01.pk4 (123 files)
/home/hammad/darkmod/tdm_textures_stone_flat01.pk4 (281 files)
/home/hammad/darkmod/tdm_textures_stone_cobblestones01.pk4 (214 files)
/home/hammad/darkmod/tdm_textures_stone_brick01.pk4 (440 files)
/home/hammad/darkmod/tdm_textures_sfx01.pk4 (64 files)
/home/hammad/darkmod/tdm_textures_roof01.pk4 (65 files)
/home/hammad/darkmod/tdm_textures_plaster01.pk4 (140 files)
/home/hammad/darkmod/tdm_textures_paint_paper01.pk4 (42 files)
/home/hammad/darkmod/tdm_textures_other01.pk4 (51 files)
/home/hammad/darkmod/tdm_textures_nature01.pk4 (256 files)
/home/hammad/darkmod/tdm_textures_metal01.pk4 (465 files)
/home/hammad/darkmod/tdm_textures_glass01.pk4 (46 files)
/home/hammad/darkmod/tdm_textures_fabric01.pk4 (41 files)
/home/hammad/darkmod/tdm_textures_door01.pk4 (171 files)
/home/hammad/darkmod/tdm_textures_decals01.pk4 (367 files)
/home/hammad/darkmod/tdm_textures_carpet01.pk4 (92 files)
/home/hammad/darkmod/tdm_textures_base01.pk4 (375 files)
/home/hammad/darkmod/tdm_standalone.pk4 (4 files)
/home/hammad/darkmod/tdm_sound_vocals_decls01.pk4 (27 files)
/home/hammad/darkmod/tdm_sound_vocals07.pk4 (1111 files)
/home/hammad/darkmod/tdm_sound_vocals06.pk4 (688 files)
/home/hammad/darkmod/tdm_sound_vocals05.pk4 (128 files)
/home/hammad/darkmod/tdm_sound_vocals04.pk4 (2854 files)
/home/hammad/darkmod/tdm_sound_vocals03.pk4 (743 files)
/home/hammad/darkmod/tdm_sound_vocals02.pk4 (1300 files)
/home/hammad/darkmod/tdm_sound_vocals01.pk4 (82 files)
/home/hammad/darkmod/tdm_sound_sfx02.pk4 (596 files)
/home/hammad/darkmod/tdm_sound_sfx01.pk4 (924 files)
/home/hammad/darkmod/tdm_sound_ambient_decls01.pk4 (8 files)
/home/hammad/darkmod/tdm_sound_ambient03.pk4 (24 files)
/home/hammad/darkmod/tdm_sound_ambient02.pk4 (156 files)
/home/hammad/darkmod/tdm_sound_ambient01.pk4 (209 files)
/home/hammad/darkmod/tdm_prefabs01.pk4 (556 files)
/home/hammad/darkmod/tdm_player01.pk4 (125 files)
/home/hammad/darkmod/tdm_models_decls01.pk4 (93 files)
/home/hammad/darkmod/tdm_models02.pk4 (1836 files)
/home/hammad/darkmod/tdm_models01.pk4 (1915 files)
/home/hammad/darkmod/tdm_gui_credits01.pk4 (49 files)
/home/hammad/darkmod/tdm_gui01.pk4 (673 files)
/home/hammad/darkmod/tdm_game02.pk4 (2 files)
/home/hammad/darkmod/tdm_game01.pk4 (2 files)
/home/hammad/darkmod/tdm_fonts01.pk4 (696 files)
/home/hammad/darkmod/tdm_env01.pk4 (98 files)
/home/hammad/darkmod/tdm_defs01.pk4 (166 files)
/home/hammad/darkmod/tdm_base01.pk4 (155 files)
/home/hammad/darkmod/tdm_ai_steambots01.pk4 (24 files)
/home/hammad/darkmod/tdm_ai_monsters_spiders01.pk4 (82 files)
/home/hammad/darkmod/tdm_ai_humanoid_undead01.pk4 (50 files)
/home/hammad/darkmod/tdm_ai_humanoid_townsfolk01.pk4 (95 files)
/home/hammad/darkmod/tdm_ai_humanoid_pagans01.pk4 (10 files)
/home/hammad/darkmod/tdm_ai_humanoid_nobles01.pk4 (48 files)
/home/hammad/darkmod/tdm_ai_humanoid_mages01.pk4 (8 files)
/home/hammad/darkmod/tdm_ai_humanoid_heads01.pk4 (96 files)
/home/hammad/darkmod/tdm_ai_humanoid_guards01.pk4 (373 files)
/home/hammad/darkmod/tdm_ai_humanoid_females01.pk4 (169 files)
/home/hammad/darkmod/tdm_ai_humanoid_builders01.pk4 (91 files)
/home/hammad/darkmod/tdm_ai_base01.pk4 (8 files)
/home/hammad/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: 145 strings read from strings/fm/english.lang
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'
execing Darkmod.cfg
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: 145 strings read from strings/fm/english.lang
----- Initializing Sound System ------
sound system initialized.
--------------------------------------
----- R_InitOpenGL -----
Setup X display connection
dlopen(libGL.so.1)
Initializing OpenGL display
Using XFree86-VidModeExtension Version 2.2
Free86-VidModeExtension Activated at 1366x768
signal caught: Segmentation fault
si_code 1
Trying to exit gracefully..
idRenderSystem::Shutdown()
double fault Segmentation fault, bailing out
About to exit with code 11
Segmentation fault (core dumped)
hammad@AMDBOX:~/darkmod$

 

i have ubuntu 14.04.2 lts with hardware enablement stacks installed and the latest catalyst 15.7 driver . all os updates are applied .

looks like amd has completely given up in opengl. Can any one help fix this ? the card is a 7870

Link to comment
Share on other sites

how do i install these libraries ? can you tell me terminal commands ?

never mind i already have them

 

hammad@AMDBOX:~$ sudo apt-get install libtxc-dxtn-s2tc0:i386
[sudo] password for hammad:
Reading package lists... Done
Building dependency tree
Reading state information... Done
libtxc-dxtn-s2tc0:i386 is already the newest version.
libtxc-dxtn-s2tc0:i386 set to manually installed.
The following packages were automatically installed and are no longer required:
linux-headers-3.16.0-30 linux-headers-3.16.0-30-generic
linux-headers-3.16.0-33 linux-headers-3.16.0-33-generic
linux-image-3.16.0-30-generic linux-image-3.16.0-33-generic
linux-image-extra-3.16.0-30-generic linux-image-extra-3.16.0-33-generic
linux-signed-image-3.16.0-30-generic linux-signed-image-3.16.0-33-generic
vlc-plugin-pulse
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 26 not upgraded.
hammad@AMDBOX:~$

Edited by hammadnadeemx
Link to comment
Share on other sites

  • 1 month later...
  • 3 weeks later...

Hey,

 

I too have this problem, libtxc-dxtn-s2tc0:i386 already installed - no change. This used to work before very well then I either updated the tdm binary or anything in system and game started segfaulting at start. I can provide core dump or whatever needed to debug it. Anyone?

 

(Ubuntu 14.04.3 LTS 64-bit, AMD Radeon HD 7950 using proprietary driver fglrx-updates)

Edited by otto
Link to comment
Share on other sites

I ran it as regular user, this is log, gdb says following:

 

GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
Copyright © 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./thedarkmod.x86...(no debugging symbols found)...done.
(gdb) run
Starting program: /home/otto/darkmod/thedarkmod.x86
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
TDM 2.03 #6455 linux-x86 Feb 8 2015 10:21:09
found interface lo - loopback
found interface eth0 - 192.168.1.54/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/otto/darkmod/fms/crystalgrave2_1
/home/otto/darkmod/fms/crystalgrave2_1/crystalgrave2_1_l10n.pk4 (3 files)
/home/otto/darkmod/fms/crystalgrave2_1/crystalgrave2_1.pk4 (65 files)
/home/otto/darkmod/
/home/otto/darkmod/tdm_textures_wood01.pk4 (317 files)
/home/otto/darkmod/tdm_textures_window01.pk4 (345 files)
/home/otto/darkmod/tdm_textures_stone_sculpted01.pk4 (424 files)
/home/otto/darkmod/tdm_textures_stone_natural01.pk4 (123 files)
/home/otto/darkmod/tdm_textures_stone_flat01.pk4 (281 files)
/home/otto/darkmod/tdm_textures_stone_cobblestones01.pk4 (214 files)
/home/otto/darkmod/tdm_textures_stone_brick01.pk4 (440 files)
/home/otto/darkmod/tdm_textures_sfx01.pk4 (64 files)
/home/otto/darkmod/tdm_textures_roof01.pk4 (65 files)
/home/otto/darkmod/tdm_textures_plaster01.pk4 (140 files)
/home/otto/darkmod/tdm_textures_paint_paper01.pk4 (42 files)
/home/otto/darkmod/tdm_textures_other01.pk4 (51 files)
/home/otto/darkmod/tdm_textures_nature01.pk4 (256 files)
/home/otto/darkmod/tdm_textures_metal01.pk4 (465 files)
/home/otto/darkmod/tdm_textures_glass01.pk4 (46 files)
/home/otto/darkmod/tdm_textures_fabric01.pk4 (41 files)
/home/otto/darkmod/tdm_textures_door01.pk4 (171 files)
/home/otto/darkmod/tdm_textures_decals01.pk4 (367 files)
/home/otto/darkmod/tdm_textures_carpet01.pk4 (92 files)
/home/otto/darkmod/tdm_textures_base01.pk4 (375 files)
/home/otto/darkmod/tdm_standalone.pk4 (4 files)
/home/otto/darkmod/tdm_sound_vocals_decls01.pk4 (27 files)
/home/otto/darkmod/tdm_sound_vocals07.pk4 (1111 files)
/home/otto/darkmod/tdm_sound_vocals06.pk4 (688 files)
/home/otto/darkmod/tdm_sound_vocals05.pk4 (128 files)
/home/otto/darkmod/tdm_sound_vocals04.pk4 (2854 files)
/home/otto/darkmod/tdm_sound_vocals03.pk4 (743 files)
/home/otto/darkmod/tdm_sound_vocals02.pk4 (1300 files)
/home/otto/darkmod/tdm_sound_vocals01.pk4 (82 files)
/home/otto/darkmod/tdm_sound_sfx02.pk4 (596 files)
/home/otto/darkmod/tdm_sound_sfx01.pk4 (924 files)
/home/otto/darkmod/tdm_sound_ambient_decls01.pk4 (8 files)
/home/otto/darkmod/tdm_sound_ambient03.pk4 (24 files)
/home/otto/darkmod/tdm_sound_ambient02.pk4 (156 files)
/home/otto/darkmod/tdm_sound_ambient01.pk4 (209 files)
/home/otto/darkmod/tdm_prefabs01.pk4 (556 files)
/home/otto/darkmod/tdm_player01.pk4 (125 files)
/home/otto/darkmod/tdm_models_decls01.pk4 (93 files)
/home/otto/darkmod/tdm_models02.pk4 (1836 files)
/home/otto/darkmod/tdm_models01.pk4 (1915 files)
/home/otto/darkmod/tdm_gui_credits01.pk4 (49 files)
/home/otto/darkmod/tdm_gui01.pk4 (673 files)
/home/otto/darkmod/tdm_game02.pk4 (2 files)
/home/otto/darkmod/tdm_game01.pk4 (2 files)
/home/otto/darkmod/tdm_fonts01.pk4 (696 files)
/home/otto/darkmod/tdm_env01.pk4 (98 files)
/home/otto/darkmod/tdm_defs01.pk4 (166 files)
/home/otto/darkmod/tdm_base01.pk4 (155 files)
/home/otto/darkmod/tdm_ai_steambots01.pk4 (24 files)
/home/otto/darkmod/tdm_ai_monsters_spiders01.pk4 (82 files)
/home/otto/darkmod/tdm_ai_humanoid_undead01.pk4 (50 files)
/home/otto/darkmod/tdm_ai_humanoid_townsfolk01.pk4 (95 files)
/home/otto/darkmod/tdm_ai_humanoid_pagans01.pk4 (10 files)
/home/otto/darkmod/tdm_ai_humanoid_nobles01.pk4 (48 files)
/home/otto/darkmod/tdm_ai_humanoid_mages01.pk4 (8 files)
/home/otto/darkmod/tdm_ai_humanoid_heads01.pk4 (96 files)
/home/otto/darkmod/tdm_ai_humanoid_guards01.pk4 (373 files)
/home/otto/darkmod/tdm_ai_humanoid_females01.pk4 (169 files)
/home/otto/darkmod/tdm_ai_humanoid_builders01.pk4 (91 files)
/home/otto/darkmod/tdm_ai_base01.pk4 (8 files)
/home/otto/darkmod/tdm_ai_animals01.pk4 (80 files)
File System Initialized.
--------------------------------------
[New Thread 0xf78eab40 (LWP 10839)]
----- 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: 38 strings read from strings/fm/english.lang
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'
execing Darkmod.cfg
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: 38 strings read from strings/fm/english.lang
----- Initializing Sound System ------
sound system initialized.
--------------------------------------
----- R_InitOpenGL -----
Setup X display connection
dlopen(libGL.so.1)
Initializing OpenGL display
Using XFree86-VidModeExtension Version 2.2
Free86-VidModeExtension Activated at 4480x1440

Program received signal SIGSEGV, Segmentation fault.
0xf7e64fdc in _XSend () from /usr/lib/i386-linux-gnu/libX11.so.6
(gdb) backtrace
#0 0xf7e64fdc in _XSend () from /usr/lib/i386-linux-gnu/libX11.so.6
#1 0xf7e5afc6 in XQueryExtension () from /usr/lib/i386-linux-gnu/libX11.so.6
#2 0xf7e4f22e in XInitExtension () from /usr/lib/i386-linux-gnu/libX11.so.6
#3 0xf7e285fe in XextAddDisplay () from /usr/lib/i386-linux-gnu/libXext.so.6
#4 0xf636d555 in ?? () from /usr/lib32/fglrx/libGL.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)


Looks like driver issue, but what should I do?

Link to comment
Share on other sites

OK I switched to open source driver, but this is not the way for me. Firstly I could not make my second monitor work but most importantly game started and was worse than useless - just moving mouse to find "Quit Game" and confirm with "Yes" took me several minutes. RadeonHD 7950 is even today considered decent card by most and it indeed performed well while I suffered windows on my disk. So obviously either binary blob or opensource amd drivers for linux are ...what they are. And what I really dont get is that while opensource software completely and irreversibly pwned proprietary software in server computing, embeded, mobile, etc. in gaming world even with major players like Valve we dont see real progress in GPU drivers.

 

But lets leave my whining now. Do you have any more ideas? I am thinking about getting my linux on btrfs and brute-forcing (snapshot+try+restore_snapshot+try_next) into version of catalyst which works...

Edited by otto
Link to comment
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.

  • Recent Status Updates

    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
    • The Black Arrow

      I wanna play Doom 3, but fhDoom has much better features than dhewm3, yet fhDoom is old, outdated and probably not supported. Damn!
      Makes me think that TDM engine for Doom 3 itself would actually be perfect.
      · 6 replies
    • Petike the Taffer

      Maybe a bit of advice ? In the FM series I'm preparing, the two main characters have the given names Toby and Agnes (it's the protagonist and deuteragonist, respectively), I've been toying with the idea of giving them family names as well, since many of the FM series have named protagonists who have surnames. Toby's from a family who were usually farriers, though he eventually wound up working as a cobbler (this serves as a daylight "front" for his night time thieving). Would it make sense if the man's popularly accepted family name was Farrier ? It's an existing, though less common English surname, and it directly refers to the profession practiced by his relatives. Your suggestions ?
      · 9 replies
    • nbohr1more

      Looks like the "Reverse April Fools" releases were too well hidden. Darkfate still hasn't acknowledge all the new releases. Did you play any of the new April Fools missions?
      · 5 replies
    • The Black Arrow

      Hope everyone has the blessing of undying motivation for "The Dark Mod 15th Anniversary Contest". Can't wait to see the many magnificent missions you all may have planned. Good luck, with an Ace!
      · 0 replies
×
×
  • Create New...