this post was submitted on 07 Jun 2024
180 points (98.4% liked)

Linux

47457 readers
1152 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Neat little thing I just noticed, might be known but I never head of it before: apparently, a Wayland window can vsync to at least 3 monitors with different refresh rates at the same time.

I have 3 monitors, at 60 Hz, 144 Hz, and 60 Hz from left to right. I was using glxgears to test something, and noticed when I put the window between the monitors, it'll sync to a weird refresh rate of about 193 fps. I stretched it to span all 3 monitors, and it locked at about 243 fps. It seems to oscillate between 242.5 and 243.5 gradually back and forth. So apparently, it's mixing the vsync signals together and ensuring every monitor's got a fresh frame while sharing frames when the vsyncs line up.

I knew Wayland was big on "every frame is perfect", but I didn't expect that to work even across 3 monitors at once! We've come a long, long way in the graphics stack. I expected it to sync to the 144Hz monitor and just tear or hiccup on the other ones.

you are viewing a single comment's thread
view the rest of the comments
[–] lung@lemmy.world 27 points 3 months ago (1 children)

Super apparent performance on my ancient Chromebook with barely any resources. Beautiful animations that make it look like a modern laptop, well, until ram runs out. It can run about 3x as much stuff compared to stock ChromeOS. Love this with Pipewire, Linux a/v is honestly better than both osx and windows now and I'm so impressed. Can even do pro audio type stuff where you route the a/v from one app to another. It's worth losing all the network ability that X11 has

[–] Max_P@lemmy.max-p.me 14 points 3 months ago (1 children)

Yeah, also pretty excited about PipeWire, the video stuff opens a ton of doors for OBS and broadcasting in general on Linux.

It's worth losing all the network ability that X11 has

Waypipe is pretty good, can totally watch YouTube over SSH into a VM. It uses video codecs for compression, so in theory it can probably even get extended into game streaming. Probably not so great on low bandwidth environments but it's not like modern apps use Xlib anyway, it's all rendered by the client.

DEs are also implementing compositor level RDP support, which brings in a ton of room for properly optimizing remote access.

[–] lung@lemmy.world 5 points 3 months ago (1 children)

Yeah I mean it's still kinda cool. X protocol is vector based iirc, and you can just set up xauth and use ssh -X to forward windows over ssh

Anyway I'm sure this doesn't matter today, and the performance sucks for typical use

[–] wewbull@feddit.uk 3 points 3 months ago

It does matter in distributed application on LANs. The thin client model is still in operation at a lot of HPC and similar environments. Laptops and Desktops just display what is being done elsewhere.

Remote X11 is a better user experience in that environment than anything else I've tried. It feels like the application is local even if it's not.