View Issue Details

IDProjectCategoryView StatusLast Update
0004961The Dark ModGraphicspublic12.05.2019 03:01
ReporterNightcrawler Assigned Toduzenko  
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
PlatformLinux x64OSUbuntuOS Version18.10
Product VersionTDM 2.07 
Target VersionTDM 2.07Fixed in VersionTDM 2.07 
Summary0004961: Tdm v2.07 crashes as soon as you enter the game if "Maps" was chosen as shadow implementation.
Descriptionthedarkmod.x64 v2.07 crashes on linux whenever you enter the game, if "Maps" was chosen as shadow implementation.
Steps To Reproduce1) Under settings/graphics/advanced choose the option "Maps" as shadow implementation.
2) Load a map e.g. the tutorial
3) The game will crash when the map is loaded and you press the attack key to enter the game.
Additional InformationI attached the console output I got with gdb backtrace.
TagsNo tags attached.

Relationships

related to 0004962 resolvedduzenko Lightning stops working in TDM v2.07 

Activities

Nightcrawler

Nightcrawler

16.01.2019 23:58

reporter  

tdm_v207_crash_backtrace (24,966 bytes)   
ader_stencil_export GL_AMD_shader_trinary_minmax GL_AMD_vertex_shader_layer GL_AMD_vertex_shader_viewport_index GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_APPLE_packed_pixels GL_ARB_ES2_compatibility GL_ARB_ES3_1_compatibility GL_ARB_ES3_compatibility GL_ARB_arrays_of_arrays GL_ARB_base_instance GL_ARB_bindless_texture GL_ARB_blend_func_extended GL_ARB_buffer_storage GL_ARB_clear_buffer_object GL_ARB_clear_texture GL_ARB_clip_control GL_ARB_color_buffer_float GL_ARB_compatibility GL_ARB_compressed_texture_pixel_storage GL_ARB_compute_shader GL_ARB_compute_variable_group_size GL_ARB_conditional_render_inverted GL_ARB_conservative_depth GL_ARB_copy_buffer GL_ARB_copy_image GL_ARB_cull_distance GL_ARB_debug_output GL_ARB_depth_buffer_float GL_ARB_depth_clamp GL_ARB_depth_texture GL_ARB_derivative_control GL_ARB_draw_buffers GL_ARB_draw_buffers_blend GL_ARB_draw_elements_base_vertex GL_ARB_draw_indirect GL_ARB_draw_instanced GL_ARB_enhanced_layouts GL_ARB_explicit_attrib_location GL_ARB_explicit_uniform_location GL_ARB_fragment_coord_conventions GL_ARB_fragment_layer_viewport GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_framebuffer_no_attachments GL_ARB_framebuffer_object GL_ARB_framebuffer_sRGB GL_ARB_get_program_binary GL_ARB_get_texture_sub_image GL_ARB_gpu_shader5 GL_ARB_gpu_shader_fp64 GL_ARB_half_float_pixel GL_ARB_half_float_vertex GL_ARB_indirect_parameters GL_ARB_instanced_arrays GL_ARB_internalformat_query GL_ARB_internalformat_query2 GL_ARB_invalidate_subdata GL_ARB_map_buffer_alignment GL_ARB_map_buffer_range GL_ARB_multi_bind GL_ARB_multi_draw_indirect GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_occlusion_query2 GL_ARB_pipeline_statistics_query GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_polygon_offset_clamp GL_ARB_program_interface_query GL_ARB_provoking_vertex GL_ARB_query_buffer_object GL_ARB_robust_buffer_access_behavior GL_ARB_robustness GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_seamless_cubemap_per_texture GL_ARB_separate_shader_objects GL_ARB_shader_atomic_counter_ops GL_ARB_shader_atomic_counters GL_ARB_shader_ballot GL_ARB_shader_bit_encoding GL_ARB_shader_clock GL_ARB_shader_draw_parameters GL_ARB_shader_group_vote GL_ARB_shader_image_load_store GL_ARB_shader_image_size GL_ARB_shader_objects GL_ARB_shader_precision GL_ARB_shader_stencil_export GL_ARB_shader_storage_buffer_object GL_ARB_shader_subroutine GL_ARB_shader_texture_image_samples GL_ARB_shader_texture_lod GL_ARB_shader_viewport_layer_array GL_ARB_shading_language_100 GL_ARB_shading_language_420pack GL_ARB_shading_language_packing GL_ARB_shadow GL_ARB_sparse_buffer GL_ARB_stencil_texturing GL_ARB_sync GL_ARB_tessellation_shader GL_ARB_texture_barrier GL_ARB_texture_border_clamp GL_ARB_texture_buffer_object GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_buffer_range GL_ARB_texture_compression GL_ARB_texture_compression_bptc GL_ARB_texture_compression_rgtc GL_ARB_texture_cube_map GL_ARB_texture_cube_map_array GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_filter_anisotropic GL_ARB_texture_float GL_ARB_texture_gather GL_ARB_texture_mirror_clamp_to_edge GL_ARB_texture_mirrored_repeat GL_ARB_texture_multisample GL_ARB_texture_non_power_of_two GL_ARB_texture_query_levels GL_ARB_texture_query_lod GL_ARB_texture_rectangle GL_ARB_texture_rg GL_ARB_texture_rgb10_a2ui GL_ARB_texture_stencil8 GL_ARB_texture_storage GL_ARB_texture_storage_multisample GL_ARB_texture_swizzle GL_ARB_texture_view GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ARB_transform_feedback_instanced GL_ARB_transform_feedback_overflow_query GL_ARB_transpose_matrix GL_ARB_uniform_buffer_object GL_ARB_vertex_array_bgra GL_ARB_vertex_array_object GL_ARB_vertex_attrib_64bit GL_ARB_vertex_attrib_binding GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_vertex_type_10f_11f_11f_rev GL_ARB_vertex_type_2_10_10_10_rev GL_ARB_viewport_array GL_ARB_window_pos GL_ATI_blend_equation_separate GL_ATI_draw_buffers GL_ATI_fragment_shader GL_ATI_meminfo GL_ATI_separate_stencil GL_ATI_texture_compression_3dc GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_ATI_texture_mirror_once GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array GL_EXT_copy_texture GL_EXT_depth_bounds_test GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_framebuffer_object GL_EXT_framebuffer_sRGB GL_EXT_gpu_program_parameters GL_EXT_memory_object GL_EXT_memory_object_fd GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_float GL_EXT_packed_pixels GL_EXT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_polygon_offset_clamp GL_EXT_provoking_vertex GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_semaphore GL_EXT_semaphore_fd GL_EXT_separate_specular_color GL_EXT_shader_integer_mix GL_EXT_shadow_funcs GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_subtexture GL_EXT_texture GL_EXT_texture3D GL_EXT_texture_array GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_latc GL_EXT_texture_compression_rgtc GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_add GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_integer GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_texture_sRGB GL_EXT_texture_sRGB_decode GL_EXT_texture_shared_exponent GL_EXT_texture_snorm GL_EXT_texture_swizzle GL_EXT_timer_query GL_EXT_transform_feedback GL_EXT_vertex_array GL_EXT_vertex_array_bgra GL_IBM_multimode_draw_arrays GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_INGR_blend_func_separate GL_KHR_blend_equation_advanced GL_KHR_context_flush_control GL_KHR_debug GL_KHR_no_error GL_KHR_robust_buffer_access_behavior GL_KHR_robustness GL_KHR_texture_compression_astc_ldr GL_MESA_pack_invert GL_MESA_shader_integer_functions GL_MESA_texture_signed_rgba GL_MESA_window_pos GL_NVX_gpu_memory_info GL_NV_blend_square GL_NV_conditional_render GL_NV_depth_clamp GL_NV_fog_distance GL_NV_light_max_exponent GL_NV_packed_depth_stencil GL_NV_primitive_restart GL_NV_texgen_reflection GL_NV_texture_barrier GL_NV_texture_env_combine4 GL_NV_texture_rectangle GL_NV_vdpau_interop GL_OES_EGL_image GL_OES_read_format GL_S3_s3tc GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_SUN_multi_draw_arrays 

