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-08-14 00:00:00Z and 2022-08-15 00:00:00Z
Avatar
Hello, I opened my ddnet with vulkan to try it out and it bugged the entire client, now every time I press to open it without vulkan it's all buggy... the buttons are there but there's nothing written in them like it just disappears the text
Avatar
what
00:58
and every time it opens with vulkan even tho I don't want to open it with vulkan
Avatar
Try fix it on the files or reinstall it
Avatar
I already reinstalled it and it didn't fix it
Avatar
Or is your pc
Avatar
no, I was running it just fine earlier today
Avatar
Ok, idk how fix it
01:00
justatest
Avatar
all good, ty for your time
01:01
np
Avatar
@fokkonaut look even you you have sometimes a fan on ddnet server !
01:50
oh wow
Avatar
@Discord Mod
02:19
uhh can you even remove bridge messages?
02:19
like do you have permission
02:20
@murpi @Zwelf we're getting memed
Avatar
welp, we can
Avatar
77901d2 A Short And Precise 7 - ddnet-maps
Avatar
Avatar
drek
Click to see attachment 🖼️
if you use an AMD card update to a stable driver from 2022 from amd.com, then it should work: e.g. it should say: "Adrenalin 22.5.1 Recommended (WHQL)"
Avatar
Avatar
Learath2
@Jupstar ✪ is there maybe a forum for AMD developers? I did get an adequate-ish response on an nvidia one, maybe we can get the attention of someone on the driver team
@Jupstar ✪ bump
07:00
I doubt we'd get an answer before the new driver leaves beta, but it might be a good idea
Avatar
Avatar
Learath2
@Jupstar ✪ bump
i've no idea, i just used the bug report tool that shipped with the amd drivers, but if you find one it's a good idea probably
07:02
there is a amdhelp subreddit xd
Avatar
I did post the forum link there
Avatar
how does it feel to have a recommendation to disable SMT (Simultaneous Multithreading) on AMD's processors giga_chad
Avatar
Looks like a direct line to actual proper staff and people seem to get a proper internal ticket within like a month. Maybe we'll get lucky?
Avatar
guess its worth a try
Avatar
Avatar
ReiTW
how does it feel to have a recommendation to disable SMT (Simultaneous Multithreading) on AMD's processors giga_chad
in fact disabling SMT might slightly increase single thread performance
07:04
but decrease single core performance
Avatar
Avatar
Jupstar ✪
in fact disabling SMT might slightly increase single thread performance
there's a new side channel vulnerability called Squip
07:05
on amd zen 1 2 & 3
Avatar
there are new vulnerabilities every day now xD
Avatar
possibly apple's chips too (not sure) (edited)
Avatar
i wonder when the first hardware fixes come in
07:05
feels like processors completly suck, if all vendors are hit by these^^
Avatar
We're lucky to have researchers finding that tho, can't imagine myself being able to find 1% of their work lmao
Avatar
if you are in the topic u probably just think about edge cases and then find stuff like that
07:07
its really lot about having the knowledge of whats going on
Avatar
cybersecurity isn't my main, but it looks cool
Avatar
Avatar
ReiTW
there's a new side channel vulnerability called Squip
How on earth do they come up with these??
Avatar
Avatar
Learath2
How on earth do they come up with these??
idk lmao
07:10
next few years they'll find an atomic vulnerability to collect data for sure sue
07:10
They tryhard so much
07:10
could be interesting to know the time spent to find that side chann vuln
Avatar
i guess since spectre there also is quite some money flow for these researches
07:11
or whatever the first one was called
Avatar
meltdown?
Avatar
And the proper fix to this will probably be so annoying. Having to ditch your multiple scheduler scheme or having to make all schedulers "indistinguishabke" somehow probably has big performance consequences
Avatar
there is also this https://www.hertzbleed.com/
Turning Power Side-Channel Attacks Into Remote Timing Attacks on x86
08:18
not to be confused with heartbleed
Avatar
@Discord Mod
✅ 1
Avatar
[quakenet] ChillerDragon BOT 2022-08-14 08:49:58Z
@Patiga send help on map formats. What needs to change in ddnet client for 0.7 maps to be loadable. As of right now it seems to just crash the client when oining a 0.7 server. Do you know what changed in the map formats?
Avatar
So in short, what I'm proposing here is a new on/off tile, that would essentially turn hookable into unhookable. It could be used in combination with current 'no hook' to make tees unable to hook anything.
Avatar
ChillerDragon: I think its mostly the 0.7 tilemap decompression https://github.com/heinrich5991/libtw2/blob/b0d979db037e6ef509d99de33b592cf187a0cb68/doc/map.md#layers search for "0.7 compression" or "skip"
09:07
0.7 also has a new envelope type, bezier. I'm not sure if that causes a crash, but it is very possible
09:07
bezier would only affect maps that actually use them though
Avatar
anyone know a map with so many sounds that the editor list needs to scroll?
Avatar
ac3c358 Akari stepped down as mod, move Hanz-ddnet to North America - def-
Avatar
Avatar
Robyt3
anyone know a map with so many sounds that the editor list needs to scroll?
among the official ddnet maps "Binary" has the most with 7, in my downloadedmaps folder the Warioware/Teeware map has the most with 35, it just barely creates a scroll bar in the editor
Avatar
Avatar
Robyt3
anyone know a map with so many sounds that the editor list needs to scroll?
Maybe try a smaller resolution?
Avatar
Avatar
Patiga
among the official ddnet maps "Binary" has the most with 7, in my downloadedmaps folder the Warioware/Teeware map has the most with 35, it just barely creates a scroll bar in the editor
thanks
Avatar
Avatar
Learath2
Maybe try a smaller resolution?
I think the UI will just get smaller then
10:16
but I can just duplicate some sounds to add more entries
Avatar
I guess you could also just create such a map yeah
10:16
Shouldn’t be too hard
Avatar
but adding 40 entries by hand would have been annoying
Avatar
you can append a map to itself to do it efficiently ^^
Avatar
Avatar
Patiga
you can append a map to itself to do it efficiently ^^
ah, true, does this allow sounds with the same name though?
Avatar
😄 exponential growth ftw
Avatar
I would think so, am not sure though
Avatar
@Robyt3 are we finally getting CScrollRegion? Celebrate
Avatar
Avatar
Patiga
I would think so, am not sure though
doesn't appear to duplicate the items
Avatar
Avatar
Learath2
@Robyt3 are we finally getting CScrollRegion? Celebrate
yes, it's almost ready for the editor layers, images and sounds lists
Avatar
gimme a sec
10:21
do you quickly have a small opus file?
10:22
the one I used to get 100 sounds resulted in 12 MB :/
Avatar
Avatar
[quakenet] ChillerDragon
@Patiga send help on map formats. What needs to change in ddnet client for 0.7 maps to be loadable. As of right now it seems to just crash the client when oining a 0.7 server. Do you know what changed in the map formats?
the smallest one I have is 1.2 MB itself
10:22
ah, sorry, wrong target
Avatar
ah got one with 30K
Avatar
@Chiller I can make a PR later to port some map format changes to we can load compressed tile layers
Avatar
6e66c23 Switch to new DDNet Brazil server sponsored by Miguilim - def-
Avatar
>>> import twmap >>> map = twmap.Map("/usr/share/ddnet/data/maps/dm1.map") >>> for i in range(100): ... s = map.sounds.new_from_file(<path-to-opus-file>) ... s.name = str(i + 1) ... >>> map.save("many_sounds.map")
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 (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-addres...
Avatar
45a20ff Only load and unload normal tile layer data if necessary - Robyt3 813522f Add/use temporary variables to improve readability - Robyt3 cebcc88 Merge #5735 - bors[bot]
12:01
6e53cbe Update translation stats - def-
12:04
8989105 Update hungarian language file (by Cellegen) - def- 818f9e8 Version 16.3 - def-
12:06
DDNet 16.3 is supposed to release in 1 week, assuming no bad bugs are found. Please test the Release Candidate to prevent problems being only discovered after release. Report bugs in the #bugs channel on DDNet Discord or directly on Github:
12:10
b50309d Move CUIRect class into its own files - Robyt3 49164df Improve argument names of CUIRect::Inside - Robyt3 680dd05 Add documentation for CUIRect::Inside - Robyt3 7b39080 Replace ui.h include with ui_rect.h, organize other includes - Robyt3 95550fd Move CRenderTools::DrawUIRect/4 to CUIRect::Draw/4 - Robyt3 51fb3e9 Merge CUIEx class into CUI - Robyt3 4826eb1 Merge #5730 - bors[bot]
Avatar
1a2b52c Update hungarian language file (by Cellegen) - def- b0a4454 Merge #5698 - bors[bot]
12:48
[ddnet/ddnet-web] New branch created: pr-16.3
Avatar
chillerdragon BOT 2022-08-14 13:05:21Z
Thanks. Joining a map without envelopes fixed the crash :) (@Patiga)
0.7 also has a new envelope type, bezier. I&#x27;m not sure if that causes a crash, but it is very possible
13:32
PepeA
Avatar
does anyone uses msys2 ?
14:08
cmake installed from there is not using bundled lib
Avatar
I do, but not very often
14:08
Even with the use bundled libs option?
14:09
14:09
but cmake installed manually does work
Avatar
Oh I bet it has sth to do with pkg-config being available in msys2. I had similar issues on macOS trying to get bundled libs used
Avatar
hmm, even if i remove pkg_config, it still fails
14:22
like, it's not even trying to find the lib at all
Avatar
You can run cmake in its most verbose mode to see where it's going astray. I had a lot of trouble figuring this out so I gave up on it. I just dynamically link to whatever the fuck it decides to link to, then I use install_name_tool to replace it with bundled or self compiled libs
14:29
Only @heinrich5991 master of all cmake can save us from this predicament
Avatar
well, i don't want to install all libs into msys
14:30
btw, if you know how to purge pacman, im also interested 😄
Avatar
Avatar
Chairn
well, i don't want to install all libs into msys
The message looks like it failed on vulkan stuff, do we even bundle that?
Avatar
ofc we do
14:36
it works fine on my manually installed cmake
14:36
it failed on all libs
Avatar
Can you try a cmake --trace?
14:38
It will be extremely verbose and I'm on my phone, but I can try to spot a couple things, maybe you could too
14:41
Thats atleast how I debugged the macOS issue back to pkgconfig
Avatar
i think it sets system name to MSYS and not Windows
14:41
which probably fails later
Avatar
That could do it
Avatar
lemme try to change cmakelist to see if it fixes it simply 🙂
Avatar
Maybe add a if in the cmakelists to set to windows if its msys?
Avatar
hmm, now it finds vulkan but not other libs yet
14:48
well, it doesn't find vulkan but still builds shaders
Avatar
hmm, it does set dependency on: /e/Teeworlds_DDNet/DDNet-fork/CMakeLists.txt(104): set(AUTO_DEPENDENCIES_DEFAULT ON )
Avatar
is there a way for trace to expand variable instead of just printing the line?
15:12
trace-expand 🙂
Avatar
well, --debug-find is the magic switch i think (edited)
15:26
hmmm: find_library considered the following locations: /e/Teeworlds_DDNet/DDNet-fork/ddnet-libs/curl/windows/lib64/(lib)curl(\.dll\.a|\.a)
15:26
why it doesn't just consider .dll ?
15:32
other cmake also considers .lib files
Avatar
.lib is a msvc thing, gcc on windows just allows this, doesnt mean its the "usual" way
15:39
in the gnu ecosystem
Avatar
  • Add a version item check in CMap.
  • Support loading maps with CMapItemLayerTilemap version 4, which makes use of the CTile::m_Skip member to compress tile layers.
  • TODO: Support loading maps with CMapItemEnvelope version 3, which adds additional members to CEnvPoint for bezier curves. Though I'm not sure how to handle it:
    • Alternative A: Add bezier curve support with loading and saving. But this would mean that any new maps would not be compatible with old clients.
    • Alt...
Avatar
Konsti:
17:28
17:28
Forbidden name
Avatar
@heinrich5991 I see you did some stuff to the log infrastructure lately. Trashmap is no longer seeing the "client dropped" and "player is ready" messages. They are logged like this. Console()->Print(IConsole::OUTPUT_LEVEL_ADDINFO, "server", aBuf); Any idea how I can reenable those? (edited)
Avatar
Increasing the loglevel from 2 to 3 fixed this. Some defaults seem to have changed during the log unification endeavor
Avatar
gh down? again?
Avatar
works fine for me
19:18
never mind, not it doesnt
Avatar
why is it always down when you need it
Avatar
because when you don't need it, you don't know it's down
Exported 156 message(s)