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-09-24 00:00:00Z and 2022-09-25 00:00:00Z
Avatar
that'd be nice to have a "lag" information on top of the tee's heads
00:14
when they lag
Avatar
Avatar
Voxel
You know, I kind of question why the entities thumbnail hasn't been updated in... like, 2 years or more. I propose an update, where the thumbnail will have its own svg counterpart for future updates. Left is old, right is new.
I found the font!
Avatar
Avatar
Chairn
okay, there are 1852 commits referencing data folder. So 1852 CI runs at 100W for 10 minutes. This sums up to 1852x100x1/6 = 30.89kwh
Referencing only the data folder? That sounds a little high to me
08:05
How on earth I ended up scrolled that far back idk
Avatar
@Jupstar ✪ At fng2mod do you know where's the function that gets called when the Round ends/starts? I can't seemed to get it to work
08:13
I what I want to do is to allow some votes to be executed once per round
Avatar
my github is down rn
08:15
but smth in gamecontext.cpp
08:15
gamecontroller is also called
Avatar
yeah I found it but when I do printf in them it doens't print anything
08:17
void IGameController::StartRound() and void IGameController::EndRound() I can't seem to get it to work
Avatar
there are in fng.cpp
08:18
in mods
08:18
they are implemented in*
Avatar
This also doesn't print anything D: void CGameControllerFNG2::EndRound() { printf("hi there\n"); IGameController::EndRound(); GameServer()->SendRoundStats(); }
Avatar
mhh weird
08:20
it seems like it uses endmatch
08:20
but dont ask me why
Avatar
is there an endmatch function in game/server I can see to find it
Avatar
void CGameControllerFNG2::EndMatch() { IGameController::EndMatch(); GameServer()->SendRoundStats(); }
Avatar
I am using 0.6 version
Avatar
ah
08:22
i was not indeed xD
Avatar
void CGameControllerFNG2::EndRound() { IGameController::EndRound(); GameServer()->SendRoundStats(); }
08:23
well in 0.6 its endround 😄
Avatar
what how? lol
Avatar
Avatar
Mr.Gh0s7
This also doesn't print anything D: void CGameControllerFNG2::EndRound() { printf("hi there\n"); IGameController::EndRound(); GameServer()->SendRoundStats(); }
it should send it there
08:23
i dont see how it cannot be send
Avatar
yeah me neither D:
Avatar
printf maybe doesnt work for you
08:23
use dbg_msg("test", "test");
Avatar
hmm not now either
Avatar
did u forget to compile or smth
08:25
I'll do a clean build
Avatar
well SendRoundStats is always send
Avatar
yeah xD hackish tho
Avatar
and this is the only code patch for normal fng mods that executes it
Avatar
yeah but what about when changing map?
Avatar
is that the same as ending a round?
08:30
does it end the round?
Avatar
I don't think so the Stats() doesn't get executed
08:30
but yeah from what I can see the EndRound() should in theory run
08:31
void IGameController::ChangeMap(const char *pToMap) { str_copy(m_aMapWish, pToMap, sizeof(m_aMapWish)); EndRound(); }
Avatar
mh yeah, i dunno if that is relaated to the map circle vs change map over rcon
08:36
maybe the votes are also wrong xD
08:36
but tbh i prefer a fast change map
08:36
when u change the map over a vote u also want to change it, u basically dont care about the current round anymore
Avatar
if u prefer to show stats, just change the function to use this code or smth like that
Avatar
there's a change_map command in some mods
08:38
(and vanilla)
08:38
which shows the scoreboard before changing the map
Avatar
I see ty
Avatar
the arch maintainers still didnt fix my report :/
Avatar
which one?
Avatar
Avatar
heinrich5991
Good
09:24
@Learath2 python modules rly are bad (edited)
Avatar
@deen how fast is text2img on your m1?
09:25
(average for 4 pictures or smth)
Avatar
high severity is about stuff like computers not booting IIRC
Avatar
I forgot the exact numbers, a minute or so, but I had other stuff running
Avatar
re the comment in the issue
Avatar
Like they make you waste hours to figure out how it shouldnwork
Avatar
Avatar
deen
I forgot the exact numbers, a minute or so, but I had other stuff running
ok nice 😄
Avatar
and resolution was pretty low
Avatar
Dont you need a gpu with 12gb vram
09:26
Xd
Avatar
was testing it too on a rx 6900 xt, the python's script was really slow (text parsing or whatever it does) the GPU stuff was really quick, but also around 1 minute for 4 pics, normal/default resolution
Avatar
Avatar
Ryozuki
@Learath2 python modules rly are bad (edited)
Omg someone agreeing with my controversial opinion Celebrate
Avatar
where is the original controversial opinion?
Avatar
tried to let it generate ddos network logo xDD
Avatar
I should add that rust modules in contrast are rly good
09:27
BASED
09:28
I wonder how nim handles it
Avatar
Avatar
Ryozuki
Dont you need a gpu with 12gb vram
M1 uses same RAM for CPU+GPU I think, and there is 16 GB
Avatar
it also runs on rx 6600 xt from my brother, but takes almost 10 minutes for 4 pics
09:28
so insanly slow
Avatar
I have a 6600 xt
Avatar
Avatar
Jupstar ✪
it also runs on rx 6600 xt from my brother, but takes almost 10 minutes for 4 pics
oh, I meant 1 minute per picture
Avatar
Avatar
heinrich5991
where is the original controversial opinion?
Mh way back. I doubt I can find it now. Tldr I hate how python does modules, I hate it's import rules, I hate it's bizarre init.py, I hate it's scoping rules
Avatar
Bought it when prices were high Sadge
Avatar
Avatar
deen
oh, I meant 1 minute per picture
oh 😄
Avatar
Now i can get a 6900 xt with a little more than what i spent
09:29
But 2 lazy to sell the 6600 xt on ebay or smth
Avatar
rx 6900 xt is nice, opengl perf is alsmost as good as a rtx 3090
09:30
but raytracing and stuff far behind nvidia 😄
Avatar
Did you see the 4090 power usage?
09:30
450w
Avatar
ez
Avatar
And needs a support that ngy
09:30
Thingy
Avatar
no need for gas heaters anymore
Avatar
Big ad
09:30
Af*
09:31
Pcs should be built around gpus nowadays
Avatar
Avatar
deen
oh, I meant 1 minute per picture
So it's about half as good as a 1080. Takes me 30s per image
Avatar
They shouldnt be hanging
Avatar
i hope rx 7000 series come close to 4090 tho
Avatar
I hope too
09:31
I dont want nvidia
Avatar
Avatar
Learath2
So it's about half as good as a 1080. Takes me 30s per image
why does the CPU task even run so fast for you?
09:32
for me that takes longer than the actual image generation
Avatar
But at the end ill end up with a stock of gpus in my place
09:32
I got a r390 rx 580 and a 6600 xt
09:32
XD
Avatar
Avatar
Jupstar ✪
for me that takes longer than the actual image generation
it runs some stuff single threaded for like 30-40 seconds, then the GPU starts, then its finished 20 seconds later (with 4 images)
Avatar
wanna send one of these to me? 😛 I probably have worse ones ^^
Avatar
Avatar
Jupstar ✪
why does the CPU task even run so fast for you?
I honestly have no idea about the parts of the generation, what takes part on the cpu, what takes part on the gpu etc.
Avatar
Avatar
Ryozuki
I got a r390 rx 580 and a 6600 xt
i always sell my old hardware to either friends for a very good price or other ppl i know
Avatar
The r390 may heat a bit
Avatar
i dont want old hardware flying around in the house xD
Avatar
I do run the model at half precision though, maybe that's a factor? I just dont have the VRAM for it
Avatar
Avatar
Learath2
I do run the model at half precision though, maybe that's a factor? I just dont have the VRAM for it
i dunno i kinda feel like the first step is more like interpretation of the text input
09:34
but i also dunno how exactly it works
09:34
maybe rocm doesnt have a backend for that yet
09:34
and it has to run on CPU instead of GPU
Avatar
I thought they used a model for that too but honestly idk, it is possible that part does run on the cpu
Avatar
@Jupstar ✪ new ams cpus coming the 27rd
09:35
Amd
Avatar
but yeah it uses all my 16 GB VRAM when it comes to the GPU XD
Avatar
Avatar
Ryozuki
@Jupstar ✪ new ams cpus coming the 27rd
yes
09:35
i am hyped
Avatar
Welcome to the new era of performance with AMD Ryzen 7000 Series available on September 27. https://t.co/83TYK0t4aj
Likes
310
Avatar
first leaks show faster than intels 6 GHZ cpus
09:36
even in single threaded apps
Avatar
Does it need a new socket?
Avatar
i think yes
Avatar
I have the current last gen cpus
09:36
5600x
09:37
AM5 socket for 7000
09:37
F
Avatar
anyway the model for stable diffusion is still far behind dalle2 sadly, i wish i could have their model xDD
Avatar
Just bought my mobo not long ago xd
Avatar
Avatar
Ryozuki
5600x
i am still chillin on 3800x
09:38
its fast, but friend has 16 core 5950x
09:38
and i am jealous xddd
09:39
Get the 59503D
09:39
It has lot of cache
09:39
Probs help compiling
Avatar
yeah i assume ryzen 7 also uses it?
Avatar
that would explain why its so fast
09:39
oh ok
Avatar
They will release one for that too
Avatar
too bad
09:39
nice
09:39
Based on 2 user benchmarks for the AMD Advanced Marketing Devices 7600X and the Intel Core i9-13900K, we rank them both on effective speed and value for money against the best 1,360 CPUs.
09:40
lmao
09:40
i9 13900k is there
09:40
but the single core speed is slower than the ryzen marketing thing
09:40
i dunno what single core means here tho is it single thred?
09:40
or multi threads on 1 core, e.g. SMT
Avatar
Avatar
Ryozuki
Does it need a new socket?
They kept it compatible for so long too
Avatar
Avatar
Jupstar ✪
anyway the model for stable diffusion is still far behind dalle2 sadly, i wish i could have their model xDD
Stable diffusion does generate better anime style art, that seems to be the only w it has on dalle2 though
Avatar
it generally generated some really good pics
Avatar
@Learath2 endless hentai
09:45
BASED
Avatar
gollum with ssj hair
09:45
looks really dope 😄
Avatar
Also maybe better at things that silicon valley giants think are offensive. Like yeah hentai or photorealistic nudity or gore etc
Avatar
i can't play the game
Avatar
the fusion of gollum and gandalf was epic too xD
Avatar
But this ai can be rly good for gamedev
09:46
Textures etc
Avatar
Avatar
Azerty
i can't play the game
whats ur gpu
09:46
amd ?, try vulkan
09:46
latest beta driver is buggy for opengl
09:47
else go into #bugs pinned message
Avatar
its an AMD ryzen 3 2200g
Avatar
Avatar
Ryozuki
But this ai can be rly good for gamedev
Someone already made an rpg with ai assets
Avatar
but the game just don't lauch
Avatar
Avatar
Azerty
but the game just don't lauch
steam?
Avatar
steam and the launcher downloaded with google
Avatar
Avatar
Azerty
but the game just don't lauch
just read this and do what it says: https://ddnet.org/news/amd-beta-opengl-crash/
09:48
or if u launch the game it should show 2 options doesnt it?
09:48
normal and vulkan
09:48
try the 2nd
Avatar
i already tried both
Avatar
whats ur gpu driver version?
Avatar
no idea
Avatar
download latest from amd.com
Avatar
Avatar
Azerty
no idea
btw do u have lot of custom skins?
Avatar
i don't have any
Avatar
ok
Avatar
@Azerty pls also report back if it worked or not when its done
Avatar
or alternativly add an MACRO_CONFIG_COLOR for colors. I think it would be cool to allow to modify all colors we use in the client but at once place in UI, e.g. a list that is searchable. "Laser color" "Shotgun color" etc. It would reduce the amount of UI code by a lot, and also allows to customize other colors that are currently hardcoded to be changed without (real) additional code complexity maybe not even displaying them in F1 console, to not bloat that. Yeah dunno, but i th...
Avatar
Avatar
Jupstar ✪
@Azerty pls also report back if it worked or not when its done
it doesn't work
10:16
no it works but only in normal setting not in vulcan
Avatar
Avatar
Azerty
no it works but only in normal setting not in vulcan
weird, your gpu should support it, any asserts in %appdata%/teeworlds/dumps (or ddnet instead of teeworlds)
10:17
would help to understand the problem
Avatar
few crash log (edited)
Avatar
can u send them?
10:21
pm or here
Avatar
Avatar
Azerty
Click to see attachment 🖼️
this shows a crash in the opengl driver
10:22
so rather looks like it didnt use vulkan
Avatar
this is the only crash log of today, even tho i used vulkan too
Avatar
Avatar
Azerty
this is the only crash log of today, even tho i used vulkan too
can u quickly test with adding "gfx_backend Vulkan" to steam start paramters? (its important to add the ")
10:24
10:24
like this
Avatar
allgemein means general right ?
Avatar
yes
Avatar
vulkan still doesn't work
Avatar
ok can u try to downgrade your amd driver to a non beta version then: https://www.amd.com/en/support/apu/amd-ryzen-processors/amd-ryzen-3-desktop-processors-radeon-vega-graphics/amd-ryzen-3-0 "AMD Software: Adrenalin Edition Revision Number Adrenalin 22.5.1 Recommended (WHQL)" (edited)
10:26
here is the crash log
Avatar
@heinrich5991 did u change something? o.o
Avatar
Avatar
Azerty
Click to see attachment 🖼️
ah at least it used vulkan now^^
Avatar
well after add "gfx ... " it doesn't even work anymore
Avatar
Avatar
Azerty
well after add "gfx ... " it doesn't even work anymore
ok so anyway a solution is to downgrade the driver and write "gfx_backend OpenGL"
10:28
i look into the crashdump if it makes sense to me
Avatar
honestly i just wanted it to work, i don't need to have vulkan i think
Avatar
Avatar
Azerty
honestly i just wanted it to work, i don't need to have vulkan i think
yeah but the beta drivers from amd are buggy with opengl as you can see in the news i posted
Avatar
Avatar
MilkeeyCat
@heinrich5991 did u change something? o.o
you need to use ddnet.org now
10:31
we switched to using ddnet.org
Avatar
Avatar
heinrich5991
you need to use ddnet.org now
oh. thx ^^
Avatar
Avatar
Azerty
honestly i just wanted it to work, i don't need to have vulkan i think
but to be sure u tested to upgrade your driver?
10:35
"AMD Software: Adrenalin Edition Revision Number Adrenalin 22.9.1 Optional" u used this and it crashed?
10:35
bcs then i can create a crash report for amd
Avatar
Avatar
Jupstar ✪
but to be sure u tested to upgrade your driver?
i upgraded it i tihnk
Avatar
Avatar
Azerty
i upgraded it i tihnk
and also restarted ur computer afterwards?
Avatar
ok thanks
Avatar
Avatar
Azerty
i did
i assume the game works now for you with opengl 1.x right?
Avatar
it just works
Avatar
ok i try to make amd some pressure, its really annoying that they leave they drivers buggy for 3 months now
Avatar
Modern web good
Avatar
Avatar
Ryozuki
Click to see attachment 🖼️
Sounds like a plan
Avatar
Avatar
Learath2
Referencing only the data folder? That sounds a little high to me
wtf , reading almost 3 months old message ?
Avatar
This meant that only the first skin prefix button could be activated. Regression from #5633.

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
  • [ ] ...
16:01

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/#using-ad...
Avatar
what's the difference between g_Config and m_Config?
Avatar
Avatar
Mr.Gh0s7
what's the difference between g_Config and m_Config?
in fng source code?
Avatar
it supports to start multiple servers
16:44
for the tournament mod
16:44
so m_config should be used if u want to support this feature
Avatar
ah I see thanks
Avatar
smth changed about github bot
18:10
where are the haters
18:10
it doesnt show the merge commits anymore
Avatar
dammit, now i think every PR is closed without merging cammo
Avatar
It probably broke because of the url change from ddnet.tw to ddnet.org
18:19
Or github changed something about the webhooks
Avatar
Optimally use/integrate a code coverage tool with gtest to figure out which functions need more tests. Should be possible in the CI on Ubuntu with gcov/lcov. Not sure if possible on Windows in the CI or only manually with a Visual Studio plugin.
Avatar
As those functions are not game specific per se, they can be part of base instead. Closes #3334.

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
  • ...
Avatar
modern warfare 2
19:45
19:45
justatest
19:45
i'll use it
Avatar
This bug report was migrated from our old Bugzilla tracker. Reported in version: 2.0.12 Reported for operating system, platform: Windows 10, x86_64 Comments on the original bug report: On 2020-06-2...
Avatar
Gnome Shell extension to check for online DDNet friends. - GitHub - hus3h/gnome-shell-extension-ddnet-friends-panel: Gnome Shell extension to check for online DDNet friends.
Exported 271 message(s)