-
Posts
1.086 -
Joined
-
Last visited
-
Days Won
3
Everything posted by hyperion
-
But if you don't have vision you don't know that it's already destroyed. You can just guess it but maybe your opponent snuck a few dozen repairers there in the meantime so you really can't be sure unless you check in which case the cata will stop firing. If it does stop firing without vision then it's a case of leaking info that the shroud of darkness is supposed to hide. Btw, this is not limited to catas but applies to all ranged units, it's just not as obvious for others due to relatively large vision range compared to shooting range.
-
Expected behavior. Why do you think it's a problem?
-
Errors when Compiling with system mozjs on Manjaro 22
hyperion replied to andy5995's topic in Bug reports
SM stand for spidermonkey, some distros call it mozjs and it looks your distro calls it simply js. https://software.manjaro.org/package/js91 -
Indeed, now I can reproduce. With python3-setuptools installed the following allows me to build 0ad in Debian SETUPTOOLS_USE_DISTUTILS=stdlib ./update-workspaces.sh @zyli phew, no reinstall needed --- Tried Fedora 37 and can build just fine. Wonder what I need to break that one (no, not setuptools)!
-
Vulkan - new graphics API
hyperion replied to vladislavbelov's topic in Game Development & Technical Discussion
Thanks. Went through all skirmish maps and can't find any missing shaders anymore with 0ad-spirv-0.27.11. Also disabled validation to get an estimate an vulkan vs gl performance, it's mostly a tie. Some times one is slightly faster than the other and sometimes the other way around. Tho it feels like not comparing the exact same. For instance shore waves are rendered in gl without fancy while it requires fancy with vulkan, also using vulkan models throw shadows onto themself while in gl only onto other objects. To sum up overall they feel roughly the same performance wise. I also didn't come across other issues on the level as those 3 textures mentioned earlier in this thread. Those are the only issue I consider on the level of RB. Do you have an inkling of what is going on there? I just blindly adjusted props size to 64 from 60 as it's 2^6 and it happens to work for me. -
Maybe ask on the Debain forums if my guess is reasonable and if you can fix it manually. Looking at the standalone build of mozjs91 at https://salsa.debian.org/gnome-team/mozjs/-/tree/debian/91/master I can't see an indication of your bug either. Sadly, I can't really help much with debugging if I can't reproduce the issue, just grasping at straws.
-
Same, can build pyrogenesis just fine using a Debian installed using the iso here https://cdimage.debian.org/cdimage/weekly-builds/amd64/iso-dvd/ *suspects some migration wrt python in the past left some breakage behind ...
-
I'll setup a vm with the installer you linked to and try to reproduce the issue later.
-
@zyli thanks for continuing to try. For all we know now the issue is due to install scheme and once fixed it should work for you and other Debian users. First try the patch from @s0600204 , it's inlined in the text and so you might have missed it. His patch looks like a clean approach to fix the issue. Apply it on a clean checkout and try to build 0ad. On the off chance it's not a complete fix you could try to do the symlink trick, if that works we are sure what the issue is and only need to find all places to change. For the symlink trick approch: export DEB_PYTHON_INSTALL_LAYOUT='deb' (needs to be done every time you open a new terminal) run "./update-wokspace.sh" the build fails then create the symlinks as suggested, don't clean the build or anything the like. run "REBUILD=false ./update-workspace.sh" If this succeeds we are sure to have found the cause and that there is nothing more to it. @Freagarach you might want to try as well.
-
Only distutils was either there or got pulled in by "apt-get build-dep 0ad"
-
Vulkan - new graphics API
hyperion replied to vladislavbelov's topic in Game Development & Technical Discussion
There is an add action dropdown, select raise concern under audit action so the commit is marked as needs work. A comment might get forgotten. -
you could create symlinks python3 -> python3.10 and dist-packages -> site-packages and resume the build
-
Vulkan - new graphics API
hyperion replied to vladislavbelov's topic in Game Development & Technical Discussion
version 4.0.0 is to old, guess some commit to 0ad increased the minimum requirement. Edit: you might want to raise a concern: https://code.wildfiregames.com/rP27329 -
Wait! Grabbed a nocloud-amd64 image from https://cloud.debian.org/images/cloud/bookworm/daily/ installed build deps for 0ad cloned https://github.com/0ad/0ad ran update-workspace.sh ran make -> have a pyrogenesis binary.
-
Good call @s0600204 with this hint I found https://github.com/pypa/virtualenv/issues/2350 export DEB_PYTHON_INSTALL_LAYOUT='deb' Before starting the build might work
-
Just looked at fedoras 0ad package, they explicitly set a dependency on python3-setuptools but don't do anything further with it, maybe installing that package may help Edit: There seems to be also a python3-setuptools-whl package in debian.
-
ERROR: SpiderMonkey build failed [using wsl on windows]
hyperion replied to PedroLopes951's topic in Bug reports
lowercase <string.h> is part of libc, the system_wrapper/string.h includes next the lowercase version ... Your toolchain likes to capitalize, maybe switch to a case insensitive filesystem -
Thanks for trying, I'm out of ideas https://tracker.debian.org/news/1356694/accepted-mozjs91-91130-1-source-into-unstable/ Looks like you could give that a try once --with-system-mozjs is fixed, see
-
Vulkan - new graphics API
hyperion replied to vladislavbelov's topic in Game Development & Technical Discussion
it's getting harder to find missing one 0ad-spirv-0.27.10: ERROR: Program 'spirv/model_solid_tex' 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_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_TRANSPARENT": "1" ERROR: "USE_AO": "1" ERROR: "REQUIRE_ALPHA_GEQUAL": "0.4" ERROR: Failed to load shader 'spirv/model_solid_tex' ERROR: Program 'spirv/model_common' with required defines not found. ERROR: "ALPHABLEND_PASS_OPAQUE": "1" ERROR: "IGNORE_LOS": "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_TRANSPARENT": "1" ERROR: "USE_AO": "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: "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_TRANSPARENT": "1" ERROR: "USE_AO": "1" ERROR: "REQUIRE_ALPHA_GEQUAL": "0.05" ERROR: Failed to load shader 'spirv/model_common' ERROR: Program 'spirv/model_solid_tex' 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_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_TRANSPARENT": "1" ERROR: "USE_AO": "1" ERROR: "REQUIRE_ALPHA_GEQUAL": "0.4" ERROR: Failed to load shader 'spirv/model_solid_tex' ERROR: Program 'spirv/model_solid_tex' 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_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_TRANSPARENT": "1" ERROR: "REQUIRE_ALPHA_GEQUAL": "0.4" ERROR: Failed to load shader 'spirv/model_solid_tex' 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_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_solid' ERROR: Program 'spirv/model_solid_tex' 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_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_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' -
Open a terminal and run cd /home/domowy/svn/0ad/ patch -p1 < /home/domowy/Downloads/debian-python.patch I assumed the paths, so adapt if necessary.
-
Errors when Compiling with system mozjs on Manjaro 22
hyperion replied to andy5995's topic in Bug reports
--with-system-mozjs is currently broken, already reported. Try again in a day or two, also you will need sm-91.13 -
Was a shot in the blue, thanks for trying. Looking at the 0ad source mac seems to suffer the same or similar issue as debian and @wraitii solved it by manually updating the bundled venv and injecting it into the build. This has a decent chance to work. Bellow a patch you can give a try. Apply it on top of your svn checkout. debian-python.patch
-
https://code.wildfiregames.com/D4888
-
Maybe installing venv and pip via package manager will do? For the removed universal newline issue in python 3.11 I just wrote a patch and I'm now building ... Edit: looking at debian package index, should be python3-virtualenv and python3-pip. Hopefully this prevents the use of bundled venv.
-
I can build it with 3.10.9 just fine. Possibly a debian specific issues wrt venv. @Freagarach @dave_k @vv221 sorry to ping you guys but your are the only debian users that come to mind possibly able to investigate and fix this. The local in /home/domowy/svn/0ad/libraries/source/spidermonkey/mozjs-91.13.1/build-debug/_virtualenvs/common/local/lib/python3.10/dist-packages looks suspicious
