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 2020-08-22 00:00:00Z and 2020-08-23 00:00:00Z
Avatar
@nori afferim sana!
Avatar
But it could be finish without team
Avatar
Isn’t
01:58
Ingame it’s 46 Teamrank, only bugging on website
Avatar
what does ed_showkeys do (edited)
02:09
and is there any way to show my own key presses
Avatar
@louis yo do u kno if u can record dummy movements and have it be execute ?
05:36
executed ?
Avatar
nvm found it
Avatar
wtf repeat bot
Avatar
@Brokecdx- where did you see it ingame with 46?
Avatar
@deen your laptop from 2009, what gpu does it have? XD
Avatar
@Deleted User it's a thinkpad x200s. I got a second one though, by coincidence my girlfriend is still using the same laptop as me πŸ˜„ So I can also test Windows now
08:31
Intel Graphics Media Accelerator X4500MHD
Avatar
appearently opengl 2.1, would be nice
08:35
i added alot of fallback now, so even if you set the gfx_opengl_major to 4, it should atomatically detect that you are only on 2.1
Avatar
by making the image size a multiple of 2. Thanks to Jupeyy for analyzing and suggesting the fix.
Avatar
So I should test the PR you sent? What exactly do I need to do
Avatar
well first of all check if it works at all
08:36
and if it works at all we can test the fallback system
08:37
if that works too we could increase to opengl 3.0, so ppl have texture arrays, since most ppl have newer GPUs anyway
08:38
it should also be a bit faster , not alot but i added tile buffering, but not tile extension(like go out of map)
Avatar
@Brokecdx- I fixed it now. These problems really shouldn't be happening... Zwelf: Not sure if there is something still wrong
08:42
The log file was missing already
Avatar
@Deleted User can we use opengl 4 too as well? i saw u added some commits about opengl 4
Avatar
u can use any opengl version then
08:52
but opengl 3.3+ is always the same πŸ˜„
08:52
i didnt add opengl 4.5 specfic things yet
Avatar
@deen yes idk, it only happening to RUS i think? When i finish with rockus everything is fine on GER
Avatar
@deen same for gui_buttons.png btw
Avatar
does anyone have CMakeLists.txt for vanilla 0.6?
Avatar
@Deleted User so I tried on Windows. The original DDNet client loads, shows text, but no graphics (all white boxes). Yours shows the colorful thing in the start, no text, and then crashes
09:16
@Deleted User done for gui_buttons
Avatar
ok if not even the original ddnet client works, then rip xD
09:20
the new client should show the opengl version string in the console and maybe GLSL errors @deen
09:21
but thats the problem with opengl in general, it lacks support under windows before opengl 4.0 basically
Avatar
Btw is it really necessary supporting under opengl 2? opengl 2 released on 2004, under versions are very old
Avatar
well. imo anything older than 10years isn't really worth it, but we indeed have quite a few ppl here using opengl 1.4
Avatar
@Deleted User It wasn't the SDL2 upgrade that broke it btw, DDNet 10 still worked, but lagged quite hard (as did DDNet 9)
09:24
maybe the Windows driver just sucks for OpenGL, on Linux I still use the same laptop just fine with multiple ddnet clients
Avatar
yeah, linux is much better with opengl
09:24
ok, well @deen you can ofc try gfx_opengl_major 1; gfx_opengl_minor 4; it will disable the mipmap generation
09:25
i cannot really think of anything else that changed in the older GL backend
09:25
and text for example does not use mipmap generation
09:26
and white textures are basically always an indicator for broken texture completness(so mipmapping, or sampler config)
Avatar
on Linux it works fine, fallback from opengl 4 -> 3.3 -> ... -> 2.0 works fine too
Avatar
OK at least some good news xd
Avatar
i'm in sunny side up like 5 mins and my rank just doesn't load, /rank won't answer as well
Avatar
@nori can happen sometimes if the server get a dos attack (at least from what I know from kog server).
Avatar
after 6 mins it's loaded but still rank commands won't answer
10:10
hm strange
Avatar
(not 100% sure with my answer, I'm not into coding or anything. Just my guess)
Avatar
@nori i know what the problem is and it will be fixed soon. The problem is just that the servers aren't going empty so we can't restart them
Avatar
@nori i found a quick fix, works now?
Avatar
@Learath2 I used your iptables nat and it works ok once the connection failed once, better than nothing
Avatar
Don't forget to enable ip forwarding
Avatar
@deen maybe we could force the connection to fail somehow
Avatar
@nori fixing your bug caused another bug, ddnet servers were not showing up in internet tab. Oops...
justatest 1
Avatar
I'm getting "No master servers" on Korea and CHN(1). Weird
14:46
@heinrich5991 @Learath2 any experiences with this? ^
14:46
There are no iptables rules, so I'm not sure
Avatar
Noticed by Lwai on Discord, caused him to have a map finish from test server before the map was even released.
Avatar
regsixup works correctly, but register doesn't
Avatar
tcpdump confirms that the master servers are not responding to us (0.6 only), while 0.7 replies
Avatar
did they close the servers?
15:33
for 0.6
Avatar
no, running
15:37
just these 2 servers can't register
Avatar
@Deleted User gfx_opengl_major 1; gfx_opengl_minor 4 works better, but still a few white boxes left
15:54
better even than the current ddnet release
Avatar
Zwelf: Does it help to reduce the number of sql servers? Will that make things simpler to have just 1 write server globally and file fallback?
Avatar
with embedded texture in the maps there will always be some white textures =\
Avatar
@redix i'm not familiar with our graphics, why?
Avatar
because mappers dont check if they are power of 2
Avatar
and it's not just in the map, also the heart and lock symbol in server browser
Avatar
well they can be fixed but you cannot fix all maps
Avatar
I went through all DDNet maps and made the tile maps powers of 2
Avatar
didn't know it should also be done for quad graphics
Avatar
everything in the game i think
Avatar
the reason I did it was so we can easier convert maps to TW0.7 since the maps there have this limitation for tile layer graphics
16:11
Can't we scale it in memory and then use that as a fallback?
Avatar
sure but i dont think there is a suitable scaling algorithm in the code right now
16:16
well the is a Rescale function in the backend. should probably be enough
Avatar
For compatibility with old GPUs. As discussed with redix on Discord. @Jupeyy thoughts?
Avatar
Yeah thought about that to, but only want this in gl1 context tbh.. Now I can easily apply patches like that
Avatar
[freenode] Zwelf BOT 2020-08-22 18:10:38Z
@deen: yes would make the sql writing/updating less error prone. E.g. the /save corner cases when reading from the same ddnet server (e.g. GER2), but different MySQL server.
Avatar
@heinrich5991 @Learath2 let's get rid of the db replication and run only one?
Avatar
can all servers reliably reach one other server?
18:51
especially china?
Avatar
well, would be nicer to have fallbacks, but the replication has also been causing a few problems
18:53
we can then also get rid of the country in save
Avatar
@deen you can try the new commit
19:19
it will hopefully fallback to opengl 1.5 now with a clean config and will resize images that arent power of two (edited)
Avatar
c5bba96 Clarify sv_use_sql config description - Zwelf 7ec6ed0 Merge #2629 - bors[bot]
Avatar
@Deleted User if(GLEW_ARB_texture_non_power_of_two || pCommand->m_GlewMajor > 2) shouldn't it be >= 2? i think opengl 2 requires support for non power of 2 textures, but does not necessarily list ARB_texture_non_power_of_two
Avatar
you are absolutly right but look here: https://www.khronos.org/opengl/wiki/NPOT_Texture "older hardware"
19:51
seems like they just didnt care and said opengl 2.0 is supported πŸ˜„
Avatar
okay... πŸ˜„
Avatar
the chance that the driver is buggy if it doesnt list that extension is higher than that it isnt listed and 2.0 is supported xD
19:51
atleast i guess so
Avatar
yeah probably
Avatar
@deen I think we should have atleast one server mirroring so we don't lose all our data in a catastrophe
Avatar
deen takes daily backups AFAIK
20:54
much better server admin than I am
Avatar
im not sure if this was intended, but like when u save a run and load it u cant do /r if u go in practice mode, it will just be the location where u fell in freeze but not the previous location where you were unfrozen
Avatar
@Learath2 I have daily backups of the full server and the database, but only keep them 3 days back actually.
Avatar
5e069a4 Fix ddnet-libs version to master - def-
Avatar
Anyone here who is good with iptables? Somehow I fail to even do a simple rate-limit on udp on specific packets... (not by ip)
23:04
updated the client, rip now
23:04
help
Avatar
@deen sudo iptables -t mangle -A PREROUTING -p udp -s 1.2.3.4 -j newchain sudo iptables -t mangle -N newchain sudo iptables -t mangle -A newchain -p udp -m limit --limit 50/s --limit-burst 100 -j ACCEPT sudo iptables -t mangle -A newchain -p udp -j DROP except instead of -s 1.2.3.4 u choose whatever way u wanna match packets?
Avatar
@Virus2k help with what
Avatar
you started ddnet-server instead ddnet client (edited)
Avatar
i see i see
23:14
thought its the "new" exe
23:15
since i dont have one anymore after the update
23:15
it just killed my whole client somehow
23:15
can someone give me the starting exe?
Avatar
just download it again
23:18
just give exe
Avatar
does anyone know why my server has "trouble" with 0.6 masters? i mean, it works, it registeres, but these messages are quite spammy...
Avatar
@noby @deen instead of -j ACCEPT there's also a suggestion to use -j RETURN, which will just exit the created chain and continue to check with the next rules
πŸ‘ 1
Exported 138 message(s)