vladislavbelov Posted February 13, 2023 Author Report Share Posted February 13, 2023 On 11/02/2023 at 8:13 PM, zyli said: From Rev. 27535 returned: "ERROR: Program 'spirv/model_common' with required defines not found." On 12/02/2023 at 10:50 AM, maroder said: svn rev 27535 w/ 0ad-spirv version: 0.27.15 These errors should be fixed in the new version: 0.27.16. 1 Quote Link to comment Share on other sites More sharing options...
Stan` Posted February 13, 2023 Report Share Posted February 13, 2023 Now available on mod.io 1 Quote Link to comment Share on other sites More sharing options...
maroder Posted February 14, 2023 Report Share Posted February 14, 2023 8 hours ago, vladislavbelov said: These errors should be fixed in the new version: 0.27.16. thanks for the update the water one is fixed, the waterfall one still seems to exist for me ERROR: Failed to load shader 'spirv/model_waterfall' Quote Link to comment Share on other sites More sharing options...
vladislavbelov Posted February 14, 2023 Author Report Share Posted February 14, 2023 1 hour ago, maroder said: ERROR: Failed to load shader 'spirv/model_waterfall' Could you post the full message (with all missed defines)? Quote Link to comment Share on other sites More sharing options...
maroder Posted February 14, 2023 Report Share Posted February 14, 2023 47 minutes ago, vladislavbelov said: Could you post the full message (with all missed defines)? sure ERROR: Program 'spirv/model_waterfall' with required defines not found. ERROR: "ALPHABLEND_PASS_BLEND": "1" ERROR: "IGNORE_LOS": "1" ERROR: "RENDER_DEBUG_MODE": "RENDER_DEBUG_MODE_NONE" ERROR: "USE_SHADOW_SAMPLER": "1" ERROR: "USE_FOG": "1" ERROR: "USE_SHADOW_PCF": "1" ERROR: "SHADOWS_CASCADE_COUNT": "1" ERROR: "USE_INSTANCING": "1" ERROR: "USE_DESCRIPTOR_INDEXING": "1" ERROR: "USE_SHADOW": "1" ERROR: "USE_TRANSPARENT": "1" ERROR: Failed to load shader 'spirv/model_waterfall' This is all that shows up in the logs - Happens e.g. for the Han Forge _______________ Sidenote: Note sure if this is expected/ intended or not, but when using the dev overlay -> render debug mode, the game crashes with vulkan enabled Quote Link to comment Share on other sites More sharing options...
vladislavbelov Posted February 14, 2023 Author Report Share Posted February 14, 2023 9 minutes ago, maroder said: This is all that shows up in the logs - Happens e.g. for the Han Forge Thanks! 9 minutes ago, maroder said: Sidenote: Note sure if this is expected/ intended or not, but when using the dev overlay -> render debug mode, the game crashes with vulkan enabled Yeah, that's intentional else the mod would be ~5 times bigger. 1 Quote Link to comment Share on other sites More sharing options...
Stan` Posted February 16, 2023 Report Share Posted February 16, 2023 @wowgetoffyourcellphone reported lots of errors like this ERROR: Failed to load shader 'spirv/model_common' ERROR: Program 'spirv/model_common' with required defines not found. ERROR: "RENDER_DEBUG_MODE": "RENDER_DEBUG_MODE_NONE" ERROR: "SHADOWS_CASCADE_COUNT": "1" ERROR: "USE_SHADOW_SAMPLER": "1" ERROR: "USE_SHADOW": "1" ERROR: "USE_FOG": "1" ERROR: "USE_SHADOW_PCF": "1" ERROR: "USE_INSTANCING": "1" ERROR: "USE_DESCRIPTOR_INDEXING": "1" ERROR: "USE_AO": "1" Quote Link to comment Share on other sites More sharing options...
vladislavbelov Posted February 16, 2023 Author Report Share Posted February 16, 2023 15 minutes ago, Stan` said: @wowgetoffyourcellphone reported lots of errors like this ERROR: Failed to load shader 'spirv/model_common' I need a full log to fix them. Quote Link to comment Share on other sites More sharing options...
AJIexander Posted February 19, 2023 Report Share Posted February 19, 2023 Hello guys! Tell me how to enable Vukan? I put the archive here D:\0 A.D. alpha\binaries\data\mods\mod What to do next? Quote Link to comment Share on other sites More sharing options...
sternstaub Posted February 19, 2023 Report Share Posted February 19, 2023 13 minutes ago, AJIexander said: Hello guys! Tell me how to enable Vukan? I put the archive here D:\0 A.D. alpha\binaries\data\mods\mod What to do next? you need to get the current a27 pre-release. If you are on linux, you can find it on this link. Quote Link to comment Share on other sites More sharing options...
Stan` Posted February 19, 2023 Report Share Posted February 19, 2023 Also wrong folder. It's better to install it via mod.io or by drag and dropping the file on the game.  Quote Link to comment Share on other sites More sharing options...
borg- Posted February 20, 2023 Report Share Posted February 20, 2023 Excuse my ignorance, what advantages do we have with Vulkan? 1 Quote Link to comment Share on other sites More sharing options...
Loki1950 Posted February 20, 2023 Report Share Posted February 20, 2023 @borg-It's future proofing as Open GL is being dropped by most operating systems even blender is moving to Vulkan with version 4.0 Enjoy the Choice 1 1 Quote Link to comment Share on other sites More sharing options...
real_tabasco_sauce Posted February 20, 2023 Report Share Posted February 20, 2023 (edited) 2 hours ago, borg- said: Excuse my ignorance, what advantages do we have with Vulkan? It also improves performance for some users. Some have a much better experience, while others don't see much of a difference. Probably depends on your computer. For me it was smoother movements and about 15 more fps. This is @leopard's video on the differences in performance:Â I should mention that "A26" in the video was actually the development version of a27 which included the spidermonkey update which was also a performance enhancement. Edited February 20, 2023 by real_tabasco_sauce 3 1 Quote Link to comment Share on other sites More sharing options...
wowgetoffyourcellphone Posted February 20, 2023 Report Share Posted February 20, 2023 ERROR: Program 'spirv/model_solid' with required defines not found. ERROR: "IGNORE_LOS": "1" ERROR: "MODE_SILHOUETTEOCCLUDER": "1" ERROR: "RENDER_DEBUG_MODE": "RENDER_DEBUG_MODE_NONE" ERROR: "SHADOWS_CASCADE_COUNT": "1" ERROR: "USE_SHADOW": "1" ERROR: "USE_INSTANCING": "1" ERROR: "USE_SHADOW_PCF": "1" ERROR: "USE_DESCRIPTOR_INDEXING": "1" ERROR: "USE_SHADOW_SAMPLER": "1" ERROR: "USE_FOG": "1" ERROR: "USE_SPECULAR_MAP": "1" ERROR: "USE_NORMAL_MAP": "1" ERROR: "USE_PARALLAX": "1" ERROR: Failed to load shader 'spirv/model_solid' ERROR: Program 'spirv/model_waterfall' with required defines not found. ERROR: "IGNORE_LOS": "1" ERROR: "MODE_SHADOWCAST": "1" ERROR: "PASS_SHADOWS": "1" ERROR: "RENDER_DEBUG_MODE": "RENDER_DEBUG_MODE_NONE" ERROR: "SHADOWS_CASCADE_COUNT": "1" ERROR: "USE_SHADOW": "1" ERROR: "USE_INSTANCING": "1" ERROR: "USE_SHADOW_PCF": "1" ERROR: "USE_DESCRIPTOR_INDEXING": "1" ERROR: "USE_SHADOW_SAMPLER": "1" ERROR: "USE_FOG": "1" ERROR: "USE_TRANSPARENT": "1" ERROR: Failed to load shader 'spirv/model_waterfall' ERROR: Program 'spirv/model_waterfall' with required defines not found. ERROR: "ALPHABLEND_PASS_BLEND": "1" ERROR: "IGNORE_LOS": "1" ERROR: "RENDER_DEBUG_MODE": "RENDER_DEBUG_MODE_NONE" ERROR: "SHADOWS_CASCADE_COUNT": "1" ERROR: "USE_SHADOW": "1" ERROR: "USE_INSTANCING": "1" ERROR: "USE_SHADOW_PCF": "1" ERROR: "USE_DESCRIPTOR_INDEXING": "1" ERROR: "USE_SHADOW_SAMPLER": "1" ERROR: "USE_FOG": "1" ERROR: "USE_TRANSPARENT": "1" ERROR: Failed to load shader 'spirv/model_waterfall' ERROR: Program 'spirv/model_waterfall' with required defines not found. ERROR: "IGNORE_LOS": "1" ERROR: "MODE_SILHOUETTEOCCLUDER": "1" ERROR: "RENDER_DEBUG_MODE": "RENDER_DEBUG_MODE_NONE" ERROR: "SHADOWS_CASCADE_COUNT": "1" ERROR: "USE_SHADOW": "1" ERROR: "USE_INSTANCING": "1" ERROR: "USE_SHADOW_PCF": "1" ERROR: "USE_DESCRIPTOR_INDEXING": "1" ERROR: "USE_SHADOW_SAMPLER": "1" ERROR: "USE_FOG": "1" ERROR: "USE_TRANSPARENT": "1" ERROR: Failed to load shader 'spirv/model_waterfall' ERROR: Program 'spirv/model_water' with required defines not found. ERROR: "IGNORE_LOS": "1" ERROR: "MODE_SILHOUETTEOCCLUDER": "1" ERROR: "RENDER_DEBUG_MODE": "RENDER_DEBUG_MODE_NONE" ERROR: "SHADOWS_CASCADE_COUNT": "1" ERROR: "USE_SHADOW": "1" ERROR: "USE_INSTANCING": "1" ERROR: "USE_SHADOW_PCF": "1" ERROR: "USE_DESCRIPTOR_INDEXING": "1" ERROR: "USE_SHADOW_SAMPLER": "1" ERROR: "USE_FOG": "1" ERROR: "USE_NORMAL_MAP": "1" ERROR: "USE_TRANSPARENT": "1" ERROR: "REQUIRE_ALPHA_GEQUAL": "0.05" ERROR: "USE_SPECULAR": "1" ERROR: Failed to load shader 'spirv/model_water' Engine exited successfully on 2023-02-20 at 12:04:37 with 5087 message(s), 71 error(s) and 1 warning(s). Â Quote Link to comment Share on other sites More sharing options...
zyli Posted February 20, 2023 Report Share Posted February 20, 2023 Everything was fine until suddenly this happened: Quote ERROR: Program 'spirv/model_common' with required defines not found. ERROR: "IGNORE_LOS": "1" ERROR: "PASS_REFLECTIONS": "1" ERROR: "RENDER_DEBUG_MODE": "RENDER_DEBUG_MODE_NONE" ERROR: "SHADOWS_CASCADE_COUNT": "1" ERROR: "USE_DESCRIPTOR_INDEXING": "1" ERROR: "USE_INSTANCING": "1" ERROR: "USE_SHADOW": "1" ERROR: "USE_SHADOW_PCF": "1" ERROR: "USE_SHADOW_SAMPLER": "1" ERROR: "USE_FOG": "1" ERROR: "USE_NORMAL_MAP": "1" ERROR: "USE_SPECULAR_MAP": "1" ERROR: "USE_AO": "1" ERROR: "USE_PLAYERCOLOR": "1" ERROR: Failed to load shader 'spirv/model_common' OS: Debian Booworm mainlog_2023-02-20_Rev_27553_0ad-spirv_0.27.16.html.zip 1 Quote Link to comment Share on other sites More sharing options...
sternstaub Posted March 3, 2023 Report Share Posted March 3, 2023 (edited) did a test a few days ago, latest git. Here are the bugs which i encountered:  On game start for a brief time, looks like this: The first time i place a field blueprint, it looks like this for a brief time: On the field blueprint, there are black artifacts. They are not visible on built fields however.  Another error - missing model_water -, but the file seems to be in the spirv-mod: building a marvel causes this (black box only initially aswell):  userreport_hwdetect.txt Edited March 3, 2023 by sternstaub 1 Quote Link to comment Share on other sites More sharing options...
Sturm Posted March 21, 2023 Report Share Posted March 21, 2023 On September 1, 2022, Mesh Shading for Vulkan was released. Is this relevant for the upcoming Vulkan 0 ad version? -Â https://www.khronos.org/blog/mesh-shading-for-vulkan Quote Link to comment Share on other sites More sharing options...
vladislavbelov Posted March 22, 2023 Author Report Share Posted March 22, 2023 18 hours ago, Sturm said: Is this relevant for the upcoming Vulkan 0 ad version? It's irrelevant to 0 A.D. We don't use mesh shaders and don't plan to in the near future. 1 Quote Link to comment Share on other sites More sharing options...
MirceaKitsune Posted March 29, 2023 Report Share Posted March 29, 2023 I decided to try recompiling 0 A.D. from Git on my Linux / Manjaro box which thankfully still works fine. I can start the compiled version without issue on the old settings, but once I select the Vulkan backend from the menu and restart Pyrogenesis it crashes on startup. I attached my crashlog.txt which can hopefully be used to explain it: crashlog.txt Quote Link to comment Share on other sites More sharing options...
Stan` Posted March 29, 2023 Report Share Posted March 29, 2023 24 minutes ago, MirceaKitsune said: I decided to try recompiling 0 A.D. from Git on my Linux / Manjaro box which thankfully still works fine. I can start the compiled version without issue on the old settings, but once I select the Vulkan backend from the menu and restart Pyrogenesis it crashes on startup. I attached my crashlog.txt which can hopefully be used to explain it: crashlog.txt 36 kB · 1 download Did you enable the 0ad-spirv mod you can get from mod.io? If you enable it prior to enabling that mod you'll get a crash. 1 Quote Link to comment Share on other sites More sharing options...
MirceaKitsune Posted March 29, 2023 Report Share Posted March 29, 2023 33 minutes ago, Stan` said: Did you enable the 0ad-spirv mod you can get from mod.io? If you enable it prior to enabling that mod you'll get a crash. Ooops, I missed that part, sorry! Now it's in fact working Only issue I'm noticing on my first try is a few seconds after loading some things appear black and I have low FPS, once all textures have loaded and it clears up everything seems to be working well. Happy I can confirm Linux / amdgpu is also working well with this! Quote Link to comment Share on other sites More sharing options...
Stan` Posted March 29, 2023 Report Share Posted March 29, 2023 That's because you are using SVN which is doing the caching of assets on the fly (releases are precached) 1 Quote Link to comment Share on other sites More sharing options...
haisecoffee Posted April 5, 2023 Report Share Posted April 5, 2023 I just have a question. I don't get where should i locate that zip file we must download Thank you! (I just installed this game haha) Quote Link to comment Share on other sites More sharing options...
Stan` Posted April 5, 2023 Report Share Posted April 5, 2023 You can get the link in the first post of this thread or through the mod downloader in settings. Do note that it only works with the development version. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.