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 2022-02-14 00:00:00Z and 2022-02-15 00:00:00Z
Avatar
This design is so clean i don't even think another design could exist. Please screenshot old hud to compare (i'm afk)
Avatar
[quakenet] ChillerDragon BOT 2022-02-14 11:32:07Z
poggers tool tips
11:32
when add clippy @Ryozuki? :D
Avatar
windows bad
Avatar
[quakenet] ChillerDragon BOT 2022-02-14 11:32:37Z
axaxax
Avatar
a tee would look funnier and cute
Avatar
[quakenet] ChillerDragon BOT 2022-02-14 11:32:55Z
ikr
11:33
cute tees UwU
Avatar
064ba50 Add secure_random_uninit - ChillerDragon 564de76 Merge #4704 - bors[bot]
Avatar
Avatar
[quakenet] ChillerDragon
cute tees UwU
get out
12:59
@deen can u check if u like the tooltip
12:59
Related to #4212 Example rendering a label: Checklist Tested the change ingame Provided screenshots if it is a visual change Tested in combination with possibly related configuration options ...
13:01
adding a tooltip rn is as easy as this
13:01
as long as the text is just one line it will work
Avatar
it should appear with a delay
Avatar
that complicates things a lot
Avatar
instant is annoying tho, they will appear everywhere if you're just moving mouse
Avatar
well then the tooltip will be delayed more
13:02
im not in the mood to code that xd
Avatar
is it that much work tho? just save tick when mouse stopped on it and compare
Avatar
[quakenet] ChillerDragon BOT 2022-02-14 13:04:35Z
Pls no delay :c
Avatar
hmm well assuming only 1 tooltip is shown at a time maybe iits then as simple as u say
Avatar
I don't see a reason why they would overlap
Avatar
1a02746 Add localized wiki pages where there is some content at least - def- 863c162 Merge #4703 - bors[bot]
Avatar
@Ravie how much delay do u find good
13:10
1 second?
13:10
well i can make it a config
13:10
idk if heinrich will like it tho
Avatar
1s sounds about right
Avatar
stupid discord
13:16
13:16
@Ravie
13:17
xd
Avatar
@Ryozuki perfect
Avatar
Looks nice gj
coffee 1
Avatar

Checklist

  • [x] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test if it works standalone, system.c especially
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssanitizer--u...
Avatar
Reported by multiple people on Discord @heinrich5991 could be related to your config file sync change? Otherwise I'm not sure why this is suddenly happening !20220214_173006
Avatar
add block hookable/unhokable
16:15
plz
Avatar

Checklist

  • [ ] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test if it works standalone, system.c especially
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssanitizer--u...
Avatar
c++20 poggers
16:33
time to use concepts
Avatar
We can maybe get to C++17 now? 😛
Avatar
i find it hilarious ubuntu 18
Avatar
Ubuntu 18.04's cmake doesn't like C++20 (same with my Linux Debian build jobs):
The CXX_STANDARD property on target "testrunner" contained an invalid
value: "20". Mac and Windows official builds have no problem with this.

Checklist

  • [ ] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test if it works standalone, system.c especially
  • [ ] Consider...
