Guild icon
DDraceNetwork
Development / bugs
Report client & server bugs, especially but not limited to release candidates.
Between 2022-08-23 00:00:00Z and 2022-08-24 00:00:00Z
Avatar
After updating to 16.3.1, pressing the "Run Server" no longer starts a server, and if i use ./DDNet-Server to manually start it it returns this (edited)
15:57
Any idea whats going on?
Avatar
lets see
15:58
in debug mode nothing happens for me
Avatar
What does Segmentation fault mean?
Avatar
lets try with sanitizers
15:59
it means crash
15:59
mhh i cannot reporduce this, do u use a custom autoexec_server.cfg?
16:00
steam version server also works for me, what is your exact OS/distro btw?
Avatar
Yah i use autoexec cfg and My distro is Mint linux
Avatar
Old mint version maybe?
16:02
Latest
Avatar
do you load a specific map?
Avatar
I don't use steam, i use the download of the ddnet page
Avatar
can u maybe share the default map and config
Avatar
Yeah sure
Avatar
I don't know how I manage to break everything on every OS on each release 😄
gigachad 1
Avatar
I tried on Debian and Arch Linux, can't reproduce
Avatar
I am pretty sure the only thing i have changed in the audoexec is that letmein lets me into rcon
Avatar
Try without your autoexec_server.cfg
Avatar
that way i dont have to use randomly generated one each time
16:04
ok
16:04
Still breaks
Avatar
mhh maybe you could self compile 16.3.1 so we can be sure its not the OS itself 😄
16:06
Idk anything about compiling
Avatar
i can give you easy instructions if u want to try
Avatar
Ok sure, let me eat breakfast first tho greenthing
Avatar
can you try on fresh download and separate directory?
Avatar
Avatar
Chairn
can you try on fresh download and separate directory?
yeah sure i was thinking same thing
Avatar
This is x86-64 version, not x86, right?
Avatar
I think so lol
Avatar
Maybe it's time to stop releasing x86, not sure anyone still uses that on Linux
Avatar
Ok well with my 17/kbs internet connection this will take about 40mins so ima go eat breakfast
Avatar
sudo apt install git gcc ninja-build mkdir tmp cd tmp git clone https://github.com/ddnet/ddnet.git sudo apt install build-essential cmake git google-mock libcurl4-openssl-dev libssl-dev libfreetype6-dev libglew-dev libnotify-dev libogg-dev libopus-dev libopusfile-dev libsdl2-dev libsqlite3-dev libwavpack-dev python libx264-dev libavfilter-dev libavdevice-dev libavformat-dev libavcodec-extra libavutil-dev libvulkan-dev glslang-tools spirv-tools libpng-dev cd ddnet mkdir build cd build cmake .. -GNinja ninja DDNet-Server (edited)
Avatar
Avatar
deen
Maybe it's time to stop releasing x86, not sure anyone still uses that on Linux
yes remove it xD
Avatar
lol, don't use -j20
Avatar
why not
Avatar
it's slower
16:09
use nproc + 25%
Avatar
mhh proof it 😛
Avatar
rather easy
16:10
but i'd like to have a usable machine in the meantime...
Avatar
it depends on the machine anyway, should just have used ninja
Avatar
Then you also need to install ninja
Avatar
poor machine
Avatar
Avatar
deen
Then you also need to install ninja
i did add it
Avatar
it's a 4 core cpu
16:16
I built LLVM once and thought make -j will just run with a reasonable number of processes 😄 Turns out that's unlimited number of processes
Avatar
well the difference is negatable ^^
16:18
with gcc 12
Avatar
There are not even enough targets to get 500 processes running at once
16:19
(for DDNet)
Avatar
how much files do we have?
16:20
256 apparently
Avatar
Ok back
Avatar
on 16.3.1 atleast
Avatar
Avatar
Jupstar ✪
well the difference is negatable ^^
you need to compare against -j$(nproc)
Avatar
Should i try following those instructions?
Avatar
Avatar
Chairn
you need to compare against -j$(nproc)
nproc is 16
16:20
and u said nproc + 25%
Avatar
Avatar
Tristis
Should i try following those instructions?
yeah pls
Avatar
Should i back up my .tw server to make sure nothing unnecessary generates/
Avatar
doesnt matter i guess xd
Avatar
$ time ninja -j20 real 4m21,040s user 10m30,454s sys 0m35,321s $ time ninja -j$(echo "($(nproc)*1.25)/1" | bc) real 3m8,203s user 9m55,381s sys 0m33,165s
16:22
see, faster 🙂
Avatar
maybe on old pcs its the case xD
Avatar
you need to minimize context change
Avatar
but i showed u j20 vs j500(even if there are only 256 targets) xD
16:23
yes u are right
16:23
but its not a insane deal normally, but maybe it was more in the past
16:24
also i bet u are on ubuntu 12 or smth
Avatar
i think it's because our build chain has hidden dependencies that limits parallelism
Avatar
this is all one command or..?
16:24
sudo apt install build-essential cmake git google-mock libcurl4-openssl-dev libssl-dev libfreetype6-dev libglew-dev libnotify-dev libogg-dev libopus-dev libopusfile-dev libsdl2-dev libsqlite3-dev libwavpack-dev python libx264-dev libavfilter-dev libavdevice-dev libavformat-dev libavcodec-extra libavutil-dev libvulkan-dev glslang-tools spirv-tools libpng-dev
Avatar
yes, single command
Avatar
it installs required dependencies to build ddnet
Avatar
Oh i see
Avatar
given your internet speed, you can take your second breakfast 😄
Avatar
Yeah i noticed that when looking at how big it is
Avatar
also enjoy your dinner
Avatar
@Jupstar ✪ can you loop from -j1 to -j20 to see speed graph?
Avatar
lmao
16:28
its not really consistent anyway
Avatar
best would be when you're afk
Avatar
Avatar
Chairn
@Jupstar ✪ can you loop from -j1 to -j20 to see speed graph?
clang is also 2 seconds faster btw if u care to know
Avatar
on my computer, it's slower 😦
Avatar
ubuntu 1?
16:32
ubuntu 1991
troll 1
16:32
% clang --version git:60ca4451a* Debian clang version 16.0.0-++20220822111541+3c482632e64c-1~exp1~20220822111651.698
Avatar
clang version 13.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/local/bin
16:33
compiled locally
Avatar
ah nice
Avatar
while trying to save it says unable to find all characters
Avatar
Did someone leave your team at some point?
Avatar
nope but he timed out while being in spec
Avatar
you can't save if someone is in spec
Avatar
kek just gotta rerun then ig
16:39
Opened an issue, we should at least improve the error message to indicate that being in spec causes it, or fix it so you can save: https://github.com/ddnet/ddnet/issues/5767
Avatar
what was the primary reason to not allow speced player to be saved?
Avatar
I don't think it's intentional looking at the code
16:40
More like no one thought about it
Avatar
I might have to do this later
16:58
its failed twice now
Avatar
what failed exactly
Avatar
my isp at making me happy
Avatar
:/
Avatar
the download
16:59
17:00
🤪
Avatar
oh weird
17:00
never seen that before
Avatar
Yeah well people with 10kb/s internet speed is not common
Avatar
did all the steps and this is the output to ninja DDNet-Server
20:34
@Jupstar ✪
20:34
Should i try executing DDNet-Server?
20:35
It seemed to work when i do execute it
Exported 125 message(s)