Jump to content
The Dark Mod Forums

tdm doesnt launch


hammadnadeemx
 Share

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.

 Share

  • Recent Status Updates

    • duzenko

      Please, can we finally group the missions by year in the game menu?
      · 3 replies
    • duzenko

      I vaguely recall someone recently complained about two-sided materials (curtains?) not getting lighting from both sides
      I just found a piece of code that's supposed to do just that
      Where was that discussed? (@nbohr1more?)
      · 8 replies
    • Xolvix

      I still play classic Doom (albeit with user-made mods and maps rather than the original campaign) on a regular basis. A game from the early 90's which has still got a healthy following in 2022. Pretty amazing.
      · 3 replies
    • Nort

      I'm beginning to understand why people who aren't into social clubbing "don't last long" on this project, and why it's so full of holes. When moderators are siding with bullies, by closing down threads that they derail, then I start to wonder if I should support the platform to begin with.
      I'm sure that the core development is solid, but when you're constantly tone policed and bullied, and moderators are playing into it too, then the project will just drive away talent, and replace it with socialites instead. ...and without talent, you only end up with a small skeleton crew trying to do everything themselves.
      ...so Dragofer and Airship Ballet, and all you other socialites, you win. From now on I'll just keep to myself. You'll never be able to do my work, but at least you'll be happy together, and that's what matters to you.
       
      Update
      Actually, I have to revise my statement:
      I actually messaged greebo - the top dog, I gather - about nbohr1more's outburst of insanity below, and since I haven't even heard back from him, I just have to assume that there's not a single core programmer here, who's not backing nbohr's threats. ...and that's bad.
      ...so if you're a newbie reading this, or an honest soul like ZergRush, then just slowly back out of these forums, run, and don't look back. This is nothing more than a cult posing as a game development project, using Thief and IDTech4 to sucker hopefuls in, to do work for them, while trying to cajole them into something going on behind the scenes, which apparently - according to nbohr - is something that should be hidden from the state. These people aren't programmers - they don't even understand things like how to fix the simplest bugs. All they have, is an engine, and an IP, and some sort of fascist social cult. There was some other project I saw being made in the Unreal Engine. Try joining that project. ...or start a project of your own. Anything but this asylum.
      Hopefully that was "divisive" enough for a final post, because at this point I really want people to leave this place. This project is, on a management level, just awful garbage, run by garbage people, apparently from the top down, and I'm just glad that they have a garbage place to stay, together, and hopefully forever.
      Nort
      · 8 replies
    • The Black Arrow  »  Araneidae

      A spidey! I love spideys 🕷️
      · 0 replies
×
×
  • Create New...