Latest Posts

Topic: Really really bad performance of savegame

MarkMcWire
Avatar
Joined: 2017-02-08, 21:06
Posts: 129
Ranking
At home in WL-forums
Posted at: 2020-09-09, 09:14

I use Solus 4.2 Budgie. I've installed all tools from given link now.

Edited: 2020-09-09, 09:30

Top Quote
MarkMcWire
Avatar
Joined: 2017-02-08, 21:06
Posts: 129
Ranking
At home in WL-forums
Posted at: 2020-09-09, 09:15

-- Building with XDG support
-- SDL2_INCLUDE_DIR is /usr/include/SDL2
-- SDL2MAIN_LIBRARY is /usr/lib/libSDL2main.a
-- Using AddressSanitizer http://clang.llvm.org/docs/AddressSanitizer.html
-- Adding linker flags for GLVND.
-- Version of Widelands Build is unofficial-git-625e56ba13(Debug)
-- Configuring done
-- Generating done
-- Build files have been written to: /home/solus/Git/widelands_build21_mod/widelands/build
Built target see_if_codecheck_needs_to_run_94950741318f5d99a81a7305a9493066d0126c30
Built target see_if_codecheck_needs_to_run_6a3185ca3f0acb0b291e01e393eb7481de7bb33e
Building C object src/third_party/CMakeFiles/third_party_eris.dir/eris/eris.c.o
Building C object src/third_party/CMakeFiles/third_party_eris.dir/eris/lapi.c.o
Built target see_if_codecheck_needs_to_run_7d1dc955312b7b0e7ae05d6170e745737dd62556
In Datei, eingebunden von /usr/include/bits/posix1_lim.h:161,
von /usr/include/limits.h:183,
von /usr/lib64/gcc/x86_64-solus-linux/9/include-fixed/limits.h:194,
von /usr/lib64/gcc/x86_64-solus-linux/9/include-fixed/syslimits.h:7,
von /usr/lib64/gcc/x86_64-solus-linux/9/include-fixed/limits.h:34,
von /home/solus/Git/widelands_build21_mod/widelands/src/third_party/eris/luaconf.h:11,
von /home/solus/Git/widelands_build21_mod/widelands/src/third_party/eris/lua.h:16,
von /home/solus/Git/widelands_build21_mod/widelands/src/third_party/eris/lapi.c:16:
/usr/include/bits/local_lim.h:38:10: schwerwiegender Fehler: linux/limits.h: Datei oder Verzeichnis nicht gefunden
38 | #include <linux/limits.h>
| ^~~~~~~~~~~~~~~~
Kompilierung beendet.
gmake: *** Fehler 1
gmake: *** Es wird auf noch nicht beendete Prozesse gewartet....
In Datei, eingebunden von /usr/include/bits/posix1_lim.h:161,
von /usr/include/limits.h:183,
von /usr/lib64/gcc/x86_64-solus-linux/9/include-fixed/limits.h:194,
von /usr/lib64/gcc/x86_64-solus-linux/9/include-fixed/syslimits.h:7,
von /usr/lib64/gcc/x86_64-solus-linux/9/include-fixed/limits.h:34,
von /home/solus/Git/widelands_build21_mod/widelands/src/third_party/eris/llimits.h:11,
von /home/solus/Git/widelands_build21_mod/widelands/src/third_party/eris/lapi.h:11,
von /home/solus/Git/widelands_build21_mod/widelands/src/third_party/eris/eris.c:42:
/usr/include/bits/local_lim.h:38:10: schwerwiegender Fehler: linux/limits.h: Datei oder Verzeichnis nicht gefunden
38 | #include <linux/limits.h>
| ^~~~~~~~~~~~~~~~


Kompilierung beendet.
gmake: *** Fehler 1
gmake: *** Fehler 2
gmake: *** Es wird auf noch nicht beendete Prozesse gewartet....
Built target see_if_codecheck_needs_to_run_ae5e8b5b26b2df274188c96dd0ab30cdb58e7d06
Built target see_if_codecheck_needs_to_run_21849f8c132a2047809c5e7d39f7197fb9b82e65
gmake: *** Fehler 2

Edited: 2020-09-09, 09:26

