The stand-alone mod S.T.A.L.K.E.R. Anomaly aims to be the most stable and customizable experience for fans of the S.T.A.L.K.E.R. games. It's powered by the Monolith 64-bit engine, a custom fork of the X-Ray engine.

Forum Thread
  Posts  
Shaders compilation error (Games : S.T.A.L.K.E.R.: Call of Pripyat : Mods : S.T.A.L.K.E.R. Anomaly : Forum : Discussions : Shaders compilation error) Post Reply
Thread Options
Jun 3 2024 Anchor

Hello guys,

I have a failed shader compilation after I installed the following mods : Enhanced shaders color garding, Beefs_NVGs (with the patch for Only ES No SSR) , Screen Space Shaders and Atmospherics Anomaly. For the installation, I followed the installation process provided by the Screen Space Shaders mod and I used Mod Organizer. Yes, I did delete the shader cache in AppData. I am running the 1.5.2 version of Anomaly. Here below is the crash log. Can someone help me figure what is the problem ?Many thanks in advance.

* Detected CPU: 12th Gen Intel(R) Core(TM) i7-12650H [GenuineIntel], F6/M10/S3, 2687.00 mhz, 15-clk 'rdtsc'
* CPU features: RDTSC, MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, HTT
* CPU cores/threads: 10/16

Found commandline file!
Initializing File System...
using fs-ltx fsgame.ltx
File System Ready...
FS: 51304 files cached 67 archives, 9514Kb memory used.
Init FileSystem 0.479078 sec
'xrCore' build 9245, May 31 2024

Modded exes version 20240531

Game started: 02.06.2024 09:34:13.604

