Jump to content

Vulkan - new graphics API


Recommended Posts

2 hours ago, vladislavbelov said:

Could you try Deep forest Large?

Map: Deep forest
Size: Large
Reveal map: on
vulkaninfo:
deviceName        = AMD Radeon RX 6400 (RADV NAVI24)
Vulkan Instance Version: 1.3.211

glxinfo:
Device: AMD Radeon RX 6400 (navi24, LLVM 11.0.1, DRM 3.48)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 22.3.1

Render Vulkan: ~34 avg fps
Render OpenGL: ~78 avg fps
Render OpenGL ARB: ~49 avg fps

Link to comment
Share on other sites

ERROR: Program 'spirv/model_solid_tex' with required defines not found.
ERROR:   "MODE_SILHOUETTEOCCLUDER": "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_SPECULAR_MAP": "1"
ERROR:   "USE_NORMAL_MAP": "1"
ERROR:   "USE_TRANSPARENT": "1"
ERROR:   "USE_AO": "1"
ERROR:   "USE_PARALLAX": "1"
ERROR:   "REQUIRE_ALPHA_GEQUAL": "0.4"
ERROR: Failed to load shader 'spirv/model_solid_tex'

Maybe time to update shader mod so as not to loose track which were already reported and allow me to test decent looking water. *wink*

Link to comment
Share on other sites

30 minutes ago, vladislavbelov said:

The new version is now available at the same URL.

Thanks!

after update:

ERROR: Program 'spirv/model_solid' with required defines not found.
ERROR:   "MODE_SILHOUETTEOCCLUDER": "1"
ERROR:   "RENDER_DEBUG_MODE": "RENDER_DEBUG_MODE_NONE"
ERROR:   "SHADOWS_CASCADE_COUNT": "1"
ERROR:   "USE_DESCRIPTOR_INDEXING": "1"
ERROR:   "USE_SHADOW": "1"
ERROR:   "USE_SHADOW_PCF": "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_solid_tex' with required defines not found.
ERROR:   "MODE_SILHOUETTEOCCLUDER": "1"
ERROR:   "RENDER_DEBUG_MODE": "RENDER_DEBUG_MODE_NONE"
ERROR:   "SHADOWS_CASCADE_COUNT": "1"
ERROR:   "USE_DESCRIPTOR_INDEXING": "1"
ERROR:   "USE_SHADOW": "1"
ERROR:   "USE_SHADOW_PCF": "1"
ERROR:   "USE_SHADOW_SAMPLER": "1"
ERROR:   "USE_FOG": "1"
ERROR:   "USE_SPECULAR_MAP": "1"
ERROR:   "USE_NORMAL_MAP": "1"
ERROR:   "USE_TRANSPARENT": "1"
ERROR:   "REQUIRE_ALPHA_GEQUAL": "0.4"
ERROR: Failed to load shader 'spirv/model_solid_tex'

ERROR: Program 'spirv/model_waterfall' with required defines not found.
ERROR:   "MODE_SHADOWCAST": "1"
ERROR:   "PASS_SHADOWS": "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_TRANSPARENT": "1"
ERROR: Failed to load shader 'spirv/model_waterfall'

ERROR: Program 'spirv/model_water' with required defines not found.
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_TRANSPARENT": "1"
ERROR:   "REQUIRE_ALPHA_GEQUAL": "0.05"
ERROR:   "USE_SPECULAR": "1"
ERROR: Failed to load shader 'spirv/model_water'

ERROR: Program 'spirv/model_solid_player' with required defines not found.
ERROR:   "MODE_SILHOUETTEDISPLAY": "1"
ERROR:   "RENDER_DEBUG_MODE": "RENDER_DEBUG_MODE_NONE"
ERROR:   "SHADOWS_CASCADE_COUNT": "1"
ERROR:   "USE_DESCRIPTOR_INDEXING": "1"
ERROR:   "USE_SHADOW": "1"
ERROR:   "USE_SHADOW_PCF": "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:   "USE_PLAYERCOLOR": "1"
ERROR: Failed to load shader 'spirv/model_solid_player'

 

Link to comment
Share on other sites

26 minutes ago, vladislavbelov said:

Now should be fixed.

Thanks,

two new errors, the texture decode issue possibly not related to vulkan specifically:

ERROR: Texture failed to decode; "art/textures/terrain/types/india/grass_02_norm.png" Unknown error (-120101, 0xFFFFFFFFFFFE2ADB)

