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-12-18 00:00:00Z and 2022-12-19 00:00:00Z
Avatar
okay, something really weird is happening with the client on the map artic festivity. It looks like the client is trying to open some weird Windows setting
monkaS 1
03:12
i can't reproduce it, but i do have a black screen for a few frames when joining the map
03:13
ive seen a windows saying if i want to open an unsecured "page"
03:14
it seems to happen just before it transfers data to GPU
03:20
-------------------------------------------------- and a good news for us i hope https://www.europol.europa.eu/media-press/newsroom/news/global-crackdown-against-ddos-services-shuts-down-most-popular-platforms (edited)
Known as Operation Power Off, this operation saw law enforcement in the United States, the United Kingdom, the Netherlands, Poland and Germany take action against these types of attacks which can paralyse the internet.   The services seized were by far the most popular DDoS booter services on the market, receiving top billing on search engines. ...
Avatar
Avatar
Chairn
okay, something really weird is happening with the client on the map artic festivity. It looks like the client is trying to open some weird Windows setting
Look in the logs. I guess you run out of memory and it tries to clean all staging buffers
Avatar
Been using this color already since a while. I'd like to keep it. !image !image

Checklist

  • [ ] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit tes...
Avatar
On Arctic Festivity during map loading I see RAM usage going up to 1.5 GB, then once it's loaded it stabilizes at 1.0 GB. We could look not to copy layers, or at least only keep one copied layer around, then deallocate the old one before allocating next.
Avatar
ddnetjs
Avatar
pepeW DDNet using 1.5G ram, what have we come to?
11:31
Chromium port soon
Avatar
lmao 1.5gb is nothing
11:33
terraria uses 700mb just in the main menu
Avatar
Avatar
Jupstar ✪
yeah some interesting stats ~40% laptop users.. thats quite high RAM <4GB 1% VRAM <1GB 4.53% SSE3 100% around 5.4% with GPUs that are really old, ivy bridge, haswell, some old ATI cards etc. (edited)
^ summary
Avatar
Avatar
Learath2
Chromium port soon
there are webkit abstractions without js, future gonna be fun html + css without js bloat. if it then uses 400mb, that's well spent 400MBs
Avatar
Terraria is made in C# 😛
11:44
Anyway, no need to discuss this, I know you and I fundamentally disagree on this, we talked about it enough 😄
Avatar
anyway, these RAM values in ddnet are spent for performance its not like i initialize a VM that is used to render a website i know all devs here prefer to have 100mb tw that always streams all shit and runs at 60fps capped but i prefer 2023 software. if rusticans get to a point where u can use rust instead of js, then i see a bright future for GUI frameworks. and if the renderer needs a cache of 1-2gb that so be it
Avatar
yay, can only have a couple of apps open in total
11:45
I'm grateful that apps use all available memory
Avatar
Avatar
heinrich5991
yay, can only have a couple of apps open in total
Just get a new computer?
Avatar
yes exactly
11:45
most ppl use 16GB ram
11:45
just accept it
Avatar
Also don't be poor?
Avatar
Or download more ram, i did it and it worked
11:45
No cap
Avatar
Avatar
Learath2
Also don't be poor?
sounds sane too
Avatar
Avatar
Alexander
Or download more ram, i did it and it worked
Give link
Avatar
Hold on lemme find one that crashes your pc
11:47
justatest
Avatar
ah steam hardware surveys, the only place where i feel accepted
11:47
16gb RAM 50% of all users 8gb VRAM most users
Avatar
Is 50% compatibility acceptable for you? 😄
Avatar
32 GB 13.38% (edited)
11:48
its 16gb or more
11:48
😉
Avatar
a quarter have 8gb or less
Avatar
well i guess u know what u buy this christmas then
Avatar
Let's make the next version use 8gb ram in the menu for 5 extra fps
Avatar
Avatar
Jupstar ✪
16gb RAM 50% of all users 8gb VRAM most users
monkaS
Avatar
Avatar
Learath2
Let's make the next version use 8gb ram in the menu for 5 extra fps
i can also do that with less RAM, but u dont understand it
11:49
bcs only thing u can say is that RAM is so bad
Avatar
No use more. Why use less when more available?
11:50
If not enough users can always buy more
Avatar
thats your whole point of life, saying that an app should not use lot of RAM
11:50
PS1 had like 2MB ram. it loaded the shit from CD
Avatar
Our player base will have worse systems than players playing AAA games on Steam
Avatar
if u prefer to load all stuff from CD go ahead
Avatar
Avatar
deen
Our player base will have worse systems than players playing AAA games on Steam
and so what? do u think someone has only 500mb RAM?
Avatar
Avatar
Jupstar ✪
if u prefer to load all stuff from CD go ahead
You just don't need 300k fps performance
Avatar
Avatar
Anime.pdf
You just don't need 300k fps performance
You do
Avatar
there's a difference between 16 gb ram and the 500 MB you now proposed
Avatar
Avatar
Learath2
You do
Why?
Avatar
Avatar
heinrich5991
there's a difference between 16 gb ram and the 500 MB you now proposed
yes ddnet doesnt use 16GB ram if u didnt notice yet
Avatar
yes, DDNet isn't the only thing running
Avatar
except u load some 16k textures
Avatar
there's still usually an OS and a browser
Avatar
Avatar
Anime.pdf
Why?
I render directly onto reality. Need as close to continuous time as possible
Avatar
it's QoL to be able to run DDNet concurrent with other apps
Avatar
Avatar
heinrich5991
it's QoL to be able to run DDNet concurrent with other apps
yes
11:52
thats why 99,99% of all users have at least 4GB ram
11:52
so u can run browser and ddnet
Avatar
I don't think you can do that
11:52
with 4 GB
11:52
and DDNet taking 2 GB
Avatar
And if you also want to listen to music, you are shit out of luck? 😛
Avatar
but learath wants to compile, play ddnet, play crysis and all at 100MB
Avatar
no, you're misrepresenting @Jupstar ✪
Avatar
Avatar
heinrich5991
and DDNet taking 2 GB
where does ddnet take 2gb?
Avatar
Avatar
heinrich5991
there's still usually an OS and a browser
I played csgo, had browser opened, Spotify, discord, screen share and ddnet running on my old pc at the same time justatest
Avatar
deen in the issue said, after loading ddnet uses 1GB RAM
11:53
on one of the biggest maps out there
Avatar
DDNet using 1.5G ram, what have we come to?
Avatar
during startup for a short moment
Avatar
yes temporarily
Avatar
You can try checking the massif file, I'm not sure if we can get the memory usage more stable
11:54
not super high prio if this issue was caused by 4k skins anyway
Avatar
ddnet uses these RAM values since 2017 btw
11:54
it was introduced with opengl 3.3
Avatar
Yes, but this large maps haven't been so popular
Avatar
so in future this gets less problem xd
Avatar
Cloud based ram soonTM
Avatar
Literally just wanted to point out that we took a game that ran comfortably on a coffee maker and now there are computers that crash trying to load maps. Nothing else
Avatar
and now u have 15k FPS, almost perfect frame times
Avatar
Didn't really want to have a discussion about it. Just a sidenote
Avatar
mhh yeah sure
11:56
u posted it just as a sidenote for yourself
Avatar
I thought it was funny. I pointed it out. Is that not allowed?
11:58
Just because we disagree doesn't mean I do everything just to poke at you
Avatar
its funny that u dont use ddnet 9.x where the world was still without problems ugly map res that isnt pixel perfect. skins that are not allowed to be high res keeping your unstable 60fps
11:59
we are still compatible to ddnet 9.x
11:59
i'd take that chance if i'd be u
Avatar
Avatar
Jupstar ✪
and now u have 15k FPS, almost perfect frame times
Why would you need so much 😭
Avatar
Avatar
Anime.pdf
Why would you need so much 😭
u have to understand one thing about FPS more FPS = more STABLE frametimes (in the sense of ddnet) so u should read it like this:
  • it uses less CPU
  • it can use more CPU total => more FPS
  • if you cap it it uses less CPU than before while still being more stable frame time wise
