Top
Best
New

Posted by hoechst 9 hours ago

Measuring Input Latency on Linux: X11 vs. Wayland, VRR, and DXVK(marco-nett.de)
341 points | 220 commentspage 5
calvinmorrison 8 hours ago|
X11 is a protocol. Xorg is an end of life'd project run by the Wayland team.

Xlibre is an actively developed and maintained X11 protocol display server.

Xfree86 is dead, long live Xorg. Xorg is dead, long live Xlibre!

anthk 6 hours ago|
Xenocara does it better than XLibre.
feverzsj 8 hours ago||
Yes, we know wayland is not only slower but also with much less features.
xyst 8 hours ago||
Very interesting analysis and setup.

I wonder what is considered "unnecessary programs" by the author. Is "apparmor" or sandboxing considered in this? Or just user space applications (browser, discord, …).

I wonder if input latency would be improved if you ran setup as `root`. I wouldn’t do it for security sake, but just curious

hoechst 4 hours ago|
Hi, OP here. I just made sure no other user space application were running. Something that basically can be reasonable expected by a person that cares about game performance to do. For example, no one would stop sshd before their gaming session, but closing a Browser is reasonable imo.

That said, this is a pure gaming PC with a Desktop Linux installed, it's not like there's a lot running on there in the first place: no 5 random docker containers, no AppArmor and nothing in kernel space other than what comes by default with CachyOS.

esseph 9 hours ago||
From the "Similar Efforts" section toward the bottom:

---

David Ramiro built his m2p-latency and compared X11 vs Wayland in his article Building an Input Latency Meter (Because ‘Wayland Feels Off’ Isn’t a Metric) as well, coming to similar conclusions:

Native Wayland is on par with native X11 (all tied at ~7 ms), while XWayland roughly doubled the latency in his tests.

farnoy did extensive testing with the Open-Source-LDAT in his post Linux latency measurements and compositor tuning, also concluding that XWayland should be avoided.

delusional 6 hours ago||
Hey, I made one of these too[1]. One of the cool things about my implementation is that the sample loop is carefully written in cycle counted assembly to sample the ADC of the teensy 2.0 at the absolute maximum frequency. I like your blogpost a lot more than mine though.

[1] Github: https://github.com/DelusionalLogic/Frametime, Blogpost: https://www.jnsn.dev/posts/frametime/, and followup: https://www.jnsn.dev/posts/fastisslow/

hoechst 4 hours ago|
That's awesome, odd that I did not come across your project when i was researching this. I'll make sure to read your posts and source code.
heyyyshiv 6 hours ago||
great
inigyou 7 hours ago|
This website uses IP address blocking to censor itself, and deserves to be publicly shamed for it. Here's an archive link: https://archive.is/hrYZ6
hoechst 7 hours ago|
Hello, this is my website and I do not know what you mean by this. If you give me technical details (like the subnet your operating out of), I can take a look at it.

My webserver is using crowdsec (https://www.crowdsec.net) to ban malicious IPs and I would guess that you are somehow unintentionally affected by this.

You can also test your IP by entering it into the crowdsec website to see if it is affected.

inigyou 6 hours ago||
There you go then. Thank you for confirming my determination of IP blocking. The archive link above may work for the users you censor.

Paying $1900/month for an IP address blocklist for a website? Yikes.

hoechst 5 hours ago|||
Yes, I am determined to shield my servers from malicious actors and bots that attempt to exploit it. This sometimes can lead to false positives and I am willing and cooperative in rectifying this to allow open access to real people that want to access the services I provide and make sure stuff like this won't happen again.

The security and availability of my servers is as important to me as the ability for anyone to access the public services I provide. Which is why I responded to you immediately and asked for your cooperation to help me fix the problem.

You not being cooperative helps no one. Not yourself, not other people with the same issue and not me who's trying to fix it.

Crowdsec is free btw, I do not pay anything.

inigyou 3 hours ago||
The most secure shield is to drop 0.0.0.0/0. IP addresses can't be malicious - they are just numbers.
abhinavk 5 hours ago|||
That's the price of Enterprise/Business plan. He might be using the free community version.