-----loading c:/games/anomaly\gamedata\configs\system.ltx [2]
X-Ray Monolith v1.5.2
gamedata: 'configs\axr_options.ltx'
gamedata: 'configs\cache_dbg.ltx'
gamedata: 'configs\environment\dynamic_weather_graphs.ltx'
gamedata: 'configs\environment\effects.ltx'
gamedata: 'configs\environment\sun_positions.ltx'
gamedata: 'configs\environment\suns.ltx'
gamedata: 'configs\environment\thunderbolt_collections.ltx'
gamedata: 'configs\environment\thunderbolts.ltx'
gamedata: 'configs\environment\weather_effects\fx_blowout_day.ltx'
gamedata: 'configs\environment\weather_effects\fx_blowout_night.ltx'
gamedata: 'configs\environment\weather_effects\fx_psi_storm_day.ltx'
gamedata: 'configs\environment\weather_effects\fx_psi_storm_night.ltx'
gamedata: 'configs\environment\weather_effects\fx_surge_day_3_stancia.ltx'
gamedata: 'configs\environment\weathers\night.ltx'
gamedata: 'configs\environment\weathers\w_clear1.ltx'
gamedata: 'configs\environment\weathers\w_clear2.ltx'
gamedata: 'configs\environment\weathers\w_cloudy1.ltx'
gamedata: 'configs\environment\weathers\w_cloudy2_dark.ltx'
gamedata: 'configs\environment\weathers\w_cloudy3.ltx'
gamedata: 'configs\environment\weathers\w_cloudy3_dark.ltx'
gamedata: 'configs\environment\weathers\w_foggy1.ltx'
gamedata: 'configs\environment\weathers\w_foggy2.ltx'
gamedata: 'configs\environment\weathers\w_foggy3.ltx'
gamedata: 'configs\environment\weathers\w_indoor_agr_underground.ltx'
gamedata: 'configs\environment\weathers\w_indoor_ambient.ltx'
gamedata: 'configs\environment\weathers\w_indoor_default.ltx'
gamedata: 'configs\environment\weathers\w_indoor_jupiter_underground.ltx'
gamedata: 'configs\environment\weathers\w_indoor_sarcofag.ltx'
gamedata: 'configs\environment\weathers\w_partly1.ltx'
gamedata: 'configs\environment\weathers\w_partly2.ltx'
gamedata: 'configs\environment\weathers\w_rain1.ltx'
gamedata: 'configs\environment\weathers\w_rain2.ltx'
gamedata: 'configs\environment\weathers\w_rain3.ltx'
gamedata: 'configs\environment\weathers\w_storm1.ltx'
gamedata: 'configs\environment\weathers\w_storm2.ltx'
gamedata: 'configs\mcm_key_localization.ltx'
gamedata: 'configs\mod_system_sss_zones.ltx'
gamedata: 'configs\text\eng\ssfx_ui_florafixes.xml'
gamedata: 'configs\text\eng\ssfx_ui_hud_raindrops.xml'
gamedata: 'configs\text\eng\ssfx_ui_interactive_grass_mcm.xml'
gamedata: 'configs\text\eng\ssfx_ui_rain.xml'
gamedata: 'configs\text\eng\ssfx_ui_rain_footsteps.xml'
gamedata: 'configs\text\eng\ssfx_ui_shadow_cascades_mcm.xml'
gamedata: 'configs\text\eng\ssfx_ui_shadows.xml'
gamedata: 'configs\text\eng\ssfx_ui_ssr.xml'
gamedata: 'configs\text\eng\ssfx_ui_strings_mcm.xml'
gamedata: 'configs\text\eng\ssfx_ui_wet_gloss.xml'
gamedata: 'configs\text\eng\ssfx_ui_wet_surfaces.xml'
gamedata: 'configs\text\eng\ssfx_ui_wind.xml'
gamedata: 'configs\text\eng\ui_st_mcm.xml'
gamedata: 'configs\text\rus\ssfx_ui_florafixes.xml'
gamedata: 'configs\text\rus\ssfx_ui_hud_raindrops.xml'
gamedata: 'configs\text\rus\ssfx_ui_interactive_grass_mcm.xml'
gamedata: 'configs\text\rus\ssfx_ui_rain.xml'
gamedata: 'configs\text\rus\ssfx_ui_rain_footsteps.xml'
gamedata: 'configs\text\rus\ssfx_ui_shadow_cascades_mcm.xml'
gamedata: 'configs\text\rus\ssfx_ui_shadows.xml'
gamedata: 'configs\text\rus\ssfx_ui_ssr.xml'
gamedata: 'configs\text\rus\ssfx_ui_strings_mcm.xml'
gamedata: 'configs\text\rus\ssfx_ui_wet_gloss.xml'
gamedata: 'configs\text\rus\ssfx_ui_wet_surfaces.xml'
gamedata: 'configs\text\rus\ssfx_ui_wind.xml'
gamedata: 'configs\text\rus\ui_st_mcm.xml'
gamedata: 'configs\ui\ui_mcm.xml'
gamedata: 'configs\ui\ui_mcm_16.xml'
gamedata: 'configs\ui\ui_mm_main.xml'
gamedata: 'configs\ui\ui_mm_main_16.xml'
gamedata: 'scripts\dph_mcm_save_storage.script'
gamedata: 'scripts\mcm_log.script'
gamedata: 'scripts\ssfx_001_mcm.script'
gamedata: 'scripts\ssfx_001_settings.script'
gamedata: 'scripts\ssfx_florafixes.script'
gamedata: 'scripts\ssfx_florafixes_mcm.script'
gamedata: 'scripts\ssfx_florafixes_settings.script'
gamedata: 'scripts\ssfx_interactive_grass.script'
gamedata: 'scripts\ssfx_interactive_grass_mcm.script'
gamedata: 'scripts\ssfx_interactive_grass_settings.script'
gamedata: 'scripts\ssfx_lut.script'
gamedata: 'scripts\ssfx_rain.script'
gamedata: 'scripts\ssfx_rain_footsteps.script'
gamedata: 'scripts\ssfx_rain_footsteps_settings.script'
gamedata: 'scripts\ssfx_rain_hud_raindrops.script'
gamedata: 'scripts\ssfx_rain_hud_raindrops_settings.script'
gamedata: 'scripts\ssfx_rain_mcm.script'
gamedata: 'scripts\ssfx_rain_settings.script'
gamedata: 'scripts\ssfx_shadow_cascades.script'
gamedata: 'scripts\ssfx_shadow_cascades_mcm.script'
gamedata: 'scripts\ssfx_shadow_cascades_settings.script'
gamedata: 'scripts\ssfx_shadows.script'
gamedata: 'scripts\ssfx_shadows_mcm.script'
gamedata: 'scripts\ssfx_shadows_settings.script'
gamedata: 'scripts\ssfx_ssr.script'
gamedata: 'scripts\ssfx_ssr_mcm.script'
gamedata: 'scripts\ssfx_ssr_settings.script'
gamedata: 'scripts\ssfx_terrain_parallax.script'
gamedata: 'scripts\ssfx_underground_check.script'
gamedata: 'scripts\ssfx_wetness.script'
gamedata: 'scripts\ssfx_wetness_mcm.script'
gamedata: 'scripts\ssfx_wetness_settings.script'
gamedata: 'scripts\ssfx_wind.script'
gamedata: ... 48133 more ...
Initializing Engine...
Starting INPUT device...
Loading DLL: xrRender_R4.dll
Available render modes[1]:
[renderer_r4]
command line "c:\games\anomaly\bin\anomalydx11avx.exe" -smap2048
Executing config-script "user.ltx"...
[c:/games/anomaly\appdata\user.ltx] successfully loaded.
Loading DLL: xrRender_R4.dll
Loading DLL: xrGame.dll
* [x-ray]: Full Memory Stats
* [win32]: free[137434310560 K], reserved[4390012 K], committed[252836 K]
* [ D3D ]: textures[0 K]
* [x-ray]: process heap[60125 K]
* [x-ray]: economy: strings[57069 K], smem[0 K]
SOUND: OpenAL: enumerate devices...
SOUND: OpenAL: EnumerationExtension Present
dir[1]=C:\GAMES\Anomaly\
dir[2]=C:\GAMES\Anomaly\bin\
dir[3]=C:\WINDOWS\system32\
CleanDeviceSpecifierList
CleanDeviceSpecifierList OpenAL Soft
devices OpenAL Soft
SOUND: OpenAL: system default SndDevice name is
SOUND: OpenAL: All available devices:
1. OpenAL Soft, Spec Version 1.1 eax[0] efx[no] xram[no]
Executing config-script "c:/games/anomaly\gamedata\configs\default_controls.ltx"...
[c:/games/anomaly\gamedata\configs\default_controls.ltx] successfully loaded.
Executing config-script "user.ltx"...
Executing config-script "c:/games/anomaly\gamedata\configs\rspec_default.ltx"...
[c:/games/anomaly\gamedata\configs\rspec_default.ltx] successfully loaded.
Executing config-script "c:/games/anomaly\gamedata\configs\default_controls.ltx"...
[c:/games/anomaly\gamedata\configs\default_controls.ltx] successfully loaded.
[c:/games/anomaly\appdata\user.ltx] successfully loaded.
SOUND: Selected device is OpenAL Soft
* sound: EAX 2.0 extension: absent
* sound: EAX 2.0 deferred: absent
* sound : cache: 524296 kb, 38848 lines, 13820 bpl
Starting RENDER device...
* GPU [vendor:10DE]-[device:249D]: NVIDIA GeForce RTX 3070 Laptop GPU
* CREATE: DeviceREF: 3
* Texture memory: 8020 M
* GPU shading: vs(0/4.0/40), ps(0/4.0/40)
* GPU vertex cache: unrecognized, 24
* NVidia MGPU: Logical(1), Physical(1)
* Starting rendering as 2-GPU.
* DVB created: 4096K
* DIB created: 512K
* HWDST/PCF supported and used
* Managed textures disabled
- SSS HUD RAINDROPS SHADER INSTALLED 1
- SSS RAIN SHADER INSTALLED 1
- SSS BLOOD SHADER INSTALLED 1
- SSS BRANCHES SHADER INSTALLED 1
- SSS SSR SHADER INSTALLED 1
- SSS TERRAIN SHADER INSTALLED 1
- SSS VOLUMETRIC SHADER INSTALLED 1
DX10: c:/games/anomaly\gamedata\shaders\r3\fakescope.ps is missing. Replace with stub_default.ps
DX10: c:/games/anomaly\gamedata\shaders\r3\heatvision.ps is missing. Replace with stub_default.ps
! c:/games/anomaly\appdata\shaders_cache\r4\ssfx_ssr.ps\20481111001100000000001000001101010131102001121000
! error: common_functions.h(43,34): warning X3206: implicit truncation of vector type
common_functions.h(63,2): warning X3206: implicit truncation of vector type
common_functions.h(68,49): warning X3206: implicit truncation of vector type
common_functions.h(100,2): warning X3206: implicit truncation of vector type
gbuffer_stage.h(123,24): warning X3206: 'Load': implicit truncation of vector type
gbuffer_stage.h(124,23): warning X3206: 'Load': implicit truncation of vector type
pbr_brdf.h(67,11): error X3004: undeclared identifier 'SRGBToLinear'
pbr_brdf.h(185,10): error X1507: failed to open source file: 'pbr_brdf_blinn.h'

