Guild icon
DDraceNetwork
DDraceNetwork / questions
For newcomers to ask questions and get help. Also check https://wiki.ddnet.org/wiki/FAQ
Between 2023-04-29 00:00:00Z and 2023-04-30 00:00:00Z
Avatar
Hey, I'm on EndevourOS, and I have only 60fps in DDNet on wayland session, although I set refresh rate to 300Hz
09:34
On Xorg session i get values ~3000fps (without limit, if i limit to 300 its 300)
Avatar
vsync off?
Avatar
vsync is off
Avatar
wayland forced vsync off?
09:34
outside of ddnet
Avatar
am, can I do this?
Avatar
what desktop do you use?
Avatar
Actually thats true i have forced vsync on
09:35
because when i turn to 144hz i get 144 fps
09:35
I have nvidia gtx 960, maybe thats the problem? (with drivers)
Avatar
i dunno, i just know that wayland added a option last year to disable forced vsync
09:36
and at least KDE also has an option for that
Avatar
luckily i have plasma, so do you know how to do that?
Avatar
let me switch to wayland, it was somewhere in the display settings
09:38
maybe it was this
09:38
let me try with ddnet
Avatar
I disabled it rn and its the same
Avatar
in f1, do you see anything like this: "vulkan: warning: requested presentation mode was not available. falling back to mailbox / fifo relaxed."
Avatar
I don't use vulkan, I use opengl 3.3
09:40
And so no errors i see
Avatar
oh well then it might be an nvidia thing indeed
Avatar
nvidia doesnt use mesa so it might not be as well supported
09:41
can u try vulkan, or does it not start?
Avatar
Vulkan works, the same 60 fps
09:42
Ill check logs
09:43
No error heh
Avatar
can you start ddnet from terminal __GL_SYNC_TO_VBLANK=0 DDNet
09:44
might only work with opengl, dunno
Avatar
Still the same
Avatar
mhh weird, did you check the nvidia settings?
09:47
on AMD with mesa i get full fps, tho tbf i also cannot request a immediate mode (full fps + tearing)
Avatar
No option in settings
09:49
Hm, or maybe is there a way to tell DDNet to run in xwayland?
Avatar
it depends on SDL but yes
09:50
SDL_VIDEODRIVER=x11 DDNet SDL_VIDEODRIVER=wayland DDNet
09:50
it's quite possible that it runs on xwayland anyway btw
09:50
i think SDL will change this in SDL 3.x
Avatar
Hm no difference still
09:52
But thats weird
09:52
Because on X11 it just works
09:52
And on wayland / xwayland no
Avatar
well wayland is simply still far away from stable
09:52
even if they advertise it otherwise
09:52
and nvidia probably didnt care for a long time
09:53
Okay, tysm for your time legend
09:54
so fast help
09:54
youre like paramedic ;P
Avatar
xdd
Avatar
In their desire to kill x11 as quickly as possible they rushed wayland out without finishing it
Avatar
Yeah, wayland is so young though its initial release was in 2008
09:59
I mean it is already old and still not good enough to replace x11 (edited)
Avatar
well at least it is close 😄 but if u look into the freedesktop repos u'll see they often take months if not years to merge stuff
10:00
Use the tearing-control-unstable-v1 protocol to indicate to the Wayland compositor that tearing is acceptable. See
10:00
it was opened 8 months ago
10:00
and now they are close to merging it xD
10:00
This protocol is meant to be used by drivers to be able to hint to the compositor if and when it should employ asynchronous page flips for presentation....
10:02
Why is it taking years btw?
10:02
Though a big company is behind it
10:02
Canonical
Avatar
Even before those didn't they argue for another year whether tearing is even acceptable?
Avatar
Or the code is a messy ...
Avatar
Avatar
Learath2
Even before those didn't they argue for another year whether tearing is even acceptable?
yes
Avatar
Avatar
Aniak
Though a big company is behind it
Canonical is not big enough, if it was google and they needed it for the next android release wayland would be mature in 2 days 😛
Avatar
no shit haha
Avatar
i can only assume that the maintainers are blockers, e.g. it's moving to fast for them.. too few ppl for too much stuff maybe it's simply not very attractive. Also they probably have a bit of pressure to not destroy everything xD
10:04
wayland was simply rushed as learath said
10:04
if they took more time to prototype it might have worked better
Avatar
They rushed it in 2008 without prototyping, and so they have to prototype it dynamically rn
Avatar
yeah, kinda tru xD
Avatar
Is there a thread or sth where bugs and weird mechanics like sg bugs, pirofly, freezejumps etc. are documented? couldn't find much in the wiki tee_thinking
Avatar
bcs u look for bug, while it is a feature
17:44
guess there is nothing like that directly
17:45
https://wiki.ddnet.org/wiki/Freeze#Freeze_Jump they are mentioned but only where it makes sense
Avatar
I see, so expanding wiki it is. thanks anyway!
Avatar
link to archive of all maps from testing?
Avatar
Avatar
Steinchen
link to archive of all maps from testing?
Avatar
thx!
Exported 83 message(s)