------- Input Initialization -------
XKB extension: compile time 0x1:0x0, runtime 0x1:0x0: OK
XKB extension present on server ( 0x1:0x0 )
------------------------------------
OpenGL vendor: X.Org
OpenGL renderer: AMD CARRIZO (DRM 3.26.0, 4.18.0-13-generic, LLVM 7.0.0)
OpenGL version: 4.4 (Compatibility Profile) Mesa 18.2.2
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)
v - using GL_EXT_depth_bounds_test (ext)
v - using GL_ARB_framebuffer_object (core+ext)
X - GL_ARB_geometry_shader4 not found
v - using GL_ARB_pixel_buffer_object (ext)
v - using GL_ARB_timer_query (core+ext)
v - using GL_KHR_debug (ext)
v - using GL_ARB_sync (core+ext)
GL fence sync available
Max geometry output vertices: 1024
Max geometry output components: 4095
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 VFWARNING:CompileShader(glprogs/interaction.fs): FAILED
0:2(12): warning: extension `GL_EXT_gpu_shader4' unsupported in fragment shader
0:27(20): error: syntax error, unexpected NEW_IDENTIFIER, expecting '{'



ambientInteraction VF
stencilShadow VF
oldStage VF
depthAlpha VF
fog VF
blend VF
cubeMap VF
interactionA VF
interactionN VF
shadowMapA VGF
shadowMapN VGF
---------------------------------
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 7911
Build date: Jan 13 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': 207.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
[New Thread 0x7fffa2b07700 (LWP 13887)]
session initialized
--------------------------------------
--- Common Initialization Complete ---
------------- Warnings ---------------
during The Dark Mod initialization...
WARNING:CompileShader(glprogs/interaction.fs): FAILED
0:2(12): warning: extension `GL_EXT_gpu_shader4' unsupported in fragment shader
0:27(20): error: syntax error, unexpected NEW_IDENTIFIER, expecting '{'


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
19 warnings
terminal support enabled ( use +set in_tty 0 to disabled )
pid: 13869
[New Thread 0x7fffa2306700 (LWP 13888)]
Async thread started
Couldn't exec autocommands.cfg - file does not exist.
r_customWidth|Height = 1920x1080 => widescreenmode = 7, r_aspectRatio = 1
Found 0 new mission packages.
Found 3 mods in the FM folder.
[swscaler @ 0x6a8dc40] deprecated pixel format used, make sure you did set range correctly
DisplayBriefingPage: briefingData is maps/training_mission/mission_briefing
DisplayBriefingPage: xdata found.
DisplayBriefingPage: numPages is 1
DisplayBriefingPage: current page is 1
Objective 1: Parsing success and failure logic
Objective 2: Parsing success and failure logic
Applied 0 objective conditions.
reloading guis/mainmenu.gui.
reloading guis/restart.gui.
reloading guis/msg.gui.
[swscaler @ 0x6a8dc40] deprecated pixel format used, make sure you did set range correctly
r_customWidth|Height = 1920x1080 => widescreenmode = 7, r_aspectRatio = 1
--------- Map Initialization ---------
Map: training_mission
glprogs/ambientEnvironment.vfp 79
glprogs/ambientEnvironment.vfp 80
glprogs/heatHazeWithMaskAndBlur.vfp 81
glprogs/heatHazeWithMaskAndBlur.vfp 82
glprogs/HeatHazeWithMaskAndDepth.vfp 83
glprogs/HeatHazeWithMaskAndDepth.vfp 84
----------- Game Map Init ------------
collision data:
   637 models
 67370 vertices (1578 KB)
