Guild icon
DDraceNetwork
Development / bugs
Report client & server bugs, especially but not limited to release candidates.
Between 2024-12-21 00:00 and 2024-12-22 00:00
Avatar
Black (Among Us) 2024-12-21 00:52
when I spectate when I freeze or deep, after I spectate I can move (edited)
Avatar
can someone help me with this bug? i get stuck on this screen when I enter some servers (especially those that are populated)
Avatar
what is this?
Avatar
Avatar
kilka <3
what is this?
Not enough VRAM. Did you maybe download lots of large skins?
Avatar
Avatar
kye
can someone help me with this bug? i get stuck on this screen when I enter some servers (especially those that are populated)
Disable software firewall
Avatar
Avatar
Jupstar ✪
broken
Thanks, so it's not the issue I thought.
Avatar
Avatar
deen
Not enough VRAM. Did you maybe download lots of large skins?
I had a lot of skins for a long time but I've never gotten this error before. I deleted most of them but it didn't help.
Avatar
Avatar
kilka <3
I had a lot of skins for a long time but I've never gotten this error before. I deleted most of them but it didn't help.
what about assets? particles, gameskins, emoticons,
07:44
ddnet doesn't support so-called "lazy-loading", so just having them in the folder takes up VRAM already.
Avatar
Do you have other games running, or any other software that might take up a lot of VRAM?
Avatar
Jupstar ✪ 2024-12-21 09:09
the error says that he allocated 4gb in ddnet alone
09:09
so this must be high res skins
Avatar
Avatar
kilka <3
what is this?
Jupstar ✪ 2024-12-21 09:09
delete all skins in %appdata%/ddnet/skins
09:10
and assets too
09:10
never download 4k assets again, since your gpu is not a rtx 5090
Avatar
Avatar
deen
Not enough VRAM. Did you maybe download lots of large skins?
do all skins get loaded into ram/vram immediately D: (edited)
Avatar
Avatar
Assa
do all skins get loaded into ram/vram immediately D: (edited)
Jupstar ✪ 2024-12-21 11:10
all skins locally stored do indeed
Avatar
oh my god
Avatar
Jupstar ✪ 2024-12-21 11:10
that is one of the weaknesses of ddnet. and sadly all the assets servers provide 4k assets
11:10
like not for 4k monitors
11:10
4k resolution of a skin that takes 1/20 of the screen space
Avatar
I guess ddnet doesn't do minmapping as well
Avatar
Jupstar ✪ 2024-12-21 11:11
it does
Avatar
that's nice to hear
Avatar
Jupstar ✪ 2024-12-21 11:12
4096×2048×4×2×2=134217728 bytes of vram for 1 skin i always had this value wrong btw, i forgot that skins also have a greyscaled version. so 4096x2048 is obvious x4 for rgba x2 for mipmaps x2 for greyscaled version
11:12
over 100 MB for a single skin xD
Avatar
but if your monitor doesn't support 4K, why not only use the mipmap version?
11:13
also what's the point, when a mapres in a map is usually 1024x1024 anyway, and a single tile is bigger than the Tee
Avatar
Avatar
Assa
but if your monitor doesn't support 4K, why not only use the mipmap version?
Jupstar ✪ 2024-12-21 11:14
well mipmaps is something dynamic. if you zoom in it uses higher res and zoom out lower res. it's precompiled however
11:14
not on the fly
Avatar
ah, I forgot about zoom
Avatar
Avatar
Assa
also what's the point, when a mapres in a map is usually 1024x1024 anyway, and a single tile is bigger than the Tee
Jupstar ✪ 2024-12-21 11:15
that is the big secret. the only explaination i have is as follows: 4k assets = 4k gaming (even tho I have full hd gtx 1060)
11:15
that must be in the ppls mind
11:15
if i add a RTX option, they enable it xD
11:15
they are programmed to do so xDD
Avatar
maybe just downscale outright? (and add an option to disable that)
11:16
because it's so pointless 🙈
Avatar
Jupstar ✪ 2024-12-21 11:16
downscaling such textures is also not cheap tho
11:17
at good quality, mipmaps for example are gpu accelerated
Avatar
Avatar
Jupstar ✪
downscaling such textures is also not cheap tho
on that scale I bet "linear" is sufficient
Avatar
Jupstar ✪ 2024-12-21 11:17
or at least can be
11:18
i guess it would save us a bit of work to just disallow such textures. but then again these errors also don't pop up tooo often. and the preventing it will create similar questions
11:18
what i also fear is that it could cause lags or fps drops
11:19
especially on opengl where the driver might keep the texture on system memory
Avatar
Yeah it's worse for loading times but maybe a setting for max loaded tile resolution would make sense
Avatar
Jupstar ✪ 2024-12-21 11:19
so it dynamically swaps it to vram
Avatar
Avatar
risu
Yeah it's worse for loading times but maybe a setting for max loaded tile resolution would make sense
Jupstar ✪ 2024-12-21 11:19
And what is a good default?
Avatar
As for skins, I really think proper dynamic loading would be good for the future
Avatar
Jupstar ✪ 2024-12-21 11:20
on a rtx 5090 on a 8k screen your might really want 2048x1040 skins
Avatar
Avatar
Jupstar ✪
And what is a good default?
Unlimited I guess to match current behaviour
Avatar
Avatar
risu
As for skins, I really think proper dynamic loading would be good for the future
Jupstar ✪ 2024-12-21 11:20
this should come regardless of this vram problem anyway
Avatar
Avatar
Jupstar ✪
And what is a good default?
monitor size (like 2K) / 32
Avatar
Jupstar ✪ 2024-12-21 11:20
if we have 6000 skins in our db we might end up crashing regular ppl too
Avatar
Avatar
Jupstar ✪
this should come regardless of this vram problem anyway
Yea
Avatar
the 32 comes from the idea, that you have about 1 tile as Tee size, and about 24 tiles left and right on screen
Avatar
Jupstar ✪ 2024-12-21 11:22
at default zoom yeah
Avatar
now add in max_zoom, some leeway, maybe make this a 10 but it's still much smaller
11:22
time to check how much I can zoom in
Avatar
Avatar
Assa
time to check how much I can zoom in
Too much
11:22
But I like it, it's funny
Avatar
ah yes ofc
11:23
now play gores like this, I challenge some streamers
Avatar
Let's use some sort of interlaced texture format and real time asset streaming so we can waste our disk space with 8k skins trouble free
Avatar
argument still holds, use a "normal amount of zoom" and expect breaking at some point, this is hilarious
Avatar
Jupstar ✪ 2024-12-21 11:26
btw a skin fills 2x2 tiles
Avatar
also you see how other tilesets and things break on this screenshot as well, as you can count the pixels in the grenade xD
Avatar
Avatar
Jupstar ✪
btw a skin fills 2x2 tiles
btw, a faktor of 2 in downscaling would be 1/4th of the usual size in ram/vram
Avatar
Drinking tea and eating chocolates while shitposting about teeworlds technical details
11:27
This is the life
Avatar
maybe we can reverse this issue: Detect vram amount X, and then calulate the max size a skin can have without running into memory issues
11:28
this way, if you have an 8K monitor and a bad graphics card, at least the game can be playable
Avatar
Jupstar ✪ 2024-12-21 11:28
we only know the pool size sadly
11:28
not the exact vram usage
11:28
so if chrome is open it might cause this value to be useless
Avatar
I'm not sure if I agree with the approach of taking up as much vram as is available
Avatar
Avatar
risu
I'm not sure if I agree with the approach of taking up as much vram as is available
that's not how I described it, maybe the default size has enough space without downscaling and then you have vram left
Avatar
Avatar
Jupstar ✪
so if chrome is open it might cause this value to be useless
pool size is the total size? So if I run another game in parallel, this value doesn't change?
Avatar
Avatar
Assa
pool size is the total size? So if I run another game in parallel, this value doesn't change?
Jupstar ✪ 2024-12-21 11:34
yeah, and additionally that's a vulkan only feature
11:34
opengl has no concept of memory
11:34
it's infinite xD
Avatar
I guess you'd have to do vendor specific things to find actual vram usage, not that I've ever tried
11:36
Maybe Windows has some API for that?
11:38
I'm not sure if I expect Linux to have a similar thing
Avatar
Maybe you can just trial and error by sending some arbitrary data until the graphics card says stop xD
Avatar
Binary search the max allocatable amount
Avatar
Baran Nashor 2024-12-21 17:33
cp 43 on new map is buggy
17:33
its the same as the next part
Avatar
Hi, I need help with this bug that I'm having. I've gone through a map and I don't have the time or the points.
Avatar
Avatar
Oswaldo:D
Hi, I need help with this bug that I'm having. I've gone through a map and I don't have the time or the points.
Wait 24 hours, and if you still don't have the rank, then #✉-create-a-ticket (admin mail)
18:28
was probably a database connection issue, your rank will automatically be inserted soon
Avatar
Avatar
bencie
Wait 24 hours, and if you still don't have the rank, then #✉-create-a-ticket (admin mail)
ohhh okay thank you very much, it didn't just happen to me, it happened to other players who were in my game
Avatar
when im on ddnet and only ddnet if i open google or dc ddnet closes is there any fix?
18:43
i reinstaled and it seems to be fixed now
Avatar
Avatar
bencie
Wait 24 hours, and if you still don't have the rank, then #✉-create-a-ticket (admin mail)
ackthually we're adviced to wait 48hours!
🤓 1
Exported 94 message(s)
Timezone: UTC+0