this post was submitted on 25 Dec 2024
22 points (100.0% liked)

Linux

82 readers
29 users here now

A community for everything relating to the linux operating system

Also check out !linux_memes@programming.dev

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 2 years ago
MODERATORS
top 31 comments
sorted by: hot top controversial new old
[–] bleistift2@sopuli.xyz 45 points 3 weeks ago* (last edited 3 weeks ago) (1 children)
  1. Built-in Local AI Assistant

Yess, because if I’ve learned one thing in the past year, then it’s that users love AI being shoved into everything!

Why stop at an AI assistant? Build AI into the kernel, I say! Let AI handle system calls, so everyone can be a low-level programmer! The kernel will just guess what your intentions were!

[–] e8d79@discuss.tchncs.de 10 points 3 weeks ago

This is the author telling on themself, the whole article was probably generated by a LLM.

[–] addie@feddit.uk 27 points 3 weeks ago (2 children)

Finish the transition from X to Wayland?

[–] bleistift2@sopuli.xyz 5 points 3 weeks ago* (last edited 3 weeks ago) (3 children)

I’m not a super-savvy user. Can someone explain to me why I should care about X vs Wayland? Everything seems to work with X, and as I’ve just read, many programs don’t support Wayland. So will this transition just lead to lots of broken software once someone decides they won’t ship with X by default anymore?

[–] possiblylinux127@lemmy.zip 8 points 3 weeks ago* (last edited 3 weeks ago) (1 children)

X is broken and the people who understand it at a deep level are pretty much all dead. What's worse is that the code base is massive and doesn't follow modern code practices.

Wayland is different as there is no codebase. It is simply a set of standards that allow apps to connect to a desktop.

The X model:

App -> window manager -> X server -> hardware

The Wayland model:

App -> desktop -> hardware

This sounds like it wouldn't be that big of improvement but unlike X Wayland is designed to take advantage of the modern GPU horse power. X was originally designed to run on UNIX mainframes so to make it run like it does took a bunch of Jacky work arounds.

[–] jsonjson@lemmy.sdf.org 1 points 3 weeks ago* (last edited 2 weeks ago) (1 children)

Many of the people that maintain X are the same people working on Wayland implementations. They're pushing people towards the new thing because it makes their lives easier, and that's also the nature of engineer driven product development, it's not going to consider all the edge cases underserved from replacing legacy software because there's nobody to keep them in check.

Edit: Guess the thought police decided my factual information isn't welcome here because it goes against their feefees.

[–] possiblylinux127@lemmy.zip 5 points 3 weeks ago (1 children)

There are people working on X?

[–] jsonjson@lemmy.sdf.org 1 points 2 weeks ago

Yeah, there's maintenance and security patching, otherwise distros wouldn't be packaging it...

[–] bargo@mastodon.tn 6 points 3 weeks ago* (last edited 3 weeks ago) (2 children)

@bleistift2 @addie Wayland will be the only display server, it's impossible to deny it, for example KDE defaults to Wayland & Gnome is 100% detached from X11, the deletion of X11 is coming in the future
plus, X11 is full of spaghetti code and no one, and I mean no one, supports it anymore, Wayland came to correct that, plus if you have a laptop with a hybrid GPU, you must switch manually between for example Nvidia & Intel, on Wayland everything is done automatically, etc

[–] possiblylinux127@lemmy.zip 3 points 3 weeks ago

Wayland isn't a display server, it is a protocol. There is no source code for Wayland only a set of standards.

[–] bleistift2@sopuli.xyz 2 points 3 weeks ago* (last edited 3 weeks ago)

if you have a laptop with a hybrid GPU

That is something I really care about. Thanks!

[Edit: I just checked. Something is handling the switch automatically on my system]

[–] FizzyOrange@programming.dev 4 points 3 weeks ago (1 children)

You basically shouldn't until you are forced to move. Almost all of the improvements so far are in the internal architecture.

You might notice some tiny differences if you switch, like logging in doesn't show a black screen at any point, and window choosers when screen sharing show a (totally broken) grid of previews instead of a plain list of window titles.

Hopefully when X is fully dead (give it another 10 years) we'll see some actual improvements, e.g. RDP-style remote desktop, good support for multi-monitor, HDR, HiDPI, etc.

[–] possiblylinux127@lemmy.zip 6 points 3 weeks ago

I'm not sure if you have been paying attention but Wayland has come very far in the last year or two. It has XDG portals for screen sharing, HDR (early support), display scaling and plenty of other stuff.

[–] tatterdemalion@programming.dev 1 points 3 weeks ago