112391 edges (3951 KB)
 45783 polygons (3380 KB)
  6022 brushes (849 KB)
 23595 nodes (1106 KB)
 68211 polygon refs (1065 KB)
 20190 brush refs (315 KB)
 35872 internal edges
  1148 sharp edges
     0 contained polygons removed
     0 polygons merged
 12247 KB total memory used
332 msec to load collision data.
map bounds are (5688.0, 4448.0, 2816.0)
max clip sector is (177.8, 278.0, 352.0)
    6 KB passage memory used to build PVS
    3 msec to calculate PVS
   76 areas
  182 portals
    9 areas visible on average
  912 bytes PVS data
[Load AAS]
loading maps/training_mission.aas48
[Load AAS]
loading maps/training_mission.aas96
[Load AAS]
loading maps/training_mission.aas32
done.
[Load AAS]
loading maps/training_mission.aas100
[Load AAS]
loading maps/training_mission.aas_rat
done.
[Load AAS]
loading maps/training_mission.aas_elemental
ConversationManager: Found 0 valid conversations.
Entering tdm_main()
Exiting tdm_main()
Spawning entities
Compiled '/home/timo/darkmod_207/maps/training_mission.script': 16.5 ms
---------- Compile stats ----------

Memory usage:
     Strings: 45, 7456 bytes
  Statements: 21206, 848240 bytes
   Functions: 1316, 175604 bytes
   Variables: 95652 bytes
    Mem used: 1893568 bytes
 Static data: 4014424 bytes
   Allocated: 4891356 bytes
 Thread size: 7912 bytes

