Jump to content

Vulkan - new graphics API


Recommended Posts

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

Link to comment
Share on other sites

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.

  • Like 1
Link to comment
Share on other sites

@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"

Link to comment
Share on other sites

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 by real_tabasco_sauce
  • Like 3
  • Thanks 1
Link to comment
Share on other sites

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).

 

Link to comment
Share on other sites

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

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

did a test a few days ago, latest git. Here are the bugs which i encountered:

image.png.8b404bf542abcb679b8b09c0c612d207.png

 

On game start for a brief time, looks like this:

image.png.ad671762219e0dd04a204d53fec23f0f.png

The first time i place a field blueprint, it looks like this for a brief time:

image.png.afc80a2f02d3b596adf1baf7a4715e2a.png

On the field blueprint, there are black artifacts. They are not visible on built fields however.

image.png.5f251124ab20b365d9c51413081d45e5.png

 

Another error - missing  model_water -, but the file seems to be in the spirv-mod: 

image.png.f048c5cab8159760f2bcea0e21277a60.png

image.png.b5ea2a44121a6bede95d32a22a00d6ba.png

building a marvel causes this (black box only initially aswell):

image.thumb.png.486438ca75b5aee9153d2db0f00c9864.png

 

userreport_hwdetect.txt

Edited by sternstaub
  • Thanks 1
Link to comment
Share on other sites

  • 3 weeks later...

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

Link to comment
Share on other sites

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.

  • Thanks 1
Link to comment
Share on other sites

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!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...