omginput Posted October 20, 2016 Report Share Posted October 20, 2016 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:56found interface lo - loopbackfound interface enp9s0 - 192.168.2.104/255.255.255.0Found Intel CPU with Hyper-Threading enabled, features: MMX SSE SSE2 SSE3 CMOVtdm 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 renderSystemrenderSystem initialized.--------------------------------------I18N: SetLanguage: 'english'.I18N: Found no character remapping for english.I18N: 1228 strings read from strings/english.langI18N: 'strings/fm/english.lang' not found.WARNING:Couldn't load image: guis/assets/splash/launchCouldn't open journal filesCouldn't exec editor.cfg - file does not exist.execing default.cfgUnknown 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.langI18N: 'strings/fm/english.lang' not found.----- Initializing Sound System ------sound system initialized.------------------------------------------- R_InitOpenGL -----Setup X display connectiondlopen(libGL.so.1)dlopen(libGL.so.1)idRenderSystem::Shutdown()signal caught: Segmentation faultsi_code 1Was in fatal error shutdown: Unable to initialize OpenGLTrying to exit gracefully..About to exit with code 0 Please help me. What should I do? Quote Link to comment Share on other sites More sharing options...
nbohr1more Posted October 20, 2016 Report Share Posted October 20, 2016 Looks like you don't have proper OpenGL driver support? What GPU? Quote 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...) Link to comment Share on other sites More sharing options...
omginput Posted October 20, 2016 Author Report Share Posted October 20, 2016 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. Quote Link to comment Share on other sites More sharing options...
nbohr1more Posted October 20, 2016 Report Share Posted October 20, 2016 Post the results for: sudo ldconfig -v | grep libGL Quote 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...) Link to comment Share on other sites More sharing options...
omginput Posted October 20, 2016 Author Report Share Posted October 20, 2016 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.0libGLU.so.1 -> libGLU.so.1.3.1libGLEWmx.so.1.13 -> libGLEWmx.so.1.13.0libGL.so.1 -> libGL.so.1.2.0 //**** is translation from german in english Quote Link to comment Share on other sites More sharing options...
nbohr1more Posted October 20, 2016 Report Share Posted October 20, 2016 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. Quote 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...) Link to comment Share on other sites More sharing options...
omginput Posted October 20, 2016 Author Report Share Posted October 20, 2016 The Ubuntu Installation is brand new. So I don't think that this is definitely the point... Quote Link to comment Share on other sites More sharing options...
nbohr1more Posted October 20, 2016 Report Share Posted October 20, 2016 Do any other 3D accelerated Applications work? glgears ? xonotic ? Quote 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...) Link to comment Share on other sites More sharing options...
New Horizon Posted October 20, 2016 Report Share Posted October 20, 2016 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. Quote Link to comment Share on other sites More sharing options...
omginput Posted October 22, 2016 Author Report Share Posted October 22, 2016 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. Quote Link to comment Share on other sites More sharing options...
freyk Posted October 22, 2016 Report Share Posted October 22, 2016 (edited) Then install PlayOnLinux (it includes the packages to make OpenGL in 32bit possible):sudo apt-get install playonlinuxBut 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 October 22, 2016 by freyk Quote Info: My portfolio and darkmod graphical installer Amnesty for Bikerdude! Link to comment Share on other sites More sharing options...
omginput Posted October 22, 2016 Author Report Share Posted October 22, 2016 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. Quote Link to comment Share on other sites More sharing options...
freyk Posted October 23, 2016 Report Share Posted October 23, 2016 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? Quote Info: My portfolio and darkmod graphical installer Amnesty for Bikerdude! Link to comment Share on other sites More sharing options...
omginput Posted October 24, 2016 Author Report Share Posted October 24, 2016 Yep, those are needed but they come with POL even in 32 bit. Quote Link to comment Share on other sites More sharing options...
freyk Posted October 27, 2016 Report Share Posted October 27, 2016 (edited) 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-shortcutPath=/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 packagesThis will also create shortcuts and installs other things.=== Edited February 10, 2017 by freyk Quote Info: My portfolio and darkmod graphical installer Amnesty for Bikerdude! Link to comment Share on other sites More sharing options...
freyk Posted November 9, 2016 Report Share Posted November 9, 2016 (edited) 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 November 9, 2016 by freyk Quote Info: My portfolio and darkmod graphical installer Amnesty for Bikerdude! Link to comment Share on other sites More sharing options...
freyk Posted November 11, 2016 Report Share Posted November 11, 2016 (edited) 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 November 14, 2016 by freyk Quote Info: My portfolio and darkmod graphical installer Amnesty for Bikerdude! Link to comment Share on other sites More sharing options...
element79 Posted November 26, 2016 Report Share Posted November 26, 2016 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 Quote Link to comment Share on other sites More sharing options...
element79 Posted November 30, 2016 Report Share Posted November 30, 2016 Also needed libgl1-nvidia-glx:i386Works after installing that. Quote Link to comment Share on other sites More sharing options...
freyk Posted November 30, 2016 Report Share Posted November 30, 2016 Nice to know. But that is videocard-specific. Quote Info: My portfolio and darkmod graphical installer Amnesty for Bikerdude! Link to comment Share on other sites More sharing options...
element79 Posted December 1, 2016 Report Share Posted December 1, 2016 Yes, it is specific to Nvidia. So? Quote Link to comment Share on other sites More sharing options...
freyk Posted December 1, 2016 Report Share Posted December 1, 2016 (edited) 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 December 1, 2016 by freyk Quote Info: My portfolio and darkmod graphical installer Amnesty for Bikerdude! Link to comment Share on other sites More sharing options...
fraten Posted February 4, 2019 Report Share Posted February 4, 2019 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 packagesThis 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... Quote Link to comment Share on other sites More sharing options...
OrbWeaver Posted February 8, 2019 Report Share Posted February 8, 2019 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. Quote DarkRadiant homepage ⋄ DarkRadiant user guide ⋄ OrbWeaver's Dark Ambients ⋄ Blender export scripts Link to comment Share on other sites More sharing options...
freyk Posted February 8, 2019 Report Share Posted February 8, 2019 (edited) 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 February 8, 2019 by freyk Quote Info: My portfolio and darkmod graphical installer Amnesty for Bikerdude! Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.