WARNING:unknown model type '_prelight_light_187.2'
WARNING:file def/tdm_prop_items.def, line 507: 'replace_anim_idle_sit_tap01' already defined
key_guard_3: Fixing inv_category from Keys to #str_02392.
key_guard_4: Fixing inv_category from Keys to #str_02392.
key_exit1: Fixing inv_category from Keys to #str_02392.
StoreRoomKey1: Fixing inv_category from Keys to #str_02392.
WARNING:Image name "-" is too short
OldChestKey_2: Fixing inv_category from Keys to #str_02392.
glprogs/heatHazeWithDepth.vfp 85
glprogs/heatHazeWithDepth.vfp 86
WARNING:idFileSystem::OSPathToRelativePath failed on 
WARNING:aas32_flood doesn't include a spawnfunc or spawnclass on 'aas32_flood_1'.
... 2795 entities spawned, 0 inhibited

==== Processing events ====
Objective 1: Parsing success and failure logic
Objective 2: Parsing success and failure logic
Applied 0 objective conditions.
[aas32]: Assigned 0 multistatemover positions to AAS areas and ignored 0.
[aas_rat]: Assigned 0 multistatemover positions to AAS areas and ignored 0.
--------------------------------------
SpawnPlayer: 0
WARNING:Couldn't load sound 'player_sounds_doublevision' using default
WARNING:Couldn't load sound 'player_sounds_skipcinematic' using default
WARNING:Couldn't load sound 'player_sounds_guienter' using default
WARNING:Couldn't load sound 'player_sounds_guiexit' using default
WARNING:Couldn't load sound 'player_sounds_hitarmor' using default
WARNING:Couldn't load sound 'player_sounds_hitflesh' using default
WARNING:Couldn't load sound 'player_sounds_teleportexit' using default
WARNING:Couldn't load sound 'player_sounds_teleportstart' using default
----- idRenderModelManagerLocal::EndLevelLoad -----
    0 models purged from previous level,  1209 models kept.
---------------------------------------------------
----- idImageManager::EndLevelLoad -----
WARNING:Couldn't load image: textures/darkmod/nature/straw/straw02_loose_patch
WARNING:Couldn't load image: models/md5/chars/guards/citywatch/citywatch_armour_poor_ed
WARNING:Couldn't load image: layer3s
WARNING:Couldn't load image: tdm_tongue
WARNING:Couldn't load image: arms_legs
WARNING:Couldn't load image: rope_belt
WARNING:Couldn't load image: belt
WARNING:Couldn't load image: sleeve_frill
WARNING:Couldn't load image: sleeve
WARNING:Couldn't load image: models/md5/chars/nobles/noblewoman/wench_hands
WARNING:Couldn't load image: -
WARNING:Couldn't load image: extinguishable/buoy_light01
WARNING:Couldn't load image: extinguishable/streetlamp/tall_streetlamp01
WARNING:Couldn't load image: extinguishable/streetlamp/tall_streetlamp01_andbase
    0 purged from previous
  201 kept from previous
 1274 new loaded
