Stan` Posted February 2, 2023 Report Share Posted February 2, 2023 You can test "Network Latency" by starting a lan game. It will have a command delay of 4 turns (800ms) 1 Quote Link to comment Share on other sites More sharing options...
zyli Posted February 2, 2023 Report Share Posted February 2, 2023 Postscriptum. 1. 0AD SVN Rev. 27522 Debian Bookworm Intel Xe TGL GT2 Vulkan + Mod 0ad-spirv 0.27.13 enable Quote ERROR: Program 'spirv/model_common' with required defines not found. etc. Engine exited successfully on 2023-02-02 at 17:25:44 with 3296 message(s), 210 error(s) and 0 warning(s). 2. 0AD SVN Rev. 27519 (pyrogenesis.exe) Windows 11 Intel Xe TGL GT2 Vulkan + Mod 0ad-spirv 0.27.13 enable Quote ERROR: Program 'spirv/model_common' with required defines not found. etc. Engine exited successfully on 2023-02-02 at 18:42:54 with 11012 message(s), 329 error(s) and 0 warning(s). Regards. mainlog2023-02-02_Rev_27522_vulkan_Intel-Xe-TGL-GT2_0ad-spirv_0.27.13.html.zip mainlogmainlog2023-02-02_Rev_27519_Windows-11_vulkan_Intel-Xe-TGL-GT2_0ad-spirv_0.27.13.html.zip Quote Link to comment Share on other sites More sharing options...
DarkPulsar Posted February 3, 2023 Report Share Posted February 3, 2023 Dear @vladislavbelov, I discovered something strange. When I enable the "fog" option in graphics(General) section, 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. Disabling the "fog" option the game shows the previews normally. Please take a look in the following screenshot and the main log file: Game build is 27523. Thanks in advance! mainlog.html Quote Link to comment Share on other sites More sharing options...
vladislavbelov Posted February 3, 2023 Author Report Share Posted February 3, 2023 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. Quote Link to comment Share on other sites More sharing options...
DarkPulsar Posted February 3, 2023 Report Share Posted February 3, 2023 1 hour ago, vladislavbelov said: You need to update the 0ad-spirv mod to the last version. 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: mainlog.html Quote Link to comment Share on other sites More sharing options...
vladislavbelov Posted February 5, 2023 Author Report Share Posted February 5, 2023 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 Quote Link to comment Share on other sites More sharing options...
andy5995 Posted February 5, 2023 Report Share Posted February 5, 2023 (edited) @vladislavbelov@Stan` @hyperionRegarding the appimage problem with the Vulkan backend disabled, I got this reply from one of the AppImage maintainers Quote All I can say is that AppImage does not use any form of sandboxing or virtualization by default; so it is likely a driver/library compatibility issue? Try experimenting with bundling more/less components. So... no surprise there. I was able to bundle libvulkan.so into the appimage, and had the same problem. I then ran `ldd pyrogenesis | grep vulkan` and found no reference to libvulkan. How is libvulkan being referenced normally when pyrogenesis is run? Edited February 5, 2023 by andy5995 Quote Link to comment Share on other sites More sharing options...
vladislavbelov Posted February 5, 2023 Author Report Share Posted February 5, 2023 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). Quote Link to comment Share on other sites More sharing options...
hyperion Posted February 5, 2023 Report Share Posted February 5, 2023 38 minutes ago, andy5995 said: I was able to bundle libvulkan.so into the appimage That doesn't sound like a good idea. Downloaded the latest appimage and it ran with vulkan just fine on an amd gpu (vega 8), so which image is apparently broken? Quote Link to comment Share on other sites More sharing options...
Sturm Posted February 6, 2023 Report Share Posted February 6, 2023 SpirV version numbers are unclear. Which version is 0ad-spirv-0.27.14 in this table: https://www.khronos.org/spir/ ? Quote Link to comment Share on other sites More sharing options...
vladislavbelov Posted February 6, 2023 Author Report Share Posted February 6, 2023 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: https://www.khronos.org/spir/ Currently we're targeting SPIR-V 1.3. 1 Quote Link to comment Share on other sites More sharing options...
vladislavbelov Posted February 6, 2023 Author Report Share Posted February 6, 2023 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? Quote Link to comment Share on other sites More sharing options...
Stan` Posted February 6, 2023 Report Share Posted February 6, 2023 16 minutes ago, vladislavbelov said: Could you try the new 0.27.15 version? It's now updated on mod.io Quote Link to comment Share on other sites More sharing options...
andy5995 Posted February 6, 2023 Report Share Posted February 6, 2023 20 hours ago, hyperion said: That doesn't sound like a good idea. Downloaded the latest appimage and it ran with vulkan just fine on an amd gpu (vega 8), so which image is apparently broken? @hyperionThe problem has been consistent with all of them so far. So far the reports have been from people (including me) on Arch-based systems. If they are using an Intel or AMD GPU, the Vulkan backend is disabled. More details on the GitHub ticket I linked above. I'm glad to hear it's working for you though! Which distro are you using? Quote Link to comment Share on other sites More sharing options...
hyperion Posted February 6, 2023 Report Share Posted February 6, 2023 Looking at the arch wiki it says there are three drivers, me is using radv on Gentoo. See https://wiki.archlinux.org/title/Vulkan#Switching_between_AMD_drivers if you use the closed source driver (arch default) and if switching makes a difference. 1 Quote Link to comment Share on other sites More sharing options...
DarkPulsar Posted February 6, 2023 Report Share Posted February 6, 2023 2 hours ago, vladislavbelov said: Could you try the new 0.27.15 version? Thanks for the update, it seems that everything so far are working great without any errors! If I notice any other error I will inform you. mainlog.html 1 Quote Link to comment Share on other sites More sharing options...
real_tabasco_sauce Posted February 7, 2023 Report Share Posted February 7, 2023 12 hours ago, vladislavbelov said: Could you try the new 0.27.15 version? I tried this version on mac with moltenVK. Nothing seemed out of the ordinary until I turned texture texture quality to high. At hight texture quality, it does something like this: (the video is from an earlier test I did) ultra_high_shadows.mp4 After lowering textures back to medium/low, the glitched textures remain. There is screen tearing when panning while using default settings. Someone told me it's not possible, but turning on vsync fixes them perfectly and results in very smooth panning. I would say vulcan gives me an average of 10 to 15 more fps, which is impactful, but more importantly I do not get stutters or frame rate drops that I noticed frequently before. 1 Quote Link to comment Share on other sites More sharing options...
vladislavbelov Posted February 7, 2023 Author Report Share Posted February 7, 2023 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 Quote Link to comment Share on other sites More sharing options...
Lion.Kanzen Posted February 7, 2023 Report Share Posted February 7, 2023 this is what gave the performance buff to the game? Quote Link to comment Share on other sites More sharing options...
Stan` Posted February 7, 2023 Report Share Posted February 7, 2023 @real_tabasco_sauce Can you try 0ad-0.0.27.4-alpha-osx64.dmg 2023-02-07 1647.10 MB http 0ad-0.0.27.4-alpha-x86_64.dmg 2023-02-07 1666.08 MB http Quote Link to comment Share on other sites More sharing options...
real_tabasco_sauce Posted February 7, 2023 Report Share Posted February 7, 2023 10 hours ago, vladislavbelov said: It should be fixed in the next build (there was a fix for that kind of glitch: rP27511). 6 hours ago, Stan` said: @real_tabasco_sauce Can you try Yep! It's all working flawlessly. Thanks for making a bundle @Stan`! 1 Quote Link to comment Share on other sites More sharing options...
andy5995 Posted February 7, 2023 Report Share Posted February 7, 2023 On 06/02/2023 at 12:17 PM, hyperion said: Looking at the arch wiki it says there are three drivers, me is using radv on Gentoo. See https://wiki.archlinux.org/title/Vulkan#Switching_between_AMD_drivers if you use the closed source driver (arch default) and if switching makes a difference. I didn't see much there about Intel, what I have on my laptop. But as I mentioned, the drivers I have installed seem to be ok. The game runs with Vulkan enabled if I use a self-built binary instead of the Ubuntu 1804 AppImage. I'll post your suggestion on the ticket though. Thanks @hyperion Quote Link to comment Share on other sites More sharing options...
zyli Posted February 11, 2023 Report Share Posted February 11, 2023 (edited) Hello. Up to Rev 27531 everything was fine. From Rev. 27535 returned: "ERROR: Program 'spirv/model_common' with required defines not found." Debian Bookworm 0AD SVN Rev 27535 + vulkan + 0ad-spirv.zip 0.27.15 NVidia GTX 1660 + driver from nvidia.com (525.89.02). Regards mainlog_2023-02-11_Rev_27535_0ad-spirv_0.27.15.html Edited February 11, 2023 by zyli Quote Link to comment Share on other sites More sharing options...
maroder Posted February 12, 2023 Report Share Posted February 12, 2023 svn rev 27535 w/ 0ad-spirv version: 0.27.15 ERROR: Program 'spirv/model_waterfall' with required defines not found. ERROR: "ALPHABLEND_PASS_OPAQUE": "1" ERROR: "IGNORE_LOS": "1" ERROR: "RENDER_DEBUG_MODE": "RENDER_DEBUG_MODE_NONE" ERROR: "USE_SHADOW_SAMPLER": "1" ERROR: "USE_FOG": "1" ERROR: "SHADOWS_CASCADE_COUNT": "1" ERROR: "USE_INSTANCING": "1" ERROR: "USE_DESCRIPTOR_INDEXING": "1" ERROR: "USE_SHADOW": "1" ERROR: "USE_SHADOW_PCF": "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_SHADOWCAST": "1" ERROR: "PASS_SHADOWS": "1" ERROR: "RENDER_DEBUG_MODE": "RENDER_DEBUG_MODE_NONE" ERROR: "USE_INSTANCING": "1" ERROR: "USE_SHADOW": "1" ERROR: "USE_SHADOW_PCF": "1" ERROR: "USE_SHADOW_SAMPLER": "1" ERROR: "USE_FOG": "1" ERROR: "USE_DESCRIPTOR_INDEXING": "1" ERROR: "SHADOWS_CASCADE_COUNT": "1" ERROR: "USE_NORMAL_MAP": "1" ERROR: "USE_TRANSPARENT": "1" ERROR: "USE_SPECULAR": "1" ERROR: "REQUIRE_ALPHA_GEQUAL": "0.05" ERROR: Failed to load shader 'spirv/model_water' Quote Link to comment Share on other sites More sharing options...
zyli Posted February 12, 2023 Report Share Posted February 12, 2023 Now some more bugs (1.1 MiB). Quote Engine exited successfully on 2023-02-12 at 19:54:16 with 1855 message(s), 470 error(s) and 5376 warning(s). mainlog_2023-02-12_Rev_27535_0ad-spirv_0.27.15.html.zip 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.