this post was submitted on 13 Sep 2023
113 points (90.6% liked)

Linux

48077 readers
1247 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
all 45 comments
sorted by: hot top controversial new old
[–] [email protected] 40 points 1 year ago (1 children)

I started the video thinking "huh, that's neat I guess" and then I was more and more impressed as the video went on. This would be pretty revolutionary in how it could change your workflow. It's the kind of feature that would get me to switch from Gnome to KDE if it was only supported fully in the latter.

[–] [email protected] 16 points 1 year ago

Very similar experience. He did a good job of building to the "Ok but why does this matter" aspect of it all

[–] [email protected] 34 points 1 year ago (1 children)

It's not just about crashes. You can switch compositor without logging out or save save the full state of an app to disk to 'sleep' the app if you are short of memory. I'm sure people will think of other possibilities too.

[–] [email protected] 25 points 1 year ago (1 children)

I'm a big fan of high availability software rollouts. It would be interesting to see this do a live update where you spin up the new compositor, run some test on it, if it passes hand off, if that succeds kill the old one. Minimal disruption for the end user.

Kind of neat for desktop users, but for kiosks or other always running GUIs its super cool to me

[–] gamma 22 points 1 year ago (3 children)

Valve should get on this for gamescope, imagine Steam Deck doing a system update without closing your game.

[–] [email protected] 4 points 1 year ago

The Steam Deck is immutable aka image based and I am not sure if Steam isn't part of that image too or what effects that would have but it definitely would be a cool feature!

[–] [email protected] 2 points 1 year ago (1 children)

For SteamOS this would manifest as seamless transitions between gamescope and desktop mode, which atm needs you to log out of one session to log into the other.

[–] [email protected] 2 points 1 year ago

@merthyr1831
Honestly this would be a game changer for me, and I already love my SteamDeck
@gamma

[–] [email protected] 1 points 1 year ago

Exactly a great use case!

[–] [email protected] 22 points 1 year ago
[–] [email protected] 9 points 1 year ago

With all the Linux on mobile work, one thing I was wondering about is how Android (and iOS too, I think) can just stop apps running in the background if it thinks they won't be opened any time soon, to save energy, and how apps must therefore be programmed to be able to handle that gracefully. There has been a lot of focus on making apps adapt to the screen size, but not so much on making them save energy like that - I wonder if this work could enable that in one go for whole classes of apps?

[–] [email protected] 8 points 1 year ago* (last edited 1 year ago)

This doesn't seem so insignificant anymore.

[–] [email protected] 8 points 1 year ago (4 children)

It's a nice feature in theory. In practice, the sort of crash this guards against happens to me no more than once a year. Often more rarely. And I'm including all my machines in this anecdata - my personal desktop, laptop, corporate workstation, with Intel and NVIDIA GPUs in the mix. 😄

[–] [email protected] 16 points 1 year ago* (last edited 1 year ago)

I believe it's possible to turn this into a very robust hibernation feature.

[–] [email protected] 11 points 1 year ago

In the video he provides additional use cases outside of crashes. If I'm understanding it correctly, one is the ability to seamlessly transition across and/or run multiple DE's in real-time, and the second is reimagining app loading by being able to restore apps from the disk as if they never left RAM. Someone please correct me if I misinterpreted this

[–] [email protected] 10 points 1 year ago

In addition this feature makes debugging and developing KWin much easier because you can just restart the compositor without interrupting your workflow.

[–] [email protected] 9 points 1 year ago (1 children)

Well, that's probably because you're running XOrg.

Badum-bum-tish I'll be here all night.

[–] [email protected] 7 points 1 year ago

Hahaha. You know what, I thought that'd be the case but I've been on Wayland on my Framework since Ubuntu 20.04 LTS and I'm baffled at the stability of the stack. I thought it'd be a shit show, and it wasn't. I guess a decade of development didn't go in vain. 😄

[–] [email protected] 6 points 1 year ago

This would be an incredible QoL improvement for gaming, at least until all compositors reach feature parity. Imagine using your preferred compositor for everyday tasks, quick-switching to another one that supports VRR and/or HDR while gaming, and then back again, all without logging out and logging in again.

[–] [email protected] 2 points 1 year ago

There was also a talk at GUADEC that discussed this exact feature but even more fleshed out, I believe for GNOME. It was reminiscent of iOS or Android’s sleep and resume capabilities for apps.