OptimusShepard Posted June 16, 2020 Report Share Posted June 16, 2020 (edited) The current alpha 23b has some problems with the new Ryzen CPUs. First problem ist the correct hardware detection. This leads to an crash by starting the game. Second problem are random slowdowns and speedups while playing the game. Both problems will be addressed with the next alpha 24. Until than the game has to be individually patched. Follow the instructions below. Windows: Replace the files of %localappdata%\0 A.D. alpha\binaries\system by the files of system.zip system.zip Linux (and Windows self builder): Some of the distribution like Arch have already backported the patch (only Ryzen) for the first problem. To solve the second problem, or if your distribution hasn't backported, you need to build the game by yourself. https://trac.wildfiregames.com/wiki/BuildInstructions https://trac.wildfiregames.com/wiki/BuildInstructionsGettingTheCode https://code.wildfiregames.com/D3031 https://code.wildfiregames.com/D3066 (Linux) https://code.wildfiregames.com/D2726 (Windows) https://code.wildfiregames.com/D1789 (Threadripper) The revision number of a23b is r21946. If you have any further problems, feel free to open an new thread or to post on an existing thread. Every feedback is welcome. Edited November 7, 2020 by OptimusShepard Replacing D2353 by D3031. Adding D1789 Quote Link to comment Share on other sites More sharing options...
kokomaestro Posted June 17, 2020 Report Share Posted June 17, 2020 Still not working for me unfortunately... Quote Link to comment Share on other sites More sharing options...
Stan` Posted June 17, 2020 Report Share Posted June 17, 2020 56 minutes ago, kokomaestro said: Still not working for me unfortunately... What happens when you replace the contents of the folder? Quote Link to comment Share on other sites More sharing options...
OptimusShepard Posted June 17, 2020 Author Report Share Posted June 17, 2020 Hm, as no one else have a Threadripper, no one can debug it. I have my self only a Ryzen. But maybe we could fix it anyway. The crashlog you posted in the other thread, was that the first one? With an Ryzen you can press continue (I think 3 times) until you are in the windowed game. Pressing continue will oberwrite the other crashreports. The first crash shows me (in my machine) something like "cache.validate". Do you get something like that, or did you break, so this was your first report? 1 Quote Link to comment Share on other sites More sharing options...
Silier Posted June 17, 2020 Report Share Posted June 17, 2020 @feneur could you please unlock posts for @kokomaestro ? 1 Quote Link to comment Share on other sites More sharing options...
Kouper Posted June 24, 2020 Report Share Posted June 24, 2020 (edited) Hey Friends! I have tried the instructions above but neither the commands failed nor I couldn't load the files. There is not much on the internet about this topic and I have read (I think) all search results I could find. I changed my CPU to a Ryzen 5 3600 yesterday and yeah.... You probably know what happened. I updated the kernel of my Ubuntu 20 and installed the AMDgpu driver just in case but the problem is apparently the CPU. I can run the game 0AD after getting the mentioned crash report and it works as i tested it for a couple minutes on a big saved map but its only in windowed mode and no way to get fullscreen as before the CPU change. I want to make a 0AD LAN "party" on Saturday so it would be nice to get it fixed. Please give me an easy advice/manual for a beginner though I am not but still having probs understanding developer language sometimes. Thanks a lot and cu Edited June 24, 2020 by Kouper Quote Link to comment Share on other sites More sharing options...
Stan` Posted June 24, 2020 Report Share Posted June 24, 2020 Hey @Kouper Sorry you are experiencing such issues. to fix them you will have to compile the game yourself. To do so you need to follow the instructions here. You will need to install a bunch of dependencies, and to download the source code like shown here. To be able to play with your fellow friends you will need to checkout a special revision. You might want to do both steps at once because it's gonna take some time. $ svn co -r21946 https://svn.wildfiregames.com/public/ps/trunk/ 0ad then you'll need to patch the game using the following patch patch.diff Copy it in the 0ad folder. $ cd 0ad $ patch -p0 < patch.diff then after you installed the dependencies and applied the patch you can run a script such as this one #!/bin/sh cd "0ad" svn up jobs=`nproc` jobs=`expr $jobs + 1` SVN_REV=`svnversion -n` echo L\"${SVN_REV}-dev\" > build/svn_revision/svn_revision.txt echo "Updating workspaces with $jobs jobs..." cd build/workspaces sh update-workspaces.sh -j$jobs > ../../../build-libs.log cd gcc echo "Building pyrogenesis with $jobs jobs..." make CXXFLAGS="-std=c++11 -march=native" -j$jobs > ../../../../build.log cd ../../../../ That should do the trick. Be patient and take your time, and you should have a working game in no time. 1 Quote Link to comment Share on other sites More sharing options...
marius4 Posted June 25, 2020 Report Share Posted June 25, 2020 It worked for me before I get the error when starting the game thanks. this is the specification of my pc RyZEN 5 3600 6 CORE 3.59GHZ 1 Quote Link to comment Share on other sites More sharing options...
Kouper Posted June 26, 2020 Report Share Posted June 26, 2020 (edited) Hey again, I have tried again the instructions but get either the massage "command not found" or "E: Unable to locate package" and installing the 0ad-dbgsym_0.0.24~r23742-0ubuntu1~20.04~wfg0_amd64.ddeb or 0ad-dbgsym_0.0.24~r23742-0ubuntu1~20.04~wfg0_arm64.ddeb didn't work either. I tried the fix for Windows and it was way toooo easy. Just downloading a folder, copying and replace the old one and DONE! Isn't there any similar solution for Ubuntu 20.04??? Because first, I love LINUX and secondly I realized Windows didn't' work as well as Ubuntu. Haha live could be so easy, but its not xD THANKS ANYWAY!! Edited June 26, 2020 by Kouper Quote Link to comment Share on other sites More sharing options...
Stan` Posted June 26, 2020 Report Share Posted June 26, 2020 1 hour ago, Kouper said: Hey again, I have tried again the instructions but get either the massage "command not found" or "E: Unable to locate package" and installing the 0ad-dbgsym_0.0.24~r23742-0ubuntu1~20.04~wfg0_amd64.ddeb or 0ad-dbgsym_0.0.24~r23742-0ubuntu1~20.04~wfg0_arm64.ddeb didn't work either. I tried the fix for Windows and it was way toooo easy. Just downloading a folder, copying and replace the old one and DONE! Isn't there any similar solution for Ubuntu 20.04??? Because first, I love LINUX and secondly I realized Windows didn't' work as well as Ubuntu. Haha live could be so easy, but its not xD THANKS ANYWAY!! Where did you get those packages from? Good to know that the fix also work on ThreadRippers! Quote Link to comment Share on other sites More sharing options...
Bloodscorpion Posted June 28, 2020 Report Share Posted June 28, 2020 Does anyone know about how long it will take until the alpha 24 is released Quote Link to comment Share on other sites More sharing options...
Stan` Posted June 28, 2020 Report Share Posted June 28, 2020 There is no date yet. Note that the actual fix for AMD CPU is not merged yet. Quote Link to comment Share on other sites More sharing options...
Nescio Posted June 29, 2020 Report Share Posted June 29, 2020 On 6/25/2020 at 12:12 AM, Stan` said: then you'll need to patch the game using the following patch patch.diff Copy it in the 0ad folder. Your patch includes D2353 and D2745 but not D2726? Quote Link to comment Share on other sites More sharing options...
Stan` Posted June 29, 2020 Report Share Posted June 29, 2020 Yeah, the last one was made by me So I'd rather not include it. Also it mostly patches windows. Quote Link to comment Share on other sites More sharing options...
django Posted October 10, 2020 Report Share Posted October 10, 2020 (edited) Hello, i love this game, but since i got my new pc last year, i am unable to play it. I run arch linux, which supposedly has the necessary patches backported, but 0ad still fails to run on my Threadripper 1950x cpu. Is there anything i can do to resolve this issue? Edited October 10, 2020 by django Quote Link to comment Share on other sites More sharing options...
OptimusShepard Posted October 10, 2020 Author Report Share Posted October 10, 2020 1 hour ago, django said: Hello, i love this game, but since i got my new pc last year, i am unable to play it. I run arch linux, which supposedly has the necessary patches backported, but 0ad still fails to run on my Threadripper 1950x cpu. Is there anything i can do to resolve this issue? Do you have a crash log, or crash description? Quote Link to comment Share on other sites More sharing options...
django Posted October 11, 2020 Report Share Posted October 11, 2020 (edited) 21 hours ago, OptimusShepard said: Do you have a crash log, or crash description? sure, thanks for asking: TIMER| InitVfs: 1.82007 ms Writing the mainlog at /home/user/.config/0ad/logs/mainlog.html TIMER| CONFIG_Init: 1.75588 ms Sound: AlcInit success, using OpenAL Soft TIMER| shutdown ConfigDB: 0.19 us TIMER| resource modules: 2.90954 ms TIMER TOTALS (9 clients) ----------------------------------------------------- tc_pool_alloc: 0 c (0x) tc_png_decode: 0 c (0x) tc_dds_transform: 0 c (0x) tc_transform: 0 c (0x) tc_plain_transform: 0 c (0x) tc_ShaderGLSLLink: 0 c (0x) tc_ShaderGLSLCompile: 0 c (0x) tc_ShaderValidation: 0 c (0x) xml_validation: 0 c (0x) ----------------------------------------------------- TIMER| shutdown misc: 101.653 us TIMER| InitVfs: 66.7912 ms Writing the mainlog at /home/user/.config/0ad/logs/mainlog.html TIMER| CONFIG_Init: 907.627 us Sound: AlcInit success, using OpenAL Soft cache.cpp(54): Assertion failed: "tlb.Validate()" Assertion failed: "tlb.Validate()" Location: cache.cpp:54 (AddTLB) Call stack: (0x55efad2cd026) /usr/bin/pyrogenesis(+0x5f9026) [0x55efad2cd026] (0x55efad27dc82) /usr/bin/pyrogenesis(+0x5a9c82) [0x55efad27dc82] (0x55efad27f207) /usr/bin/pyrogenesis(+0x5ab207) [0x55efad27f207] (0x55efad27f793) /usr/bin/pyrogenesis(+0x5ab793) [0x55efad27f793] (0x55efad2c4f37) /usr/bin/pyrogenesis(+0x5f0f37) [0x55efad2c4f37] (0x55efad2c53f7) /usr/bin/pyrogenesis(+0x5f13f7) [0x55efad2c53f7] (0x55efad2c5735) /usr/bin/pyrogenesis(+0x5f1735) [0x55efad2c5735] (0x55efad2c5abe) /usr/bin/pyrogenesis(+0x5f1abe) [0x55efad2c5abe] (0x55efad2fe3d3) /usr/bin/pyrogenesis(+0x62a3d3) [0x55efad2fe3d3] (0x55efad2c581f) /usr/bin/pyrogenesis(+0x5f181f) [0x55efad2c581f] (0x55efad2c758b) /usr/bin/pyrogenesis(+0x5f358b) [0x55efad2c758b] (0x55efad2fe3d3) /usr/bin/pyrogenesis(+0x62a3d3) [0x55efad2fe3d3] (0x55efad2c717b) /usr/bin/pyrogenesis(+0x5f317b) [0x55efad2c717b] (0x55efacf7c401) /usr/bin/pyrogenesis(+0x2a8401) [0x55efacf7c401] (0x55efacf7263e) /usr/bin/pyrogenesis(+0x29e63e) [0x55efacf7263e] (0x55efacd7a306) /usr/bin/pyrogenesis(+0xa6306) [0x55efacd7a306] errno = 0 (Invalid alignment) OS error = ? Edited October 11, 2020 by django Quote Link to comment Share on other sites More sharing options...
OptimusShepard Posted October 11, 2020 Author Report Share Posted October 11, 2020 11 hours ago, django said: sure, thanks for asking: I'm a bit confused, I was thinking, that the cache errors only occur on the new Threadripper 3000 series. I made a new workaround, which should prevent from crashing because of cache detection. But you would need to build the game by your own. Could you build it? The revision number of a23b is r21946. You need the new patch D3031. I'm not sure, if the Threadrippers always needs the patch D1789, but I guess, it shouldn't hurt to take this patch too. Quote Link to comment Share on other sites More sharing options...
django Posted October 12, 2020 Report Share Posted October 12, 2020 19 hours ago, OptimusShepard said: I'm a bit confused, I was thinking, that the cache errors only occur on the new Threadripper 3000 series. I made a new workaround, which should prevent from crashing because of cache detection. But you would need to build the game by your own. Could you build it? I will try to build it with the patches you mentioned, thanks. Quote Link to comment Share on other sites More sharing options...
django Posted October 12, 2020 Report Share Posted October 12, 2020 Today i failed at compiling. I tried to apply https://code.wildfiregames.com/D2745 to fix this, but compilation still fails, maybe i am doing something wrong. Will try again tomorrow. /usr/bin/ld: ../../../libraries/source/fcollada/lib/libFColladaSR.a(FAXInstanceExport.o): in function `FArchiveXML::WritePhysicsRigidBodyInstance(FCDObject*, _xmlNode*)': FAXInstanceExport.cpp:(.text+0xc46): undefined reference to `_xmlNode* FArchiveXML::AddPhysicsParameter<FMVector3, 0>(_xmlNode*, char const*, FCDParameterAnimatableT<FMVector3, 0>&)' /usr/bin/ld: FAXInstanceExport.cpp:(.text+0xc5d): undefined reference to `_xmlNode* FArchiveXML::AddPhysicsParameter<FMVector3, 0>(_xmlNode*, char const*, FCDParameterAnimatableT<FMVector3, 0>&)' Quote Link to comment Share on other sites More sharing options...
OptimusShepard Posted October 13, 2020 Author Report Share Posted October 13, 2020 14 hours ago, django said: Today i failed at compiling. I tried to apply https://code.wildfiregames.com/D2745 to fix this, but compilation still fails, maybe i am doing something wrong. Will try again tomorrow. @vladislavbelov could you help him please. I am not able to build this version on Linux either. Quote Link to comment Share on other sites More sharing options...
django Posted October 13, 2020 Report Share Posted October 13, 2020 (edited) I succeeded at compiling. Instead of checking out a23b, i checked out everything until (and including) https://code.wildfiregames.com/D2745 and then i applied the two patches you mentioned. While this was not as recommended, the compilation was successful and the game can now be started on my Threadripper 1950x. I have no idea, how stable this will be for game-play, but at least i can confirm, that the patches made the game start-able. Thanks a lot so far. Any additional hints are welcome. Edited October 13, 2020 by django Quote Link to comment Share on other sites More sharing options...
OptimusShepard Posted October 13, 2020 Author Report Share Posted October 13, 2020 @django you're welcome I recommended a23b only, because it's needed, if you want to play multiplayer in the lobby. If you only want to play singleplayer, you can also use the newest svn version, so you can use such features like FXAA antialiasing, or sharpening 1 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.