Jun 10 2024 Anchor

Had the same issues.

Short answer is:
1. Reinstall mods that affect shaders.
2. Meddle with check-boxes and if you don't know what that check-box for - LEAVE UNCHECKED!
3. Repeat deleting shader cache and launching Anomaly.
4. Repeat until problem is solved.

Explanation:
If something missing in your modded shader config game freaks out.

Also if everything else fails, backup your user.ltx in Anomaly\appdata and restore the original in launcher.

In short setting up shaders is a pain in the chimera you know what. There is a modpacks that do the heavy lifting for you, but they bundle the stuff you might not want. Pick your poison.

Also also, check if you have all 'gaming software' installed (direct X, visual stuff and so on).

Edited by: Sheoji

Jun 28 2024 Anchor

Hi, thanks alot for the answer Sheoji. unfortunately If had no luck to get it working. I just installed GAMMA and everything is working fine :) !

Jul 9 2024 Anchor

* Detected CPU: AMD Custom APU 0405 [AuthenticAMD], F15/M0/S2, 2799.00 mhz, 29-clk 'rdtsc'
* CPU features: RDTSC, MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, HTT
* CPU cores/threads: 4/8

Found commandline file!
Initializing File System...
using fs-ltx fsgame.ltx
File System Ready...
FS: 50882 files cached 66 archives, 11180Kb memory used.
Init FileSystem 0.728929 sec
'xrCore' build 8028, Jan 29 2021

