-
Posts
1.443 -
Joined
-
Last visited
-
Days Won
24
Posts posted by vladislavbelov
-
-
1 hour ago, maroder said:
ERROR: Failed to load shader 'spirv/model_waterfall'
Could you post the full message (with all missed defines)?
-
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
-
-
1 hour ago, real_tabasco_sauce said:
Nothing seemed out of the ordinary until I turned texture texture quality to high. At hight texture quality, it does something like this:
It should be fixed in the next build (there was a fix for that kind of glitch: rP27511).
-
1
-
-
On 03/02/2023 at 9:50 PM, DarkPulsar said:
I update the 0ad-spirv mod to "0ad-spirv-0.27.14"
Could you try the new 0.27.15 version?
-
2 hours ago, Sturm said:
0ad-spirv-0.27.14
It's the mod version (to keep tracking changes) not the SPIR-V version.
2 hours ago, Sturm said:Currently we're targeting SPIR-V 1.3.
-
1
-
-
13 minutes ago, andy5995 said:
How is libvulkan being referenced normally when pyrogenesis is run?
SDL loads it (inside it might search for different paths).
-
On 03/02/2023 at 9:50 PM, DarkPulsar said:
I update the 0ad-spirv mod to "0ad-spirv-0.27.14" (added 1 hour ago in: https://0ad.old.mod.io/0ad-spirv ) and I still have the same issue. Here is my latest main log:
Thanks! I'll check it.
-
1
-
-
@cantfind @Graham1 I've came up with another random idea: https://trac.wildfiregames.com/ticket/6649#comment:7, but it needs to compile the game.
-
7 hours ago, DarkPulsar said:
I encounter the following errors and the game does not show entities previews (for example when you try to build a house etc.), making the game nearly unplayable.
You need to update the 0ad-spirv mod to the last version.
-
1 hour ago, DarkPulsar said:
Thanks a lot @vladislavbelov !
Thank you for reporting and testing!
-
1
-
-
9 hours ago, andy5995 said:
If Vulkan is enabled in the config, but the 0ad-spirv mod is not enabled, the game crashes.
That's expected.
21 hours ago, DarkPulsar said:Please if you want something else, inform me.
There is a new build that might fix the problem: https://code.wildfiregames.com/rP27519
-
6 hours ago, DarkPulsar said:
Thanks for all your effort! Please if you want something else, inform me. Thank you again
Thank you for the feedback! I think I found a possible reason. I'll add a fix to the code.
-
1
-
-
11 minutes ago, maroder said:
build yourself
Did you pass --large-address-aware to update-workspaces.bat?
-
1
-
1
-
-
6 minutes ago, maroder said:
but do we have some kind of memory leak somewhere? Those out of memory errors only occur in long games
Do you use autobuild or build by yourself?
-
2 minutes ago, maroder said:
I am mentioning it tho, since the last thing in the mainlog was
ERROR: Failed to create VkBuffer: -2-2 is VK_ERROR_OUT_OF_DEVICE_MEMORY.
-
1
-
-
11 hours ago, DarkPulsar said:
I am waiting for the new build
Build is ready: https://code.wildfiregames.com/rP27514
-
1 hour ago, DarkPulsar said:
Yes of course, here it is:
Thanks! I'll add more information to logs (currently it's not enough information to figure out the reason) and ping you when an autobuild will be ready.
-
17 minutes ago, DarkPulsar said:
Hi all, I recently tested build 27504 of the game with 0ad-spirv shader mod installed, but when I switch to Vulcan, this error appears:
Hi! Could you attach your mainlog.html after running the game with Vulkan selected? Paths to logs you might find here: https://trac.wildfiregames.com/wiki/GameDataPaths
-
5 hours ago, MirceaKitsune said:
the hard limitation was the engine not yet making it possible to define light sources attached to units or map props.
It's not the hardest part. The most time consuming part is to make the lights be accounted during rendering.
5 hours ago, MirceaKitsune said:PRB would be awesome but feels more secondary by comparison: Especially for a RTS where you don't see close detail it might be less immediate.
PBR isn't for details but for rendering consistency. With PBR an object will look well in all light conditions. Currently we have over-brighten or over-darken colors on some maps.
-
11 hours ago, wowgetoffyourcellphone said:
Some guidance?
Currently we have at least two major problems: many different materials (different only by uniform value aren't different) and many draw calls (because of complex variations).
I also plan to release Technical Art Guide but not sure when I'll have time to finish it.
2 hours ago, asterix said:you mean to look at patches by this guy https://code.wildfiregames.com/D3555 ?
No, I mean industry standard PBR approaches.
-
1
-
1
-
-
44 minutes ago, MirceaKitsune said:
May I bump this to ask if any progress has been made since last time? Alpha 26 was released recently: A27 is about to be upgraded from OpenGL and feature a Vulkan backend. Given the new renderer, is the way paved for allowing buildings / units / map decorations to correctly have their own lights?
Technically it's possible but it requires art optimization.
45 minutes ago, MirceaKitsune said:I feel the lack of custom light sources is the biggest relevant limitation still left in Pyrogenesis.
I can't say it's the only biggest there is also PBR.
-
19 minutes ago, fabio said:
Alpha 27 with Vulkan backend may also reduce the need for LODs:
Nah, LODs are still needed.
-
1
-
-
19 minutes ago, andy5995 said:
On both systems I was running 0ad from an AppImage. On the desktop it worked.
Could you run the following test program?
#include <iostream> #include <SDL2/SDL.h> int main() { if (SDL_Init(SDL_INIT_VIDEO|SDL_INIT_TIMER|SDL_INIT_NOPARACHUTE)) { return -1; } const int flags = SDL_WINDOW_SHOWN | SDL_WINDOW_RESIZABLE | SDL_WINDOW_VULKAN; SDL_Window* window = SDL_CreateWindow("vk-test", 10, 10, 512, 512, flags); if (window) { std::cout << "success" << std::endl; SDL_DestroyWindow(window); } else { std::cerr << "fail: " << SDL_GetError() << std::endl; return -1; } return 0; }
Command to run:
g++ -O2 --std=c++17 vk-test.cpp -o vk-test -lSDL2 -I/usr/include/SDL2 && ./vk-test
-
49 minutes ago, andy5995 said:
Same output on both systems when I run:
Maybe it's unavailable from AppImage? Is it possible to run vulkaninfo from AppImage envrionment?

Vulkan - new graphics API
in Game Development & Technical Discussion
Posted
Thanks!
Yeah, that's intentional else the mod would be ~5 times bigger.