Top Quote
GunChleoc
Avatar
Joined: 2013-10-07, 15:56
Posts: 3237
Ranking
One Elder of Players
Location: RenderedRect
Posted at: 2020-09-09, 10:34

Looks like the eris third-party dependency is not getting the needed system headers.

I'll try to set up a virtual machine with Solus Budgie to see if I can reproduce/fix the problem.


Busy indexing nil values

Top Quote
MarkMcWire
Avatar
Joined: 2017-02-08, 21:06
Posts: 129
Ranking
At home in WL-forums
Posted at: 2020-09-09, 12:37

I installed the kernel headers for current and LTS kernel, nothing changed. Apart from the fact that VirtualBox is finally working again. I had just set up the system again two weeks ago.

Edited: 2020-09-09, 12:38

Top Quote
niektory
Avatar
Joined: 2019-06-03, 20:06
Posts: 167
Ranking
At home in WL-forums
Location: Poland
Posted at: 2020-09-09, 17:06

Maybe one of these will help:

Also you'll likely want to compile a Release build to get decent performance.


Top Quote
GunChleoc
Avatar
Joined: 2013-10-07, 15:56
Posts: 3237
Ranking
One Elder of Players
Location: RenderedRect
Posted at: 2020-09-09, 20:43

I am having difficulty downloading the ISO for Solus from https://getsol.us/download/ - the download keeps stalling.

The torrent produced a corrupted ISO. I have deleted it and am trying again.

ETA: I was finally able to obtain a valid ISO. It doesn't remember my username, language or keyboard settings. I can't install git, because it doesn't find the perl package in the eopkg repo. https://getsol.us/articles/software/virtualbox/en/ also does not work for installing the virtualbox guest additions, because the package is also missing from the repo.

Edited: 2020-09-09, 21:14

Busy indexing nil values

Top Quote
GunChleoc
Avatar
Joined: 2013-10-07, 15:56
Posts: 3237
Ranking
One Elder of Players
Location: RenderedRect
Posted at: 2020-09-10, 10:06

I managed to convince VirtualBox to boot into the real system instead of the live system, so I managed to install the needed packages and compile Widelands.

Please try the package install instructions from https://www.widelands.org/wiki/Building%20Widelands/#solus that I just created. Without the first command, CMake refused to build anything at all for me, because the compiler wasn't configured correctly.

sudo eopkg install -c system.devel
sudo eopkg install git gettext libboost-devel glew-devel libicu-devel libpng-devel sdl2-develsdl2-image-devel sdl2-mixer-devel sdl2-ttf python

Then delete the "build" directory and run compile.sh -r -w for a release build. If you wish to use the spritesheet creator utility, run compile.sh -r instead. You will not need a debug build unless you want to use the Lua scripting console.

You could also try reinstalling the development package for stdc++

Edited: 2020-09-10, 10:08

Busy indexing nil values

Top Quote
MarkMcWire
Avatar
Joined: 2017-02-08, 21:06
Posts: 129
Ranking
At home in WL-forums
Posted at: 2020-09-10, 11:40

I could compile the game, but cannot load the savegame, because incompatible game version :-(

GameClassPacket:

Saved Version: 4
Current Version: 3

Edited: 2020-09-10, 11:43

Top Quote
niektory
Avatar
Joined: 2019-06-03, 20:06
Posts: 167
Ranking
At home in WL-forums
Location: Poland
Posted at: 2020-09-10, 17:01

You probably didn't get the right branch. Try:

git remote add Niektory https://github.com/Niektory/widelands.git
git fetch Niektory build-21_optimize_object_checking
git checkout Niektory/build-21_optimize_object_checking
./compile.sh --release


Top Quote
MarkMcWire
Avatar
Joined: 2017-02-08, 21:06
Posts: 129
Ranking
At home in WL-forums
Posted at: 2020-09-10, 19:35

I have optimized my saved game again. It now runs a bit smoother again in regular Build 21. Obviously, it really was because of the number of buildings.

-> https://drive.google.com/file/d/1hOXFJxBKZUsuRP_V9CMXXCiZrE4tnWSe/view?usp=sharing

Edited: 2020-09-10, 19:39

Top Quote