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-10-17 00:00:00Z and 2020-10-18 00:00:00Z
Avatar
Люди = быдло. Discord = провал 2020-10-17 05:14:56Z
GUYS
05:15
Hello and sorry for disturb
05:15
Why i have closed eyes for all tees on mine personal DDNET server?
05:15
what command to able use eyeemote
05:19
I mean: all tees on server have closed eyes, what command responding for it?
Avatar
close eyes may be because your tees are set as afk or you have /pause
05:45
@Люди = быдло. Discord = провал try to use command /emote
Avatar
have you tried other emotes than normal?
06:02
really weird thing
Avatar
If you are on fng There is an extra command for wheel and it must be set in cfg before start
Avatar
Люди = быдло. Discord = провал 2020-10-17 07:52:19Z
The problem was in non-working eye emotes, on server i cant do any eye emote, but i tryed to search for some functions to work it kind: svmax_afk_time; sv_input_info and another, but problem was in "sv_max_afk_vote_time" - (The time in seconds a player can be afk and his _votes still count (0 = disabled) 300) but cant imagine how VOTE VOICE TIME refers to EYE EMOTE. If somebody will have same problem, set "sv_max_afk_vote_time" to any number besides zero! I done!
Avatar
Люди = быдло. Discord = провал 2020-10-17 07:52:51Z
cant understand, sorry
07:53
@Deleted User About what extra command you told? And for what wheel: eye emote or just emote? (edited)
Avatar
Is it even fng server else nvm
Avatar
Люди = быдло. Discord = провал 2020-10-17 07:54:47Z
Yes, but i interested, please, can you explain more in details?
Avatar
Just read fng.cfg
07:55
And the github page
07:55
It explains everything
Avatar
Люди = быдло. Discord = провал 2020-10-17 07:56:00Z
oh, okay, thanks
Avatar
Statistics don't look good on phone
Avatar
I'll try to fix
Avatar
closes #3096 Since nobody expressed any opinions, how about we get this in and see some reactions. it is off by default anyway.
Avatar
@Lady Saavik better now?
Avatar
yes @deen thank you
Avatar
Making use of the skin downloader. Skin choice is based on your name, only active on October 31 and November 1 with events 1 in settings
Avatar
[quakenet] ChillerDragon BOT 2020-10-17 10:18:18Z
oof I expected to be able to rejoin with timeout after pkill -f DDNet seems like it sends a SIGTERM and ddnet closes and disconnects cleanly :/
Avatar
yes, use kill -9
Avatar
[quakenet] ChillerDragon BOT 2020-10-17 10:18:39Z
yea now i know
10:18
kill sounds so strong i should keep in mind it trys to be gentle
10:20
gnome bugged on me i never had something like this beofore :/
10:20
time to switch to KDE @Patiga :D
Avatar
https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-auto.html And fix the code: cmake -GNinja -DWEBSOCKETS=OFF -DMYSQL=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DVIDEORECORDER=ON -DAUTOUPDATE=OFF -DANTIBOT=OFF -DUPNP=OFF -DPREFER_BUNDLED_LIBS=OFF -DINFORM_UPDATE=OFF -DCMAKE_CXX_CLANG_TIDY="clang-tidy;--fix-errors" -DCMAKE_C_CLANG_TIDY="clang-tidy;--fix-errors" . Manually fixed sizeof(auto) in a few occurences (i.e. server.cpp:1359) First steps for #3088
Avatar
be sure to enable wobbly windows in the desktop effects!
Avatar
[quakenet] ChillerDragon BOT 2020-10-17 10:25:06Z
xd
10:25
omg it happend again
10:25
i blame ddnet client
10:25
ddnet is virused gnome crasher
10:27
ok it was a joke
10:27
but now im serious
10:27
when i get pinged in ddnet chat my gnome crashed
10:28
2 times in a row
Avatar
I think I nkow what's causing this
Avatar
[quakenet] ChillerDragon BOT 2020-10-17 10:28:43Z
cl_notifications 0 it is for now i guess
Avatar
8ce6de6d8e
10:28
try reverting that
Avatar
does anyone know the reasoning behind map sounds being allowed to be external btw?
Avatar
[quakenet] ChillerDragon BOT 2020-10-17 10:30:51Z
reverted can someone come ingame and ping me? :)
Avatar
just because it's the same in images
Avatar
[quakenet] ChillerDragon BOT 2020-10-17 10:31:12Z
surived ty @Patiga
10:31
deen too slow xd
Avatar
[quakenet] ChillerDragon BOT 2020-10-17 10:31:24Z
ok seems ur guess was right
Avatar
Seems to cause crashes in Gnome, for ChillerDragon at least This reverts commit 8ce6de6d8e520f96724d9e2c4c8da8f24e3e72a8.
Avatar
[quakenet] ChillerDragon BOT 2020-10-17 10:32:00Z
i wasnt running master before but the ddnet-git aur package but it should be the commit anyways
Avatar
ah ye i also dont really understand why the images are not automatically sorted into external/embedded
Avatar
[quakenet] ChillerDragon BOT 2020-10-17 10:32:28Z
oh cmn i lost map progress again due to CTRL-C xd
10:32
i suck
10:32
guess now i know
10:33
oh wait guys the test was flawed xd
10:33
i had cl_notifications 0
10:34
rip
10:35
ok @deen seems like reverting 8ce6de6d8e520f96724d9e2c4c8da8f24e3e72a8. did not help
10:36
i can try to bisect somewhen else but im currently in the middle of something
10:36
ill open a issue for now i guess
10:39
cl_notifications 1 and fullscreen using gnome or arch linux. If pinged in chat while being tabbed out gnome acts broken until relogging. I can do further testing if I find time. Reverting 8ce6de6d8e520f96724d9e2c4c8da8f24e3e72a8 did not help.
Avatar
[quakenet] ChillerDragon BOT 2020-10-17 10:42:02Z
lmao i manged to get pinged in chat in a message without my name xd https://zillyhuhn.com/cs/.1602931225.png
Avatar
https://en.wikipedia.org/wiki/GNOME_Shell Written in JavaScript and C it cannot be taken seriously 😄
GNOME Shell is the graphical shell of the GNOME desktop environment starting with version 3, which was released on April 6, 2011. It provides basic functions like launching applications, switching between windows and is also a widget engine. GNOME Shell replaced GNOME Panel an...
Avatar
[quakenet] ChillerDragon BOT 2020-10-17 10:52:00Z
both fine and fun languages
Avatar
you think using things like JS for core system components is OK?
10:55
a lot of people were making fun of Windows when it had some GUI things integrated in the kernel, and now core of main Linux desktop environment is written in JS.... 😄
Avatar
[quakenet] ChillerDragon BOT 2020-10-17 11:40:10Z
is the core written in js? tbh idk i thought its more for the extensions and stuff
11:40
btw coming from the dude who runs a electron app to chat xd
11:40
🔥
Avatar
Not one ddnet map has a embedded map sound since there are none which would work embedded.
Avatar
Discord's web version works well
12:51
no reason to use that Electron junk 😄
Avatar
Not much difference between running it in a browser or in electron. Might aswell get the better integration of electron
Avatar
when you run it in web browser, it can't mess with your system much (edited)
12:57
but with Electron it can
12:58
sneaking what apps are running etc
13:25
17e5313 Embed sounds by default - Patiga 996270a Merge #3120 - bors[bot]
Avatar
Multiple people have asked me why are their dummy/main tees sleeping when switched. Although hilarious, we should probably have a hint to tell players how to unpause, since they are most likely accidentally hit p before entering chat while chatting.
Avatar
[quakenet] ChillerDragon BOT 2020-10-17 14:59:41Z
I finished the grass_doodads svg version btw https://github.com/TeeworldsDB/mapres/blob/master/svg/grass_doodads_chiller.svg Idk how to export pngs from it properly and its untested but at least its finished xd
A sorted collection of teeworlds mapres. Contribute to TeeworldsDB/mapres development by creating an account on GitHub.
Avatar
nice looks good
Avatar
[quakenet] ChillerDragon BOT 2020-10-17 15:00:14Z
:)
15:08
186206d Fix and change text cursor - Jupeyy b93896b Merge #3112 - bors[bot]
Avatar
@heinrich5991 a2b3f45f8b105ebbd6e391c48a2c529ddb1ed09c broke our configurations
15:13
Cannot execute game command 'sv_team', put it into the map config or start the server with 'sv_test_cmds 1' to enable it most critically sv_solo_server
15:14
@deen is ger4 not compiling it's own server?
15:19
How is every single one of our servers running a different version? :/
justatest 1
Avatar
ChillerDragon: Want to add ultra hd option in client?
15:22
@Learath2 they are all built on ddnet.tw and scped from there
15:22
@Learath2 so solo server is currently broken? Should we quickly revert and deploy?
15:23
so all servers should run the same version, depending on when they last restarted of course
Avatar
I'm just going to revert 7e84e1ef43516beeab579a850d664242e91d2843 @heinrich5991 can re PR when he is around. We basically need some sort of unsafe-exec or atleast a time when we can unsafe-exec
Avatar
ok, thanks
Avatar
How do I get it to deploy to all servers btw?
Avatar
yeah, before map start would be great
15:23
ssh ddnet.tw "cd src; ./build.sh
15:23
"
15:24
~/servers/all-restart.sh afterwards to start running a bit earlier
15:24
also on ddnet.tw, no need to connect to the other servers manually (they are too many for that now anyway)
Avatar
[quakenet] ChillerDragon BOT 2020-10-17 15:26:30Z
@deen is this a question or a request?
Avatar
A joke/request/question combo
15:27
mostly just an idea of what we could do with the svgs
Avatar
Did you know that it's not trivial to revert merge commits?
15:28
revert all changes in the PR in reverse order
15:28
and squash that with git rebase -i master
15:28
is what I would do
Avatar
Odd that git doesn't have that as default
Avatar
[quakenet] ChillerDragon BOT 2020-10-17 15:29:56Z
@deen well i just made the individual doodads for my movie and website and did the whole tileset on request on Jupstar. I play in high res I would love to see better graphics but I currently do not plan to thinker with client code reagarding this
Avatar
I assume git revert -m with the correct parent would do that
Avatar
but apparently that has the weird behaviour of still leaving A and B in the repository, so after @heinrich5991 fixes it, re merging it would apparently only merge the new commits he makes
15:32
Git Source Code Mirror - This is a publish-only repository and all pull requests are ignored. Please follow Documentation/SubmittingPatches procedure for any of your improvements. - git/git
Avatar
ok, never used that
Avatar
@deen are you perhaps editing build.sh on ddnet.tw?
Avatar
I opened it in vim, but only read
15:35
because you asked me about it 😄
Avatar
I still think we should add the git hash of the server on the finishes
Avatar
would help with bugs
15:38
is it in the teehistorian files?
15:39
then we could extract it retroactively from all existing teehistorian files
Avatar
Yep it is
15:42
"server_version":"0.6.4, 15.0.5 (d3691bf221c2d6d2)"
Avatar
so basically we have the info already, it's just not so easy to access
Avatar
@deen Copying to servers seems to hang
Avatar
@Learath2 it's done slowly and some servers (CHN) can do 5 KB/s
Avatar
Hm, that might be a good reason to compile on those servers
Avatar
ps aux|grep scp shows the CHN servers are the ones
15:43
but git pull can also take 5-10 min or just fail
Avatar
Amazing 😄
Avatar
no one plays solo on CHN anyway, you could still restart the rest already
Avatar
is CHN last on the list though?
Avatar
they are copied at the same time
Avatar
Oh, great
Avatar
all others are done
Avatar
@deen btw cat: all-locations: No such file or directory we should probably make all our scripts cd to ~/servers
Avatar
oops, yeah
15:46
hi @TsFreddie
Avatar
Btw you could have put all-restart.sh in terms of execute-all.sh instead of restart-ddnet-on-empty.sh
Avatar
I didn't write that script, but feel free to rename
Avatar
saw you guys talking about CHN servers, and I realize I have no idea what you guys are doing
15:47
so carry on
Avatar
Solo servers are broken, Learath2 is reverting the change and deploying to serv ers
15:48
and CHN has slow internet to ddnet.tw main server
Avatar
oof. ye, you can probably close CHN solo servers, nobody would even notice
Avatar
There are no dedicated solo servers anyway
15:49
Okay that should be all the servers
15:49
now I'll join the servers they are cheating on and kill those by hand
Avatar
thonk wait so what is broken
Avatar
see #bugs, solo mode
15:51
so you can touch others
Avatar
@deen since we'll have to delete the solo ranks from today anyway, I'll just restart the solo servers that are running the old version even if people are playing on them
Avatar
how will you enforce that people don't change server type to solo on other running servers?
15:54
I think you have to pw-protect all, or alternatively remove solo option from votes (but that is super hacky)
15:54
(and disable /map)
Avatar
@deen hm, ok Ill pw-protect old servers
Avatar
Or remove all votes?
15:57
and disable sv_map
15:57
I mean most people never change map anyway
15:57
would be less painful
Avatar
so sv_map 0, clearvotes
Avatar
what about servers that are already solo?
Avatar
hard restart
15:59
or get in with gdb and set them to solo 😄
Avatar
I feel bad for the people playing 😄
15:59
I guess it has to be done
Avatar
Tell them you're sorry?
Avatar
Oh, version.h is broken again
16:07
@deen somehow servers running 282508 show up as 15.0.5. 282508 is 15.1.3 :/
16:10
Well apparently all servers show up as 15.0.5 bow
16:10
now*
Avatar
Ah, I know why
16:10
that's my fault
16:11
cmake caches the version and overwrites the one in version.h with a define
16:11
I have the same problem locally. A clean build should help. @heinrich5991 as the cmake expert might have a better idea
Avatar
Uh cmake gets it from version.h but caches it?
Avatar
[quakenet] ChillerDragon BOT 2020-10-17 16:11:41Z
i have no eye on the ddnet proj so idk baut current issues so maybe this is known already see kill feed https://zillyhuhn.com/cs/.1602950996.png
16:11
so that I can overwrite it for RCs and nightlies
Avatar
theoretically cmake automatically detects when the version changes by looking at the git dir
16:12
but we have consistently managed to break it
Avatar
ChillerDragon: how to reproduce? Not known to me
Avatar
as a precatuion, maybe it would be good to just delete version.h (or wherever that thing is) before the build on ddnet.tw
16:12
that information is kind of crucial and hard to see when it is wrong
Avatar
[quakenet] ChillerDragon BOT 2020-10-17 16:12:58Z
idk saw it first time @deen its probably the ppl reconnecting I can also provide the demo if it helps
Avatar
ChillerDragon: if the demo reproduces it, would be great
Avatar
[quakenet] ChillerDragon BOT 2020-10-17 16:13:23Z
k hope i dont forget after the run
Avatar
@heinrich5991 but version.h is not auto-generated, it just reads the define. I guess a touch version.h should work
Avatar
As a precaution we should always rm -rf the build dir and create a new one
Avatar
I do that for the releases
Avatar
I mean in build.sh
16:15
I was thinking maybe we should get rid of version.h
16:16
We could add a game/generated/version.h instead which cmake can generate
16:17
This reading from version.h sounds redundant to me
Avatar
The first three commits are safe The ones i'll add later will be inside the gamecore, so might alter behaviour. I'll see which ones are critical, but takes me some time i fixed most in #3081
Avatar
[quakenet] ChillerDragon BOT 2020-10-17 16:36:19Z
timeout code 123 last stage at Patchwork 6h time tho xd timeout any minute
Avatar
Okay, cmake seems to have no way to distinguish between a variable set in the cache and a variable set on the command line
17:19
nervous really can't beat real dyncam
17:19
me playing fng with my dyncam without changing habits. still suck at aim with that thing on.
17:20
but at least i won't feel sick i guess?
Avatar
@Learath2 did you delete ranks and teamranks on solo maps already?
Avatar
Not yet
Avatar
!2020-10-17-180507_401x333_scrot Right now it is impossible to have a working external sound. External sounds render unusable the moment the map is saved and given to another player. For the mapper it seems like everything is working since the mapper has the sound file. For anyone else it simply won't work. Since 1. there is no use for it and 2. it adds unnecessary complexity and conf...
Avatar
^ can i somehow view the 4 surpressed clang-tidy errors?
18:12
the first one is easy to fix, are the 4 surpressed ones irrelevant or do i first get to see them when i fixed the first one?
18:15
ah
18:15
'1 warning treated as error'
18:15
maybe shouldve read the whole message
Avatar
ChillerDragon: you around?
Avatar
☠BlackWolf☠ 2020-10-17 19:41:18Z
whats dis
19:41
oh
19:41
dev
Avatar
@Дядя Женя what gpu u have btw
Avatar
did you know that ssh reads from standard input?....
19:56
CHL really is one potato server...
Avatar
what's wrong with Chile?
Avatar
it's having trouble connecting to the debian mirror took like a minute
Avatar
oh well, not too bad
Avatar
recently they shut down the server every day for 4 days because they thought I didn't pay, bu tI did
19:57
and then they broke the system clock
19:58
and we noticed because people had finishes before maps were released
Avatar
anyway, I set up a little script to get the versions of finishes from teehistorian files on the servers
Avatar
Дядя Женя 2020-10-17 19:59:22Z
@Deleted User gigabyte gtx 1660 ti
Avatar
ty
Avatar
it doesn't have a fallback to our actual teehistorian database so it can only check however much we have on the servers, but I think that should be enough
Avatar
@Learath2 not sure I would do that straight on servers, might cause lags
20:00
maybe do it from our teehistorian mirrors
Avatar
it's rather trivial to parse the header
20:00
it's in json
Avatar
I'm still syncing back my teehistorian backup, so my server is not complete yet 😄
Avatar
@deen hm, /root/.ssh/authorized_keys doesn't seem to be the same on all servers
20:05
rus's seem to be missing ddnet.tw's
20:06
chl too
20:08
rus, chl, usa, jap, sgp, zaf all seem to be missing root@ddnet.tw's key on their root so the main server can't ssh to them
20:09
With this many servers we really should look into something like ansible to deploy these so they end up identical
Avatar
CHN3 can't even resolve it's debian mirror
20:18
even though it's mirror is located in china
20:22
idk who hosts http://mirrors.cloud.aliyuncs.com but it seems to be out of commision and chn6 and chn3 use it
Avatar
fix it
Avatar
looks like Alibaba's
Avatar
The apt settings are generated with some cloud magic I'm not familiar with, not sure if I'm allowed to even touch it
Avatar
There should be other mirrors. I remember both Peking university and tsinghua university host mirrors for a lot of things (edited)
20:27
清华大学开源软件镜像站,致力于为国内和校内用户提供高质量的开源软件镜像、Linux镜像源服务,帮助用户更方便地获取开源软件。本镜像站由清华大学TUNA团队负责维护。
20:27
They do
Avatar
debian has a load balancer mirror in cn too, the problem is idk where to change it 😛
tee_thinking 2
20:28
usually the mirror would just be used in /etc/apt/sources.list
Avatar
learath using a linux with systemd monkalaugh
Avatar
apt is not part of systemd yet thank god
Avatar
though it's the first time I've touched a system using cloud-init]
Avatar
Windows guy here, I'm out
20:30
Oh right can I get a role
Avatar
Which role would you like?
20:32
You are the music bot now
Avatar
Guix is an advanced distribution of the GNU operating system. Guix is technology that respects the freedom of computer users. You are free to run the system for any purpose, study how it works, improve it, and share it with the whole world.
20:32
stallman approved distro
20:32
monkalaugh
20:33
@Learath2 t it uses GNU Shepherd instead of the now ubiquitous systemd.
Avatar
Coded in scheme, lmao
Avatar
Guile is the GNU Ubiquitous Intelligent Language for Extensions, the official extension language for the GNU operating system.
Avatar
This is why we can't have nice things, people who can't stop creating their own languages
20:38
i dont see how this prevent nice things
Avatar
Person A wants to create nice thing A-thing, A instead creates awesome-A-lang then codes A-thing in said lang. No one can read thus contribute to A-thing. So A-thing will never be nice
20:40
u assume people wont learn A lang to do said thing
Avatar
That's a rather fair assumption. When is the last time you learned an entire language to contribute to something or use something?
Avatar
i love learning new languages
20:41
but i have yet to find a project in a language unknown to me
Avatar
Дядя Женя 2020-10-17 20:41:19Z
C++ for ddnet
Avatar
I personally just use an alternative that is in/uses the 7 or so languages that I (and most of the programmers out there) are familiar with
Avatar
atleast it looks cute
Avatar
I wouldn't learn Guile to contribute to Shepherd, I'd use/contribute to OpenRC, minix, runit, busybox
Avatar
wow discord ruins it
20:42
Avatar
Heh, transparencygang
Avatar
@Learath2 i would learn guile to contribute to GNU shepherd so gnu stallman recognizes me as a gnu propheyt
20:43
gnu guile*
Avatar
How can alibabas debian mirror die? :/
Avatar
Okay, tsinghua uni's mirror works fine
20:54
hope I didn't break anything 😛
Avatar
../src/engine/external/json-parser/json.c:402:65: runtime error: applying non-zero offset 5 to null pointer SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior ../src/engine/external/json-parser/json.c:402:65 in
Avatar
@Deleted User Should we exclude external?
Avatar
but still sounds bad?
Avatar
(we should probably update json.c)
Avatar
i just ran it with all
Avatar
maybe we pass in some bad json object?
Avatar
oh or that
Avatar
i dunno, but doesnt sound healthy xd, but could ofc be false positive (edited)
Avatar
I wonder what is null at L402
Avatar
CServerBrowser::LoadDDNetInfoJson()
20:59
that is the caller
Avatar
(*(json_char **) &top->u.object.values) += string_length + 1;
20:59
@Deleted User how did you figure out the caller btw?
Avatar
call stack from ubsan
21:00
UBSAN_OPTIONS=print_stacktrace=1
Avatar
fwiw east added the json parser 6 years ago, last commit on the json parser is from a year ago, an update might not be the worst idea
Avatar
I updated it to 1.1.0 3 years ago
21:04
And there has been no new release since then
21:04
Very low footprint JSON parser written in portable ANSI C - udp/json-parser
Avatar
@Deleted User can you print out the json we are passing json_parse_ex, see if it's malformed maybe?
21:06
(but even if a string is malformatted json the parser should not run into ub)
Avatar
@deen #3108
Avatar
If ppl see white textures its related to #2125 and you need to revert it, bcs thats not fixable, there is no extension for GL_GENERATE_MIPMAP or smth
Avatar
thats the fix
Avatar
Yes, let's merge that?
Avatar
Should we look into a more robust json parser?
Avatar
yes, then i am finally free again
Avatar
and should I downport it into a new instant release?
21:07
because next release will take a few weeks at least
Avatar
idc, just do what u want
21:07
i'll remove the gl code that is not 3.3 some day
21:08
and in 17 years we just default to 3.3
21:08
when teeworlds gets 30 years old
Avatar
ceefe30 Add workaround for CMake 2.8. Fix version caching - Learath2 fa0bdee Merge #3123 - bors[bot]
Avatar
I'd guess teeworlds will be staying with gl1 for a loong while
Avatar
fadd3e5 Make GL 1.5 default - Jupeyy ed42a44 Version 15.1.4 - def-
Avatar
@Deleted User u think anyone would be around in 17 years
21:09
will*
Avatar
i rq before
Avatar
Of course we'll all be around and discussing about whether we should finally add accounts
Avatar
btw @deen someone with intel had a crash even in gl 1.x ;D
Avatar
but dont tag me then
Avatar
btw @deen someone with intel had a crash even in gl 1.x ;D
@Deleted User then whats the point
21:10
of the downgrade
Avatar
How come you tell me this after I prepare the release
Avatar
i dont get tagged or blamed xD
Avatar
But you changed most of the graphics code
Avatar
@deen ???? i tagged u
Avatar
I wonder if an older client helps them not crash
Avatar
so there is something wrong in our code, but we can't reproduce it
Avatar
there is something wrong in intel xD
Avatar
but we had no such crash reports for years before
Avatar
i had no crash ever
21:11
atleast not one i provocated
Avatar
That's the "we can't reproduce it" part
21:12
I'd kill to see a crashdump :/
Avatar
@deen maybe the issue exist since forever but we didnt have enough players with x setups to get that
Avatar
Does it happen to anyone tech savvy enough to run it in a debugger?
21:12
its all normies
Avatar
@Ryozuki no chance
21:12
@Learath2 enough to integrate the crash reporter?
Avatar
@deen heh, I wish I had the time, maybe I can slowly work on it at nights
Avatar
https://cdn.discordapp.com/attachments/295908390956433410/767003311290843136/unknown.png this for example would be a proof for a bug OUTSIDE the gl code, bcs i checked and we never render such a huge quad, nor are we buffering chat text in not gl 3.3 in VRAM (edited)
Avatar
Maybe we should ask someone who had the crash to give us teamviewer access?
21:13
and we install a debugger?
Avatar
@deen I'd be willing to help someone with it but it needs to be someone patient
Avatar
the worst is most of times they dont even speak english
Avatar
Oh and someone that has good internet because Visual Studio is like 20G now
Avatar
Gotta love windows
Avatar
isnt mingw smaller
21:14
cant u debug there
Avatar
Does gdb work on Windows?
Avatar
Oh we actually cross-compile with mingw
21:14
I should be able to use gdb yeah
Avatar
yes
Avatar
but we don't have symbols, so I'll have to pray the crash still happens when I build on the guys computer :d
21:15
Anyway, find me someone and I'll make it happen
Avatar
Then let's make a special build with symbols for that
21:16
If we get 1 guy reporting this issue per day, there must 100 more who don't report it
Avatar
537f47d Make GL 1.5 default - Jupeyy 54c7a5b Merge #3108 - bors[bot]
Avatar
Oh, btw it's probably not the driver itself crashing, driver crashes lead to bsods on windows. It's probably either our code or the userspace part of the driver
21:17
it should be evident on the crash screen btw, if the userspace part of the driver crashes windows will tell them
Avatar
btw we did debug the crash
21:17
the one guy with the intel gpu and me
21:17
for like 1h
21:17
and found nothing
21:17
and when we updated his driver it instant worked
Avatar
It doesn't crash under debugging?
Avatar
so do you have some backtrace, where did it crash exactly?
Avatar
it random places
21:18
well it just didnt continue processing
21:18
so not a real crash, true
Avatar
it freezes?
Avatar
it doesnt show anything anymore
21:18
but that was different from intel to intel
Avatar
if you interrupt the program with a signal, where do you land? does it appear the program is still running?
Avatar
yes all threads were working
21:19
no infinite loops
21:19
nothing
Avatar
all threads are working as expected but nothing on the screen?
Avatar
yes
21:20
it internally died
21:20
and on other intel platform probs the same behaviour caused crashes
21:20
instead of, whatever u want to call this
Avatar
mh, graphics debugging I'm not really good at
Avatar
its not really possible
21:20
on linux maybe with open source drivers
21:21
but never heard of any bug or crash in linux the last 2-3 years
Avatar
Is there a way to make opengl verbose?
Avatar
yes
21:21
already did that, but nothing really interesting
Avatar
It'd be nice to have as a setting btw, something like gfx_debug 1 we can tell people to enable so we can see it in the logs
Avatar
it requires opengl 4.3 tho
21:22
xd
21:23
well atleast the driver needs to support it
Avatar
I seriously hate all the graphics people
Avatar
☠BlackWolf☠ 2020-10-17 21:23:38Z
I F3
Avatar
How did people debug their damn programs before 4.3 then???
Avatar
well amd and nvidia probs have tools
21:24
but no standard
Avatar
@Deleted User there are extensions for opengl 1.0 tho
Avatar
☠BlackWolf☠ 2020-10-17 21:24:39Z
U fix my problem @Deleted User
21:24
happy
Avatar
i fixed nothing XD
Avatar
☠BlackWolf☠ 2020-10-17 21:24:55Z
u did
21:24
:c
Avatar
intel fixed it for u
Avatar
☠BlackWolf☠ 2020-10-17 21:25:09Z
D:
Avatar
they successfully support gl 1.x
21:25
clap
Avatar
☠BlackWolf☠ 2020-10-17 21:25:27Z
brownbear
Avatar
@Learath2 btw its very hard to crash opengl
21:25
bascailly only when uploading or deleting buffers
21:26
everything else is defined somewhere in the specs
21:26
all drawing and shit is not allowed to crash
Avatar
how would you crash opengl anyway? it's just an api
Avatar
but it says what the impl has todo
21:26
so its more a standard
21:27
anyway, i gave tw a try for modernization, failed, doesn't matter whom to blame, me or intel
21:27
we'll stick with borderfix for the next 10 years 😄
Avatar
Wait, that means we need borderfix again?
Avatar
well we need all gl 1.x stuff again
Avatar
that was the idea of the new renderer xD
Avatar
so I need to also revert all the fixed graphics?
Avatar
nvidia and amd have like 90% marketshare.. so they all could easily get opengl 4.5 running
Avatar
just for 0.0001% of ppl
21:29
monkalaugh
Avatar
@Deleted User that is only for dgpu
21:29
Intel has 60-70% total gpu market share
Avatar
steam charts
21:29
i doubt
Avatar
everyone has intel cpus and they come with integrated gpus
Avatar
yes
21:30
wow
21:30
doesnt mean its used
Avatar
I have 4 computers in my household, all only with Intel
Avatar
@deen let's revert #3108 for now and try to debug instead?
Avatar
If ppl see white textures its related to #2125 and you need to revert it, bcs thats not fixable, there is no extension for GL_GENERATE_MIPMAP or smth
Avatar
Reverting all the graphics changes will be a whole mess
Avatar
yeah but if it doesnt work, it doesnt work xD
Avatar
and borderfix being necessary again is another mess 😛
Avatar
Is the 0.7 client crashing for these people too?
Avatar
I thought borderfix was independent since Teeworlds 0.7 also doesn't need borderfix and has opengl 1?
Avatar
the problem is 0.7 still uses mostly 1.x code
21:32
@deen i'm aware, they use 3d textures without mipmapping
21:33
@deen go in 0.7 load multimap into editor
21:33
zoom out
21:33
0.7 try is completly useless
21:33
if you dont create mipmaps you can also NOT use 3d textures
Avatar
As discussed with Lerath2, we should try to debug This reverts commit 537f47d11d8c637c36cb698f51ee654abff76e26.
Avatar
Are we linking to GLEW correctly?
Avatar
r we using glew?
Avatar
yes
Avatar
@Learath2 there are actually long error messages for glew linking specifically: https://ddnet.tw/downloads/win32.log
Avatar
@Deleted User are there things like validation layers for opengl? xd
Avatar
there is validateprogram
21:45
u can basically only crash opengl when creating binary data
Avatar
u may not crash opengl but u may be doing things wrong
21:46
and not know it
Avatar
or drawing too much
21:46
but we need a crash xd
Avatar
eh? what is even compiling glew.c??
Avatar
This should fix the warnings when linking to glew on windows
Avatar
@Deleted User does checking in order for KHR_debug, ARB_debug_output and AMD_debug_output sound about right?
Avatar
if it can output invalid buffers and draw calls yes
Avatar
ad3bc98 Revert "Make GL 1.5 default" - def- 2edec49 Merge #3126 - bors[bot]
Avatar
I just want to see what kind of output I can get out of it, not sure if it'll be helpful at all
Avatar
if its something different to invalid operations or smth yes
Avatar
No need to tell new players how to manually add a vote or load a map from rcon
22:09
22:19
be834b5 Also compile glew.c with GLEW_STATIC - Learath2 3fb24f7 Merge #3127 - bors[bot]
Avatar
wtf
22:27
was glew_static removed
22:29
how do i disable antibot on lan
Avatar
by not connecting bot
Avatar
In good news all our shaders are completely valid
22:52
in bad news I spent an hour trying to preprocess them in every configuration and write a script to get them out of tw
Avatar
Thank you for doing that
22:54
@heinrich5991 are ghost files easier to create from teehistorian than demos btw?
Avatar
@deen you could create limited ghost files in the same way as teehistorian2demo creates limited demos
22:59
ghost files also contain velocity, and hook position in addition to current position
Avatar
Hm, too bad. So need the full server to recreate ghost too
Avatar
yes, it was the intention to require the full server
23:00
to save less info
Avatar
Huh, surprisingly only 2 finishes on versions with broken solo
23:21
good thing I didn't nuke every solo/race run from today
justatest 2
Avatar
did you see the teamrank by N9?
Avatar
@louis lol wdym
Avatar
he wants kclient on lan server
23:34
the sv_ban_kclient option wasnt showing up in console
Avatar
does he want many tees
23:36
@louis just download the newest botless version of kclient, its not detected by that check and u can still use the 64 tees
Avatar
no botless doesnt work either
23:39
i might have an outdated kclient but there should be a way to disable anticheat on lan
Avatar
u do have outdated then
23:41
cus it should work
23:41
sv setting would be nice tho
Avatar
so i can test my fng bots
banhammer 4
23:45
troll
23:46
ban nouis
Avatar
I think we should introduce some kind of check list for PRs to help us remember what to look for. Some ideas:
  • Described the motivation of the change
  • Tested the change ingame
  • Provided screenshots if it is a visual change
  • Tested in combination with possibly related configuration options
  • Written a unit test if it works standalone, system.c especially
  • Considered possible null pointers and out of bounds array indexing
  • No physics changes affecting existing maps
Exported 547 message(s)