Jump to content
The Dark Mod Forums
Sourav

/proc/cpuinfo CPU frequency: 2000.07 MHz signal caught: Segmentation fault si_code 1

Recommended Posts

This is tdm_base01.pk4 --- the image which crashes TDM is in different file tdm_textures_base01.pk4

 

Share this post


Link to post
Share on other sites

Actually I have got it many times from the tdm-updater. Everytime I have the same problem. In fact I also have an old file that was playable some months ago, but I don't know suddenly neither the old file is playable, nor the vanilla download can be played...

Edited by Sourav

Share this post


Link to post
Share on other sites

Well, timestamps in pk4 files differ between installations. And compression might differ also. Unfortunately, the date and time in the posted pk4 is exactly the same as I have. Moreover, I can normally start TDM 2.07 x64 (with hotfix) with this pk4, without any crash.

I guess I have to do more code digging, probably look more closely at the dump.

Share this post


Link to post
Share on other sites

Just to be sure: did you try to delete darkmod.cfg file? In case you have it left from the old version...

Share this post


Link to post
Share on other sites

I haven't done that... I have doen that now... But it's doing the same thing...

I most likely am wrong, but I suspect the system upgrades that I did in the past few months responsible for crashing TDM?

Edited by Sourav

Share this post


Link to post
Share on other sites

Yes, it can be.

Please do the following:

  1. Run gdb thedarkmod.x64.
  2. Enter command: break *(&R_LoadImage+0x856)     (it should print something like "Breakpoint 1 at 0x5e5796")
  3. Then enter command: run

When it stops, see the last messages in console. Also enter command backtrace and copy stacktrace here. Lastly, execute p *pic and p *timestamp and report results.

 

The reason: I'm trying to understand where it fails to load the image. The cryptic command sets a breakpoint in R_LoadImage at the case when TGA load is considered to have failed. If it triggers, then we would get somewhat closer to the reason.

Share this post


Link to post
Share on other sites

Another attempt.

Copy this text into file mktime.cpp. Then compile it like: g++ mktime.cpp, and run ./a.out or whatever it builds.

EDIT: I suspect the problem comes from mktime library function. Perhaps it depends on locale settings (time zone, daylight saving time, etc).

Share this post


Link to post
Share on other sites

Perhaps related: https://bugzilla.redhat.com/show_bug.cgi?id=1653340

Which version of glibc you have? I guess trying to downgrade it is a bad idea...

Meanwhile, you can also try to set OS timezone to something which has DST. For instance, Asia/Tehran or USA/New York. Maybe it would help.

Share this post


Link to post
Share on other sites

I'm leaving for vacation in a few hours. I won't have Linux VM and fresh 2.07 version with me, so I won't be able to build Linux executable or analyze core dumps. Also, I will have no internet connection for the first two days.

Share this post


Link to post
Share on other sites

FWIW running TDM from under WSL/Kali did not show this problem for me

It fails much later when X display fails to init

That completely exhausts my Linux mana. OTOH the fact that it fails inside the makeIntensity call makes me want to help somehow as it was something I added in 2.07(?), possibly leaving a smoking pile somewhere.

Sorry, late night posting. Confused it with makeIrradiance.

Share this post


Link to post
Share on other sites

Hi @duzenko, I don't know, but Kali Linux keeps a decade old package to their repository... I highly suspected if Ubuntu will have the error, but it's confirmed after someone said to face the same problem.

Edited by Sourav

Share this post


Link to post
Share on other sites

Hi @stgatilov, here are the outputs:

(gdb) break *(&R_LoadImage+0x856) 
Breakpoint 1 at 0x5e5796: file renderer/Image_files.cpp, line 1126.
(gdb) run
Starting program: /home/sourav/darkmod/thedarkmod.x64 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
TDM 2.07/64 #8079 (8079) linux-x86_64 Apr 12 2019 18:24:35
found interface lo - loopback
found interface wlp1s0 - 192.168.2.8/255.255.255.0
Found Generic CPU, features: MMX SSE SSE2 SSE3
tdm using MMX & SSE & SSE2 & SSE3 for SIMD processing.
------ Initializing File System ------
Current search path:
  /home/sourav/darkmod/
  /home/sourav/darkmod/tdm_textures_wood01.pk4 (376 files)
  /home/sourav/darkmod/tdm_textures_window01.pk4 (389 files)
  /home/sourav/darkmod/tdm_textures_stone_sculpted01.pk4 (463 files)
  /home/sourav/darkmod/tdm_textures_stone_natural01.pk4 (130 files)
  /home/sourav/darkmod/tdm_textures_stone_flat01.pk4 (295 files)
  /home/sourav/darkmod/tdm_textures_stone_cobblestones01.pk4 (224 files)
  /home/sourav/darkmod/tdm_textures_stone_brick01.pk4 (520 files)
  /home/sourav/darkmod/tdm_textures_sfx01.pk4 (69 files)
  /home/sourav/darkmod/tdm_textures_roof01.pk4 (72 files)
  /home/sourav/darkmod/tdm_textures_plaster01.pk4 (142 files)
  /home/sourav/darkmod/tdm_textures_paint_paper01.pk4 (63 files)
  /home/sourav/darkmod/tdm_textures_other01.pk4 (127 files)
  /home/sourav/darkmod/tdm_textures_nature01.pk4 (281 files)
  /home/sourav/darkmod/tdm_textures_metal01.pk4 (496 files)
  /home/sourav/darkmod/tdm_textures_glass01.pk4 (51 files)
  /home/sourav/darkmod/tdm_textures_fabric01.pk4 (43 files)
  /home/sourav/darkmod/tdm_textures_door01.pk4 (177 files)
  /home/sourav/darkmod/tdm_textures_decals01.pk4 (461 files)
  /home/sourav/darkmod/tdm_textures_carpet01.pk4 (92 files)
  /home/sourav/darkmod/tdm_textures_base01.pk4 (395 files)
  /home/sourav/darkmod/tdm_standalone.pk4 (4 files)
  /home/sourav/darkmod/tdm_sound_vocals_decls01.pk4 (28 files)
  /home/sourav/darkmod/tdm_sound_vocals07.pk4 (1111 files)
  /home/sourav/darkmod/tdm_sound_vocals06.pk4 (696 files)
  /home/sourav/darkmod/tdm_sound_vocals05.pk4 (128 files)
  /home/sourav/darkmod/tdm_sound_vocals04.pk4 (2870 files)
  /home/sourav/darkmod/tdm_sound_vocals03.pk4 (743 files)
  /home/sourav/darkmod/tdm_sound_vocals02.pk4 (1299 files)
  /home/sourav/darkmod/tdm_sound_vocals01.pk4 (82 files)
  /home/sourav/darkmod/tdm_sound_sfx02.pk4 (605 files)
  /home/sourav/darkmod/tdm_sound_sfx01.pk4 (948 files)
  /home/sourav/darkmod/tdm_sound_ambient_decls01.pk4 (8 files)
  /home/sourav/darkmod/tdm_sound_ambient03.pk4 (24 files)
  /home/sourav/darkmod/tdm_sound_ambient02.pk4 (163 files)
  /home/sourav/darkmod/tdm_sound_ambient01.pk4 (220 files)
  /home/sourav/darkmod/tdm_prefabs01.pk4 (960 files)
  /home/sourav/darkmod/tdm_player01.pk4 (125 files)
  /home/sourav/darkmod/tdm_models_decls01.pk4 (103 files)
  /home/sourav/darkmod/tdm_models02.pk4 (2020 files)
  /home/sourav/darkmod/tdm_models01.pk4 (3043 files)
  /home/sourav/darkmod/tdm_gui_credits01.pk4 (49 files)
  /home/sourav/darkmod/tdm_gui01.pk4 (715 files)
  /home/sourav/darkmod/tdm_fonts01.pk4 (696 files)
  /home/sourav/darkmod/tdm_env01.pk4 (152 files)
  /home/sourav/darkmod/tdm_defs01.pk4 (179 files)
  /home/sourav/darkmod/tdm_base01.pk4 (197 files)
  /home/sourav/darkmod/tdm_ai_steambots01.pk4 (24 files)
  /home/sourav/darkmod/tdm_ai_monsters_spiders01.pk4 (82 files)
  /home/sourav/darkmod/tdm_ai_humanoid_undead01.pk4 (50 files)
  /home/sourav/darkmod/tdm_ai_humanoid_townsfolk01.pk4 (95 files)
  /home/sourav/darkmod/tdm_ai_humanoid_pagans01.pk4 (10 files)
  /home/sourav/darkmod/tdm_ai_humanoid_nobles01.pk4 (48 files)
  /home/sourav/darkmod/tdm_ai_humanoid_mages01.pk4 (8 files)
  /home/sourav/darkmod/tdm_ai_humanoid_heads01.pk4 (100 files)
  /home/sourav/darkmod/tdm_ai_humanoid_guards01.pk4 (379 files)
  /home/sourav/darkmod/tdm_ai_humanoid_females01.pk4 (172 files)
  /home/sourav/darkmod/tdm_ai_humanoid_builders01.pk4 (91 files)
  /home/sourav/darkmod/tdm_ai_base01.pk4 (8 files)
  /home/sourav/darkmod/tdm_ai_animals01.pk4 (82 files)
File System Initialized.
--------------------------------------
[New Thread 0x7ffff759b700 (LWP 19970)]
Couldn't open journal files
----- Initializing Decls -----
WARNING:file materials/tdm_epi_shader_2.mtr, line 462: material 'wizard_cloth_001' previously defined at materials/tdm_epi_shader_2.mtr:366
WARNING:file materials/tdm_water.mtr, line 1189: material 'textures/particles/ripple_1' previously defined at materials/tdm_particles_ripple.mtr:1
WARNING:file skins/tdm_epi_skins.skin, line 86: skin 'steam_engine_003_off' previously defined at skins/steam_engine_003.skin:1
WARNING:file skins/tdm_epi_skins.skin, line 97: skin 'steam_engine_003_on' previously defined at skins/steam_engine_003.skin:18
------------------------------
/proc/cpuinfo CPU frequency: 1968.24 MHz

Thread 1 "thedarkmod.x64" hit Breakpoint 1, R_LoadImage (cname=<optimized out>, 
    pic=pic@entry=0x7ffffffdff38, width=width@entry=0x7ffffffdff30, 
    height=height@entry=0x7ffffffdff34, timestamp=timestamp@entry=0x7ffffffdfc08, 
    makePowerOf2=makePowerOf2@entry=true) at renderer/Image_files.cpp:1126
1126	renderer/Image_files.cpp: No such file or directory.
(gdb) backtrace
#0  R_LoadImage (cname=<optimized out>, pic=pic@entry=0x7ffffffdff38, 
    width=width@entry=0x7ffffffdff30, height=height@entry=0x7ffffffdff34, 
    timestamp=timestamp@entry=0x7ffffffdfc08, makePowerOf2=makePowerOf2@entry=true)
    at renderer/Image_files.cpp:1126
#1  0x00000000005f8e13 in R_ParseImageProgram_r (src=..., pic=0x7ffffffdff38, 
    width=0x7ffffffdff30, height=0x7ffffffdff34, timestamps=0x5031668, depth=0x503165c)
    at renderer/Image_program.cpp:570
#2  0x00000000005f8bf8 in R_ParseImageProgram_r (src=..., pic=0x7ffffffdff38, 
    width=0x7ffffffdff30, height=0x7ffffffdff34, timestamps=0x5031668, depth=0x503165c)
    at renderer/Image_program.cpp:518