all images loaded in  45.4 seconds
----------------------------------------
----------------------------------------
----- idSoundCache::EndLevelLoad -----
268013k referenced
 6336k purged
----------------------------------------
sound: missing efxs/training_mission.efx
-----------------------------------
 57957 msec to load training_mission
interactionTable generated of size: 32 entries
------------- Warnings ---------------
during training_mission...
WARNING:aas32_flood doesn't include a spawnfunc or spawnclass on 'aas32_flood_1'.
WARNING:Couldn't load image: -
WARNING:Couldn't load image: arms_legs
WARNING:Couldn't load image: belt
WARNING:Couldn't load image: extinguishable/buoy_light01
WARNING:Couldn't load image: extinguishable/streetlamp/tall_streetlamp01
WARNING:Couldn't load image: extinguishable/streetlamp/tall_streetlamp01_andbase
WARNING:Couldn't load image: layer3s
WARNING:Couldn't load image: models/md5/chars/guards/citywatch/citywatch_armour_poor_ed
WARNING:Couldn't load image: models/md5/chars/nobles/noblewoman/wench_hands
WARNING:Couldn't load image: rope_belt
WARNING:Couldn't load image: sleeve
WARNING:Couldn't load image: sleeve_frill
WARNING:Couldn't load image: tdm_tongue
WARNING:Couldn't load image: textures/darkmod/nature/straw/straw02_loose_patch
WARNING:Couldn't load sound 'player_sounds_doublevision' using default
WARNING:Couldn't load sound 'player_sounds_guienter' using default
WARNING:Couldn't load sound 'player_sounds_guiexit' using default
WARNING:Couldn't load sound 'player_sounds_hitarmor' using default
WARNING:Couldn't load sound 'player_sounds_hitflesh' using default
WARNING:Couldn't load sound 'player_sounds_skipcinematic' using default
WARNING:Couldn't load sound 'player_sounds_teleportexit' using default
WARNING:Couldn't load sound 'player_sounds_teleportstart' using default
WARNING:file def/tdm_prop_items.def, line 507: 'replace_anim_idle_sit_tap01' already defined
WARNING:idFileSystem::OSPathToRelativePath failed on 
WARNING:Image name "-" is too short
WARNING:unknown model type '_prelight_light_187.2'
27 warnings
VertexCache static vertex buffer uploaded, memory used: 18310 kb
VertexCache static index buffer uploaded, memory used: 3256 kb
Generated framebuffer DEPTH_STENCIL attachment: 1920x1080
Generated framebuffer COLOR attachment: 1920x1080
Generated render buffers for COLOR & DEPTH/STENCIL: 1920x1080x0
speaker_zone_ambient::init() called
Color read from main ambient light 'ambient_world': 0.08 0.08 0.08

Changed location from '' to 'snd_hub'.
Generated framebuffer DEPTH attachment: 6144x6144

Thread 1 "thedarkmod.x64" received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) backtrace 
#0  0x0000000000000000 in ?? ()
#1  0x00000000005dfd8b in ?? ()
#2  0x00000000005e0038 in ?? ()
#3  0x000000000066a7b6 in ?? ()
#4  0x000000000066af69 in ?? ()
#5  0x000000000066d4b3 in ?? ()
#6  0x0000000000666306 in ?? ()
#7  0x0000000000686200 in ?? ()
#8  0x000000000067056f in ?? ()
#9  0x00000000006452c2 in ?? ()
#10 0x00000000005c91d4 in ?? ()
#11 0x000000000056c029 in ?? ()
#12 0x00000000004399ad in ?? ()
#13 0x00007ffff749509b in __libc_start_main (main=0x439960, argc=1, 
    argv=0x7fffffffe098, init=<optimized out>, fini=<optimized out>, 
    rtld_fini=<optimized out>, stack_end=0x7fffffffe088)
    at ../csu/libc-start.c:308