EH: 3CAABCFCFF6F3A810019C6A72180F166

-----loading z:/home/deck/games/stalker\gamedata\configs\system.ltx [2]
Initializing Engine...
Starting INPUT device...
Loading DLL: xrRender_R2.dll
Available render modes[3]:
[renderer_r2a]
[renderer_r2]
[renderer_r2.5]
command line "z:\home\deck\games\stalker\bin\anomalydx9avx.exe" -smap2048
Executing config-script "user.ltx"...
~ Invalid syntax in call to 'renderer'
~ Valid arguments: renderer_r2a/renderer_r2/renderer_r2.5
[z:/home/deck/games/stalker\appdata\user.ltx] successfully loaded.
Loading DLL: xrRender_R2.dll
Loading DLL: xrGame.dll
* [x-ray]: Full Memory Stats
* [win32]: free[137438795628 K], reserved[11712 K], committed[146068 K]
* [ D3D ]: textures[0 K]
* [x-ray]: process heap[40595 K]
* [x-ray]: economy: strings[29468 K], smem[0 K]
SOUND: OpenAL: enumerate devices...
SOUND: OpenAL: EnumerationExtension Present
dir[1]=Z:\home\deck\Games\Stalker\
dir[2]=Z:\home\deck\Games\Stalker\bin\
dir[3]=C:\windows\system32\
CleanDeviceSpecifierList
CleanDeviceSpecifierList OpenAL Soft
devices OpenAL Soft
SOUND: OpenAL: system default SndDevice name is
SOUND: OpenAL: All available devices:
1. OpenAL Soft, Spec Version 1.1 eax[0] efx[no] xram[no]
Executing config-script "z:/home/deck/games/stalker\gamedata\configs\default_controls.ltx"...
! Unknown command: g_old_aim
! Unknown command: input_exclusive_mode
[z:/home/deck/games/stalker\gamedata\configs\default_controls.ltx] successfully loaded.
Executing config-script "user.ltx"...
Executing config-script "z:/home/deck/games/stalker\gamedata\configs\rspec_default.ltx"...
[z:/home/deck/games/stalker\gamedata\configs\rspec_default.ltx] successfully loaded.
Executing config-script "z:/home/deck/games/stalker\gamedata\configs\default_controls.ltx"...
! Unknown command: g_old_aim
! Unknown command: input_exclusive_mode
[z:/home/deck/games/stalker\gamedata\configs\default_controls.ltx] successfully loaded.
! Unknown command: g_end_modif
! Unknown command: g_firepos
! Unknown command: g_god
! Unknown command: g_unlimitedammo
! Unknown command: log_missing_ini
! Unknown command: ph_gravity
~ Invalid syntax in call to 'renderer'
~ Valid arguments: renderer_r2a/renderer_r2/renderer_r2.5
! Unknown command: time_factor
! Unknown command: rs_borderless
! Unknown command: rs_fullscreen
[z:/home/deck/games/stalker\appdata\user.ltx] successfully loaded.
SOUND: Selected device is OpenAL Soft
* sound: EAX 2.0 extension: absent
* sound: EAX 2.0 deferred: absent
* sound : cache: 524296 kb, 38848 lines, 13820 bpl
Starting RENDER device...
* GPU [vendor:1002]-[device:163F]: AMD Custom GPU 0405 (RADV VANGOGH)
* GPU driver: 32767.65535.65535.65535
* CREATE: DeviceREF: 1
* Vertex Processor: PURE HARDWARE
* Texture memory: 4076 M
* DDI-level: 9.0
* GPU shading: vs(fffe0300/3.0/30), ps(ffff0300/3.0/30)
* GPU vertex cache: unrecognized, 16
* NVAPI is missing.
* Starting rendering as 2-GPU.
* DVB created: 4096K
* DIB created: 512K
* NULLRT supported
* ...and used
* HWDST/PCF supported and used
* NV-DBT supported and used
* Managed textures disabled
compiling shader ogse_sunshafts_mask
! z:/home/deck/games/stalker\appdata\shaders_cache\r2\ogse_sunshafts_mask.ps\204811110011000100000100000000000013
! error: <anonymous>:347:21: W5300: Implicit truncation of vector type.
<anonymous>:357:47: W5300: Implicit truncation of vector type.
<anonymous>:358:105: W5300: Implicit truncation of vector type.
<anonymous>:376:30: W5300: Implicit truncation of vector type.
<anonymous>:377:45: W5300: Implicit truncation of vector type.
<anonymous>:435:8: E5017: Aborting due to not yet implemented feature: SM1 non-float expression.
<anonymous>:435:8: E5017: Aborting due to not yet implemented feature: SM1 "cast" expression.
<anonymous>:435:8: E5017: Aborting due to not yet implemented feature: SM1 non-float expression.
<anonymous>:435:8: E5017: Aborting due to not yet implemented feature: SM1 "cast" expression.
<anonymous>:435:8: E5017: Aborting due to not yet implemented feature: SM1 non-float expression.
<anonymous>:435:8: E5017: Aborting due to not yet implemented feature: SM1 "cast" expression.
be") : clamp()

end

ond, t_det:




Tried clean install, but to no success.

Reply to thread
click to sign in and post

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.