#3  0x00000000005f8faf in R_LoadImageProgram (
    name=0x4ed2110 "makeintensity( lights/squarelight1a)", pic=pic@entry=0x7ffffffdff38, 
    width=width@entry=0x7ffffffdff30, height=height@entry=0x7ffffffdff34, 
    timestamps=timestamps@entry=0x5031668, depth=depth@entry=0x503165c)
    at renderer/Image_program.cpp:601
#4  0x00000000005f3610 in idImage::ActuallyLoadImage (this=this@entry=0x5031610, 
    checkForPrecompressed=checkForPrecompressed@entry=true, 
    fromBackEnd=fromBackEnd@entry=false) at renderer/Image_load.cpp:1314
#5  0x00000000005ece08 in idImageManager::ImageFromFile (this=0x1d186a0 <imageManager>, 
    _name=0x4e4b310 "makeintensity( lights/squarelight1a.tga)", 
    filter=filter@entry=TF_DEFAULT, allowDownSize=allowDownSize@entry=false, 
    repeat=repeat@entry=TR_CLAMP, depth=depth@entry=TD_DEFAULT, cubeMap=CF_2D)
    at renderer/Image_init.cpp:1368
#6  0x0000000000606ad5 in idMaterial::ParseMaterial (this=this@entry=0x5031470, src=...)
    at renderer/Material.cpp:1981
#7  0x000000000060794c in idMaterial::Parse (this=0x5031470, text=<optimized out>, 
--Type <RET> for more, q to quit, c to continue without paging--
    textLength=266) at renderer/Material.cpp:2208
#8  0x0000000000596b37 in idDeclLocal::ParseLocal (this=this@entry=0x4a6f7b0)
    at framework/DeclManager.cpp:2173
#9  0x0000000000599078 in idDeclManagerLocal::FindType (makeDefault=<optimized out>, 
    name=<optimized out>, type=DECL_MATERIAL, this=0x1597300 <declManagerLocal>)
    at framework/DeclManager.cpp:1109
#10 idDeclManagerLocal::FindMaterial (this=0x1597300 <declManagerLocal>, 
    name=<optimized out>, makeDefault=<optimized out>) at framework/DeclManager.cpp:1507
#11 0x000000000064d218 in R_InitMaterials () at renderer/RenderSystem_init.cpp:2006
#12 0x000000000064d79f in idRenderSystemLocal::Init (this=0x1d1c220 <tr>)
    at renderer/RenderSystem_init.cpp:2184
#13 0x000000000056ffb9 in idCommonLocal::InitGame (this=0x1512040 <commonLocal>)
    at framework/Common.cpp:2934
#14 0x00000000005704ff in idCommonLocal::Init (this=0x1512040 <commonLocal>, argc=0, 
    argv=<optimized out>, cmdline=0x0) at framework/Common.cpp:2807
#15 0x00000000004399d1 in main (argc=1, argv=0x7fffffffe848) at sys/linux/main.cpp:562
(gdb) p *pic
$1 = (byte *) 0x503f620 ""
(gdb) p *timestamp
$2 = -1

 

Edited by Sourav

Share this post


Link to post
Share on other sites
On 8/12/2019 at 9:23 PM, stgatilov said:

Perhaps related: https://bugzilla.redhat.com/show_bug.cgi?id=1653340

Which version of glibc you have? I guess trying to downgrade it is a bad idea...

Meanwhile, you can also try to set OS timezone to something which has DST. For instance, Asia/Tehran or USA/New York. Maybe it would help.

The glibc Arch Linux repo has is: core/glibc 2.29-4 (base)

I don't want to downgrade the glibc yet because 176 packages depend on it...

I am on IST. Asia/Kolkata timezone and time set by NTP.

But boy! Changing my timezone to Asia/Tehran just worked!
No crashing! Umm might be that redhat bug!

How are you going to fix this? Also, I don't want my system to show me one hour less than the original time!

Edited by Sourav

Share this post


Link to post
Share on other sites

This breaks TDM

sudo ln -sf /usr/share/zoneinfo/Asia/Kolkata /etc/localtime