#14 0x000000000046df59 in ?? ()
(gdb) 

tdm_v207_crash_backtrace (24,966 bytes)   
nbohr1more

nbohr1more

17.01.2019 02:22

developer   ~0011369

X - GL_ARB_geometry_shader4 not found

Shadow maps currently require geometry shaders.
stgatilov

stgatilov

17.01.2019 04:20

administrator   ~0011372

Last edited: 17.01.2019 04:25

I have seen this when I emulated almost-no-OpenGL machine.
Back then I thought that it is not critical since Maps is non-default and experimental, and only a few people don't have geometry shaders anyway.

By the way, OpenGL version is enough to support core geometry shader, but driver does not expose the extension (which is a bit different).

nbohr1more

nbohr1more

18.01.2019 15:26

developer   ~0011410

Please use the non-free drivers.

https://help.ubuntu.com/community/BinaryDriverHowto/AMD

Mesa-Dev appears to be the only free driver with tentative geometry shader support.
duzenko

duzenko

18.01.2019 15:34

developer   ~0011412

Last edited: 18.01.2019 15:52

1. Not sure if we should check for GL_ARB_geometry_shader4 at all or when the GL version is >= 3.2
2. Probably need to remove GL_EXT_gpu_shader4 from interaction.fs

stgatilov

stgatilov

18.01.2019 18:05

administrator   ~0011417

1. If you don't check, then GL version >= 3.2 will become required for Maps. Not a problem really.
Note however that geometry shaders with extension and geometry shaders in core are different:
  https://www.khronos.org/opengl/wiki/Geometry_Shader
It may happen that the current code either works with the extension or with the core. You can break Maps for many people trying to make it work for one man with weird drivers.

2. I see the following in interaction.fs:
  #extension GL_EXT_gpu_shader4: enable
If you remove it, then usampler2D will become undefined, and the whole shader will stop working (maybe not everywhere, but somewhere surely).
Not something to play with during the last releases of beta phase.


P.S. I think this is yet another case which justifies why moving to full OpenGL 3 is necessary.
stgatilov

stgatilov

18.01.2019 18:09

administrator   ~0011418

I have a feeling that the current geometry shaders actually use the core feature. I guess the extension text should be read more closely to decide that, but I guess it is so. Then OpenGL version must be checked against 3.2 instead of the availability of extension.

I'm pretty sure that removing the extension check won't break anything.
duzenko

duzenko

19.01.2019 08:57

developer   ~0011427

Last edited: 19.01.2019 09:24

The shader still won't compile though
We might want to create a special case patch for cases like this that overrides the interaction.fs in the standard pk4 - @nbohre1more?
I suppose upping the glsl version to 1.30 should do the trick.

duzenko

duzenko

19.01.2019 09:11

developer   ~0011428

Last edited: 19.01.2019 09:23

@nightcrawler, do you mind using this website to upload your opengl driver capabilities report?
https://opengl.gpuinfo.org/download.php

Edit: never mind, there's already one like yours

E.g. https://opengl.gpuinfo.org/displayreport.php?id=2695
The driver reports support of GL_ARB_gpu_shader5 but not GL_EXT_gpu_shader4 (facepalm)

https://mesamatrix.net/
It looks like it's just too old an extension to worry about.

nbohr1more

nbohr1more

22.01.2019 15:37

developer   ~0011472

Last edited: 22.01.2019 15:38

Per stgatilov:

Too late in the development cycle to risk global changes to GL version support.
Updated shaders may be supplied at Moddb when a consensus has been reached about the best approach.

Nightcrawler

Nightcrawler

30.03.2019 00:01

reporter   ~0011700

No more crash in the 2.07-hotfix.

