nillerusr / source-engine

Modified source engine (2017) developed by valve and leaked in 2020. Not for commercial purporses
Other
1.35k stars 216 forks source link

[cs source] Leaking 3 pixel shaders (artifacts) #276

Closed denz8028 closed 1 year ago

denz8028 commented 1 year ago

hl2 runs very good, without errors

but css has errors: no vgui (and hud), partial viewmodel, e.t.c

built with commands: ./waf configure -T release --64bits --prefix='' --build-games=cstrike ./waf build ./waf install --destdir=/

Leaking 3 pixel shaders

Снимок экрана_2023-07-21_09-42-12

Log is `This system supports the OpenGL extension GL_EXT_framebuffer_object. This system supports the OpenGL extension GL_EXT_framebuffer_blit. This system supports the OpenGL extension GL_EXT_framebuffer_multisample. This system DOES NOT support the OpenGL extension GL_APPLE_fence. This system DOES NOT support the OpenGL extension GL_NV_fence. This system supports the OpenGL extension GL_ARB_sync. This system supports the OpenGL extension GL_EXT_draw_buffers2. This system DOES NOT support the OpenGL extension GL_EXT_bindable_uniform. This system DOES NOT support the OpenGL extension GL_APPLE_flush_buffer_range. This system supports the OpenGL extension GL_ARB_map_buffer_range. This system supports the OpenGL extension GL_ARB_vertex_buffer_object. This system supports the OpenGL extension GL_ARB_occlusion_query. This system DOES NOT support the OpenGL extension GL_APPLE_texture_range. This system DOES NOT support the OpenGL extension GL_APPLE_client_storage. This system DOES NOT support the OpenGL extension GL_ARB_uniform_buffer. This system supports the OpenGL extension GL_ARB_vertex_array_bgra. This system supports the OpenGL extension GL_EXT_vertex_array_bgra. This system supports the OpenGL extension GL_ARB_framebuffer_object. This system DOES NOT support the OpenGL extension GL_GREMEDY_string_marker. This system supports the OpenGL extension GL_ARB_debug_output. This system supports the OpenGL extension GL_EXT_direct_state_access. This system DOES NOT support the OpenGL extension GL_NV_bindless_texture. This system DOES NOT support the OpenGL extension GL_AMD_pinned_memory. This system supports the OpenGL extension GL_EXT_framebuffer_multisample_blit_scaled. This system supports the OpenGL extension GL_EXT_texture_sRGB_decode. This system DOES NOT support the OpenGL extension GL_NVX_gpu_memory_info. This system DOES NOT support the OpenGL extension GL_ATI_meminfo. This system supports the OpenGL extension GL_EXT_texture_compression_s3tc. This system supports the OpenGL extension GL_EXT_texture_compression_dxt1. This system supports the OpenGL extension GL_ANGLE_texture_compression_dxt3. This system supports the OpenGL extension GL_ANGLE_texture_compression_dxt5. This system supports the OpenGL extension GL_ARB_buffer_storage. This system supports the OpenGL extension GLX_EXT_swap_control_tear. OpenGL: Mesa Intel(R) HD Graphics (BYT) 4.2 (Compatibility Profile) Mesa 23.1.3 (4.2.0) GL_NV_bindless_texture: DISABLED GL_AMD_pinned_memory: DISABLED GL_ARB_buffer_storage: AVAILABLE GL_EXT_texture_sRGB_decode: AVAILABLE LoadLibrary: pModule: engine.so, path: /home/den4ik/csss/bin/libengine.so LoadLibrary: pModule: inputsystem.so, path: /home/den4ik/csss/bin/libinputsystem.so LoadLibrary: pModule: materialsystem.so, path: /home/den4ik/csss/bin/libmaterialsystem.so LoadLibrary: pModule: datacache.so, path: /home/den4ik/csss/bin/libdatacache.so LoadLibrary: pModule: studiorender.so, path: /home/den4ik/csss/bin/libstudiorender.so LoadLibrary: pModule: vphysics.so, path: /home/den4ik/csss/bin/libvphysics.so LoadLibrary: pModule: video_services.so, path: /home/den4ik/csss/bin/libvideo_services.so LoadLibrary: pModule: vguimatsurface.so, path: /home/den4ik/csss/bin/libvguimatsurface.so LoadLibrary: pModule: vgui2.so, path: /home/den4ik/csss/bin/libvgui2.so Can't find module - sourcevr.so AppFramework : Unable to load module sourcevr.so! LoadLibrary: path: /home/den4ik/csss/bin/libfilesystem_stdio.so LoadLibrary: pModule: shaderapidx9.so, path: /home/den4ik/csss/bin/libshaderapidx9.so Can't find module - video_bink Can't find module - video_webm Using Breakpad minidump system. Version: 6630498 AppID: 240 filesystem BaseDir: /home/den4ik/csss Did not detect any valid joysticks. GL_NVX_gpu_memory_info: UNAVAILABLE GL_ATI_meminfo: UNAVAILABLE GL_MAX_SAMPLES_EXT: 8 Can't find module - /home/den4ik/csss/bin/stdshader_dbg.so Can't find module - /home/den4ik/csss/bin/libstdshader_dbg.so Can't find module - stdshader_dbg.so Can't find module - /home/den4ik/csss/bin/stdshader_dx6.so Can't find module - /home/den4ik/csss/bin/libstdshader_dx6.so Can't find module - stdshader_dx6.so Can't find module - /home/den4ik/csss/bin/stdshader_dx7.so Can't find module - /home/den4ik/csss/bin/libstdshader_dx7.so Can't find module - stdshader_dx7.so Can't find module - /home/den4ik/csss/bin/stdshader_dx8.so Can't find module - /home/den4ik/csss/bin/libstdshader_dx8.so Can't find module - stdshader_dx8.so Can't find module - /home/den4ik/csss/bin/stdshader_dx9.so LoadLibrary: path: /home/den4ik/csss/bin/libstdshader_dx9.so Convar mat_specular has conflicting FCVAR_CHEAT flags (child: FCVAR_CHEAT, parent: no FCVAR_CHEAT, parent wins) IDirect3DDevice9::Create: BackBufWidth: 800, BackBufHeight: 600, D3DFMT: 3, BackBufCount: 1, MultisampleType: 0, MultisampleQuality: 0 GL sampler object usage: DISABLED Can't find module - /home/den4ik/csss/bin/vaudio_minimp3 LoadLibrary: path: /home/den4ik/csss/bin/libvaudio_minimp3.so

swap interval = 0 swap limit = 1

Could not load program cache file glbaseshaders.cfg Could not find base GL shader cache file IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file flashlight_ps20b ps-index 0 ps-combo 0 IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file flashlight_ps20b ps-index 0 ps-combo 1 IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file flashlight_ps20b ps-index 0 ps-combo 2 IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file flashlight_ps20b ps-index 0 ps-combo 3 IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000004) differs from mask derived from shader name (0x0000000C) for shader ps-file shatteredglass_ps20b ps-index 40 ps-combo 0 IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000004) differs from mask derived from shader name (0x0000000C) for shader ps-file shatteredglass_ps20b ps-index 40 ps-combo 2 IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file flashlight_ps20b ps-index 24 ps-combo 0 IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file flashlight_ps20b ps-index 24 ps-combo 1 IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file flashlight_ps20b ps-index 24 ps-combo 2 IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file flashlight_ps20b ps-index 24 ps-combo 3 IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file flashlight_ps20b ps-index 96 ps-combo 0 IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file flashlight_ps20b ps-index 96 ps-combo 1 IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file flashlight_ps20b ps-index 96 ps-combo 2 IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file flashlight_ps20b ps-index 96 ps-combo 3 CGLMShaderPair::SetProgramPair: Centroid masks differ at link time of vertex shader lightmappedgeneric_vs20 and pixel shader decalbasetimeslightmapalphablendselfillum2_ps20b! Loaded program cache file "glshaders.cfg", total keyvalues: 168, total successfully linked: 168 Precache: Took 5237 ms, Vertex 3190, Pixel 581 Can't find module - /home/den4ik/csss/cstrike/bin/client LoadLibrary: path: /home/den4ik/csss/cstrike/bin/libclient.so Can't find module - /home/den4ik/csss/cstrike/bin/server.so LoadLibrary: path: /home/den4ik/csss/cstrike/bin/libserver.so server.so loaded for "Counter-Strike: Source" LoadLibrary: pModule: soundemittersystem.so, path: /home/den4ik/csss/bin/libsoundemittersystem.so LoadLibrary: pModule: scenefilecache.so, path: /home/den4ik/csss/bin/libscenefilecache.so LoadLibrary: pModule: engine.so, path: /home/den4ik/csss/bin/libengine.so Cache materials Cache materials IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file teeth_flashlight_ps20b ps-index 0 ps-combo 0 IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file teeth_flashlight_ps20b ps-index 0 ps-combo 1 IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file teeth_flashlight_ps20b ps-index 0 ps-combo 2 IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file teeth_flashlight_ps20b ps-index 0 ps-combo 3 IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file eyes_flashlight_ps20b ps-index 0 ps-combo 0 IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file eyes_flashlight_ps20b ps-index 0 ps-combo 1 IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file eyes_flashlight_ps20b ps-index 0 ps-combo 2 IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file eyes_flashlight_ps20b ps-index 0 ps-combo 3 Cache materials Cache materials Cache materials Cache materials

`

denz8028 commented 1 year ago

Пересобрал с --togles, все нормально