Avatar
released in 2021
16:42
doesnt support c++20
Avatar
Just want to check what works, if we can skip to c++20 immediately
Avatar
what debian uses ur builds?
Avatar
I will have to upgrade that
16:45
not sure yet how to deal with that
16:45
It's Debian 6 😄
16:45
i think its fine if u go from 6 to 7 and so on
16:46
theorically they test upgrades a lot
Avatar
On Linux you always lose support for players by building with a higher glibc/stdlibc++ version
Avatar
Don't we statically link those btw?
Avatar
no, we don't statically link glibc
16:47
no one does that
Avatar
Avatar
deen
no, we don't statically link glibc
Could we? 😄
Avatar
i don't think so
16:48
Most of the sources online state that you can statically link glibc, but discourage from doing so; e.g. centos package repo: The glibc-static package contains the C library static libraries for -s...
Avatar
i always said it, gaming people should always try to have the latest updates
16:49
and usually linux ppl are tech savvy enough to do that
16:49
its not like the problem is grandpas who are stuck in windows xp
16:49
monkalaugh
Avatar
Avatar
Learath2
Could we? 😄
what i seen is ppl statically link to musl
16:49
since its way more lightweight
16:50
i think zig uses musl
16:51
Note: Generally, for Linux targets, we prefer the musl libc builds over the glibc builds here, because musl builds end up producing a static binary, which is more portable across Linux distributions.
Avatar
musl ddnet when?
16:51
today
16:54
D:\a\ddnet\ddnet\src\engine\shared\demo.cpp(376,31): warning C5055: operator '*': deprecated between enumerations and floating-point types
16:54
monkalaugh
Avatar
there are also some lambda warnings bcs c++20 (edited)
16:55
deprecated implicit this capture
Avatar
@Learath2 would u introduce concepts to ddnet?
16:56
u know any example which would be useful?
16:56
According to ISO C++ core guideline T.20, "The ability to specify meaningful semantics is a defining characteristic of a true concept, as opposed to a syntactic constraint."
16:56
good quote xd
Avatar
Avatar
Ryozuki
@Learath2 would u introduce concepts to ddnet?
No, bolting on these new features never really looks good
Avatar
Avatar
Ryozuki
According to ISO C++ core guideline T.20, "The ability to specify meaningful semantics is a defining characteristic of a true concept, as opposed to a syntactic constraint."
as we say in France, "ouais, c'est pas faux"
16:56
and what does that mean
Avatar
"yes, that's not wrong"
16:56
it means you didn't understand shit
Avatar
but with this catchphrase, you can sound like you agree
Avatar
ah i get it xd
Avatar
concept and stuff are way above my intellect 😄
Avatar
i think i would be ok with concepts
16:58
if they map to rust trait bounds
16:58
i already use them a lot
Avatar
Avatar
Jupstar ✪
there are also some lambda warnings bcs c++20 (edited)
yes, fixed already
Avatar
@Chairn wanna see some complicated type stuff
16:59
16:59
looks fun!
16:59
this is what happens when u try to turn rust into haskell
Avatar
why don't people make more comprehensive language with same programming concepts/stuff
Avatar
someone should make a list of stuff that would benefit from tooltip texts
17:05
since i know most stuff idk what ppl dont know
Avatar
i'd say most of them
Avatar
we will need to update lot of translations
17:06
monkalaugh
Avatar
ryozuki
17:13
hook/unhook block
17:13
)
Avatar
Avatar
Deleted User
)
error: closing parenthesis found without opening one
Avatar
Jupstar: Huge map is not fitting into video ram with opengl 2/3, but works with opengl 1. I guess that's expected?
18:32
With OpenGL 1 I can see the client using 836 MB, which is kind of in line with the server using 459 MB. But with OpenGL 3 it's 2212 MB, which seems excessive
Avatar
2.2gb sounds alot, but you also use an integrated GPU right?
Avatar
(regular RAM I guess, but measured on macOS with the iGPU)
Avatar
what map is it?
Avatar
so I'm not sure if video ram somehow gets added or now
18:33
not*
18:33
a secret large map, not released yet
18:33
1500*4000 dimension
Avatar
mh too bad with vulkan it shows exactly what uses how much
18:34
textures, buffers 😄
18:34
on VRAM
Avatar
Wait, are you Jupstar or someone else?
Avatar
I am not keks xd
Avatar
i think he is jupstar
Avatar
I think he is jupstar
18:36
What do you think about VSync @Jupstar ✪
Avatar
ok, was already hoping we have someone else with graphics knowledge 😄
Avatar
@Jupstar ✪ do u like vsync on?
Avatar
vsync is good, if you want to die in race
Avatar
definitely jupstar
Avatar
tru detectives here xd
Avatar
anyway, so what can we do? Should we just split up the map? Should we investigate why opengl 3 is taking 3 times as much memory as opengl 1?
Avatar
I'm an expert in identifying people in this discord from their opinions
Avatar
hard to say how much comes from your video driver just allocating alot of RAM
Avatar
does it render on chunks or all the map?
Avatar
it creates the buffer for everything
18:39
it should have around 2x the RAM + the buffers that live on VRAM
18:39
so i guess its fine xd
18:40
steam says only 1.26% has less than 1GB VRAM
Avatar
Keeping the map open for a few minutes reduces memory by 600 MB, that's also weird
Avatar
maybe thats the Metal layer
18:40
thats why i'd use vulkan
18:40
it says exactly how much VRAM it actually uses
18:41
or its is macos keeping the vectors alive for faster reusing
Avatar
And directly after join memory consumption also goes down by a lot, maybe some temporary buffers we keep around?
18:42
I can also try on Linux
Avatar
i think i purposly created them on stack, so they never leak
18:44
well anyway the one is VRAM the other RAM The ram will shortly spike, while it uploads to the GPU but as it finished it should go down as you said
Avatar
ok, just 1082 MB on Linux
18:45
Can we maybe upload layer by layer and clean up immediately afterwards?
Avatar
is there a RAM problem?
18:45
steam says "Less than 4 GB 0.30%"
Avatar
Yes, with 4 GB and the rest of your system using 3 GB it will be tough
Avatar
vram or ram?
Avatar
thats RAM
Avatar
4gb ram nowadays seems rare
Avatar
but a OS wont use 3gb if the system only has 4GB i guess
Avatar
well if ur on windows it wouldnt be rare
18:46
xd
Avatar
massif memory file
Avatar
you need to account for swap as well
18:47
time to update this
18:47
PepeA
Avatar
xd
18:49
well arctic frost is around as big
18:49
and nobody except the 32bit ppl that could default to 1.x has complained yet xd
Avatar
i have 32gb and its there to be used
18:50
BASED
Avatar
we just sell RAM and VRAM in cloud, good marketing
Avatar
i was looking at steam discussions and found this
18:52
holy moly xd
Avatar
he didn't say YOU SHOULD DIE, maybe he meant himself
Avatar
but its funny how everybody was mad at it until you explain it helps against ddos
18:54
then they instantly turned around xD
Avatar
Avatar
Jupstar ✪
and nobody except the 32bit ppl that could default to 1.x has complained yet xd
i don't know who you talking about 😄
Avatar
Vulkan best
18:56
@Chairn does your laptop's Intel GPU gets detected now too?
18:56
didnt it have vulkan 1.0?
Avatar
how can i know?
Avatar
i think i googled
18:56
but sometimes it's just for linux mesa drivers
18:57
but the graphics settings page lists them( last time we tested it was still looking for 1.1, so maybe it changed ) (edited)
Avatar
Deploying and developing royalty-free open standards for 3D graphics, Virtual and Augmented Reality, Parallel Computing, Neural Networks, and Vision Processing
19:01
this is weird
19:01
my graphic card is listed in but the driver version doesn't match
Avatar
is your driver older?
Avatar
CTS Version: 1.2.0.1 Driver Version: 436.39 CPU: x86 OS: Windows 7 64 GPU: NVIDIA Kepler family
19:02
but nvidia's driver for my card stops at 425.sth
Avatar
ohh nVIDIA u mean
19:02
yeah
19:02
thats weird
19:02
ah no
Avatar
i think its bcs gtx series
19:02
they probs use same architecture
Avatar
hum no: NVIDIA GeForce GT 740M
Avatar
so it specifically mentions that?
19:03
Deploying and developing royalty-free open standards for 3D graphics, Virtual and Augmented Reality, Parallel Computing, Neural Networks, and Vision Processing
Avatar
but they are all in the same group
19:03
maybe they were just too lazy to hand select xD
19:03
or windows 10 has a newer driver inbuild
Avatar
can't find my intel graphics in though (edited)
Avatar
that's not too uncommon
19:03
and then they might have forgotten to split to win7
19:04
but you can better use gpuinfo.org
19:04
GeForce GT 740M 458.6.0.0
19:04
or they cheating xd
Avatar
Vulkan hardware capability database.
Avatar
maybe you can use the not mobile version 😄
Avatar
although it says win10, i use win7, but it's the only matching driver version
19:07
i see a lot
Avatar
nvidia's website says latest driver for my card is 425.31
19:07
so how the hell?
Avatar
maybe the non mobile driver somehow
Avatar
it would refuse to install itself
Avatar
or some laptop specific driver
19:08
not from nvidia
Avatar
Avatar
Jupstar ✪
but its funny how everybody was mad at it until you explain it helps against ddos
it doesn't "help" against ddos
19:09
it helps if you wanted to make a whitelist for example
Avatar
it helps you to safly browse the internet tab
Avatar
Some people were using it to set up a honeypot server on the list. Each time someone was refreshing, sending info request to each registered servers, the honeypot was here to collect the IP and use it as the source IP of a forged packet
19:12
flooding the target with "legit" players IPs
Avatar
yeah
Avatar
https master is the best solution tho, and happy that it is working well
19:12
but we still have the protection against that type of attacks, in case people still use old clients (Bombay) (edited)
19:50
84d2a35 Add ghost, jeet & random redrawn by mind - Jupeyy 260eb6f Merge pull request #29 from Jupeyy/pr_new_skins_by_mind - Jupeyy
Avatar
Mermaid is a JavaScript based diagramming and charting tool that takes Markdown-inspired text definitions and creates diagrams dynamically in the browser.
21:12
omg
21:12
finally
Avatar
Some of them are now possible with C++ > 11.

Checklist

  • [ ] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test if it works standalone, system.c especially
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://githu...
Exported 246 message(s)