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 2021-01-12 00:00:00Z and 2021-01-13 00:00:00Z
To have a smooth image I need to turn off vsync and up the cl_refresh_rate value. I have a 144hz monitor, and I keep the cl_refresh_rate at about 500 to fix this. Without any fps-limit I get at lea...
I disagree. If the internal framerate is not synced to the monitor framerate, then you will render some frames when they are quite old, others fresh, so it will stutter
You should at most get a doubled frame every once in a while, not large stutters tho, no?
deen
I disagree. If the internal framerate is not synced to the monitor framerate, then you will render some frames when they are quite old, others fresh, so it will stutter
you could try turning of texts on maps just amke sure u read everyhting beforehand incase it explains how to do a step, you can turn it off with PageUp buton
Sunny Side Up map actually was 150+ FPS so that's not a good baseline, but also the server was empty which may have an effect. I tried turning on vsync but immediately noticed a slight delay when hooking stuff.
you could try turning of texts on maps just amke sure u read everyhting beforehand incase it explains how to do a step, you can turn it off with PageUp buton
Ok I enabled OpenGL 3.3, unchecked "Use high DPI", turned off score and healthbar in the HUD, put overlay entities slider to off, and turned off text entities.
Now I am getting 500-800 FPS depending on the map. Night and day difference
Btw the slight delay with vsync is usually so very slight that it isnโt much of a disadvantage, itโs something you can get used to within a day or two
I played quite fine at 90ms ping with vsync, itโs just a matter of getting used to. Even 200ms you can tolerate as long as your partner isnโt moving around in a stupid manner
95% of people are casuals, and as a member of the homo sapiens species they possess the ability to tolerate small delays in the order of miliseconds. Most people I know prefer playing without screen tearing and donโt own high refresh rate monitors
learath ik but my fps is noticeably higher and it feels better to play on and it makes the fans shutoff so id gladly take those 3 advantages over slightly worse looking buttons and text
14:31
plus it looks fine to me anyway, wouldnt describe it as looking like shit lol
For the record, I can run ddnet10 without throttling even. Without throttling (and out of the box on steam) the current patch makes my mac a toaster oven
14:34
But ofc, itโs never our fault. Every other game runs just fine, but itโs obviously not our fault
Anyway, as always, you know best. I donโt even know why I ever talk about any subject as none of you here respect my opinion as much as a doormats opinion on any subject except maybe heinrich
The burden of proof is on the one with extraordinary claims, so you need to show how you start from your claim and get to a fundamental truth. You canโt just say itโs fact without any support for it
14:40
Immigration is bad. Itโs fact
14:40
There letโs deport every immigrant, no discussion needed itโs just fact
well i just dont care, i played this game so much, i know what i like, and if somebody wants best experience, he wants atleast what i would say is best experience or better
In the endless pursuit of more and more fps we have lost our sight of the real goal. You want the screen to render a new frame every single refresh, nothing more
[ 45%] Building CXX object CMakeFiles/DDNet.dir/src/engine/client/backend_sdl.cpp.o
In file included from /Users/nobody1/ddnet/src/engine/client/backend_sdl.cpp:15:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:317:9: error: no member
named 'signbit' in the global namespace
using ::signbit;
~~^
In file included from /Users/nobody1/ddnet/src/base/system.h:18:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/stdlib.h:93:15: fatal error:
'stdlib.h' file not found
#include_next <stdlib.h>
^~~~~~
uh? xd
On macOS two different versions of the sdks includedirs can end up in the compilation line. I even figured out why it happens. I just donโt know how to fix it. Iโve decided cmake is just very meh on macOS
example:
cpu renders no frame
goes into sleep
but 1 nanosecond later it could have rendered the frame
so it wakes up some point
has todo the simulation
has to prepare rendercalls
=> delay
15:36
you might be able to use the FPS (if its stable enough) to predict when to wake up
okay, let me rephrase what I want to do, it seems to me that you're not quite saying the same thing as I do
15:47
the way "unlimited fps" helps reduce input lag is that it continuously renders new frames, so it also renders a new frame just before the graphics driver swaps the output buffer
15:47
we're wasting a lot of renders that we basically know won't get displayed anyway, namely right after that swap, we know that there won't be any more swaps for 16ms
15:48
so if we knew the moment of the swap, we could pause our rendering until just a couple of frame times before the next swap, rendering a couple of times until the swap comes and then pausing again
well i can only tell ya
u render the full rendercalls offscreen, and as soon as u swap the buffer it is probably updating internally to the monitor stream
so every frame we render above that is wasted. we might not be able to eliminate that waste because we're not able to predict the future, but it's still wasted
it can render half of the old frame and half of the new
15:59
in theory u could also say, ur eyes follow from top left to bottomr ight and it only updates a small potion and then u would have somthing that is more than 60hz on 60hz monitor xd
The Rust SQL Toolkit. An async, pure Rust SQL crate featuring compile-time checked queries without a DSL. Supports PostgreSQL, MySQL, SQLite, and MSSQL. - launchbadge/sqlx
17:42
features compile time checked sql instructions (if they are not dynamic)
I don't force anyone
The ask for "0.7 refactoring" CR supposed to be in the context of "anyone up 4 an ATH 0.7 rewrite?" and "you can start by helping to update ddnet client to 0.7 "
I consider "helping to update ddnet client to 0.7" to include "review 0.7 backports".