Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.tw/irclogs/ Connected with DDNet's IRC channel, Matrix room and GitHub repositories β€” IRC: #ddnet on Quakenet | Matrix: #ddnet-developer:matrix.org GitHub: https://github.com/ddnet
Between 2023-04-14 00:00:00Z and 2023-04-15 00:00:00Z
Avatar
ChillerDragon BOT 2023-04-14 08:03:56Z
XXLTomate are you some og player back from xxlddrace64 times?
08:04
08:04
poggies
Avatar
what (edited)
Avatar
ChillerDragon BOT 2023-04-14 08:05:14Z
wot
Avatar
irc chat?
Avatar
ChillerDragon BOT 2023-04-14 08:05:40Z
he just rejoined and i realized some og tw legend is lurking here
08:05
irc chat is almost as good as club penguin messenger
Avatar
@Jupstar βœͺ how to make clang use clang libc
09:30
and not gcc
09:30
cmake
Avatar
linker flags: -stdlib=libc++ -lc++abi also used -stdlib=libc++ for cpp, dunno if neeeded tho
Avatar
I'm surprised to report that our graphics backend is more reliable than factorio's πŸ˜„
Avatar
Jupstar βœͺ 2023-04-14 09:37:03Z
How so
09:37
But ours is so simplistic. I'm more surprised how often it not works xd
Avatar
Factorio will only run fine after I completely restart X11 unless I use the software renderer. No matter whether I do PRIME offloading to the gpu or just use the igpu
09:38
Theirs doesn't even launch, stuck at a blackscreen loading
Avatar
okay they actually say u need gcc i think to compile llvm
Avatar
Jupstar βœͺ 2023-04-14 09:38:41Z
If software rendering works. It's driver xddd
Avatar
Avatar
Ryozuki
okay they actually say u need gcc i think to compile llvm
Jupstar βœͺ 2023-04-14 09:38:56Z
Whaaat fbi bro
09:39
i must be missing smth idk
09:39
Avatar
Avatar
Jupstar βœͺ
If software rendering works. It's driver xddd
It could be, but no idea at what point. It doesn't even crash or generate any errors anywhere
Avatar
what do i need for libomp
Avatar
Avatar
Learath2
It could be, but no idea at what point. It doesn't even crash or generate any errors anywhere
Jupstar βœͺ 2023-04-14 09:39:30Z
Do they use ogl?
Avatar
Funny both the iGPU and the nvidia driver are both broken the exact same way, makes me suspect X more tbf
Avatar
Jupstar βœͺ 2023-04-14 09:39:42Z
Or better, do they use not Vulkan and not dx12
Avatar
Avatar
Jupstar βœͺ
Do they use ogl?
Yeah gl3.3 and above on linux
Avatar
Avatar
Learath2
Funny both the iGPU and the nvidia driver are both broken the exact same way, makes me suspect X more tbf
Jupstar βœͺ 2023-04-14 09:39:57Z
Ah fair point yeah
09:40
Nvidia drivers are rarely broken actually
09:40
Seems like they have enough tests xd
Avatar
Avatar
Ryozuki
what do i need for libomp
Jupstar βœͺ 2023-04-14 09:41:10Z
Uff i can't remember. But i also used it once
Avatar
Avatar
Learath2
I'm surprised to report that our graphics backend is more reliable than factorio's πŸ˜„
i never had issues with fac
Avatar
Jupstar βœͺ 2023-04-14 09:41:25Z
Tho it made my loop slower sad
09:45
could it be
09:45
my glibc is bad or smth
Avatar
Jupstar βœͺ 2023-04-14 09:46:24Z
Yeah yeah the good old struggle with c
Avatar
ld.lld: error: undefined symbol: std::__glibcxx_assert_fail(char const*, int, char const*, char const*) >>> referenced by atomic_base.h:485 (/usr/lib/gcc/x86_64-pc-linux-gnu/12/include/g++-v12/bits/atomic_base.h:485) >>> projects/openmp/runtime/src/CMakeFiles/omp.dir/kmp_csupport.cpp.o:(__kmpc_critical_with_hint) >>> referenced by atomic_base.h:486 (/usr/lib/gcc/x86_64-pc-linux-gnu/12/include/g++-v12/bits/atomic_base.h:486) >>> projects/openmp/runtime/src/CMakeFiles/omp.dir/kmp_csupport.cpp.o:(__kmpc_critical_with_hint) >>> referenced by atomic_base.h:485 (/usr/lib/gcc/x86_64-pc-linux-gnu/12/include/g++-v12/bits/atomic_base.h:485) >>> projects/openmp/runtime/src/CMakeFiles/omp.dir/kmp_csupport.cpp.o:(__kmpc_critical_with_hint) >>> referenced 419 more times clang-15: error: linker command failed with exit code 1 (use -v to see invocation)
Avatar
Jupstar βœͺ 2023-04-14 09:47:56Z
Sometimes I feel computers do it on purpose. C coder struggles with rust. Rust coder with c. Non graphics ppl with GPU drivers. Java coders with everything
Avatar
Actually nvm, maybe this computer is just too broken of a setup
09:48
Even ddnet doesn't start now πŸ˜›
09:48
@Jupstar βœͺ how can I pick a gpu?
Avatar
Avatar
Learath2
@Jupstar βœͺ how can I pick a gpu?
Jupstar βœͺ 2023-04-14 09:49:12Z
Settings -> graphics
09:49
If u mean ddnet
Avatar
doesn't ever start, so I need a way to pick before I start
Avatar
VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/llvm.json ./DDNet could work for forcing software renderer (lavapipe) i dunno exactly how the .json is called tho
09:51
might also be in /etc/vulkan or smth
Avatar
hm, LIBGL_ALWAYS_SOFTWARE=1 ./DDNet "gfx_backend opengl" works fine, I'm guessing I somehow broke the driver
Avatar
do u use nvidia
09:54
r u on gentoo
Avatar
am on artix on this laptop
Avatar
rebuild the nvidia driver after kernel upgrade
09:55
idk artix
09:55
i dont use normie distros
09:55
im a gentoo gentleman
09:55
BASEDDEPT
Avatar
I think the issue is the prime offloading, if I try to do anything on the dgpu I have to restart the computer or neither the igpu nor the dgpu works
Avatar
whats prime
09:55
ah laptop shenanigans
Avatar
Yeah pepew
09:56
maybe it's some power management issue idk
09:56
but why would running sth on the dgpu break both i and dgpu
Avatar
closed hardware problems
09:57
if hardware was open source drivers would be easier to make
09:57
blame society
09:57
not building libomp seems to allow me to compile
09:58
but this grinds my gears
Avatar
im glad with my new cooling
10:23
80C stable
10:23
compiling llvm for 10 mins
10:23
Avatar
Jupstar βœͺ 2023-04-14 10:24:11Z
I still find it rather high tbh
10:24
My cpu cools better xd
Avatar
idk this is the best i got xd
10:24
i have a hyper 210 i think
Avatar
Jupstar βœͺ 2023-04-14 10:24:48Z
I have dark be quite rock pro 3
10:24
this
10:24
with a noctua fan instead
Avatar
Jupstar βœͺ 2023-04-14 10:25:09Z
Ok mine is like double as big xd
10:25
this one is old
10:25
ive been using since long
10:25
its quite big length wise
10:25
as in
10:25
it nearly hits the case wall vertically
10:26
but i guess i can get a bigger one to the sides
10:26
+ 2 fans? idk if thats worth
Avatar
Jupstar βœͺ 2023-04-14 10:26:30Z
10:26
That's mine xd
Avatar
Avatar
Ryozuki
+ 2 fans? idk if thats worth
Jupstar βœͺ 2023-04-14 10:27:13Z
U need more radiator space not more fans
Avatar
I got 2 chunky fans in the front glass panel
10:27
powering a radiator going full height (edited)
10:28
exhaust fans are important too
Avatar
my pc is quite dirty also the front is open cuz things
Avatar
or else you keep the warmth in the PC
10:28
damn boi
Avatar
and dont @ me for cable management
10:28
im lazy
Avatar
Avatar
Ryozuki
+ 2 fans? idk if thats worth
Jupstar βœͺ 2023-04-14 10:28:52Z
The reason why water cooling works so great isn't BCS water leads heat better than metal, but BCS u move the heat away and have big ass radiators with like 3 fans that cool the heat awaay
Avatar
random cables at the front
10:28
no cable management in the back
10:29
Ryozuki is a nerd indeed
Avatar
this case is quite bad for cable management
10:29
and im lazy to get a new one and change everything
Avatar
Avatar
Ryozuki
my pc is quite dirty also the front is open cuz things
Jupstar βœͺ 2023-04-14 10:29:26Z
Looks neat tho
10:29
I don't see my glass panel. So idc
10:29
Xd
10:29
yeah who cares
10:30
cable management is only good for instagram gamer girls
Avatar
Jupstar βœͺ 2023-04-14 10:30:07Z
XDD
10:30
Tru story
10:30
Well I have good cpu cable management BCS it was in the way
10:30
But GPU is just plugged in
Avatar
So llvm can't compile itself?
Avatar
i got llvm to compile
10:30
but i couldnt add the libomp target
10:30
or the libc target
10:31
idk
10:31
llvm are lot of components
10:31
LLVM_ENABLE_PROJECTS A semicolon-delimited list selecting which of the other LLVM subprojects to additionally build. (Only effective when using a side-by-side project layout e.g. via git). The default list is empty. Can include: clang, clang-tools-extra, cross-project-tests, flang, libc, libclc, lld, lldb, mlir, openmp, polly, or pstl.
10:31
cmake -S llvm -B build -G Ninja -DCMAKE_BUILD_TYPE=Debug -DLLVM_OPTIMIZED_TABLEGEN=ON \ -DLLVM_ENABLE_PROJECTS="clang;lld;mlir;clang-tools-extra;lldb" \ -DLLVM_USE_LINKER=lld \ -DLLVM_USE_SPLIT_DWARF=ON \ -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ \ -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \ -DLLVM_CCACHE_BUILD=ON
10:31
i compiled with this
10:32
oh
10:32
maybe i need polly too
10:32
fck
10:32
oh ez
10:33
ccache poggies
10:33
polly is the sauce
10:33
Polly is a high-level loop and data-locality optimizer and optimization infrastructure for LLVM. It uses an abstract mathematical representation based on integer polyhedra to analyze and optimize the memory access pattern of a program. We currently perform classical loop transformations, especially tiling and loop fusion to improve data-locality. Polly can also exploit OpenMP level parallelism, expose SIMDization opportunities.
Avatar
This is the most annoying thing ever to debug. If I ever try to run anything on the nvidia gpu I have to reboot or no gfx driver will work
10:48
No X error, no mesa error, no libgl error, nothing in dmesg
10:49
And ddnet vk will use the dgpu without any special environment settings, so that also breaks everything. I can see why linux on laptops is still annoying for people
Avatar
Jupstar βœͺ 2023-04-14 11:10:20Z
Sounds horrible indeed. The whole dual GPU situation is out of control anyway
Avatar
if I'm completely lost debugging it I can see most people just giving up and installing windows or just using the dgpu and wasting their battery
Avatar
Jupstar βœͺ 2023-04-14 11:16:15Z
But maybe with some user friendly distro this wouldn't have happened xd
11:16
Funnily enough I don't have any dual GPU laptop
11:17
Even tho in my family we have quite a few. But gamer laptops disable the igpu often
11:17
Probably to evade trouble like this
Avatar
Avatar
Jupstar βœͺ
But maybe with some user friendly distro this wouldn't have happened xd
actually might be worth trying, I wonder if it happens on ubuntu or pop os
Avatar
0896a54 Add 69 € donation by Ryozuki - def-
😎 4
πŸ’° 4
Avatar
very generous
12:30
Cashyx
12:34
so u remember my name
12:34
i didnt mention there i was Ryozuki cuz i forgot xD
Avatar
Jupstar βœͺ 2023-04-14 12:36:52Z
Hentai money from @Ryozuki
Avatar
this is my own mony
Avatar
Jupstar βœͺ 2023-04-14 12:37:28Z
Was
12:37
ddnet
Avatar
Ryozuki also draws hentai
Avatar
@Jupstar βœͺ do u know if https://chat.openai.com/ is using gtp4?
12:37
i can ask for free
Avatar
Jupstar βœͺ 2023-04-14 12:38:01Z
It has an option in paid version
12:38
But not in free
12:38
f
12:38
i think ill try for 1 month
Avatar
Jupstar βœͺ 2023-04-14 12:38:18Z
And u have like 25 requests every 3h with it
12:38
paid is just 25 questions?
Avatar
Jupstar βœͺ 2023-04-14 12:38:37Z
Gpt4
12:38
Gpt3.5 infinite
Avatar
meh not worth
Avatar
Jupstar βœͺ 2023-04-14 12:40:37Z
Are u chatting so much with it?
12:41
Tho I don't want to judge if it's worth it at all xd
Avatar
just wanted to know how good upgrade gpt4 is
12:41
xd
Avatar
Jupstar βœͺ 2023-04-14 12:43:22Z
U probs won't notice it with normal chatting
12:43
It's a bit better in being accurate
Avatar
it should take longer to reply than 3.5 tho
Avatar
Thanks @Ryozuki !
Avatar
Avatar
Ryozuki
my pc is quite dirty also the front is open cuz things
Jupstar βœͺ 2023-04-14 14:15:09Z
That's my dusty PC xdd
Avatar
Jupstar βœͺ 2023-04-14 14:19:42Z
Upgraded from 3800x to 3950x xD
14:19
Got a chip cheap in eBay
14:23
why not 5x
Avatar
Jupstar βœͺ 2023-04-14 14:24:04Z
Avatar
Avatar
Ryozuki
why not 5x
Jupstar βœͺ 2023-04-14 14:24:30Z
actually wanted new gen, but its so expensive rn and 5000 series gives like 20% more perf for 130€ more
14:24
so wasnt really worth it imo
Avatar
Avatar
Jupstar βœͺ
That's my dusty PC xdd
that's not dust, it's volcanic ash from your gpu
Avatar
that GPU is hanging
14:32
all your setups are utter shit
bluekitty 1
Avatar
help!!! me ban
14:33
help me< they gave me a ban for nothing
Avatar
Avatar
miner
help me< they gave me a ban for nothing
This is where we talk about the develoupment of the game. If you're looking to appeal a ban, contact a moderator in another channel.
14:34
dont ping. (edited)
Avatar
Ye ur gpu seems to be at an angle πŸ˜„
Avatar
Jupstar βœͺ 2023-04-14 14:52:35Z
yeah its too heavy, after a while they deform a bit πŸ˜„
Avatar
Jupstar βœͺ 2023-04-14 15:02:16Z
without rust bridge: ninja 216,82s user 13,27s system 2563% cpu 8,975 total
15:02
nice
15:02
around 4 seconds faster i think
Avatar
@Jupstar βœͺ i think ur gpu is smaller than mine
15:19
😏
Avatar
Avatar
Ryozuki
@Jupstar βœͺ i think ur gpu is smaller than mine
Jupstar βœͺ 2023-04-14 15:23:41Z
Since I've seen and build in a 4090 i know how insanely large these beasts are xD
Avatar
i also built a 4090
15:23
on my sisters pc
15:24
justatest
15:24
idk if its justified them being so big tho
Avatar
Jupstar βœͺ 2023-04-14 15:25:04Z
My friends 4090 coolers don't even go on xD
15:25
The passiv cooling is so good already at this size
Avatar
yeah i didnt see the fans go on
15:26
xd
15:26
at full load 60C
15:26
well full load here being playing cyberpunk
Avatar
chillerdragon BOT 2023-04-14 16:02:15Z
Your sister gaminger? (@Ryozuki)
on my sisters pc
Avatar
not ddnet tho
16:02
my family knows i play this "game about balls moving"
Avatar
chillerdragon BOT 2023-04-14 16:02:55Z
Even better only vanilla teeworlds
Avatar
but thats it sadly
Avatar
chillerdragon BOT 2023-04-14 16:03:02Z
Xd
16:03
Did you pitch it?
Avatar
i showed it xd
Avatar
chillerdragon BOT 2023-04-14 16:03:24Z
Nobody started playing?
Avatar
ofc i also flaunted "hey look, i contributed to this game"
16:03
but well they just say "oh nice"
Avatar
chillerdragon BOT 2023-04-14 16:03:38Z
My granny is multimap main
Avatar
chillerdragon BOT 2023-04-14 16:04:28Z
I get asked on a daily Basis β€ždid you build this?β€œ when playin tw in Publix
16:04
why would they ask that
Avatar
chillerdragon BOT 2023-04-14 16:05:05Z
Idk maybe they think if it’s not self made why would anyone play Kirby in 2023
16:05
And I have glasses
16:05
So I lok. snort
Avatar
i dont think glasses mean smart anymore
16:05
and i do too
Avatar
chillerdragon BOT 2023-04-14 16:05:53Z
Sad
Avatar
just open ur linux terminal
16:06
and type
16:06
cmatrix
Avatar
chillerdragon BOT 2023-04-14 16:06:15Z
Ez
16:06
Then they ask if I hack nsa
16:06
Also get that a lot actually
16:06
Im not even kidding for both
16:07
Go make ur sister play tw or nob
16:07
How many tw users did u recruit Alr?
Avatar
blueeques_fps 2023-04-14 17:09:46Z
help me
20:05
since sometime yesterday ddnet has been failing to start
20:05
i can't even step into ddnet code
20:05
don't know what's going on
Avatar
what kind of psycho sends a video of their ide? (edited)
20:07
error comes from priv_net_create_socket in src/base/system.cpp
20:07
idk enough about network to debug very much
Avatar
we'd rather deal with error message than video... I can't even zoom on the video to see what is written down there
Avatar
oh really
20:08
my bad
Avatar
think of people not having 4k monitors please
Avatar
2023-04-14 14:09:08 I net: failed to bind socket with domain 2 and type 2 (10048 'Only one usage of each socket address (protocol/network address/port) is normally permitted. ') 2023-04-14 14:09:08 I net: failed to bind socket with domain 23 and type 2 (10049 'The requested address is not valid in its context. ')
20:09
it's not that serious man
20:10
Avatar
Avatar
Ewan
2023-04-14 14:09:08 I net: failed to bind socket with domain 2 and type 2 (10048 'Only one usage of each socket address (protocol/network address/port) is normally permitted. ') 2023-04-14 14:09:08 I net: failed to bind socket with domain 23 and type 2 (10049 'The requested address is not valid in its context. ')
Do you have a line starting with bindaddr in your config? If so, remove that line.
Avatar
mm is there a way to dump loaded configs
20:16
lmfao
Avatar
Jupstar βœͺ 2023-04-14 20:16:43Z
it works
Avatar
thanks Phish Bot
20:18
i get no text matches anywhere a cfg would be
20:18
but idk how to check otherwise
Avatar
Open settings_ddnet.cfg with a text editor and search for the text
Avatar
yeah it's not there
20:20
i checked that one by hand
Avatar
Then it's something wrong with your network
20:21
that's really weird because nothing to my knowledge has changed since it worked
20:21
i started it & was ingame and yesterday i wanted to get another client in so i could /practice but it was doing this
20:22
for the fun of it i tried disabling the VPN (which is working on a whitelist rn which ddnet is not on) and it works
Avatar
yeah, it has been reported before that the client doesn't start when you are connected to a VPN
20:23
maybe something you can change in your VPN settings
Avatar
well that's the thing it should be unaffected
Avatar
Maybe your client tries to bind to the VPN network adapter and can't
20:25
You could try setting the bindaddr to the address of your normal LAN/WLAN network adapter
20:26
Try to start DDNet with DDNet "bindaddr 192.168.0.100" (with your local IP address)
20:38
it works when on the vpn blacklist but i have it whitelist mode since that works way better for me (edited)
20:38
messed up
Avatar
Jupstar βœͺ BOT 2023-04-14 20:42:23Z
Zwelf: maybe u can ban the guy, seems like he automatically retries spamming ^^
Avatar
whats advantage of using temporary range loops instead of traditional range loop?
20:49
not an advantage but defference
Avatar
Jupstar βœͺ 2023-04-14 20:49:46Z
can u give example code
Avatar
difference*
20:50
iterating over pointer array
20:51
DummyStruct *Dummies[8] = {0} for (auto& Dummy : Dummies) std::cout << (Dummy == 0) << std::endl; for (auto Dummy : Dummies) std::cout << (Dummy == 0) << std::endl;
Avatar
Jupstar βœͺ 2023-04-14 20:52:27Z
in this specific case there is no advantage the compiler might create the same code for both
20:53
a const reference to a pointer or a copy to a pointer is the sameℒ️
20:53
except u access its address ofc πŸ˜„
Avatar
yeah the main usage is to check if there any object and to get any value it contains
Avatar
Jupstar βœͺ 2023-04-14 20:54:37Z
more problematic is if its an array of objects
20:54
or an array of vectors etc
20:54
than u create temporary copies
Avatar
yup there shouldn't be any problem with array of pointers then
20:56
thanks @Jupstar βœͺ <3
Avatar
Avatar
Jupstar βœͺ
Zwelf: maybe u can ban the guy, seems like he automatically retries spamming ^^
Jupstar βœͺ 2023-04-14 21:01:55Z
@Zwelf
Avatar
Do routers typically have UPnP enabled by default nowadays?
Exported 304 message(s)