I just want Sway to work on Nvidia GPU without flickering.

[–] renegadespork@lemmy.jelliefrontier.net 11 points 3 weeks ago (2 children)

More users.

But seriously, more ports of and/or viable alternatives to professional applications. It’s the top reason people stick with Windows—even when they don’t like it.

[–] Hamartiogonic@sopuli.xyz 3 points 3 weeks ago

What kinds of professional applications are you thinking of? Like something meant for health care, finance, construction, education, energy, telecommunication, real estate, manufacturing and other sectors?

It makes more financial sense to write software for the most popular OS, not a minority OS. When a company makes software like that, they expect to sell it to only very few customers who are willing to pay hefty sums for it. Targeting a market segment with 100 potential customers sounds more appealing than targeting a market with only 1.

However, in a market already dominated by Linux, such as servers, clusters and mainframes, the tables are turned. When most of your clients already use Linux, it makes more sense to write professional applications for it.

[–] possiblylinux127@lemmy.zip 2 points 3 weeks ago

I don't see that happening like you think it can.

I think trying to get people on Linux is kind of silly. Just document the stuff you do and post about how you solve your own problems.

[–] bleistift2@sopuli.xyz 8 points 3 weeks ago

Remembering my screen layout so I don’t have to manually switch after every boot?

[–] bleistift2@sopuli.xyz 7 points 3 weeks ago

Different scaling for different screens that are attached at the same time?

[–] 1984@lemmy.today 3 points 3 weeks ago (2 children)

Hopefully the distros integrate ollama or similar so users don't have to think about it. And it all runs locally.

Anything like that should absolutely be left up to the user. The distro should not decide that for you. If you want it, install it and set it up yourself.

[–] possiblylinux127@lemmy.zip 2 points 3 weeks ago

How about no. Users can install apps like Alpaca if they want AI. Right now there are zero Foss models anyway and there are many copyright issues.

[–] FizzyOrange@programming.dev 3 points 3 weeks ago (2 children)

Don't hard-reboot when memory runs out.

[–] possiblylinux127@lemmy.zip 1 points 3 weeks ago (1 children)

The process that takes up the memory is killed

[–] FizzyOrange@programming.dev 1 points 3 weeks ago

Not in my experience. Mostly it just hard-reboots. Occasionally a random process that is using lots of memory is killed (not necessarily the one you want). That only works about 5% of the time though.

[–] secret300@lemmy.sdf.org 1 points 3 weeks ago (1 children)

systemd-oomd usually kills the process before that happens tho. My system will hang for a bit but then it figures it out.

[–] FizzyOrange@programming.dev 1 points 3 weeks ago (1 children)

Ah maybe. I'm still on RHEL8. Even so, "it hangs a bit and kills a random process" is still shit! What it should do is suspend processes, and show you a GUI saying "you're running low on memory, here are your running programs and how much they are using" and allow you to choose which processes to kill, or whatever.

That would be far too user friendly for Linux though. I don't think the kernel/Wayland Devs could really comprehend that tbh. They'll say something along the lines of "users shouldn't be doing that".

[–] bleistift2@sopuli.xyz 1 points 3 weeks ago (1 children)

show you a GUI saying “you’re running low on memory, here are your running programs and how much they are using”

Good luck with this approach on a server.

If by ‘suspend’ you mean that the process will just halt, then: Which processes? All of them? Good luck displaying a message then. The last one that made a memory request? That might not be the true offender. The highest-consuming process? Same logic applies.

If by ‘suspend’ you mean moving the memory to disk, then a single misbehaving process, may end up eating all of memory and all remaining disk space.

[–] FizzyOrange@programming.dev 1 points 3 weeks ago* (last edited 3 weeks ago)

Good luck with this approach on a server.

Indeed, obviously I'm talking about desktops here.

If by ‘suspend’ you mean that the process will just halt, then: Which processes? All of them? Good luck displaying a message then.

You could use some kind of heuristic to suspend ones using the most memory/CPU. Or just suspend them all. Obviously you would exclude the processes needed to display the message.

If by ‘suspend’ you mean moving the memory to disk

No I meant just pausing their execution. I'm pretty sure ctrl-alt-del does something like this on Windows.

[–] visone@fosstodon.org 3 points 3 weeks ago

@Sunshine
More efficient software.

[–] NostraDavid@programming.dev 2 points 3 weeks ago

A better keyboard for tablets. Can't "swype" with the current one, and the default settings feel weird. Made me not like Linux on my tablet. It's not bad, but it's simply not as good as on Windows.