ERROR: Program 'spirv/model_solid_tex' with required defines not found.
ERROR:   "MODE_SILHOUETTEOCCLUDER": "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_SPECULAR_MAP": "1"
ERROR:   "USE_NORMAL_MAP": "1"
ERROR:   "USE_TRANSPARENT": "1"
ERROR:   "USE_AO": "1"
ERROR:   "REQUIRE_ALPHA_GEQUAL": "0.4"
ERROR: Failed to load shader 'spirv/model_solid_tex'

 

Link to comment
Share on other sites

2 hours ago, hyperion said:

two new errors, the texture decode issue possibly not related to vulkan specifically:

Updated.

6 minutes ago, hyperion said:

There are some shadow like artifacts (map nubian frontier)

Could you run the game with validation enabled?

28 minutes ago, phosit said:

Isn't there a bether solution than asking the users to report all missing shaders? Surely it will not be tested exhaustively and some shader will be missing in the release.

It'll cost too much my time now or too much space for shaders. So I chose a compromise, I believe there're not so many shaders left and I have a validation script to fill possible holes.

Link to comment
Share on other sites

51 minutes ago, vladislavbelov said:

Could you run the game with validation enabled?

I already do, but don't get extra output unlike with gl. Anything you want me to look out for / you expect to see?

 

Anyway, I opened the atlas and found it to still use gl. There I played with various textures and nubia dirt 1 2 3 but not 4 all show the same shadowing behavior, it's just a lot less obvious with gl than with vulkan. Ie less dark and can barely pass as just wet.

Link to comment
Share on other sites

5 minutes ago, hyperion said:

Anyway, I opened the atlas and found it to still use gl.

Vulkan is disabled in Atlas, as wxWidgets doesn't provide loader for that by default.

6 minutes ago, hyperion said:

There I played with various textures and nubia dirt 1 2 3 but not 4 all show the same shadowing behavior, it's just a lot less obvious with gl than with vulkan. Ie less dark and can barely pass as just wet.

Then it seems the known problem of broken materials.

Link to comment
Share on other sites

ERROR: Program 'spirv/model_common' with required defines not found.
ERROR:   "ALPHABLEND_PASS_OPAQUE": "1"
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_SHADOW": "1"
ERROR:   "USE_SHADOW_PCF": "1"
ERROR:   "USE_SHADOW_SAMPLER": "1"
ERROR:   "USE_FOG": "1"
ERROR:   "USE_SPECULAR_MAP": "1"
ERROR:   "USE_NORMAL_MAP": "1"
ERROR:   "USE_TRANSPARENT": "1"
ERROR:   "REQUIRE_ALPHA_GEQUAL": "0.6375"
ERROR: Failed to load shader 'spirv/model_common'

ERROR: Program 'spirv/model_common' with required defines not found.
ERROR:   "ALPHABLEND_PASS_BLEND": "1"
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_SHADOW": "1"
ERROR:   "USE_SHADOW_PCF": "1"
ERROR:   "USE_SHADOW_SAMPLER": "1"
ERROR:   "USE_FOG": "1"
ERROR:   "USE_SPECULAR_MAP": "1"
ERROR:   "USE_NORMAL_MAP": "1"
ERROR:   "USE_TRANSPARENT": "1"
ERROR:   "REQUIRE_ALPHA_GEQUAL": "0.05"
ERROR: Failed to load shader 'spirv/model_common'

ERROR: Program 'spirv/model_water' with required defines not found.
ERROR:   "MODE_SHADOWCAST": "1"
ERROR:   "PASS_SHADOWS": "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_TRANSPARENT": "1"
ERROR:   "REQUIRE_ALPHA_GEQUAL": "0.05"
ERROR:   "USE_SPECULAR": "1"
ERROR: Failed to load shader 'spirv/model_water'

ERROR: Program 'spirv/model_water' with required defines not found.
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_TRANSPARENT": "1"
ERROR:   "REQUIRE_ALPHA_GEQUAL": "0.05"
ERROR:   "USE_SPECULAR": "1"
ERROR: Failed to load shader 'spirv/model_water'

ERROR: Program 'spirv/model_water' with required defines not found.
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_TRANSPARENT": "1"
ERROR:   "REQUIRE_ALPHA_GEQUAL": "0.05"
ERROR:   "USE_SPECULAR": "1"
ERROR: Failed to load shader 'spirv/model_water'

At least there are already maps not triggering missing shaders :)

 

  • Thanks 1
Link to comment
Share on other sites

1 minute ago, Leyto said:

Should we expect some visual awesomeness/differences

Not yet.

1 minute ago, Leyto said:

or it's more a performance boost targetted with this API ? (which is also welcome of course )

The first step is to reduce the number of driver dependent bugs and crashes and to have a more predictable performance.

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