[Also, I can't use the Singapore, Qatar etc. zones...]

This makes TDM work again!

sudo ln -sf /usr/share/zoneinfo/Asia/Tehran /etc/localtime

So that's the reason Kali works fine, while the new Ubuntu and Arch breaks (arch broke for about 3 -  4 months+ probably)

Edited by Sourav

Share this post


Link to post
Share on other sites

WSL/Kali still works even on IST time. It will be a while before I can try another distro

I 'tried trying' Ubuntu in the first place but it blocked me with an incomprehensible user password error. Are they forcing password strength now as well?

What version of Ubuntu did you try?

Share this post


Link to post
Share on other sites

Yes, Kali is very stable. It doesn't upgrade packages very often...

You may break Ubuntu encryption easily by chrooting, not a very big deal!
I have only Arch Linux around me. I tried my laptop and desktop...

Nevertheless, I am running Asia/Tehran on my system. As I mentioned only Tehran works. I think as mentioned in the link above adressing glibc bug, TDM also works on DST enabled timezone. Tehran is +0430 rather than +0530 (ours). That's a bit problematic because you know your system time is one hour earlier...

Edited by Sourav

Share this post


Link to post
Share on other sites

Glad it helped! And thanks for going through all of this 😉

The problem happens only if all the conditions hold true:

  1. You have a very recent version of glibc (like 2.29).
  2. You have a timezone where DST (i.e. daylight saving time) is not used (and was never used).
  3. I guess it also depends on some undefined behavior (uninitialized variable).

 

I have already created issue 5042 about it.

Can't say exactly how we would fix it, but we definitely would do that for 2.08. Don't want to rush decisions right now.

Bad news is that it is highly unlikely that an official fix will come out before 2.08, given that we have already had one "hotfix" version of 2.07.

Meanwhile, setting any timezone which has DST can be used as workaround.

Share this post


Link to post
Share on other sites

Can we start with forcing the DST flag to false? This might be as simple as mixing winter time with DST.

Also, it explains why I could not repeat this on my side, ever. I don't have pk4's.

@Sourav, try looking for 'future' timed files in your pk4's?

Share this post


Link to post
Share on other sites

Speaking of workaround: I think it is possible to override timezone for one process only. Just set TZ environment variable in the shell from which you start TDM. See more details in this comment.

Duzenko, the DST flag should have been set to "uncertain" (negative value). I have started discussion in developer forums about how should we fix the problem, and I believe removing the whole piece of code is much more reliable than trying to fix it 😄

 

Share this post


Link to post
Share on other sites
10 hours ago, duzenko said:

I have tried this binary, and I am pleased to report that it works! I was able to start the game, install a mission, and start playing the mission with no trouble at all.
Here's the terminal output when I start the game and then immediately quit:

~/darkmod$ ./thedarkmod.x64 
WARNING:Cannot detect SVN version!
Make sure 'svnversion' command works in console on the build machine.

TDM 2.07/64 #0 () linux-x86_64 Aug 18 2019 19:24:18
found interface lo - loopback
found interface wlp3s0 - 192.168.86.23/255.255.255.0
Found Generic CPU, features: MMX SSE SSE2 SSE3
tdm using MMX & SSE & SSE2 & SSE3 for SIMD processing.
------ Initializing File System ------
Current search path:
  /home/tice/darkmod/fms/training_mission
  /home/tice/darkmod/fms/training_mission/training_mission.pk4 (97 files)
  /home/tice/darkmod/
  /home/tice/darkmod/tdm_textures_wood01.pk4 (376 files)
  /home/tice/darkmod/tdm_textures_window01.pk4 (389 files)
  /home/tice/darkmod/tdm_textures_stone_sculpted01.pk4 (463 files)
  /home/tice/darkmod/tdm_textures_stone_natural01.pk4 (130 files)
  /home/tice/darkmod/tdm_textures_stone_flat01.pk4 (295 files)
  /home/tice/darkmod/tdm_textures_stone_cobblestones01.pk4 (224 files)
  /home/tice/darkmod/tdm_textures_stone_brick01.pk4 (520 files)
  /home/tice/darkmod/tdm_textures_sfx01.pk4 (69 files)
  /home/tice/darkmod/tdm_textures_roof01.pk4 (72 files)
  /home/tice/darkmod/tdm_textures_plaster01.pk4 (142 files)
  /home/tice/darkmod/tdm_textures_paint_paper01.pk4 (63 files)
  /home/tice/darkmod/tdm_textures_other01.pk4 (127 files)
  /home/tice/darkmod/tdm_textures_nature01.pk4 (281 files)
  /home/tice/darkmod/tdm_textures_metal01.pk4 (496 files)
  /home/tice/darkmod/tdm_textures_glass01.pk4 (51 files)
  /home/tice/darkmod/tdm_textures_fabric01.pk4 (43 files)
  /home/tice/darkmod/tdm_textures_door01.pk4 (177 files)
  /home/tice/darkmod/tdm_textures_decals01.pk4 (461 files)
  /home/tice/darkmod/tdm_textures_carpet01.pk4 (92 files)
  /home/tice/darkmod/tdm_textures_base01.pk4 (395 files)
  /home/tice/darkmod/tdm_standalone.pk4 (4 files)
  /home/tice/darkmod/tdm_sound_vocals_decls01.pk4 (28 files)
  /home/tice/darkmod/tdm_sound_vocals07.pk4 (1111 files)
  /home/tice/darkmod/tdm_sound_vocals06.pk4 (696 files)
  /home/tice/darkmod/tdm_sound_vocals05.pk4 (128 files)
  /home/tice/darkmod/tdm_sound_vocals04.pk4 (2870 files)
  /home/tice/darkmod/tdm_sound_vocals03.pk4 (743 files)
  /home/tice/darkmod/tdm_sound_vocals02.pk4 (1299 files)
  /home/tice/darkmod/tdm_sound_vocals01.pk4 (82 files)
  /home/tice/darkmod/tdm_sound_sfx02.pk4 (605 files)
  /home/tice/darkmod/tdm_sound_sfx01.pk4 (948 files)
  /home/tice/darkmod/tdm_sound_ambient_decls01.pk4 (8 files)
  /home/tice/darkmod/tdm_sound_ambient03.pk4 (24 files)
  /home/tice/darkmod/tdm_sound_ambient02.pk4 (163 files)
  /home/tice/darkmod/tdm_sound_ambient01.pk4 (220 files)
  /home/tice/darkmod/tdm_prefabs01.pk4 (960 files)
  /home/tice/darkmod/tdm_player01.pk4 (125 files)
  /home/tice/darkmod/tdm_models_decls01.pk4 (103 files)
  /home/tice/darkmod/tdm_models02.pk4 (2020 files)
  /home/tice/darkmod/tdm_models01.pk4 (3043 files)
  /home/tice/darkmod/tdm_gui_credits01.pk4 (49 files)
  /home/tice/darkmod/tdm_gui01.pk4 (715 files)
  /home/tice/darkmod/tdm_fonts01.pk4 (696 files)
  /home/tice/darkmod/tdm_env01.pk4 (152 files)
  /home/tice/darkmod/tdm_defs01.pk4 (179 files)
  /home/tice/darkmod/tdm_base01.pk4 (197 files)
  /home/tice/darkmod/tdm_ai_steambots01.pk4 (24 files)
  /home/tice/darkmod/tdm_ai_monsters_spiders01.pk4 (82 files)
  /home/tice/darkmod/tdm_ai_humanoid_undead01.pk4 (50 files)
  /home/tice/darkmod/tdm_ai_humanoid_townsfolk01.pk4 (95 files)
  /home/tice/darkmod/tdm_ai_humanoid_pagans01.pk4 (10 files)
  /home/tice/darkmod/tdm_ai_humanoid_nobles01.pk4 (48 files)
  /home/tice/darkmod/tdm_ai_humanoid_mages01.pk4 (8 files)
  /home/tice/darkmod/tdm_ai_humanoid_heads01.pk4 (100 files)
  /home/tice/darkmod/tdm_ai_humanoid_guards01.pk4 (379 files)
  /home/tice/darkmod/tdm_ai_humanoid_females01.pk4 (172 files)
  /home/tice/darkmod/tdm_ai_humanoid_builders01.pk4 (91 files)
  /home/tice/darkmod/tdm_ai_base01.pk4 (8 files)
  /home/tice/darkmod/tdm_ai_animals01.pk4 (82 files)
File System Initialized.
--------------------------------------
Couldn't open journal files
----- Initializing Decls -----
WARNING:file materials/tdm_epi_shader_2.mtr, line 462: material 'wizard_cloth_001' previously defined at materials/tdm_epi_shader_2.mtr:366
WARNING:file materials/tdm_water.mtr, line 1189: material 'textures/particles/ripple_1' previously defined at materials/tdm_particles_ripple.mtr:1
WARNING:file skins/tdm_epi_skins.skin, line 86: skin 'steam_engine_003_off' previously defined at skins/steam_engine_003.skin:1
WARNING:file skins/tdm_epi_skins.skin, line 97: skin 'steam_engine_003_on' previously defined at skins/steam_engine_003.skin:18
------------------------------
/proc/cpuinfo CPU frequency: 2781.91 MHz
I18N: SetLanguage: 'english'.
I18N: Found no character remapping for english.
I18N: 1259 strings read from strings/english.lang
I18N: 145 strings read from strings/fm/english.lang
Couldn't exec editor.cfg - file does not exist.
execing default.cfg
execing Darkmod.cfg
Couldn't exec autoexec.cfg - file does not exist.
I18N: SetLanguage: 'english'.
I18N: Found no character remapping for english.
I18N: 1259 strings read from strings/english.lang
I18N: 145 strings read from strings/fm/english.lang
----- Initializing OpenAL -----
Setup OpenAL device and context
OpenAL: found device 'Built-in Audio Analog Stereo'
OpenAL: using 'OpenAL Soft'
OpenAL vendor: OpenAL Community
OpenAL renderer: OpenAL Soft
OpenAL version: 1.1 ALSOFT 1.19.1
OpenAL: found EFX extension
OpenAL: found 256 hardware voices
----- Initializing OpenGL -----
Setup X display connection
dlopen(libGL.so.1)
Initializing OpenGL display
Using XFree86-VidModeExtension Version 2.2
Free86-VidModeExtension Activated at 800x600
Using 8/8/8 Color bits, 8 Alpha bits, 24 depth, 8 stencil display.
GL_RENDERER: Mesa DRI Intel(R) HD Graphics 520 (Skylake GT2) 
GL_EXTENSIONS: GL_ARB_multisample GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_copy_texture GL_EXT_subtexture GL_EXT_texture_object GL_EXT_vertex_array GL_EXT_compiled_vertex_array GL_EXT_texture GL_EXT_texture3D GL_IBM_rasterpos_clip GL_ARB_point_parameters GL_EXT_draw_range_elements GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_separate_specular_color GL_EXT_texture_edge_clamp GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_ARB_framebuffer_sRGB GL_ARB_multitexture GL_EXT_framebuffer_sRGB GL_IBM_multimode_draw_arrays GL_IBM_texture_mirrored_repeat GL_3DFX_texture_compression_FXT1 GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_transpose_matrix GL_EXT_blend_func_separate GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_secondary_color GL_EXT_texture_env_add GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_INGR_blend_func_separate GL_NV_blend_square GL_NV_light_max_exponent GL_NV_texgen_reflection GL_NV_texture_env_combine4 GL_S3_s3tc GL_SUN_multi_draw_arrays GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_EXT_framebuffer_object GL_EXT_texture_compression_s3tc GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_MESA_window_pos GL_NV_packed_depth_stencil GL_NV_texture_rectangle GL_ARB_depth_texture GL_ARB_occlusion_query GL_ARB_shadow GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_window_pos GL_EXT_stencil_two_side GL_EXT_texture_cube_map GL_NV_depth_clamp GL_NV_fog_distance GL_APPLE_packed_pixels GL_ARB_draw_buffers GL_ARB_fragment_program GL_ARB_fragment_shader GL_ARB_shader_objects GL_ARB_vertex_program GL_ARB_vertex_shader GL_ATI_draw_buffers GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_MESA_pack_invert GL_NV_primitive_restart GL_ARB_depth_clamp GL_ARB_fragment_program_shadow GL_ARB_half_float_pixel GL_ARB_occlusion_query2 GL_ARB_point_sprite GL_ARB_shading_language_100 GL_ARB_sync GL_ARB_texture_non_power_of_two GL_ARB_vertex_buffer_object GL_ATI_blend_equation_separate GL_EXT_blend_equation_separate GL_OES_read_format GL_ARB_color_buffer_float GL_ARB_pixel_buffer_object GL_ARB_texture_compression_rgtc GL_ARB_texture_float GL_ARB_texture_rectangle GL_EXT_packed_float GL_EXT_pixel_buffer_object GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_rectangle GL_EXT_texture_sRGB GL_EXT_texture_shared_exponent GL_ARB_framebuffer_object GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_packed_depth_stencil GL_APPLE_object_purgeable GL_ARB_vertex_array_object GL_ATI_separate_stencil GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_gpu_program_parameters GL_EXT_texture_array GL_EXT_texture_integer GL_EXT_texture_sRGB_decode GL_EXT_timer_query GL_OES_EGL_image GL_AMD_texture_texture4 GL_ARB_copy_buffer GL_ARB_depth_buffer_float GL_ARB_draw_instanced GL_ARB_half_float_vertex GL_ARB_instanced_arrays GL_ARB_map_buffer_range GL_ARB_texture_rg GL_ARB_texture_swizzle GL_ARB_vertex_array_bgra GL_EXT_texture_swizzle GL_EXT_vertex_array_bgra GL_NV_conditional_render GL_AMD_conservative_depth GL_AMD_depth_clamp_separate GL_AMD_draw_buffers_blend GL_AMD_seamless_cubemap_per_texture GL_AMD_shader_stencil_export GL_ARB_ES2_compatibility GL_ARB_blend_func_extended GL_ARB_debug_output GL_ARB_draw_buffers_blend GL_ARB_draw_elements_base_vertex GL_ARB_explicit_attrib_location GL_ARB_fragment_coord_conventions GL_ARB_provoking_vertex GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_shader_stencil_export GL_ARB_shader_texture_lod GL_ARB_texture_cube_map_array GL_ARB_texture_gather GL_ARB_texture_multisample GL_ARB_texture_query_lod GL_ARB_texture_rgb10_a2ui GL_ARB_uniform_buffer_object GL_ARB_vertex_type_2_10_10_10_rev GL_EXT_provoking_vertex GL_EXT_texture_snorm GL_MESA_texture_signed_rgba GL_NV_texture_barrier GL_ARB_draw_indirect GL_ARB_get_program_binary GL_ARB_robustness GL_ARB_separate_shader_objects GL_ARB_shader_bit_encoding GL_ARB_shader_precision GL_ARB_texture_compression_bptc GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_AMD_multi_draw_indirect GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ARB_compressed_texture_pixel_storage GL_ARB_conservative_depth GL_ARB_internalformat_query GL_ARB_map_buffer_alignment GL_ARB_shader_atomic_counters GL_ARB_shader_image_load_store GL_ARB_shading_language_420pack GL_ARB_shading_language_packing GL_ARB_texture_storage GL_ARB_transform_feedback_instanced GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_transform_feedback GL_AMD_query_buffer_object GL_AMD_shader_trinary_minmax GL_ARB_ES3_compatibility GL_ARB_arrays_of_arrays GL_ARB_clear_buffer_object GL_ARB_compute_shader GL_ARB_copy_image GL_ARB_explicit_uniform_location GL_ARB_fragment_layer_viewport GL_ARB_framebuffer_no_attachments GL_ARB_invalidate_subdata GL_ARB_multi_draw_indirect GL_ARB_program_interface_query GL_ARB_robust_buffer_access_behavior GL_ARB_shader_image_size GL_ARB_shader_storage_buffer_object GL_ARB_stencil_texturing GL_ARB_texture_query_levels GL_ARB_texture_storage_multisample GL_ARB_texture_view GL_ARB_vertex_attrib_binding GL_KHR_debug GL_KHR_robustness GL_KHR_texture_compression_astc_ldr GL_ARB_buffer_storage GL_ARB_clear_texture GL_ARB_indirect_parameters GL_ARB_internalformat_query2 GL_ARB_multi_bind GL_ARB_query_buffer_object GL_ARB_seamless_cubemap_per_texture GL_ARB_shader_draw_parameters GL_ARB_shader_group_vote GL_ARB_texture_mirror_clamp_to_edge GL_ARB_texture_stencil8 GL_ARB_vertex_type_10f_11f_11f_rev GL_EXT_shader_framebuffer_fetch GL_EXT_shader_integer_mix GL_INTEL_performance_query GL_ARB_ES3_1_compatibility GL_ARB_clip_control GL_ARB_conditional_render_inverted GL_ARB_cull_distance GL_ARB_derivative_control GL_ARB_get_texture_sub_image GL_ARB_pipeline_statistics_query GL_ARB_shader_texture_image_samples GL_ARB_texture_barrier GL_ARB_transform_feedback_overflow_query GL_EXT_polygon_offset_clamp GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_KHR_context_flush_control GL_KHR_robust_buffer_access_behavior GL_ARB_fragment_shader_interlock GL_ARB_post_depth_coverage GL_ARB_shader_atomic_counter_ops GL_ARB_shader_ballot GL_ARB_shader_clock GL_EXT_shader_samples_identical GL_KHR_no_error GL_KHR_texture_compression_astc_sliced_3d GL_NV_fragment_shader_interlock GL_MESA_shader_integer_functions GL_ARB_polygon_offset_clamp GL_ARB_texture_filter_anisotropic GL_EXT_shader_framebuffer_fetch_non_coherent GL_INTEL_shader_atomic_float_minmax 

------- Input Initialization -------
XKB extension: compile time 0x1:0x0, runtime 0x1:0x0: OK
XKB extension present on server ( 0x1:0x0 )
------------------------------------
OpenGL vendor: Intel Open Source Technology Center
OpenGL renderer: Mesa DRI Intel(R) HD Graphics 520 (Skylake GT2) 
OpenGL version: 3.0 Mesa 19.0.8
v - using GL version 2.0 (core)
Checking portable OpenGL extensions...
Max texture coords: 8
Max texture units: 32
Max active textures: 192
v - using GL_EXT_texture_compression_s3tc (ext)
v - using GL_ARB_texture_compression_rgtc (core+ext)
v - using GL_EXT_texture_filter_anisotropic (ext)
    maxTextureAnisotropy: 16.000000
v - using GL_EXT_texture_lod_bias (ext)
v - using GL_EXT_stencil_wrap (ext)
v - using GL_ARB_map_buffer_range (core+ext)
v - using GL_ARB_vertex_program (ext)
v - using GL_ARB_fragment_program (ext)
X - GL_EXT_depth_bounds_test not found
v - using GL_ARB_framebuffer_object (core+ext)
X - GL_EXT_gpu_shader4 not found
X - GL_ARB_geometry_shader4 not found
v - using GL_ARB_pixel_buffer_object (ext)
v - using GL_ARB_timer_query (ext)
v - using GL_KHR_debug (ext)
v - using GL_ARB_sync (ext)
GL fence sync available
Max geometry output vertices: 2
Max geometry output components: 2
Max vertex attribs: 16
Max env parameters: 256
----- R_ReloadARBPrograms -----
glprogs/test.vfp 8
glprogs/test.vfp 9
glprogs/interaction.vfp 1
glprogs/interaction.vfp 2
glprogs/bumpyEnvironment.vfp 5
glprogs/bumpyEnvironment.vfp 6
glprogs/ambientLight.vfp 10
glprogs/ambientLight.vfp 11
glprogs/shadow.vp 7
glprogs/environment.vfp 3
glprogs/environment.vfp 4
glprogs/test_direct.vfp 12
glprogs/test_direct.vfp 13
glprogs/interaction_direct.vfp 14
glprogs/interaction_direct.vfp 15
glprogs/soft_particle.vfp 16
glprogs/soft_particle.vfp 17
glprogs/cubic_light_point.vfp 18
glprogs/cubic_light_point.vfp 19
glprogs/cubic_light_proj.vfp 20
glprogs/cubic_light_proj.vfp 21
glprogs/test_cubic_light_point.vfp 22
glprogs/test_cubic_light_point.vfp 23
glprogs/test_cubic_light_proj.vfp 24
glprogs/test_cubic_light_proj.vfp 25
glprogs/ambient_cubic_light.vfp 26
glprogs/ambient_cubic_light.vfp 27
glprogs/cookMath_pass1.vfp 28
glprogs/cookMath_pass1.vfp 29
glprogs/cookMath_pass2.vfp 30
glprogs/cookMath_pass2.vfp 31
glprogs/brightPass_opt.vfp 32
glprogs/brightPass_opt.vfp 33
glprogs/blurx.vfp 34
glprogs/blurx.vfp 35
glprogs/blury.vfp 36
glprogs/blury.vfp 37
glprogs/finalScenePass_opt.vfp 38
glprogs/finalScenePass_opt.vfp 39
-------------------------------
---------- R_ReloadGLSLPrograms_f -----------
interaction VF
ambientInteraction VF
stencilShadow VF
oldStage VF
depthAlpha VF
fog VF
blend VF
cubeMap VF
interactionA VF
interactionN VFWARNING:CompileShader(glprogs/interactionN.fs): FAILED
0:1(10): error: GLSL 4.00 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, 3.00 ES, 3.10 ES, and 3.20 ES



shadowMapA VGFWARNING:CompileShader(glprogs/shadowMapA.fs): FAILED
0:1(10): error: GLSL 1.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, 3.00 ES, 3.10 ES, and 3.20 ES



shadowMapN VWARNING:CompileShader(glprogs/shadowMapN.vs): FAILED
0:1(10): error: GLSL 4.00 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, 3.00 ES, 3.10 ES, and 3.20 ES


GWARNING:CompileShader(glprogs/shadowMapN.gs): FAILED


FWARNING:CompileShader(glprogs/shadowMapN.fs): FAILED
0:1(10): error: GLSL 1.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, 3.00 ES, 3.10 ES, and 3.20 ES



---------------------------------
Font fonts/english/stone in size 12 not found, using size 24 instead.
--------- Initializing Game ----------
The Dark Mod 2.07/64, linux-x86_64, code revision 0
Build date: Aug 18 2019
WARNING:file particles/tdm_cauldron_steam.prt, line 31: particle 'tdm_cauldron_steam_small' previously defined at particles/tdm_bikerdude.prt:55
WARNING:file particles/tdm_cauldron_steam.prt, line 162: particle 'tdm_cauldron_steam' previously defined at particles/tdm_bikerdude.prt:84
WARNING:file particles/tdm_ceiling_dust_falling.prt, line 50: particle 'tdm_ceiling_dust' previously defined at particles/tdm_bikerdude.prt:212
WARNING:file particles/tdm_chimney_smoke.prt, line 30: particle 'tdm_chimney_smoke' previously defined at particles/tdm_bikerdude.prt:259
WARNING:file particles/tdm_chimney_smoke.prt, line 60: particle 'tdm_chimney_smoke_medium' previously defined at particles/tdm_bikerdude.prt:286
WARNING:file particles/tdm_chimney_smoke.prt, line 90: particle 'tdm_chimney_smoke_small' previously defined at particles/tdm_bikerdude.prt:313
WARNING:file particles/tdm_chimney_smoke_medium.prt, line 30: particle 'tdm_chimney_smoke_medium' previously defined at particles/tdm_bikerdude.prt:286
WARNING:file particles/tdm_chimney_smoke_small.prt, line 30: particle 'tdm_chimney_smoke_small' previously defined at particles/tdm_bikerdude.prt:313
WARNING:file particles/tdm_cookingpot_steam.prt, line 31: particle 'tdm_cookingpot_steam' previously defined at particles/tdm_bikerdude.prt:340
WARNING:file particles/tdm_fireflames_small_nosmoke.prt, line 54: particle 'tdm_fire_flames_small_nosmoke' previously defined at particles/tdm_bikerdude.prt:368
WARNING:file particles/tdm_floating_dust.prt, line 30: particle 'tdm_floating_dust' previously defined at particles/tdm_bikerdude.prt:419
WARNING:file particles/tdm_floating_moon_dust.prt, line 31: particle 'tdm_floating_moon_dust' previously defined at particles/tdm_bikerdude.prt:444
WARNING:file particles/tdm_floating_moon_dust.prt, line 67: particle 'tdm_floating_mood_dust_small' previously defined at particles/tdm_bikerdude.prt:27
WARNING:file materials/tdm_epi_shader_2.mtr, line 462: material 'wizard_cloth_001' previously defined at materials/tdm_epi_shader_2.mtr:366
WARNING:file materials/tdm_water.mtr, line 1189: material 'textures/particles/ripple_1' previously defined at materials/tdm_particles_ripple.mtr:1
Initializing event system
...842 event definitions
Initializing class hierarchy
...171 classes, 1657056 bytes for event callbacks
Initializing scripts
Compiled 'tdm_ai_lanternbot::startAlarmWhistle': 109.7 ms
---------- Compile stats ----------

Memory usage:
     Strings: 44, 7352 bytes
  Statements: 20264, 810560 bytes
   Functions: 1267, 169756 bytes
   Variables: 91900 bytes
    Mem used: 1827840 bytes
 Static data: 4014424 bytes
   Allocated: 4862948 bytes
 Thread size: 7912 bytes

Maximum object size: 884
Largest object type name: weapon_arrow
...6 aas types
game initialized.
--------------------------------------
Parsing material files
Found 0 new mission packages.
Found 3 mods in the FM folder.
Parsed 3 mission declarations.
No 'tdm_mapsequence.txt' file found for the current mod: training_mission
-------- Initializing Session --------
Font fonts/english/mason_glow in size 12 not found, using size 48 instead.
Font fonts/english/mason_glow in size 24 not found, using size 48 instead.
Font fonts/english/mason in size 12 not found, using size 48 instead.
Font fonts/english/mason in size 24 not found, using size 48 instead.
WARNING:Couldn't load sound 'sound' using default
session initialized
--------------------------------------
--- Common Initialization Complete ---
------------- Warnings ---------------
during The Dark Mod initialization...
WARNING:Cannot detect SVN version!
WARNING:CompileShader(glprogs/interactionN.fs): FAILED
0:1(10): error: GLSL 4.00 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, 3.00 ES, 3.10 ES, and 3.20 ES


WARNING:CompileShader(glprogs/shadowMapA.fs): FAILED
0:1(10): error: GLSL 1.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, 3.00 ES, 3.10 ES, and 3.20 ES


WARNING:CompileShader(glprogs/shadowMapN.fs): FAILED
0:1(10): error: GLSL 1.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, 3.00 ES, 3.10 ES, and 3.20 ES


WARNING:CompileShader(glprogs/shadowMapN.gs): FAILED


WARNING:CompileShader(glprogs/shadowMapN.vs): FAILED
0:1(10): error: GLSL 4.00 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, 3.00 ES, 3.10 ES, and 3.20 ES


WARNING:Couldn't load sound 'sound' using default
WARNING:file materials/tdm_epi_shader_2.mtr, line 462: material 'wizard_cloth_001' previously defined at materials/tdm_epi_shader_2.mtr:366
WARNING:file materials/tdm_water.mtr, line 1189: material 'textures/particles/ripple_1' previously defined at materials/tdm_particles_ripple.mtr:1
WARNING:file particles/tdm_cauldron_steam.prt, line 162: particle 'tdm_cauldron_steam' previously defined at particles/tdm_bikerdude.prt:84
WARNING:file particles/tdm_cauldron_steam.prt, line 31: particle 'tdm_cauldron_steam_small' previously defined at particles/tdm_bikerdude.prt:55
WARNING:file particles/tdm_ceiling_dust_falling.prt, line 50: particle 'tdm_ceiling_dust' previously defined at particles/tdm_bikerdude.prt:212
WARNING:file particles/tdm_chimney_smoke.prt, line 30: particle 'tdm_chimney_smoke' previously defined at particles/tdm_bikerdude.prt:259
WARNING:file particles/tdm_chimney_smoke.prt, line 60: particle 'tdm_chimney_smoke_medium' previously defined at particles/tdm_bikerdude.prt:286
WARNING:file particles/tdm_chimney_smoke.prt, line 90: particle 'tdm_chimney_smoke_small' previously defined at particles/tdm_bikerdude.prt:313
WARNING:file particles/tdm_chimney_smoke_medium.prt, line 30: particle 'tdm_chimney_smoke_medium' previously defined at particles/tdm_bikerdude.prt:286
WARNING:file particles/tdm_chimney_smoke_small.prt, line 30: particle 'tdm_chimney_smoke_small' previously defined at particles/tdm_bikerdude.prt:313
WARNING:file particles/tdm_cookingpot_steam.prt, line 31: particle 'tdm_cookingpot_steam' previously defined at particles/tdm_bikerdude.prt:340
WARNING:file particles/tdm_fireflames_small_nosmoke.prt, line 54: particle 'tdm_fire_flames_small_nosmoke' previously defined at particles/tdm_bikerdude.prt:368
WARNING:file particles/tdm_floating_dust.prt, line 30: particle 'tdm_floating_dust' previously defined at particles/tdm_bikerdude.prt:419
WARNING:file particles/tdm_floating_moon_dust.prt, line 31: particle 'tdm_floating_moon_dust' previously defined at particles/tdm_bikerdude.prt:444
WARNING:file particles/tdm_floating_moon_dust.prt, line 67: particle 'tdm_floating_mood_dust_small' previously defined at particles/tdm_bikerdude.prt:27
WARNING:file skins/tdm_epi_skins.skin, line 86: skin 'steam_engine_003_off' previously defined at skins/steam_engine_003.skin:1
WARNING:file skins/tdm_epi_skins.skin, line 97: skin 'steam_engine_003_on' previously defined at skins/steam_engine_003.skin:18
24 warnings
WARNING: terminal type 'xterm-256color' is unknown. terminal support may not work correctly
terminal support enabled ( use +set in_tty 0 to disabled )
pid: 15193
Async thread started
Couldn't exec autocommands.cfg - file does not exist.
r_customWidth|Height = 800x600 => widescreenmode = 23, r_aspectRatio = 0
Shutting down sound hardware
idRenderSystem::Shutdown()
I18NLocal: Shutdown.
------------ Game Shutdown -----------
ModelGenerator memory: No LOD entries.
Shutdown event system
--------------------------------------
shutdown terminal support
About to exit with code 0

 

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.


×
×
  • Create New...