Choosing "Maps" as shadow implementation cuts the FPS down to its half though.
duzenko

duzenko

13.04.2019 17:25

developer   ~0011732

Let's discuss performance in the forums
duzenko

duzenko

11.05.2019 07:30

developer   ~0011793

Is this one resolved?
stgatilov

stgatilov

11.05.2019 08:27

administrator   ~0011795

Hard to say.

Nightcrawler wrote it had been fixed by hotfix release, which probably means that the original problem was actually caused by this bug:
  http://forums.thedarkmod.com/topic/19853-glsl-shader-problems-with-latest-ati-radeon-drivers/page-5#entry435243

Speaking of the geometry shaders support question, it is still unclear:
1) The basic GL version for next release is not fixed yet (it still varies from 3.0 to 3.3).
2) GL linking system is being changed right now.
I think the best approach would be to check this issue again before next release and during beta.

Or did you remove geometry shaders completely?
If yes, then we can indeed close this problem.
duzenko

duzenko

11.05.2019 14:29

developer   ~0011796

I did get rid of geometry shader stage for shadow maps for now
Not sure if we're going to need them back again at some point
nbohr1more

nbohr1more

12.05.2019 03:00

developer   ~0011800

Last edited: 12.05.2019 03:01

2.07 Hotfix

No crash on Linux Mint (Ubuntu Mate) with either free or binary drivers.

Issue History

Date Modified Username Field Change
16.01.2019 23:58 Nightcrawler New Issue
16.01.2019 23:58 Nightcrawler File Added: tdm_v207_crash_backtrace
17.01.2019 02:22 nbohr1more Note Added: 0011369
17.01.2019 04:20 stgatilov Note Added: 0011372
17.01.2019 04:22 stgatilov Note Edited: 0011372
17.01.2019 04:25 stgatilov Note Edited: 0011372
17.01.2019 11:16 STiFU Product Version => TDM 2.07
17.01.2019 11:16 STiFU Target Version => TDM 2.07
18.01.2019 15:26 nbohr1more Note Added: 0011410
18.01.2019 15:27 nbohr1more Relationship added related to 0004962
18.01.2019 15:34 duzenko Note Added: 0011412
18.01.2019 15:52 duzenko Note Edited: 0011412
18.01.2019 18:05 stgatilov Note Added: 0011417
18.01.2019 18:09 stgatilov Note Added: 0011418
19.01.2019 08:57 duzenko Note Added: 0011427
19.01.2019 09:01 duzenko Note Edited: 0011427
19.01.2019 09:11 duzenko Note Added: 0011428
19.01.2019 09:13 duzenko Note Edited: 0011428
19.01.2019 09:16 duzenko Note Edited: 0011428
19.01.2019 09:17 duzenko Note Edited: 0011428
19.01.2019 09:19 duzenko Note Edited: 0011428
19.01.2019 09:23 duzenko Note Edited: 0011428
19.01.2019 09:24 duzenko Note Edited: 0011427
22.01.2019 15:36 nbohr1more Target Version TDM 2.07 => TDM 2.08
22.01.2019 15:37 nbohr1more Note Added: 0011472
22.01.2019 15:38 nbohr1more Note Edited: 0011472
30.03.2019 00:01 Nightcrawler Note Added: 0011700
13.04.2019 17:25 duzenko Note Added: 0011732
11.05.2019 07:30 duzenko Note Added: 0011793
11.05.2019 08:27 stgatilov Note Added: 0011795
11.05.2019 14:29 duzenko Note Added: 0011796
12.05.2019 03:00 nbohr1more Note Added: 0011800
12.05.2019 03:00 nbohr1more Assigned To => duzenko
12.05.2019 03:00 nbohr1more Status new => resolved
12.05.2019 03:00 nbohr1more Resolution open => fixed
12.05.2019 03:00 nbohr1more Fixed in Version => TDM 2.07
12.05.2019 03:00 nbohr1more Target Version TDM 2.08 => TDM 2.07
12.05.2019 03:01 nbohr1more Note Edited: 0011800