(edited)
12:02
so yes, if i could reach 200k FPS with 1gb more VRAM or RAM, i'd instantly do it
Avatar
cool, it'd probably stop running on my computer soon, then
Avatar
Avatar
Jupstar ✪
u have to understand one thing about FPS more FPS = more STABLE frametimes (in the sense of ddnet) so u should read it like this:
  • it uses less CPU
  • it can use more CPU total => more FPS
  • if you cap it it uses less CPU than before while still being more stable frame time wise
(edited)
I understand about stable fps, kinda, but i usually limit my fps to my monitor refresh rate multiplied by 2 or 3, 20x is just too much, isnt it?justatest
Avatar
Avatar
heinrich5991
cool, it'd probably stop running on my computer soon, then
bad for you, but i have good news. even if u could still improve it a bit, there is not lot of headroom anymore for now (edited)
12:03
maybe in 10years there is new hardware with new ideas to improve it
Avatar
I find your attitude really out of place
Avatar
your attitude makes ddnet stay compatible with dated stuff forever
Avatar
I think it's really bad to tell your users: you're too poor to run ddnet
Avatar
i find my attitude more sane
Avatar
you need to upgrade your computer
12:04
that's really bad IMO
Avatar
Avatar
heinrich5991
I think it's really bad to tell your users: you're too poor to run ddnet
dude, u literally talking shit
12:05
there is not a SINGLE computer i dropped support for
12:05
not ONE computer
Avatar
hey, stop telling me I'm talking shit
Avatar
i even gave workarounds for ppl that literally have NO OPENGL driver
Avatar
that's not okay
Avatar
Avatar
heinrich5991
hey, stop telling me I'm talking shit
hey but u are
Avatar
timeout
Avatar
This conversation always gets way too heated
Avatar
Handle the appropriate SDL events to open new joysticks when they are connected and remove joysticks when they are disconnected. If the active joystick gets disconnected, then the first joystick in the list will be activated as a fallback. If the previously activated joystick gets reconnected, it will be activated again automatically, as it is identified by the GUID stored in the configuration. The stored joystick GUID is only updated when the user manually selects a new joystick in the ...
Avatar
``` 2022-12-18 14:02:23 I client: starting... 2022-12-18 14:02:23 I sdl: SDL version 2.26.1 (compiled = 2.26.1) 2022-12-18 14:02:23 I gfx: Created OpenGL 3.0 context. 2022-12-18 14:02:23 I opengl: Vendor string: AMD 2022-12-18 14:02:23 I opengl: Version string: 4.6 (Compatibility Profile) Mesa 22.3.1 2022-12-18 14:02:23 I gfx: GPU vendor: AMD 2022-12-18 14:02:23 I gfx: GPU renderer: AMD Radeon Graphics (renoir, LLVM 14.0.6, DRM 3.48, 6.0.12-arch1-1) 2022-12-18 14:02:23 I gfx: GPU vers...
Avatar
[quakenet] ChillerDragon BOT 2022-12-18 13:19:21Z
A: buse
Avatar
In player information JSON all maps represent as new JSON object. When new map releases, code wich parsing this json cant know in advance a new map name, to create new object for this map. So always on new map releases you need to handle new map object. I think maps should be represented as JSON array, not infinity JSON objects. Current json part: ``` { "types": { "Novice": { "maps": { "Give u the Moon": { "points": 3, "total_finishes": 27013...
Avatar
Was the shotgun velocity bug already known/reported?
14:02
(if you are inside another tee and shoot with your shotgun, the other tee gets infinite velocity
14:03
seems like negative infinity to be precise
14:04
This is easy to test on Arctic Festivity
14:05
at least one tee needs tee collision disabled and one needs the shotgun powerup on the map (edited)
Avatar
Avatar
Scrumplex
Was the shotgun velocity bug already known/reported?
not a bug but a feature 🥹
Avatar
Avatar
Scrumplex
Was the shotgun velocity bug already known/reported?
this bug exist since the universe was created
🤡 1
14:23
Its a feature ye justatest
Avatar
Why must this be a feature though :|
14:33
I guess on many maps it wouldn't be an issue, but it is game breaking for maps with open ceilings
14:33
I have seen multiple people die today because of that feature
Avatar
I guess it's a part of the game now, can't be removed
Avatar
Avatar
Jupstar ✪
Look in the logs. I guess you run out of memory and it tries to clean all staging buffers
2022-12-18 04:09:48 I vulkan: vulkan memory allocation failed, trying to recover.
15:49
but how the hell can it trigger opening a "page" (still don't know what it is, the window i saw was on only for a second)
Avatar
Avatar
Chairn
but how the hell can it trigger opening a "page" (still don't know what it is, the window i saw was on only for a second)
sry dunno what a page is, it renders a black screen once bcs it frees memory from another frame
Avatar
can you make it possible to mark multiple demos at once? with shift+ left click like on windows (edited)
15:55
or crtl+left click
Avatar
Avatar
Shyzo
can you make it possible to mark multiple demos at once? with shift+ left click like on windows (edited)
whats ur use case? 😄
Avatar
Avatar
Scrumplex
Was the shotgun velocity bug already known/reported?
it is even used in some maps
15:59
okay, i removed all the non 256x128 skins
15:59
i guess it should already help (edited)
16:00
i had around 20 of them, including some weird resolution like 15yy x 7yy
Avatar
as long as the client doesnt close it should be fine tho
16:01
its simply bcs of staging buffers whose lifetime might exceed one frame bcs its not clear how long the driver needs them
16:01
so as soon as the frame is free to use again they can be freed
16:02
can you maybe screen the "page" thing
16:03
i wonder what exactly that is. does windows try to allocate read only memory or what? XD
Avatar
Avatar
Jupstar ✪
can you maybe screen the "page" thing
it happend only once, with black screen for more than a second
Avatar
yeah but only during loading right?
Avatar
it looked like a windows with a gear wheel icon
16:04
yes
Avatar
as if the window hangs?
16:05
dunno what gear wheel icon is in windows 7
Avatar
Avatar
Jupstar ✪
whats ur use case? 😄
easier to delete demos if i have 200 with 0 demo markers in it
16:06
or copy them and put them into a new folder
Avatar
i see, yeah would be cool for that case indeed
Avatar
Avatar
Jupstar ✪
dunno what gear wheel icon is in windows 7
i tried to search on google, didn't find anything alike
Avatar
2579f0b Add support for hot-plugging gamecontrollers - Robyt3 51e99b9 Pass SDL event structure directly to handler functions - Robyt3 3e458f8 Merge #6160 - bors[bot]
Avatar
Ensure that the zoom level with smooth zooming does not exceed the target zoom level. Closes #3747.

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 (especially base/) or added coverage to integration test
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] T...
Avatar
Avatar
GitHub
Click to see attachment 🖼️
rest in peace goofy ahh zoom snapping..
justatest 1
Avatar
How did 'unranked' become null?
20:35
Im trying to understand the api
20:35
so I can write a wrapper for it
Avatar
it was changed
Avatar
where latest version
20:43
pls
20:44
my mind cant take much of this python code
20:44
python scares me PES_JesusChrist
Avatar
In player information JSON all maps represent as new JSON object. When new map releases, code wich parsing this json cant know in advance a new map name, to create new object for this map. So alway...
20:44
discussed here (edited)
Avatar
very good issue, whoever opened it you have my applause, i hate dealing with objects like that
Avatar
Avatar
bencie
discussed here (edited)
aight so it's now { // ... rank: { // same with team_rank rank: null }, // ... } when there's no rank, and { // ... rank: { // same with team_rank points: 34, rank: 109 }, // ... } when you have a rank?
Avatar
that looks right but i havent worked with it so i wouldnt know for sure
20:54
someone smarter will answer :p
Avatar
deen when are u gonna make docs for the api :kekw:
Avatar
Closes #5653.

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 (especially base/) or added coverage to integration test
  • [ ] 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/...
Avatar
Avatar
GitHub
Click to see attachment 🖼️
Please comment if you have better texts for the tooltips
Avatar
32ce5be Fix smooth zooming overshooting the target zoom level - Robyt3 293af0e Merge #6162 - bors[bot]
Avatar
if a player doesn't have any points at all, are they even added to the database, and therefore available in the API?
Avatar
yes if they finished a 0 point map
21:42
otherwise, no, how would the database know of their existence?
Avatar
create a database with all possible combinations of characters 👌
Avatar
Library of babel
Avatar
Avatar
Learath2
Library of babel
best
22:03
A project towards a universal library. By this art you may contemplate the variation of the 23 letters.
22:18
looks like page of random letters
Avatar
you dont know
22:18
what the library of babel is?
22:18
By this art you may contemplate the variation of the 23 letters.
22:19
An introduction to libraryofbabel.info, its creators and inspirations.
22:19
The Library of Babel is a place for scholars to do research, for artists and writers to seek inspiration, for anyone with curiosity or a sense of humor to reflect on the weirdness of existence - in short, it’s just like any other library. If completed, it would contain every possible combination of 1,312,000 characters, including lower case letters, space, comma, and period. Thus, it would contain every book that ever has been written, and every book that ever could be - including every play, every song, every scientific paper, every legal decision, every constitution, every piece of scripture, and so on. At present it contains all possible pages of 3200 characters, about 104677 books.
22:19
it contains all possible texts
22:19
there will be
22:19
or ever been
22:19
or can be
22:19
in the 23 letter alphabet
22:19
infinite knowledge
Avatar
it contains the world formula
Avatar
this video is epic
22:19
watch it
22:20
near the end it talks about babel
22:20
to who posted
Avatar
why can i not send a direct link
Avatar
it works
Avatar
just gotta wait a lil
22:20
to load
Avatar
Bookmark test:972 - page 178 of a book entitled uzlfdpxrwxsi.tpodak from volume 2wd4rlhr2g8fevj4w9b0nmnlr8iw27h1j76921k...-w3-s2-v14 of the Library of Babel.
22:21
it knew it already
Avatar
Bookmark jmirequnwo t16 - page 16 of a book entitled jmirequnwo t from volume 3db19hcmpnbxu1x4ih1fd8m9yps5752vkomz2ya...-w3-s3-v17 of the Library of Babel.
22:22
jupstar appears here
22:22
22:23
the origin is this
Avatar
it even contains all fake news
Avatar
"The Library of Babel" (Spanish: La biblioteca de Babel) is a short story by Argentine author and librarian Jorge Luis Borges (1899–1986), conceiving of a universe in the form of a vast library containing all possible 410-page books of a certain format and character set.
22:23
from spain
22:23
lmao
22:24
W. V. O. Quine notes that the Library of Babel is finite, and that any text that does not fit in a single book can be reconstructed by finding a second book with the continuation. The size of the alphabet can be reduced by using Morse code even though it makes the books more verbose; the size of the books can also be reduced by splitting each into multiple volumes and discarding the duplicates. Writes Quine, "The ultimate absurdity is now staring us in the face: a universal library of two volumes, one containing a single dot and the other a dash. Persistent repetition and alternation of the two are sufficient, we well know, for spelling out any and every truth. The miracle of the finite but universal library is a mere inflation of the miracle of binary notation: everything worth saying, and everything else as well, can be said with two characters.
22:24
interesting
Avatar
morse code has a third letter, "pause"
Avatar
Are all Morse code strings uniquely decipherable? Without the spaces, ......-...-..---.-----.-..-..-.. could be Hello World but perhaps the first letter is a 5 -- in fact it looks very unlikely...
22:25
idk about that
22:26
22:27
but maybe ambiguous here is nice
22:27
u are encoded 2 in 1?
22:27
xD
22:27
encoding*
Avatar
Somebody know if courses from cppcon.org are recorded and available to watch?justatest
Avatar
Visit cppcon.org for details on next year's conference. CppCon sponsors have made it possible to record and freely distribute over 1000 sessions from 2014 to 2021. We hope you enjoy them!
22:30
or are they courses in the sense of getting to learn cpp?^^
22:31
maybe here
22:31
troll1
Avatar
Avatar
Jupstar ✪
or are they courses in the sense of getting to learn cpp?^^
Well, i found this thing https://cppcon.org/applied-modern-cpp/ Which has no link to actual materials 🥺
Avatar
i c++
22:34
i used cppreference to learn most c++20 language features
22:34
and for standard library forget to learn everything xdd
22:34
its so huge
Avatar
hmmm, josh triplett is some rust guy
Avatar
Avatar
Jupstar ✪
and for standard library forget to learn everything xdd
That couse was mentioned in another article as good example of modern c++, so i just was curious
Avatar
"(immediately after the conference)." so i guess its not public 😄
Avatar
feelsbadman sad
Exported 257 message(s)