Closed Olm-e closed 4 years ago
In general, there are two obvious potential candidates for issues here:
I'll report back when I can test the Linux side on my end, but if that's actually working and it is AMD, then it's going to be difficult for me to debug...
ok good, I'll wait for your test on linux I'm not too concerned about the AMD card : it seems well supported and working even better than NVidia in certain circumstances (ex : I can run Blender 2.90 alpha with openXR view while other can't on Nvidia atm it seems... ) Also : I did a run with compiling the OpenXR branch and interestingly, if I set the autoexec_vr.config to 0 it open a vr view with the game started on a plate (copy of the desktop with other app also) but then nothin is responsive and I have to alt-F4:
./thedarkmodvr.x64
WARNING:Cannot detect SVN version!
Make sure 'svnversion' command works in console on the build machine.
TDM 2.09/64 #0 (Unversioned directory) linux-x86_64 Jul 14 2020 17:41:36
found interface lo - loopback
found interface enp0s31f6 - 192.168.0.15/255.255.255.0
Found Generic CPU, features: SSE SSE2 SSE3
TDM using SSE3 for SIMD processing.
no 'darkmod' directory in exe path /media/user/data/games/darkmod208, skipping
WARNING: using hardcoded default base path
------ Initializing File System ------
Current search path:
/media/user/data/games/darkmod208/fms/stlucia
/media/user/data/games/darkmod208/fms/stlucia/stlucia.pk4 (118 files)
/media/user/data/games/darkmod208/
/media/user/data/games/darkmod208/tdm_textures_wood01.pk4 (376 files)
/media/user/data/games/darkmod208/tdm_textures_window01.pk4 (389 files)
/media/user/data/games/darkmod208/tdm_textures_stone_sculpted01.pk4 (463 files)
/media/user/data/games/darkmod208/tdm_textures_stone_natural01.pk4 (130 files)
/media/user/data/games/darkmod208/tdm_textures_stone_flat01.pk4 (302 files)
/media/user/data/games/darkmod208/tdm_textures_stone_cobblestones01.pk4 (224 files)
/media/user/data/games/darkmod208/tdm_textures_stone_brick01.pk4 (520 files)
/media/user/data/games/darkmod208/tdm_textures_sfx01.pk4 (69 files)
/media/user/data/games/darkmod208/tdm_textures_roof01.pk4 (72 files)
/media/user/data/games/darkmod208/tdm_textures_plaster01.pk4 (142 files)
/media/user/data/games/darkmod208/tdm_textures_paint_paper01.pk4 (63 files)
/media/user/data/games/darkmod208/tdm_textures_other01.pk4 (127 files)
/media/user/data/games/darkmod208/tdm_textures_nature01.pk4 (286 files)
/media/user/data/games/darkmod208/tdm_textures_metal01.pk4 (496 files)
/media/user/data/games/darkmod208/tdm_textures_glass01.pk4 (51 files)
/media/user/data/games/darkmod208/tdm_textures_fabric01.pk4 (43 files)
/media/user/data/games/darkmod208/tdm_textures_door01.pk4 (177 files)
/media/user/data/games/darkmod208/tdm_textures_decals01.pk4 (464 files)
/media/user/data/games/darkmod208/tdm_textures_carpet01.pk4 (92 files)
/media/user/data/games/darkmod208/tdm_textures_base01.pk4 (398 files)
/media/user/data/games/darkmod208/tdm_standalone.pk4 (4 files)
/media/user/data/games/darkmod208/tdm_sound_vocals_decls01.pk4 (27 files)
/media/user/data/games/darkmod208/tdm_sound_vocals07.pk4 (1111 files)
/media/user/data/games/darkmod208/tdm_sound_vocals06.pk4 (696 files)
/media/user/data/games/darkmod208/tdm_sound_vocals05.pk4 (119 files)
/media/user/data/games/darkmod208/tdm_sound_vocals04.pk4 (2869 files)
/media/user/data/games/darkmod208/tdm_sound_vocals03.pk4 (743 files)
/media/user/data/games/darkmod208/tdm_sound_vocals02.pk4 (1299 files)
/media/user/data/games/darkmod208/tdm_sound_vocals01.pk4 (82 files)
/media/user/data/games/darkmod208/tdm_sound_sfx02.pk4 (605 files)
/media/user/data/games/darkmod208/tdm_sound_sfx01.pk4 (963 files)
/media/user/data/games/darkmod208/tdm_sound_ambient_decls01.pk4 (8 files)
/media/user/data/games/darkmod208/tdm_sound_ambient03.pk4 (24 files)
/media/user/data/games/darkmod208/tdm_sound_ambient02.pk4 (163 files)
/media/user/data/games/darkmod208/tdm_sound_ambient01.pk4 (220 files)
/media/user/data/games/darkmod208/tdm_prefabs01.pk4 (968 files)
/media/user/data/games/darkmod208/tdm_player01.pk4 (125 files)
/media/user/data/games/darkmod208/tdm_models_decls01.pk4 (103 files)
/media/user/data/games/darkmod208/tdm_models02.pk4 (2043 files)
/media/user/data/games/darkmod208/tdm_models01.pk4 (3123 files)
/media/user/data/games/darkmod208/tdm_gui_credits01.pk4 (49 files)
/media/user/data/games/darkmod208/tdm_gui01.pk4 (720 files)
/media/user/data/games/darkmod208/tdm_fonts01.pk4 (696 files)
/media/user/data/games/darkmod208/tdm_env01.pk4 (152 files)
/media/user/data/games/darkmod208/tdm_defs01.pk4 (185 files)
/media/user/data/games/darkmod208/tdm_base01.pk4 (187 files)
/media/user/data/games/darkmod208/tdm_ai_steambots01.pk4 (24 files)
/media/user/data/games/darkmod208/tdm_ai_monsters_spiders01.pk4 (80 files)
/media/user/data/games/darkmod208/tdm_ai_humanoid_undead01.pk4 (55 files)
/media/user/data/games/darkmod208/tdm_ai_humanoid_townsfolk01.pk4 (104 files)
/media/user/data/games/darkmod208/tdm_ai_humanoid_pagans01.pk4 (10 files)
/media/user/data/games/darkmod208/tdm_ai_humanoid_nobles01.pk4 (48 files)
/media/user/data/games/darkmod208/tdm_ai_humanoid_mages01.pk4 (8 files)
/media/user/data/games/darkmod208/tdm_ai_humanoid_heads01.pk4 (100 files)
/media/user/data/games/darkmod208/tdm_ai_humanoid_guards01.pk4 (378 files)
/media/user/data/games/darkmod208/tdm_ai_humanoid_females01.pk4 (172 files)
/media/user/data/games/darkmod208/tdm_ai_humanoid_builders01.pk4 (91 files)
/media/user/data/games/darkmod208/tdm_ai_humanoid_beasts02.pk4 (292 files)
/media/user/data/games/darkmod208/tdm_ai_humanoid_beasts01.pk4 (23 files)
/media/user/data/games/darkmod208/tdm_ai_base01.pk4 (8 files)
/media/user/data/games/darkmod208/tdm_ai_animals01.pk4 (82 files)
File System Initialized.
--------------------------------------
Couldn't open journal files
/proc/cpuinfo CPU processors: 4
/proc/cpuinfo CPU logical cores: 8
----- Initializing Decls -----
WARNING:file materials/tdm_epi_shader_2.mtr, line 485: material 'wizard_cloth_001' previously defined at materials/tdm_epi_shader_2.mtr:389
WARNING:file materials/tdm_stone_brick.mtr, line 1903: material 'textures/darkmod/stone/brick/even_greyish01' previously defined at materials/tdm_maps_saintlucia.mtr:201
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
WARNING:file skins/tdm_lights.skin, line 8: skin 'chandelier_unlit' previously defined at skins/saintlucia.skin:1
WARNING:file sound/tdm_ai_maiden.sndshd, line 1709: sound 'tdm_ai_maiden_request_help' previously defined at sound/tdm_ai_maiden.sndshd:1561
WARNING:file sound/tdm_maps_saintlucia.sndshd, line 64: sound 'tdm_builder2_conv_1' previously defined at sound/tdm_ai_builder2.sndshd:2061
WARNING:file sound/tdm_maps_saintlucia.sndshd, line 74: sound 'tdm_builder2_conv_2' previously defined at sound/tdm_ai_builder2.sndshd:2080
WARNING:file sound/tdm_maps_saintlucia.sndshd, line 84: sound 'tdm_builder2_conv_3' previously defined at sound/tdm_ai_builder2.sndshd:2094
------------------------------
/proc/cpuinfo CPU frequency: 4052.04 MHz
I18N: SetLanguage: 'english'.
I18N: Found no character remapping for english.
I18N: 1274 strings read from strings/english.lang
I18N: 83 strings read from strings/fm/english.lang
Couldn't exec editor.cfg - file does not exist.
execing default.cfg
execing darkmod_vr.cfg
execing DarkmodKeybinds.cfg
execing autoexec_vr.cfg
I18N: SetLanguage: 'english'.
I18N: Found no character remapping for english.
I18N: 1274 strings read from strings/english.lang
I18N: 83 strings read from strings/fm/english.lang
----- Initializing OpenAL -----
Setup OpenAL device and context
OpenAL: found device 'ALSA Default'
OpenAL: found device 'HDA Intel PCH, ALC1220 Analog (CARD=PCH,DEV=0)'
OpenAL: found device 'HDA Intel PCH, ALC1220 Digital (CARD=PCH,DEV=1)'
OpenAL: found device 'HD-Audio Generic, HDMI 0 (CARD=Generic,DEV=3)'
OpenAL: found device 'HD-Audio Generic, HDMI 1 (CARD=Generic,DEV=7)'
OpenAL: found device 'HD-Audio Generic, HDMI 2 (CARD=Generic,DEV=8)'
OpenAL: found device 'HD-Audio Generic, HDMI 3 (CARD=Generic,DEV=9)'
OpenAL: found device 'HD-Audio Generic, HDMI 4 (CARD=Generic,DEV=10)'
OpenAL: found device 'HD-Audio Generic, HDMI 5 (CARD=Generic,DEV=11)'
OpenAL: found device 'USB Audio Device, USB Audio (CARD=Device,DEV=0)'
OpenAL: using 'OpenAL Soft'
OpenAL: HRTF is available
AL lib: (EE) ALCplaybackAlsa_mixerNoMMapProc: available update failed: Broken pipe
OpenAL vendor: OpenAL Community
OpenAL renderer: OpenAL Soft
OpenAL version: 1.1 ALSOFT 1.19.1
OpenAL: found EFX extension
OpenAL: HRTF is enabled (reason: 1 = ALC_HRTF_ENABLED_SOFT)
OpenAL: found 256 hardware voices
----- Initializing OpenGL -----
Setup X display connection
Using screen 0 of 0x610cf20 display
AL lib: (EE) ALCplaybackAlsa_mixerNoMMapProc: available update failed: Broken pipe
Initializing OpenGL display
Using XFree86-VidModeExtension Version 2.2
Free86-VidModeExtension Activated at 800x600
Chosen visual: 0x021
AL lib: (EE) ALCplaybackAlsa_mixerNoMMapProc: available update failed: Broken pipe
AL lib: (EE) ALCplaybackAlsa_mixerNoMMapProc: available update failed: Broken pipe
AL lib: (EE) ALCplaybackAlsa_mixerNoMMapProc: available update failed: Broken pipe
AL lib: (EE) ALCplaybackAlsa_mixerNoMMapProc: available update failed: Broken pipe
...creating GL context: core-fc
...initializing QGL
------- 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 Radeon RX 5700 XT (NAVI10, DRM 3.35.0, 5.4.0-39-generic, LLVM 9.0.1)
OpenGL version: 4.6 (Core Profile) Mesa 20.0.4 core
Checking required OpenGL features...
v - using GL_VERSION_3_1
v - using GL_EXT_texture_compression_s3tc
v - using GLX_VERSION_1_4
Checking optional OpenGL extensions...
Max texture units: 32
Max active textures: 192
Max geometry output vertices: 256
Max geometry output components: 4095
Max vertex attribs: 16
v - using GL_EXT_texture_filter_anisotropic
maxTextureAnisotropy: 16.000000
X - GL_ARB_vertex_program not found
v - using GL_ARB_stencil_texturing
v - using GL_EXT_depth_bounds_test
X - GL_ARB_geometry_shader4 not found
v - using GL_ARB_timer_query
v - using GL_KHR_debug
v - using GL_ARB_sync
v - using GL_ARB_draw_elements_base_vertex
v - using GL_ARB_texture_swizzle
v - using GL_ARB_buffer_storage
No ARB programs loaded
---------- R_ReloadGLSLPrograms_f -----------
Linking GLSL program cubeMap ...
Linking GLSL program bumpyEnvironment ...
Linking GLSL program depthAlpha ...
Linking GLSL program fog ...
Linking GLSL program oldStage ...
Linking GLSL program blend ...
Linking GLSL program stencilshadow ...
WARNING:Could not open shader file shadowMapA.gs
WARNING:Failed to attach shader shadowMapA.gs to program shadowMapA.
Linking GLSL program shadowMapA ...
WARNING:Could not open shader file shadowMapN.gs
WARNING:Failed to attach shader shadowMapN.gs to program shadowMapN.
Linking GLSL program shadowMapN ...
WARNING:Could not open shader file shadowMapNG.vs
WARNING:Failed to attach shader shadowMapNG.vs to program shadowMapNG.
WARNING:Could not open shader file shadowMapNG.fs
WARNING:Failed to attach shader shadowMapNG.fs to program shadowMapNG.
WARNING:Could not open shader file shadowMapNG.gs
WARNING:Failed to attach shader shadowMapNG.gs to program shadowMapNG.
Linking GLSL program shadowMapNG ...
WARNING:Linking program shadowMapNG failed:
error: no shaders attached to the program
WARNING:Validation for program shadowMapNG failed:
Linking GLSL program ambientInteraction ...
Linking GLSL program interactionStencil ...
Linking GLSL program interactionShadowMaps ...
Linking GLSL program interactionMultiLight ...
Linking GLSL program frob ...
Linking GLSL program soft_particle ...
Linking GLSL program tonemap ...
---------------------------------
New buffer size: 12288 kb
New buffer size: 12288 kb
WARNING:Could not open shader file stages/depth/depth.vert.glsl
WARNING:Failed to attach shader stages/depth/depth.vert.glsl to program depth.
WARNING:Could not open shader file stages/depth/depth.frag.glsl
WARNING:Failed to attach shader stages/depth/depth.frag.glsl to program depth.
Linking GLSL program depth ...
WARNING:Linking program depth failed:
error: no shaders attached to the program
WARNING:Could not open shader file stages/depth/depth.vert.glsl
WARNING:Failed to attach shader stages/depth/depth.vert.glsl to program depth_bindless.
WARNING:Could not open shader file stages/depth/depth.frag.glsl
WARNING:Failed to attach shader stages/depth/depth.frag.glsl to program depth_bindless.
Linking GLSL program depth_bindless ...
WARNING:Linking program depth_bindless failed:
error: no shaders attached to the program
WARNING:Could not open shader file stages/interaction/interaction.ambient.vs.glsl
WARNING:Failed to attach shader stages/interaction/interaction.ambient.vs.glsl to program interaction_ambient.
WARNING:Could not open shader file stages/interaction/interaction.ambient.fs.glsl
WARNING:Failed to attach shader stages/interaction/interaction.ambient.fs.glsl to program interaction_ambient.
Linking GLSL program interaction_ambient ...
WARNING:Linking program interaction_ambient failed:
error: no shaders attached to the program
WARNING:Could not open shader file stages/interaction/interaction.stencil.vs.glsl
WARNING:Failed to attach shader stages/interaction/interaction.stencil.vs.glsl to program interaction_stencil.
WARNING:Could not open shader file stages/interaction/interaction.stencil.fs.glsl
WARNING:Failed to attach shader stages/interaction/interaction.stencil.fs.glsl to program interaction_stencil.
Linking GLSL program interaction_stencil ...
WARNING:Linking program interaction_stencil failed:
error: no shaders attached to the program
WARNING:Could not open shader file stages/interaction/interaction.shadowmap.vs.glsl
WARNING:Failed to attach shader stages/interaction/interaction.shadowmap.vs.glsl to program interaction_shadowmap.
WARNING:Could not open shader file stages/interaction/interaction.shadowmap.fs.glsl
WARNING:Failed to attach shader stages/interaction/interaction.shadowmap.fs.glsl to program interaction_shadowmap.
Linking GLSL program interaction_shadowmap ...
WARNING:Linking program interaction_shadowmap failed:
error: no shaders attached to the program
WARNING:Could not open shader file stages/interaction/interaction.ambient.vs.glsl
WARNING:Failed to attach shader stages/interaction/interaction.ambient.vs.glsl to program interaction_ambient_bindless.
WARNING:Could not open shader file stages/interaction/interaction.ambient.fs.glsl
WARNING:Failed to attach shader stages/interaction/interaction.ambient.fs.glsl to program interaction_ambient_bindless.
Linking GLSL program interaction_ambient_bindless ...
WARNING:Linking program interaction_ambient_bindless failed:
error: no shaders attached to the program
WARNING:Could not open shader file stages/interaction/interaction.stencil.vs.glsl
WARNING:Failed to attach shader stages/interaction/interaction.stencil.vs.glsl to program interaction_stencil_bindless.
WARNING:Could not open shader file stages/interaction/interaction.stencil.fs.glsl
WARNING:Failed to attach shader stages/interaction/interaction.stencil.fs.glsl to program interaction_stencil_bindless.
Linking GLSL program interaction_stencil_bindless ...
WARNING:Linking program interaction_stencil_bindless failed:
error: no shaders attached to the program
WARNING:Could not open shader file stages/interaction/interaction.shadowmap.vs.glsl
WARNING:Failed to attach shader stages/interaction/interaction.shadowmap.vs.glsl to program interaction_shadowmap_bindless.
WARNING:Could not open shader file stages/interaction/interaction.shadowmap.fs.glsl
WARNING:Failed to attach shader stages/interaction/interaction.shadowmap.fs.glsl to program interaction_shadowmap_bindless.
Linking GLSL program interaction_shadowmap_bindless ...
WARNING:Linking program interaction_shadowmap_bindless failed:
error: no shaders attached to the program
WARNING:Could not open shader file stages/stencil/stencil_shadow.vert.glsl
WARNING:Failed to attach shader stages/stencil/stencil_shadow.vert.glsl to program stencil_shadow.
WARNING:Could not open shader file stages/stencil/stencil_shadow.frag.glsl
WARNING:Failed to attach shader stages/stencil/stencil_shadow.frag.glsl to program stencil_shadow.
Linking GLSL program stencil_shadow ...
WARNING:Linking program stencil_shadow failed:
error: no shaders attached to the program
-----------------------------
Initializing OpenVR...
OpenVR left eye raw projection - l: -1.40 r: 1.25 t: -1.47 b: 1.46
OpenVR right eye raw projection - l: -1.24 r: 1.39 t: -1.46 b: 1.46
Distance from eye to head: -0.01 m
Recommended render target size 1512 x 1680
-----------------------------
Font fonts/english/stone in size 12 not found, using size 24 instead.
--------- Initializing Game ----------
The Dark Mod 2.09/64, linux-x86_64, code revision 0
Build date: Jul 14 2020
WARNING:file def/tdm_ai_undead_zombie.def, line 1084: entityDef 'atdm:ai_undead_zombie_alt_animations' previously defined at def/tdm_ai_undead_zombie.def:292
WARNING:file def/trilogy_stlucia.def, line 15: model 'tdm_ai_lucia_builderpriest' previously defined at def/tdm_priest.def:1
WARNING:file def/trilogy_stlucia.def, line 27: entityDef 'atdm:prop_hack' previously defined at def/tdm_priest.def:15
WARNING:file materials/tdm_epi_shader_2.mtr, line 485: material 'wizard_cloth_001' previously defined at materials/tdm_epi_shader_2.mtr:389
WARNING:file materials/tdm_stone_brick.mtr, line 1903: material 'textures/darkmod/stone/brick/even_greyish01' previously defined at materials/tdm_maps_saintlucia.mtr:201
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
...841 event definitions
Initializing class hierarchy
...172 classes, 1668544 bytes for event callbacks
Initializing scripts
Compiled '�': 248.4 ms
---------- Compile stats ----------
Memory usage:
Strings: 47, 7856 bytes
Statements: 20585, 823400 bytes
Functions: 1274, 170744 bytes
Variables: 93424 bytes
Mem used: 2122152 bytes
Static data: 4014424 bytes
Allocated: 5144624 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: stlucia
-------- 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:Image name "0" is too short
WARNING:Couldn't load image: 0
WARNING:idChoiceWindow::InitVars: gui 'guis/mainmenu.gui' window 'FBO' references undefined cvar 'r_useFBO'
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:Could not open shader file shadowMapA.gs
WARNING:Could not open shader file shadowMapN.gs
WARNING:Could not open shader file shadowMapNG.fs
WARNING:Could not open shader file shadowMapNG.gs
WARNING:Could not open shader file shadowMapNG.vs
WARNING:Could not open shader file stages/depth/depth.frag.glsl
WARNING:Could not open shader file stages/depth/depth.vert.glsl
WARNING:Could not open shader file stages/interaction/interaction.ambient.fs.glsl
WARNING:Could not open shader file stages/interaction/interaction.ambient.vs.glsl
WARNING:Could not open shader file stages/interaction/interaction.shadowmap.fs.glsl
WARNING:Could not open shader file stages/interaction/interaction.shadowmap.vs.glsl
WARNING:Could not open shader file stages/interaction/interaction.stencil.fs.glsl
WARNING:Could not open shader file stages/interaction/interaction.stencil.vs.glsl
WARNING:Could not open shader file stages/stencil/stencil_shadow.frag.glsl
WARNING:Could not open shader file stages/stencil/stencil_shadow.vert.glsl
WARNING:Couldn't load image: 0
WARNING:Couldn't load sound 'sound' using default
WARNING:Failed to attach shader shadowMapA.gs to program shadowMapA.
WARNING:Failed to attach shader shadowMapN.gs to program shadowMapN.
WARNING:Failed to attach shader shadowMapNG.fs to program shadowMapNG.
WARNING:Failed to attach shader shadowMapNG.gs to program shadowMapNG.
WARNING:Failed to attach shader shadowMapNG.vs to program shadowMapNG.
WARNING:Failed to attach shader stages/depth/depth.frag.glsl to program depth.
WARNING:Failed to attach shader stages/depth/depth.frag.glsl to program depth_bindless.
WARNING:Failed to attach shader stages/depth/depth.vert.glsl to program depth.
WARNING:Failed to attach shader stages/depth/depth.vert.glsl to program depth_bindless.
WARNING:Failed to attach shader stages/interaction/interaction.ambient.fs.glsl to program interaction_ambient.
WARNING:Failed to attach shader stages/interaction/interaction.ambient.fs.glsl to program interaction_ambient_bindless.
WARNING:Failed to attach shader stages/interaction/interaction.ambient.vs.glsl to program interaction_ambient.
WARNING:Failed to attach shader stages/interaction/interaction.ambient.vs.glsl to program interaction_ambient_bindless.
WARNING:Failed to attach shader stages/interaction/interaction.shadowmap.fs.glsl to program interaction_shadowmap.
WARNING:Failed to attach shader stages/interaction/interaction.shadowmap.fs.glsl to program interaction_shadowmap_bindless.
WARNING:Failed to attach shader stages/interaction/interaction.shadowmap.vs.glsl to program interaction_shadowmap.
WARNING:Failed to attach shader stages/interaction/interaction.shadowmap.vs.glsl to program interaction_shadowmap_bindless.
WARNING:Failed to attach shader stages/interaction/interaction.stencil.fs.glsl to program interaction_stencil.
WARNING:Failed to attach shader stages/interaction/interaction.stencil.fs.glsl to program interaction_stencil_bindless.
WARNING:Failed to attach shader stages/interaction/interaction.stencil.vs.glsl to program interaction_stencil.
WARNING:Failed to attach shader stages/interaction/interaction.stencil.vs.glsl to program interaction_stencil_bindless.
WARNING:Failed to attach shader stages/stencil/stencil_shadow.frag.glsl to program stencil_shadow.
WARNING:Failed to attach shader stages/stencil/stencil_shadow.vert.glsl to program stencil_shadow.
WARNING:file def/tdm_ai_undead_zombie.def, line 1084: entityDef 'atdm:ai_undead_zombie_alt_animations' previously defined at def/tdm_ai_undead_zombie.def:292
WARNING:file def/trilogy_stlucia.def, line 15: model 'tdm_ai_lucia_builderpriest' previously defined at def/tdm_priest.def:1
WARNING:file def/trilogy_stlucia.def, line 27: entityDef 'atdm:prop_hack' previously defined at def/tdm_priest.def:15
WARNING:file materials/tdm_epi_shader_2.mtr, line 485: material 'wizard_cloth_001' previously defined at materials/tdm_epi_shader_2.mtr:389
WARNING:file materials/tdm_stone_brick.mtr, line 1903: material 'textures/darkmod/stone/brick/even_greyish01' previously defined at materials/tdm_maps_saintlucia.mtr:201
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
WARNING:file skins/tdm_lights.skin, line 8: skin 'chandelier_unlit' previously defined at skins/saintlucia.skin:1
WARNING:file sound/tdm_ai_maiden.sndshd, line 1709: sound 'tdm_ai_maiden_request_help' previously defined at sound/tdm_ai_maiden.sndshd:1561
WARNING:file sound/tdm_maps_saintlucia.sndshd, line 64: sound 'tdm_builder2_conv_1' previously defined at sound/tdm_ai_builder2.sndshd:2061
WARNING:file sound/tdm_maps_saintlucia.sndshd, line 74: sound 'tdm_builder2_conv_2' previously defined at sound/tdm_ai_builder2.sndshd:2080
WARNING:file sound/tdm_maps_saintlucia.sndshd, line 84: sound 'tdm_builder2_conv_3' previously defined at sound/tdm_ai_builder2.sndshd:2094
WARNING:idChoiceWindow::InitVars: gui 'guis/mainmenu.gui' window 'FBO' references undefined cvar 'r_useFBO'
WARNING:Image name "0" is too short
WARNING:Linking program depth failed:
error: no shaders attached to the program
WARNING:Linking program depth_bindless failed:
error: no shaders attached to the program
WARNING:Linking program interaction_ambient failed:
error: no shaders attached to the program
WARNING:Linking program interaction_ambient_bindless failed:
error: no shaders attached to the program
WARNING:Linking program interaction_shadowmap failed:
error: no shaders attached to the program
WARNING:Linking program interaction_shadowmap_bindless failed:
error: no shaders attached to the program
WARNING:Linking program interaction_stencil failed:
error: no shaders attached to the program
WARNING:Linking program interaction_stencil_bindless failed:
error: no shaders attached to the program
WARNING:Linking program shadowMapNG failed:
error: no shaders attached to the program
WARNING:Linking program stencil_shadow failed:
error: no shaders attached to the program
WARNING:Validation for program shadowMapNG failed:
67 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: 606292
Async thread started
Couldn't exec autocommands.cfg - file does not exist.
Linking GLSL program cubeMap ...
Linking GLSL program bumpyEnvironment ...
Linking GLSL program depthAlpha ...
Linking GLSL program fog ...
Linking GLSL program oldStage ...
Linking GLSL program blend ...
Linking GLSL program stencilshadow ...
WARNING:Could not open shader file shadowMapA.gs
WARNING:Failed to attach shader shadowMapA.gs to program shadowMapA.
Linking GLSL program shadowMapA ...
WARNING:Could not open shader file shadowMapN.gs
WARNING:Failed to attach shader shadowMapN.gs to program shadowMapN.
Linking GLSL program shadowMapN ...
WARNING:Could not open shader file shadowMapNG.vs
WARNING:Failed to attach shader shadowMapNG.vs to program shadowMapNG.
WARNING:Could not open shader file shadowMapNG.fs
WARNING:Failed to attach shader shadowMapNG.fs to program shadowMapNG.
WARNING:Could not open shader file shadowMapNG.gs
WARNING:Failed to attach shader shadowMapNG.gs to program shadowMapNG.
Linking GLSL program shadowMapNG ...
WARNING:Linking program shadowMapNG failed:
error: no shaders attached to the program
WARNING:Validation for program shadowMapNG failed:
0Q�
Linking GLSL program ambientInteraction ...
Linking GLSL program interactionStencil ...
Linking GLSL program interactionShadowMaps ...
Linking GLSL program interactionMultiLight ...
Linking GLSL program frob ...
Linking GLSL program soft_particle ...
Linking GLSL program tonemap ...
WARNING:Could not open shader file stages/depth/depth.vert.glsl
WARNING:Failed to attach shader stages/depth/depth.vert.glsl to program depth.
WARNING:Could not open shader file stages/depth/depth.frag.glsl
WARNING:Failed to attach shader stages/depth/depth.frag.glsl to program depth.
Linking GLSL program depth ...
WARNING:Linking program depth failed:
error: no shaders attached to the program
WARNING:Could not open shader file stages/depth/depth.vert.glsl
WARNING:Failed to attach shader stages/depth/depth.vert.glsl to program depth_bindless.
WARNING:Could not open shader file stages/depth/depth.frag.glsl
WARNING:Failed to attach shader stages/depth/depth.frag.glsl to program depth_bindless.
Linking GLSL program depth_bindless ...
WARNING:Linking program depth_bindless failed:
error: no shaders attached to the program
WARNING:Could not open shader file stages/interaction/interaction.ambient.vs.glsl
WARNING:Failed to attach shader stages/interaction/interaction.ambient.vs.glsl to program interaction_ambient.
WARNING:Could not open shader file stages/interaction/interaction.ambient.fs.glsl
WARNING:Failed to attach shader stages/interaction/interaction.ambient.fs.glsl to program interaction_ambient.
Linking GLSL program interaction_ambient ...
WARNING:Linking program interaction_ambient failed:
error: no shaders attached to the program
WARNING:Could not open shader file stages/interaction/interaction.stencil.vs.glsl
WARNING:Failed to attach shader stages/interaction/interaction.stencil.vs.glsl to program interaction_stencil.
WARNING:Could not open shader file stages/interaction/interaction.stencil.fs.glsl
WARNING:Failed to attach shader stages/interaction/interaction.stencil.fs.glsl to program interaction_stencil.
Linking GLSL program interaction_stencil ...
WARNING:Linking program interaction_stencil failed:
error: no shaders attached to the program
WARNING:Could not open shader file stages/interaction/interaction.shadowmap.vs.glsl
WARNING:Failed to attach shader stages/interaction/interaction.shadowmap.vs.glsl to program interaction_shadowmap.
WARNING:Could not open shader file stages/interaction/interaction.shadowmap.fs.glsl
WARNING:Failed to attach shader stages/interaction/interaction.shadowmap.fs.glsl to program interaction_shadowmap.
Linking GLSL program interaction_shadowmap ...
WARNING:Linking program interaction_shadowmap failed:
error: no shaders attached to the program
WARNING:Could not open shader file stages/interaction/interaction.ambient.vs.glsl
WARNING:Failed to attach shader stages/interaction/interaction.ambient.vs.glsl to program interaction_ambient_bindless.
WARNING:Could not open shader file stages/interaction/interaction.ambient.fs.glsl
WARNING:Failed to attach shader stages/interaction/interaction.ambient.fs.glsl to program interaction_ambient_bindless.
Linking GLSL program interaction_ambient_bindless ...
WARNING:Linking program interaction_ambient_bindless failed:
error: no shaders attached to the program
WARNING:Could not open shader file stages/interaction/interaction.stencil.vs.glsl
WARNING:Failed to attach shader stages/interaction/interaction.stencil.vs.glsl to program interaction_stencil_bindless.
WARNING:Could not open shader file stages/interaction/interaction.stencil.fs.glsl
WARNING:Failed to attach shader stages/interaction/interaction.stencil.fs.glsl to program interaction_stencil_bindless.
Linking GLSL program interaction_stencil_bindless ...
WARNING:Linking program interaction_stencil_bindless failed:
error: no shaders attached to the program
WARNING:Could not open shader file stages/interaction/interaction.shadowmap.vs.glsl
WARNING:Failed to attach shader stages/interaction/interaction.shadowmap.vs.glsl to program interaction_shadowmap_bindless.
WARNING:Could not open shader file stages/interaction/interaction.shadowmap.fs.glsl
WARNING:Failed to attach shader stages/interaction/interaction.shadowmap.fs.glsl to program interaction_shadowmap_bindless.
Linking GLSL program interaction_shadowmap_bindless ...
WARNING:Linking program interaction_shadowmap_bindless failed:
error: no shaders attached to the program
WARNING:Could not open shader file stages/stencil/stencil_shadow.vert.glsl
WARNING:Failed to attach shader stages/stencil/stencil_shadow.vert.glsl to program stencil_shadow.
WARNING:Could not open shader file stages/stencil/stencil_shadow.frag.glsl
WARNING:Failed to attach shader stages/stencil/stencil_shadow.frag.glsl to program stencil_shadow.
Linking GLSL program stencil_shadow ...
WARNING:Linking program stencil_shadow failed:
error: no shaders attached to the program
X connection to :0 broken (explicit kill or server shutdown).
if I set the autoexec_vr.cfg param to 1 then I get an error and blank screen
./thedarkmodvr.x64
WARNING:Cannot detect SVN version!
Make sure 'svnversion' command works in console on the build machine.
TDM 2.09/64 #0 (Unversioned directory) linux-x86_64 Jul 14 2020 17:41:36
found interface lo - loopback
found interface enp0s31f6 - 192.168.0.15/255.255.255.0
Found Generic CPU, features: SSE SSE2 SSE3
TDM using SSE3 for SIMD processing.
no 'darkmod' directory in exe path /media/user/data/games/darkmod208, skipping
WARNING: using hardcoded default base path
------ Initializing File System ------
Current search path:
/media/user/data/games/darkmod208/fms/stlucia
/media/user/data/games/darkmod208/fms/stlucia/stlucia.pk4 (118 files)
/media/user/data/games/darkmod208/
/media/user/data/games/darkmod208/tdm_textures_wood01.pk4 (376 files)
/media/user/data/games/darkmod208/tdm_textures_window01.pk4 (389 files)
/media/user/data/games/darkmod208/tdm_textures_stone_sculpted01.pk4 (463 files)
/media/user/data/games/darkmod208/tdm_textures_stone_natural01.pk4 (130 files)
/media/user/data/games/darkmod208/tdm_textures_stone_flat01.pk4 (302 files)
/media/user/data/games/darkmod208/tdm_textures_stone_cobblestones01.pk4 (224 files)
/media/user/data/games/darkmod208/tdm_textures_stone_brick01.pk4 (520 files)
/media/user/data/games/darkmod208/tdm_textures_sfx01.pk4 (69 files)
/media/user/data/games/darkmod208/tdm_textures_roof01.pk4 (72 files)
/media/user/data/games/darkmod208/tdm_textures_plaster01.pk4 (142 files)
/media/user/data/games/darkmod208/tdm_textures_paint_paper01.pk4 (63 files)
/media/user/data/games/darkmod208/tdm_textures_other01.pk4 (127 files)
/media/user/data/games/darkmod208/tdm_textures_nature01.pk4 (286 files)
/media/user/data/games/darkmod208/tdm_textures_metal01.pk4 (496 files)
/media/user/data/games/darkmod208/tdm_textures_glass01.pk4 (51 files)
/media/user/data/games/darkmod208/tdm_textures_fabric01.pk4 (43 files)
/media/user/data/games/darkmod208/tdm_textures_door01.pk4 (177 files)
/media/user/data/games/darkmod208/tdm_textures_decals01.pk4 (464 files)
/media/user/data/games/darkmod208/tdm_textures_carpet01.pk4 (92 files)
/media/user/data/games/darkmod208/tdm_textures_base01.pk4 (398 files)
/media/user/data/games/darkmod208/tdm_standalone.pk4 (4 files)
/media/user/data/games/darkmod208/tdm_sound_vocals_decls01.pk4 (27 files)
/media/user/data/games/darkmod208/tdm_sound_vocals07.pk4 (1111 files)
/media/user/data/games/darkmod208/tdm_sound_vocals06.pk4 (696 files)
/media/user/data/games/darkmod208/tdm_sound_vocals05.pk4 (119 files)
/media/user/data/games/darkmod208/tdm_sound_vocals04.pk4 (2869 files)
/media/user/data/games/darkmod208/tdm_sound_vocals03.pk4 (743 files)
/media/user/data/games/darkmod208/tdm_sound_vocals02.pk4 (1299 files)
/media/user/data/games/darkmod208/tdm_sound_vocals01.pk4 (82 files)
/media/user/data/games/darkmod208/tdm_sound_sfx02.pk4 (605 files)
/media/user/data/games/darkmod208/tdm_sound_sfx01.pk4 (963 files)
/media/user/data/games/darkmod208/tdm_sound_ambient_decls01.pk4 (8 files)
/media/user/data/games/darkmod208/tdm_sound_ambient03.pk4 (24 files)
/media/user/data/games/darkmod208/tdm_sound_ambient02.pk4 (163 files)
/media/user/data/games/darkmod208/tdm_sound_ambient01.pk4 (220 files)
/media/user/data/games/darkmod208/tdm_prefabs01.pk4 (968 files)
/media/user/data/games/darkmod208/tdm_player01.pk4 (125 files)
/media/user/data/games/darkmod208/tdm_models_decls01.pk4 (103 files)
/media/user/data/games/darkmod208/tdm_models02.pk4 (2043 files)
/media/user/data/games/darkmod208/tdm_models01.pk4 (3123 files)
/media/user/data/games/darkmod208/tdm_gui_credits01.pk4 (49 files)
/media/user/data/games/darkmod208/tdm_gui01.pk4 (720 files)
/media/user/data/games/darkmod208/tdm_fonts01.pk4 (696 files)
/media/user/data/games/darkmod208/tdm_env01.pk4 (152 files)
/media/user/data/games/darkmod208/tdm_defs01.pk4 (185 files)
/media/user/data/games/darkmod208/tdm_base01.pk4 (187 files)
/media/user/data/games/darkmod208/tdm_ai_steambots01.pk4 (24 files)
/media/user/data/games/darkmod208/tdm_ai_monsters_spiders01.pk4 (80 files)
/media/user/data/games/darkmod208/tdm_ai_humanoid_undead01.pk4 (55 files)
/media/user/data/games/darkmod208/tdm_ai_humanoid_townsfolk01.pk4 (104 files)
/media/user/data/games/darkmod208/tdm_ai_humanoid_pagans01.pk4 (10 files)
/media/user/data/games/darkmod208/tdm_ai_humanoid_nobles01.pk4 (48 files)
/media/user/data/games/darkmod208/tdm_ai_humanoid_mages01.pk4 (8 files)
/media/user/data/games/darkmod208/tdm_ai_humanoid_heads01.pk4 (100 files)
/media/user/data/games/darkmod208/tdm_ai_humanoid_guards01.pk4 (378 files)
/media/user/data/games/darkmod208/tdm_ai_humanoid_females01.pk4 (172 files)
/media/user/data/games/darkmod208/tdm_ai_humanoid_builders01.pk4 (91 files)
/media/user/data/games/darkmod208/tdm_ai_humanoid_beasts02.pk4 (292 files)
/media/user/data/games/darkmod208/tdm_ai_humanoid_beasts01.pk4 (23 files)
/media/user/data/games/darkmod208/tdm_ai_base01.pk4 (8 files)
/media/user/data/games/darkmod208/tdm_ai_animals01.pk4 (82 files)
File System Initialized.
--------------------------------------
Couldn't open journal files
/proc/cpuinfo CPU processors: 4
/proc/cpuinfo CPU logical cores: 8
----- Initializing Decls -----
WARNING:file materials/tdm_epi_shader_2.mtr, line 485: material 'wizard_cloth_001' previously defined at materials/tdm_epi_shader_2.mtr:389
WARNING:file materials/tdm_stone_brick.mtr, line 1903: material 'textures/darkmod/stone/brick/even_greyish01' previously defined at materials/tdm_maps_saintlucia.mtr:201
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
WARNING:file skins/tdm_lights.skin, line 8: skin 'chandelier_unlit' previously defined at skins/saintlucia.skin:1
WARNING:file sound/tdm_ai_maiden.sndshd, line 1709: sound 'tdm_ai_maiden_request_help' previously defined at sound/tdm_ai_maiden.sndshd:1561
WARNING:file sound/tdm_maps_saintlucia.sndshd, line 64: sound 'tdm_builder2_conv_1' previously defined at sound/tdm_ai_builder2.sndshd:2061
WARNING:file sound/tdm_maps_saintlucia.sndshd, line 74: sound 'tdm_builder2_conv_2' previously defined at sound/tdm_ai_builder2.sndshd:2080
WARNING:file sound/tdm_maps_saintlucia.sndshd, line 84: sound 'tdm_builder2_conv_3' previously defined at sound/tdm_ai_builder2.sndshd:2094
------------------------------
/proc/cpuinfo CPU frequency: 4500.58 MHz
I18N: SetLanguage: 'english'.
I18N: Found no character remapping for english.
I18N: 1274 strings read from strings/english.lang
I18N: 83 strings read from strings/fm/english.lang
Couldn't exec editor.cfg - file does not exist.
execing default.cfg
execing darkmod_vr.cfg
execing DarkmodKeybinds.cfg
execing autoexec_vr.cfg
I18N: SetLanguage: 'english'.
I18N: Found no character remapping for english.
I18N: 1274 strings read from strings/english.lang
I18N: 83 strings read from strings/fm/english.lang
----- Initializing OpenAL -----
Setup OpenAL device and context
OpenAL: found device 'ALSA Default'
OpenAL: found device 'HDA Intel PCH, ALC1220 Analog (CARD=PCH,DEV=0)'
OpenAL: found device 'HDA Intel PCH, ALC1220 Digital (CARD=PCH,DEV=1)'
OpenAL: found device 'HD-Audio Generic, HDMI 0 (CARD=Generic,DEV=3)'
OpenAL: found device 'HD-Audio Generic, HDMI 1 (CARD=Generic,DEV=7)'
OpenAL: found device 'HD-Audio Generic, HDMI 2 (CARD=Generic,DEV=8)'
OpenAL: found device 'HD-Audio Generic, HDMI 3 (CARD=Generic,DEV=9)'
OpenAL: found device 'HD-Audio Generic, HDMI 4 (CARD=Generic,DEV=10)'
OpenAL: found device 'HD-Audio Generic, HDMI 5 (CARD=Generic,DEV=11)'
OpenAL: found device 'USB Audio Device, USB Audio (CARD=Device,DEV=0)'
OpenAL: using 'OpenAL Soft'
OpenAL: HRTF is available
OpenAL vendor: OpenAL Community
OpenAL renderer: OpenAL Soft
OpenAL version: 1.1 ALSOFT 1.19.1
OpenAL: found EFX extension
OpenAL: HRTF is enabled (reason: 1 = ALC_HRTF_ENABLED_SOFT)
OpenAL: found 256 hardware voices
----- Initializing OpenGL -----
Setup X display connection
Using screen 0 of 0x6a3ef20 display
AL lib: (EE) ALCplaybackAlsa_mixerNoMMapProc: available update failed: Broken pipe
AL lib: (EE) ALCplaybackAlsa_mixerNoMMapProc: available update failed: Broken pipe
AL lib: (EE) ALCplaybackAlsa_mixerNoMMapProc: available update failed: Broken pipe
Initializing OpenGL display
Using XFree86-VidModeExtension Version 2.2
Free86-VidModeExtension Activated at 800x600
Chosen visual: 0x021
AL lib: (EE) ALCplaybackAlsa_mixerNoMMapProc: available update failed: Broken pipe
AL lib: (EE) ALCplaybackAlsa_mixerNoMMapProc: available update failed: Broken pipe
AL lib: (EE) ALCplaybackAlsa_mixerNoMMapProc: available update failed: Broken pipe
AL lib: (EE) ALCplaybackAlsa_mixerNoMMapProc: available update failed: Broken pipe
...creating GL context: core-fc
...initializing QGL
------- 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 Radeon RX 5700 XT (NAVI10, DRM 3.35.0, 5.4.0-39-generic, LLVM 9.0.1)
OpenGL version: 4.6 (Core Profile) Mesa 20.0.4 core
Checking required OpenGL features...
v - using GL_VERSION_3_1
v - using GL_EXT_texture_compression_s3tc
v - using GLX_VERSION_1_4
Checking optional OpenGL extensions...
Max texture units: 32
Max active textures: 192
Max geometry output vertices: 256
Max geometry output components: 4095
Max vertex attribs: 16
v - using GL_EXT_texture_filter_anisotropic
maxTextureAnisotropy: 16.000000
X - GL_ARB_vertex_program not found
v - using GL_ARB_stencil_texturing
v - using GL_EXT_depth_bounds_test
X - GL_ARB_geometry_shader4 not found
v - using GL_ARB_timer_query
v - using GL_KHR_debug
v - using GL_ARB_sync
v - using GL_ARB_draw_elements_base_vertex
v - using GL_ARB_texture_swizzle
v - using GL_ARB_buffer_storage
No ARB programs loaded
---------- R_ReloadGLSLPrograms_f -----------
Linking GLSL program cubeMap ...
Linking GLSL program bumpyEnvironment ...
Linking GLSL program depthAlpha ...
Linking GLSL program fog ...
Linking GLSL program oldStage ...
Linking GLSL program blend ...
Linking GLSL program stencilshadow ...
WARNING:Could not open shader file shadowMapA.gs
WARNING:Failed to attach shader shadowMapA.gs to program shadowMapA.
Linking GLSL program shadowMapA ...
WARNING:Could not open shader file shadowMapN.gs
WARNING:Failed to attach shader shadowMapN.gs to program shadowMapN.
Linking GLSL program shadowMapN ...
WARNING:Could not open shader file shadowMapNG.vs
WARNING:Failed to attach shader shadowMapNG.vs to program shadowMapNG.
WARNING:Could not open shader file shadowMapNG.fs
WARNING:Failed to attach shader shadowMapNG.fs to program shadowMapNG.
WARNING:Could not open shader file shadowMapNG.gs
WARNING:Failed to attach shader shadowMapNG.gs to program shadowMapNG.
Linking GLSL program shadowMapNG ...
WARNING:Linking program shadowMapNG failed:
error: no shaders attached to the program
WARNING:Validation for program shadowMapNG failed:
Linking GLSL program ambientInteraction ...
Linking GLSL program interactionStencil ...
Linking GLSL program interactionShadowMaps ...
Linking GLSL program interactionMultiLight ...
Linking GLSL program frob ...
Linking GLSL program soft_particle ...
Linking GLSL program tonemap ...
---------------------------------
New buffer size: 12288 kb
New buffer size: 12288 kb
WARNING:Could not open shader file stages/depth/depth.vert.glsl
WARNING:Failed to attach shader stages/depth/depth.vert.glsl to program depth.
WARNING:Could not open shader file stages/depth/depth.frag.glsl
WARNING:Failed to attach shader stages/depth/depth.frag.glsl to program depth.
Linking GLSL program depth ...
WARNING:Linking program depth failed:
error: no shaders attached to the program
WARNING:Could not open shader file stages/depth/depth.vert.glsl
WARNING:Failed to attach shader stages/depth/depth.vert.glsl to program depth_bindless.
WARNING:Could not open shader file stages/depth/depth.frag.glsl
WARNING:Failed to attach shader stages/depth/depth.frag.glsl to program depth_bindless.
Linking GLSL program depth_bindless ...
WARNING:Linking program depth_bindless failed:
error: no shaders attached to the program
WARNING:Could not open shader file stages/interaction/interaction.ambient.vs.glsl
WARNING:Failed to attach shader stages/interaction/interaction.ambient.vs.glsl to program interaction_ambient.
WARNING:Could not open shader file stages/interaction/interaction.ambient.fs.glsl
WARNING:Failed to attach shader stages/interaction/interaction.ambient.fs.glsl to program interaction_ambient.
Linking GLSL program interaction_ambient ...
WARNING:Linking program interaction_ambient failed:
error: no shaders attached to the program
WARNING:Could not open shader file stages/interaction/interaction.stencil.vs.glsl
WARNING:Failed to attach shader stages/interaction/interaction.stencil.vs.glsl to program interaction_stencil.
WARNING:Could not open shader file stages/interaction/interaction.stencil.fs.glsl
WARNING:Failed to attach shader stages/interaction/interaction.stencil.fs.glsl to program interaction_stencil.
Linking GLSL program interaction_stencil ...
WARNING:Linking program interaction_stencil failed:
error: no shaders attached to the program
WARNING:Could not open shader file stages/interaction/interaction.shadowmap.vs.glsl
WARNING:Failed to attach shader stages/interaction/interaction.shadowmap.vs.glsl to program interaction_shadowmap.
WARNING:Could not open shader file stages/interaction/interaction.shadowmap.fs.glsl
WARNING:Failed to attach shader stages/interaction/interaction.shadowmap.fs.glsl to program interaction_shadowmap.
Linking GLSL program interaction_shadowmap ...
WARNING:Linking program interaction_shadowmap failed:
error: no shaders attached to the program
WARNING:Could not open shader file stages/interaction/interaction.ambient.vs.glsl
WARNING:Failed to attach shader stages/interaction/interaction.ambient.vs.glsl to program interaction_ambient_bindless.
WARNING:Could not open shader file stages/interaction/interaction.ambient.fs.glsl
WARNING:Failed to attach shader stages/interaction/interaction.ambient.fs.glsl to program interaction_ambient_bindless.
Linking GLSL program interaction_ambient_bindless ...
WARNING:Linking program interaction_ambient_bindless failed:
error: no shaders attached to the program
WARNING:Could not open shader file stages/interaction/interaction.stencil.vs.glsl
WARNING:Failed to attach shader stages/interaction/interaction.stencil.vs.glsl to program interaction_stencil_bindless.
WARNING:Could not open shader file stages/interaction/interaction.stencil.fs.glsl
WARNING:Failed to attach shader stages/interaction/interaction.stencil.fs.glsl to program interaction_stencil_bindless.
Linking GLSL program interaction_stencil_bindless ...
WARNING:Linking program interaction_stencil_bindless failed:
error: no shaders attached to the program
WARNING:Could not open shader file stages/interaction/interaction.shadowmap.vs.glsl
WARNING:Failed to attach shader stages/interaction/interaction.shadowmap.vs.glsl to program interaction_shadowmap_bindless.
WARNING:Could not open shader file stages/interaction/interaction.shadowmap.fs.glsl
WARNING:Failed to attach shader stages/interaction/interaction.shadowmap.fs.glsl to program interaction_shadowmap_bindless.
Linking GLSL program interaction_shadowmap_bindless ...
WARNING:Linking program interaction_shadowmap_bindless failed:
error: no shaders attached to the program
WARNING:Could not open shader file stages/stencil/stencil_shadow.vert.glsl
WARNING:Failed to attach shader stages/stencil/stencil_shadow.vert.glsl to program stencil_shadow.
WARNING:Could not open shader file stages/stencil/stencil_shadow.frag.glsl
WARNING:Failed to attach shader stages/stencil/stencil_shadow.frag.glsl to program stencil_shadow.
Linking GLSL program stencil_shadow ...
WARNING:Linking program stencil_shadow failed:
error: no shaders attached to the program
-----------------------------
Initializing VR subsystem
Supported extensions:
- XR_KHR_vulkan_enable
- XR_KHR_opengl_enable
- XR_KHR_visibility_mask
- XR_EXT_debug_utils
Supported API layers:
- XR_APILAYER_LUNARG_core_validation
- XR_APILAYER_LUNARG_api_dump
OpenXR runtime: SteamVR/OpenXR (v0.1.0)
Session created
Using swapchain format: GL_SRGB8_ALPHA8
Recommended render resolution: 1512x1680
New buffer size: 12288 kb
New buffer size: 12288 kb
----- idRenderModelManagerLocal::EndLevelLoad -----
New buffer size: 12289 kb
New buffer size: 12288 kb
Static vertex data ready
New buffer size: 12289 kb
Static index data ready
New buffer size: 12288 kb
0 models purged from previous level, 3 models kept.
---------------------------------------------------
Regenerated world, staticAllocCount = 0.
--------- Game Map Shutdown ----------
--------- Game Map Shutdown done -----
Shutting down sound hardware
idRenderSystem::Shutdown()
...shutting down QGL
Fatal X Error:
Major opcode of failed request: 153
Minor opcode of failed request: 10
Serial number of failed request: 83
BadValue (integer parameter out of range for operation)
I18NLocal: Shutdown.
------------ Game Shutdown -----------
Shutdown event system
...not started
--------------------------------------
Sys_Error: OpenXR call failed - creating swapchain: XR_ERROR_RUNTIME_FAILURE
About to exit with code 1
(It looks to me there are some shaders that can't render and make some error in any case up here... not sure if related)
Ok, this time at least it tried to initialize the VR system, so that's good. But yeah, there are a bunch of shaders missing - did you extract the glprogs_vr folder to your game data directory?
Meanwhile, I've managed to give it a go on my notebook with Ubuntu. After some initial trouble to get SteamVR working at all, the current development build of The Dark Mod VR appears to run fine for me - with one exception: the UI layer in the headset is mysteriously cut off to the upper left quarter. The actual game view renders fine, but the missing UI parts are a bit of a bummer. It does display fully in the app window, which makes this issue somewhat puzzling.
Fixed the issue. The OpenVR backend is now working fine on my machine. OpenXR crashes, but there were some comments in the SteamVR forums that this might be expected right now.
Please try the latest build. If it's still not working for you, then it's probably an AMD issue, and we'll have to do some additional debugging.
It doesn't work for me, unfortunately. The game starts and I can see the menu on my monitor, but there's nothing in the HMD (Index) except for the chaperone. I can't navigate the menu using the mouse. Nothing obvious in the log (I think): https://pastebin.com/zH5QCm7E
I'm using UbuntuDDE (which is basically Ubuntu 20.04)
Could you try resetting your seated position in Steam? It's possible that it simply projects the UI overlay to the wrong place due to the position being off. You could also try to actually load a mission and see if the actual ingame view renders to the headset.
I have a Vega 64, tried latest mesa git and mesa 20.1.
I have directories darkmod/ and thedarkmodvr/ next to each other, and build thedarkmodvr with cmake -DCMAKE_BUILD_TYPE=Release -Bbuild; cd build; make -j32
.
Make places thedarkmodvr.x64
and glprogs_vr
in my darkmod/ directory.
Running ./thedarkmodvr.x64 also doesn't find a the two shaders, and eventually gets stuck linking shaders:
There are two shaders glprogs_vr/shadowMapA.bak.gs
and glprogs_vr/shadowMapN.bak.gs
, but renaming them to glprogs_vr/shadowMapA.gs
and glprogs_vr/shadowMapN.gs
does not help much:
The linking is stuck inside radeonsi and eats unlimited ram.
#0 0x00007ffff78049a8 in _IO_strn_overflow () from /usr/lib/libc.so.6
#1 0x00007ffff7809dd1 in _IO_default_xsputn () from /usr/lib/libc.so.6
#2 0x00007ffff77f0ac0 in __vfprintf_internal () from /usr/lib/libc.so.6
#3 0x00007ffff7804a7a in __vsnprintf_internal () from /usr/lib/libc.so.6
#4 0x00007fffddf8c375 in printf_length (fmt=0x7fffde51e604 ".%s", untouched_args=0x7fffffffb700) at ../src/util/ralloc.c:485
#5 0x00007fffddf8c725 in ralloc_vasprintf_rewrite_tail (str=0x7fffffffb9f0, start=0x7fffffffb838, fmt=0x7fffde51e604 ".%s", args=0x7fffffffb700) at ../src/util/ralloc.c:553
#6 0x00007fffddf8c65a in ralloc_asprintf_rewrite_tail (str=0x7fffffffb9f0, start=0x7fffffffb838, fmt=0x7fffde51e604 ".%s") at ../src/util/ralloc.c:532
#7 0x00007fffddeb448b in program_resource_visitor::recursion (this=0x7fffffffba80, t=0x5b49400, name=0x7fffffffb9f0, name_length=15, row_major=false, record_type=0x0, packing=GLSL_INTERFACE_PACKING_STD140, last_field=false, record_array_count=12201610, named_ifc_member=0x0) at ../src/compiler/glsl/link_uniforms.cpp:365
#8 0x00007fffddeb46ee in program_resource_visitor::recursion (this=0x7fffffffba80, t=0x5c055d0, name=0x7fffffffb9f0, name_length=6, row_major=false, record_type=0x0, packing=GLSL_INTERFACE_PACKING_STD140, last_field=true, record_array_count=12201610, named_ifc_member=0x0) at ../src/compiler/glsl/link_uniforms.cpp:421
#9 0x00007fffddeb4533 in program_resource_visitor::recursion (this=0x7fffffffba80, t=0x5c267e0, name=0x7fffffffb9f0, name_length=0, row_major=false, record_type=0x0, packing=GLSL_INTERFACE_PACKING_STD140, last_field=false, record_array_count=1, named_ifc_member=0x0) at ../src/compiler/glsl/link_uniforms.cpp:383
#10 0x00007fffddeb3efe in program_resource_visitor::process (this=0x7fffffffba80, type=0x5c267e0, name=0x7fffde51f527 "", use_std430_as_default=true) at ../src/compiler/glsl/link_uniforms.cpp:273
#11 0x00007fffddeba949 in link_uniform_blocks (mem_ctx=0x5bb6820, ctx=0x54761f0, prog=0x5c2ce70, shader=0x5b447a0, ubo_blocks=0x7fffffffbb88, num_ubo_blocks=0x7fffffffbb54, ssbo_blocks=0x7fffffffbb90, num_ssbo_blocks=0x7fffffffbb58) at ../src/compiler/glsl/link_uniform_blocks.cpp:447
#12 0x00007fffddea878b in link_intrastage_shaders (mem_ctx=0x5bb6820, ctx=0x54761f0, prog=0x5c2ce70, shader_list=0x5b8e6a0, num_shaders=1, allow_missing_main=false) at ../src/compiler/glsl/linker.cpp:2540
#13 0x00007fffddeadf10 in link_shaders (ctx=0x54761f0, prog=0x5c2ce70) at ../src/compiler/glsl/linker.cpp:4703
#14 0x00007fffdda6c3a5 in _mesa_glsl_link_shader (ctx=0x54761f0, prog=0x5c2ce70) at ../src/mesa/program/ir_to_mesa.cpp:3099
#15 0x00007fffddc2c761 in link_program (no_error=false, shProg=0x5c2ce70, ctx=0x54761f0) at ../src/mesa/main/shaderapi.c:1311
#16 link_program_error (ctx=0x54761f0, shProg=0x5c2ce70) at ../src/mesa/main/shaderapi.c:1419
#17 0x00007fffddc2dff7 in _mesa_LinkProgram (programObj=73) at ../src/mesa/main/shaderapi.c:1911
#18 0x00000000007c47bc in GLSLProgram::Link (this=0x5c330b0) at /home/haagch-collabora/4tb/thedarkmodvr/renderer/GLSLProgram.cpp:83
#19 0x0000000000bd69fe in (anonymous namespace)::LoadShader (shader=0x5c330b0, maxSupportedDrawsPerBatch=12201610, bindless=<optimized out>) at /home/haagch-collabora/4tb/thedarkmodvr/renderer/backend/DepthStage.cpp:42
#20 0x00000000007cd91f in std::function<void (GLSLProgram*)>::operator()(GLSLProgram*) const (__args#0=<optimized out>, this=0x7fffffffc160) at /usr/include/c++/10.1.0/bits/std_function.h:617
#21 GLSLProgramManager::LoadFromGenerator(char const*, std::function<void (GLSLProgram*)> const&) (this=<optimized out>, name=name@entry=0x1350ec7 "depth", generator=...) at /home/haagch-collabora/4tb/thedarkmodvr/renderer/GLSLProgramManager.cpp:127
#22 0x0000000000bd6cd2 in DepthStage::Init (this=this@entry=0x276ce00 <renderBackendImpl+192>) at /usr/include/c++/10.1.0/new:175
#23 0x0000000000bdd0eb in RenderBackend::Init (this=0x276cd40 <renderBackendImpl>) at /home/haagch-collabora/4tb/thedarkmodvr/renderer/backend/RenderBackend.cpp:52
#24 0x000000000082c9a6 in R_InitOpenGL () at /home/haagch-collabora/4tb/thedarkmodvr/renderer/RenderSystem_init.cpp:416
#25 0x000000000082d009 in idRenderSystemLocal::InitOpenGL (this=<optimized out>) at /home/haagch-collabora/4tb/thedarkmodvr/renderer/RenderSystem_init.cpp:1952
#26 idRenderSystemLocal::InitOpenGL (this=<optimized out>) at /home/haagch-collabora/4tb/thedarkmodvr/renderer/RenderSystem_init.cpp:1949
#27 0x000000000053ed15 in idCommonLocal::InitRenderSystem (this=0x15a7c80 <commonLocal>) at /home/haagch-collabora/4tb/thedarkmodvr/framework/Common.cpp:2460
#28 idCommonLocal::InitRenderSystem (this=0x15a7c80 <commonLocal>) at /home/haagch-collabora/4tb/thedarkmodvr/framework/Common.cpp:2456
#29 idCommonLocal::InitGame (this=0x15a7c80 <commonLocal>) at /home/haagch-collabora/4tb/thedarkmodvr/framework/Common.cpp:3063
#30 0x000000000053f206 in idCommonLocal::Init (this=0x15a7c80 <commonLocal>, argc=<optimized out>, argv=<optimized out>, cmdline=<optimized out>) at /home/haagch-collabora/4tb/thedarkmodvr/framework/Common.cpp:2869
#31 0x000000000050808b in main (argc=1, argv=0x7fffffffd858) at /home/haagch-collabora/4tb/thedarkmodvr/sys/posix/platform_linux.cpp:567
This is probably a bug in radeonsi, but if the shaders compiled correctly it may not happen.
I have exactly the same error as above on my RX5700XT
The two missing shaders are almost certainly red herrings, they've been deleted and unfortunately the reference to them hasn't been deleted from the code.
However, it actually hangs while loading the depth shader from glprogs_vr/stages/depth/depth.*.glsl, and that's a problem. Could you try removing those two shader files and try again if the game will start? It can't work properly without the depth shader (but should display the menu at least), but I'd like to know if it's only this shader or if there are more shaders it's having trouble with.
Could you try resetting your seated position in Steam?
That was it.. I should have thought of that (but I forgot the option even existed). Thank you!
Now I see the menu and the cursor, but I can't navigate it. Moving the mouse doesn't do anything.
Could you try resetting your seated position in Steam?
That was it.. I should have thought of that (but I forgot the option even existed). Thank you!
Now I see the menu and the cursor, but I can't navigate it. Moving the mouse doesn't do anything.
Argh... I had that same problem initially, but it went away. I don't know what caused it or what solved it, either. I did update system packages in-between and upgraded the Nvidia driver to version 450. Perhaps you could try updating, as well? I don't know what else to suggest, really.
I guess you could try these cvars: in_dgamouse and in_grabmouse. Create an autoexec_vr.cfg and put 'set in_grabmouse 1' into it, see if that helps. Or 'set in_dgamouse 0'.
However, it actually hangs while loading the depth shader from glprogs_vr/stages/depth/depth.*.glsl, and that's a problem. Could you try removing those two shader files and try again if the game will start?
You are right, the missing shaders are not the issue.
When removing the glprogs_vr/stages/depth directory, the shaders in glprogs_vr/stages/interaction cause the same hang, and then the shaders in glprogs_vr/stages/stencil. When removing the entire glprogs_vr/stages/ directory, it starts up and the menu works (menu also shows in SteamVR).
I'm afraid there is little more I can do :( If all those shaders are affected, that's a pretty serious driver bug. Judging from your trace, it looks to be somewhere in their dealings with uniform blocks or uniforms. But without owning an AMD card myself, I can't really pinpoint the exact cause any further than this, or develop a workaround...
(BTW, these exact shaders are known to work with AMD cards on Windows.)
I believe the driver gets stuck linking due to #pragma tdm_define "MAX_SHADER_PARAMS"
being set to a very large number. It seems this application makes the ubo take up the full GL_MAX_UNIFORM_BLOCK_SIZE size without any attempt to put a limit on it. Which is a very high value on the radeonsi driver.
Argh, you may be right. There was supposed (and used) to be an upper limit for precisely that reason, but it seems to have been lost in a refactoring.
Could someone please try this build (or build latest master), see if it helps? https://ci.appveyor.com/api/buildjobs/6lf7syuquljrj7ac/artifacts/thedarkmodvr.tar.bz2
apparently that solve the problem : now the game starts but only in 800x600 and can't move the mouse (nor start a game) but no black screen nor memory overflow anymore :D
Concerning mouse movement, see my previous reply: https://github.com/fholger/thedarkmodvr/issues/15#issuecomment-661056448 Also, does it work in the flat game (in windowed mode)?
those parameters in autoexec_vr.cfg or darkmod_vr.cfg does not help unfortunately, the game actually launch on the headset on a plate and on the desktop fullscreen but forcing it to 800x600 (that I have to reset afterward) if I change the desktop res while the game menu is on, it puts it in the top left corner at same low res, and the mouse pointer can't enter it (it is reset at a lower position in the screen when entering the game window) it work perfect with the normal 2.08 flat game in fullscreen or windowed mode (it capture the mouse in it's boudaries when focused) (maybe this is another issue to separate)
Thanks, it starts now.
With thedarkmod.x64 the mouse works fine in the menu and I immediately set it to windowed. (Why do games think it's okay to change my monitor's resolution and mess up my multi monitor configuration?)
With thedarkmodvr.x64 when entering the window, the mouse pointer always gets immediately warped to the same coordinates somewhere below the window, no matter where you start hovering it.
I have a vague idea what might be going on. As a workaround, can you try to edit darkmod_vr.cfg and edit the line containing "r_customHeight" and set a high value there? Something over 1200 at least, I think, or even higher if necessary.
ok ... it actually works by setting those parameters in the autoexec_vr.cfg AND deleting the darkmod_vr.cfg (but not the glprogs_vr dir or it borks) my bad : I didn't followed some instructions from the release ;)
I think glConfig.vidWidth and glConfig.vidHeight are not right https://github.com/fholger/thedarkmodvr/blob/e77a20a862df8fc66deffbb6d19ea095426e5d8d/sys/linux/input.cpp#L650-L662
Yes, they'll need to be changed to windowWidth/Height
Good tip, thanks. This makes the menu work
diff --git a/sys/linux/input.cpp b/sys/linux/input.cpp
index da7c69e4..479e76cc 100644
--- a/sys/linux/input.cpp
+++ b/sys/linux/input.cpp
@@ -647,10 +647,10 @@ void Posix_PollInput() {
} else {
// if it's a center motion, we've just returned from our warp
// FIXME: we generate mouse delta on wrap return, but that lags us quite a bit from the initial event..
- if (event.xmotion.x == glConfig.vidWidth / 2 &&
- event.xmotion.y == glConfig.vidHeight / 2) {
- mwx = glConfig.vidWidth / 2;
- mwy = glConfig.vidHeight / 2;
+ if (event.xmotion.x == glConfig.windowWidth / 2 &&
+ event.xmotion.y == glConfig.windowHeight / 2) {
+ mwx = glConfig.windowWidth / 2;
+ mwy = glConfig.windowHeight / 2;
Posix_QueEvent( SE_MOUSE, mx, my, 0, NULL);
@@ -668,7 +668,7 @@ void Posix_PollInput() {
mwx = event.xmotion.x;
mwy = event.xmotion.y;
- XWarpPointer(dpy,None,win,0,0,0,0, (glConfig.vidWidth/2),(glConfig.vidHeight/2));
+ XWarpPointer(dpy,None,win,0,0,0,0, (glConfig.windowWidth/2),(glConfig.windowHeight/2));
}
break;
}
OpenXR support works well with Monado, only the game window has some clearing issues.
Also disabling vsync in game is not enough, starting it with the vblank_mode=0
env is necessary to make it smooth.
with OpenVR it works here now I can launch the game and use the mouse etc but there are visual bugs that prevent to play : it look all alpha are like set to black non transparent so the "GUI" planes are blocking the views (and in your video ChristophHaag it looks like the GUI is not drawn on the VR view so kind of the opposite ... ) by moving the headset and the character I can sometimes have some blips of lights that does the same sum effect on the Desktop view than on the video above ...
@Olm-e You can try setting vr_disableUITransparency 0
, see if that helps against black UI overlay.
The UI missing in the video is almost certainly because the seated position is not properly calibrated. I don't know how to do that with Monado. No idea about the mirror view, though. I can't reproduce that on my hardware, and all textures involved are cleared each frame (and they are the same that are used in the eye views, so...). Might be a shader bug, just don't see it, yet.
it does not help ... and I actually did misinterpreted the video indeed : we see part of the gui drawn on it on the right here it's also not a question of transparency as in these screenshot we see it correctly overlayed over the buggy moslty black scene so it's probably a shader bug....
Hm, this looks more like an incorrect scissor or viewport setting during rendering. Unfortunately, I have no idea how that could possibly happen in a way that only affects you...
Yea I haven't tested with OpenVR yet, just OpenXR. In monado we don't have proper calibration yet, though we do have a debug UI that can manually move the "tracking origin" of a device. For 3dof HMDs, stage space places the HMD views 1.6m above the origin (0,0,0), in local space the views will be on the level of the origin.
I've committed the input fix and a potential fix for the mirror view turning white (not sure, though, since I can't reproduce it). No clue about @Olm-e remaining issue. I might need an API trace or RenderDoc capture to see what's going on there.
I just installed darkmod on arch linux from aur (yay -S thedarkmod
- so not the -bin package)
and started a manual compiled thedarkmodvr.x64 binary from the installation dir.
the title screen starts fine in VR (SteamVR already started before) using ValveIndex, Radeon VII with mesa aco
so no black screen issue here.
I can't download any missions though (neither in VR nor in pancake mode)
(WARNING:HTTPS downloads: 'ca-bundle.crt' missing from Darkmod folder. HTTPS downloads will fail.
)
and therefore can't test the gameplay, but this is obviously a different issue
edit: my fault - the game dir must be user writeable for the crt... edit2: gave it a quick try and the gameplay works fine! thank you soo much! :)
with the lasts updates it seems to have it fixed it all for me too, the game works now well on the visual side (at least for the first scene... I need to explore a bit further now in VR ;) ) thanks !!
Great to hear! Since it appears to be working now, I'm going to close this issue. If you do find additional issues, feel free to open a new one :)
hello, I have tested the release and a build on my machine (ubuntu 20.04 steamvr on Vive) and all I can get at startup is a black screen...
if I try to run it from the steam runtime dir/env :