friendica.eskimo.com

Btrfs should've been Wayland

I think the problem with btrfs is that it entered the spotlight way to early. With Wayland there was time to work on a lot of the kinks before everyone started seriously switching.

On btrfs a bunch of people switched blindly and then lost data. This caused many to have a bad impression of btrfs. These days it is significantly better but because there was so much fear there is less attention paid to it and it is less widely used.

25 5 1
Wayland didn't work out networking, even to this day, which is why I'm still using Xorg.
3 4 1

Wayland as a protocol that apps use to talk to the desktop. It doesn't use network at all really.

You need something like freeRDP for network access.

2 2 1
@Possibly linux It is touted as a replacement for X-windows but the PRIMARY ADVANTAGE of X-windows is that you can run a program on one machine and display it on anther making Wayland completely useless in a networked context.
4 6 1

It is not trying to be a one to one replacement. It is a totally different thing. You are wanting a motorcycle to replace your 2002 pickup truck.

Also X forwarding is broken for most stuff. It probably will work but it will run poorly and use lots of bandwidth. This is because there are layers and layers of work arounds to make modern hardware and software work on it. The X protocol was intended for mainframes in the 80's. It should've died long ago.

2 1 1
@Possibly linux I agree with you, it's not, but people here keep touting it as such and that is my issue. X-forwarding works great for me, I use it daily. I use it to access servers in my hosting service from my home office. I can fire up x2go if I need a remote console but most of the time a terminal and an app is quicker. I have no issues with lag, I'm sorry for those that do but it is just not a problem for me.
1
Do you use it over SSH?
1
@Possibly linux It strikes me as weird someone down votes a simple statement of fact. I guess they have a problem with reality.
1 4 1
X's network transparency is overrated IMHO. Since ages most data on desktops is sent via shared memory to the X server (MIT-SHM extension) otherwise the performance would suck. This does not work over the network and so X over the network is actually quite slow. Waypipe works way better for me than SSH X forwarding.
1 1
@hummus273 It's overrated because you don't use it, I frequently do. If all you want to do is emulate Windows than Wayland is fine. If you need network functionality it is not.
1
You assume I'm not using it. On the contrary, I use it a lot at work. We have some old TK interfaces. They take ages to load over the network. The interfaces load much faster when using Xvnc running on the remote machine rather than X forwarding (but it is not as convenient).
1

@hummus273 Xvnc does not allow you to display individual applications only an entire desktop. I'm monitoring about 20 different computers doing different things and for me it is a significant advantage not to have to bring up a whole desktop but to be able to launch a single graphical application on my existing desktop.

I don't really understand the degree of emotional attachment people have to one solution or another. For me it's a simple application case, for me Wayland is not desirable, not only does it not network, but the embedded X-server as part of the kernel works very effectively by avoiding the kernel/userland switches an ordinary X server would require.

So for my use case, Wayland is NOT a replacement and so I have to object to people arguing that it is a full replacement for X, it is not.

1
@hummus273 Xvnc does not allow you to display individual applications only an entire desktop. I'm monitoring about 20 different computers doing different things and for me it is a significant advantage not to have to bring up a whole desktop but to be able to launch a single graphical application on my existing desktop.


Yes, that is what I meant with not as convenient.

I don't really understand the degree of emotional attachment people have to one solution or another. For me it's a simple application case, for me Wayland is not desirable, not only does it not network


Your use case is covered by waypipe (which in my tests is much more responsive than X11 forwarding).

the embedded X-server as part of the kernel works very effectively by avoiding the kernel/userland switches an ordinary X server would require.


I think you are confusing stuff here. Which kernel has an embedded X server?

So for my use case, Wayland is NOT a replacement and so I have to object to people arguing that it is a full replacement for X, it is not.


What part of your use case is not covered by waypipe?

This entry was edited (20 hours ago)
1
@hummus273 Waypipe would involve a lot of userland / kernel exchanges avoided by using the kernel based mode setting Xserver. It happens to work well with my hardware. And I don't see any noticeable latency issues and not all apps work with Wayland hence I have no motivation to change to Wayland and every motivation to avoid it. Sorry if that gets someone's panties in a wad.
1
Waypipe has nothing to do with the kernel mode setting driver. The X server code does not run in the kernel. Wayland compositors use kernel modesetting for mode changes, so not sure what your point is? Not saying you need to switch to Wayland, just saying that it covers the use case you described as impossible with Wayland.
1
@hummus273 Yes actually in my case it does. The kernel has an X-server built in but ONLY for Intel graphics and I happen to have Intel graphics. Sorry if you're not familiar enough with X or the kernel to know that but that is a fact.
1
If that is the case, then you can probably easily find the X server code in the Linux kernel and send a link? Spoiler: it is not there
@hummus273 I am mistaken, it is only the mode setting for the X-server that is handled in the kernel. At any rate it works well for my needs.
1
@hummus273 I have a 1gbit network connection at the co-lo, and 180mb/s cable and I don't have any lag using X tunneled through ssh.
1
Not having any lag is physically impossible. You don't notice it maybe. But if I open Firefox with X forwarding on the same network (1gbe) it is very noticeable for me.
1 1
@hummus273 Perhaps not because I'm not trying to game, and I can't detect any changes faster than about 1/50th of a second anyway so fps faster than 50 is more or less moot for me.
1
Firefox is not a game?
1
With Wayland there was time to work on a lot of the kinks before everyone started seriously switching.


Not if you were using Ubuntu in 2017 when they switched to Weston as the default display server for 17.10 and lots of people suffered a great deal from how half-baked the project was at the time. For me personally, the 17.10 upgrade failed to start the display server and I ended up reinstalling completely, then in 18.04 they set the default back to XOrg and that upgrade also failed for me, resulting in another reinstall.

I have no doubt that this single decision was responsible for a large amount of the Wayland scepticism that followed.

@drspod @Possibly linux Since I am using Intel graphics and there is an Xorg X server baked into the Linux kernel for Intel graphics, I switched to it at that time and have been using it ever since.
3 1
People pretend Ubuntu is this great thing but in reality it hasn't been great in 15 years.
1
@Possibly linux @drspod Expect a comment like this from Lemmy, bet you're running Windows 11, I've got servers running Ubuntu 24.04, 22.04, 20.04, Debian Bookworm, Mint, MxLinux, Zorin, Fedora, Alma, Rocky, and Manjaro, the Ubuntu machines consistently give me less headaches even though I do have to purge them of snapd.
2 1
Not if you were using Ubuntu in 2017 when they switched to Weston as the default display server for 17.10


Do you have any source on Ubuntu using Weston as its default? As far as I know Ubuntu has always been GNOME, which doesn’t use Weston.

1

Both Fedora and openSUSE default to Btrfs. That's all the praise it needs really.

With Bcachefs still being relatively immature and the situation surrounding (Open)ZFS unchanged, Btrfs is the only CoW-viable option we got. So people will definitely find it, if they need it. Which is where the actual issue is; why would someone for which ext4 has worked splendidly so far, even consider switching? It's the age-old discussion in which peeps simply like to stick to what already works.

Tbh, if only Debian would default to Btrfs, we wouldn't be having this conversation.

This entry was edited (1 day ago)
10 1
You are welcome to start a movement to get Debian to switch. You will be swimming up stream but you are welcome to try. Debian has been the same for decades and people like that.
3 1

You didn't get my point. Btrfs is one OG distro removed from being THE standard. It's doing a lot better than you're making it out to be.

It's not like Btrfs is dunking on all other file systems and Debian is being unreasonable by defaulting to ext4. Instead, Btrfs wins some of its battles and loses others. It's pretty competent overall, but ext4 (and other competing file systems) have their respective merits.

Thankfully, we got competing standards that are well-tested. We should celebrate this diversity instead of advocating for monocultures.

1 1
@lancalot @Possibly linux I tried it once, it pissed itself and corrupted the entire file system to the point where I couldn't recover, went back to ext4. Had similar experience with xfs.
1 1

It sounds like btrfs is solid most of the time and will explode for like 1 and a thousand cases.

A few years ago left my Fedora machine at home and left for a few days on a trip. When I got back the device was powered off and when I powered it on it said no boot device. When I booted off of a USB the drive showed as unknown with no formating to speak of.

I was able to recover it and the btrfs partition as apparently the GPT table had been overwritten. To this day I have no idea what went wrong. Btrfs in general is very solid in my experience and I use it for USB devices and my Fedora machines. I have never had a issue outside if that one time it died.

Btrfs is the filesystem that is cool but also potentially explosive. I think it has a huge amount of potential and I am very tempted to move my Proxmox machines over since it doesn't have the same limitations of ZFS

1
eh, also Garuda defaults to BTRFS, EOS does not default to BTRFS, but it has an option on their Calamares

I wanted to stick to (what I'd refer to as) OG distros; so independent distros that have kept their relevance over a long period of time.

But you're correct, Garuda Linux and others default to Btrfs as well. At this point, I'd argue it's the most sensible option if snapshot functionality is desired from Snapper/Timeshift.

none of the "main" distros default to BTRFS, just "derivatives" default to BTRFS, Garuda is based on Arch, so it's normal that it's one of the rising new distros, Garuda rose because gaming on Linux received a huge boost from sources like Valve so I doubt that it (Garuda) will deviate from its path with time, plus, they provide multiple flavors for multiple purposes, gaming requires stability & sometimes a rollback mechanism, that's where BTRFS shine, not so much stability BTW
none of the “main” distros default to BTRFS, just “derivatives” default to BTRFS


So you don't regard Fedora (or openSUSE) as "main" distro?

OpenSUSE is based on SUSE (created in 1994)
Fedora was developed as a continuation of RHEL
Maybe "main" is not well appropriate, I wanted to say "distros that have no precedence & not based on anything", for example, 0.12 was a "main" distro, MCC Interim Linux was a "derivative" distro

I suppose we differ in our definitions. Which is absolutely fine, to be honest*.

For completeness' sake, IMO it's basically the intersection of Major Distributions and Independent Distributions. Which happens to consist of Arch, Debian, Fedora, Gentoo, openSUSE and Slackware.

Out of these, Arch and Gentoo don't have defaults, but their documentation uses ext4 most frequently for examples. For the remaining four, Fedora and openSUSE default to Btrfs. While Debian and Slackware default to ext4.

In all fairness, one might argue that Distrowatch's list of major distros is arbitrary. Therefore, we could refine what's found above by including actually data. For this, I'll use Boiling Steam's usage chart based on ProtonDB's data. This ain't perfect either, but it's the best I can do. Here, we notice how both Gentoo and Slackware are not represented. Furthermore, NixOS poses as a candidate instead. For which, we find that (if anything) ext4 is the default. Regardless, it doesn't actually impact the earlier outcome:
- Arch (and Gentoo) don't have defaults
- Debian(, Slackware and NixOS) default to ext4
- Fedora and openSUSE default to Btrfs

Anyhow, what are the main distros according to you? Please offer an exhaustive list, please. Thanks in advance!

the "main" that are alive today are (like on this graph) rreinold.github.io/explore-lin… :Debian, Slackware, RHEL, Gentoo, Arch & android
These are only the alive ones, however, I couldn't find any info about Nix OS so it remains on the maybe category cause I tried it and could not find any hint to the past

I suppose that's a fair assessment. Thanks for the clarification!

However, I do give precedence over their current situations.
- So, if e.g. Arch would continue to exist, but ultimately became the downstream/derivative of another distro, then I would stop regarding it as 'main'. Which one may argue happened between RHEL and Fedora.
- Similarly, if a derivative starts building their own repos and becomes entirely independent from the distro they were originally derived from, then I'd stop regarding them as a derivative. Instead I'd acknowledge them as an independent distro. Like how openSUSE ultimately is derived from Slackware, but they're hardly comparable today.

Regarding NixOS, it and other independent distros are absent in the link you provided. NixOS is literally its own thing and also old; older than Ubuntu and Android for example. So, if anything, it did deserve a mention. Though, I suppose the maker of that website didn't think it was relevant enough to be included over three years ago. NixOS' popularity has thankfully exploded in the mean time, though.

I understand the list I provided is not necessarily complete, because Void & Solus are also independent, however, for them to be "main", they should have "derivatives", I don't claim that I have a big Linux experience, but I tried & documented myself about the distros on the list, & can confirm that they are "main", I also tried Nix OS, the use of 1 config file is refreshing, however that ease comes at the cost of some flexibility, installing Steam there is too complicated for me
I'll keep it brief. But it comes down to the fact that, out of the more popular distros, it's only officially supported on Ubuntu.

tbh the situation with Wayland was not too different, and wouldn't have been better. Compared to Wayland, brtfs dodged a bullet. Overhyped, oversold, overcrowdsourced, literally years behind the system it was supposed to "replace" when it was thrown into production. To this day, wayland can't even complete a full desktop session login on my machine.

So, if you ask me, btrfs should *definitively not * have been Wayland! Can you imagine if btrfs had launched on Fedora, and then you formatted your partition as btrfs to install Linux, but the installer could not install into it? "brtfs reports a writer is not available", says the installer. You go to the forums to ask what's going on, why the brtfs does not work. The devs of brtfs respond with "oh it's just a protocol; everyone who wants to write files into our new partition format have to implement a writer themselves".

This entry was edited (21 hours ago)
14 2 1

Clearly you have had some bad experiences

Maybe you shouldn't take your experience from 5 years ago and apply now. Wayland is solid and so is Btrfs. I know that because people use both.

I was mostly curious about btrfs with raid 1 on Proxmox but my doubts have been answered.

4 5 1
@Possibly linux @lambalicious Wayland may be solid as a local display manager but it does not network.
1 1

It is a protocol not a display manager. The desktop runs everything and the apps connect to it.

Network was never part of the design and never will be

1 1
@Possibly linux Yes idiots keep touting it as a replacement for Xorg which IS a networking display and that is a feature I need, and I suspect if more people knew how to use it they'd also need it.
5 2 1
I mean there is waypipe now ...
1 1
I think most people aren't living in the past. What is your use case exactly? What do you need a remote GUI for? RDP and other protocols exist and are much better especially in terms of performance.
1 1
@Possibly linux Again rdp, vnc, x2go, ONLY work for full desktops, they do not work for individual applications. If I've got a terminal session into a server and decide I want to fire up synaptic, X does that for me, Wayland doesn't and the overhead of starting an entire desktop to run a single app for a few minutes does not make sense.
3 1

And there is were the community has kind diverged. Now days it is either headless servers or desktops.

Running individual apps is interesting but I am afraid that it is not super practical in 2024. However, there is this: github.com/udevbe/greenfield

Xorg is no longer being maintained for the most part and because the code base is so large there isn't anyone who understands the codebase. I still use it for my semi virtual PC as Xorg allows for a lot more flexibility than Wayland plus Xfce4 isn't completely ported yet. There will be a day when I move completely though. Probably when Xfce4 is Wayland native.

This entry was edited (19 hours ago)
2 1
they do not work for individual applications


as someone else replied to you earlier, waypipe exists, and is packaged in distros, and does what you're asking for.

There is also a newer thing called wprs, "Like xpra, but for Wayland, and written in Rust": github.com/wayland-transposito… which sounds promising

This entry was edited (8 hours ago)
Tell me you don't understand what "remote gui" means without telling me.
1

Funny how you call people idiots yet it seems like you don’t know what you’re talking about.

gitlab.freedesktop.org/mstoeck…

Maybe you shouldn't take your experience from 5 years ago and apply now. Wayland is solid and so is Btrfs.


My 2 year old AMD-based laptop begs to differ. X11 is rock-solid, whereas Wayland locks up completely on a regular basis, without producing any useful logging. Every so often I try it to see if things have gotten better, but until today unfortunately not. Personally I prefer X11, I need to perform work on my Linux machine, not spend time debugging a faulty compositor, protocol or wherever the problem lies.

This entry was edited (20 hours ago)
3 1 1
Wayland itself can't crash, it's just a set of protocol specs. The implementation you're using (gnome/KDE/wlroots...) does. Obviously this doesn't solve your problem as an end-user, just saying that this particular issue isn't to blame on Wayland in itself.
2 1
This feels more like long time Linux guy digging in there heals because they like the old days
1
@Possibly linux @loutr I like to get work done, some tools are helpful to that end, Rust for example, superior to C in as much as it makes it much more difficult to make mistakes with memory allocation without resorting to the grossness of garbage collection, but when new things only detract from work flow, then yea I prefer the older things that work. When new things benefit it, Rust for example, or the latest kernels in terms of efficiency, then I use them. I don't like change for changes sake, I like change when it improves things, in my use case, Wayland does not do that.
1 1
Fine, in that case both Gnome and KDE handle the Wayland protocol in a crappy manner on my hardware. As the end-user I don't care: I have no issues with KDE and Gnome on X11, when using the Wayland protocol they are unstable. For my use-case X11 is the better choice , as using the Wayland protocol comes with issues and does not provide any benefits over X11.
This entry was edited (19 hours ago)
2 1
@Aganim @loutr This makes sense, these people that have some irrational emotion attachment to Wayland in spite of it's lack of functionality, do not. Now, if they have a use case that makes sense to them, they're playing a game that needs 200fps, then fine, but if the use case doesn't fit then don't use it.
1 1
This sounds like a driver issue or something if all desktops are breaking for you. Have you tried reporting it anywhere?
1 1 1
The problem is, I wouldn't know what to report and where. I've never been able to find any relevant logging, neither in /var/log nor in journalctl. I doubt opening an issue with 'desktop locks up randomly when using Wayland' is really useful without any logging. And where would I do that? At the Wayland bug tracker? Gnome or KDE? Kernel, as it indeed might be a driver issue? And there is of course the time component: I use my laptop for work, so I simply cannnot spend hours on debugging this. That's time I don't have, I'm afraid.
2 1

Except: I try Wayland every 6 months or so and still have problems with it.

Wayland's problem isn't Wayland; it's all of the stuff that needs to work in Wayland that doesn't. Using Wayland, to me, feels like using Windows, out a Mac: as long as you don't stray out of the playground, it's mostly fine (if a bit slow). As soon as you try to do any outside-the-box setup, like changing the status bar, things start getting all f'ed up. Like, last time I tried, I couldn't get DPI font scaling to work - fonts would either be too small everywhere, or big in most apps but really tiny in the status bar. Whenever I encounter things like this, I search for solutions for, maybe an hour, see that other people have the same problem and there's no fix yet, and bail back to X11, which Just Works.

Also, while I know some people have had bad experiences with btrfs, I've been using it for years. I originally switched because I had multiple separate cases of data loss using ext4, across different systems. It's always baffled me that folks complain about btrfs, but ext4 was far less reliably. IME.

5 1
I have had the opposite experience from you with wayland and btrfs. Recent data loss with btrfs but perfect functionality with Wayland (on KDE and Arch Linux). Moving panels just works. Fractional scaling just works (though i do miss the old method where smaller screens just got supersampled instead of the way they do it now).
1

The key, probably, is that you're using KDE - you're playing "in the box". I'm sure it works fine in that situation, or under Gnome; the desktops go to great lengths to make sure they work well under Wayland. Things get more dicey if you're a WM user and are cobbling your environment out of multiple, independent programs.

I believe you about btrfs; enough people have complained about it that I'm convinced I've just been exceedingly lucky. I mean, by now I think it's probably as stable as anything, but it seems like it used to have more issues.

1
Btrfs was solid for me some 11 years ago, Wayland still wasn't solid as of yesterday.
1 1 1
Fam, my experience was one (1) (uno) year ago. And during those five years Wayland made zero progress by itself - it was everyone else who had to do the job of Wayland for free.
1
Stop spreading disinformation (again). Wayland was a fucking mess and caused countless of issues, especially in a lot of "edge cases". Meanwhile, dumbos were spreading lies about how it runs perfect and without issues while I kept switching back to X after merely minutes to hours whenever I tried to use Wayland again. It's just bullshit that never was grounded in reality. Even now there's games & applications who don't run with Wayland, and likely never will since they have zero incentive to do so or aren't even in active development anymore and that stupid X11 bridge still is required to run in the background for a lot of them.
4 6 1
Don't use Wayland I guess
1

I think you might be missing the part where wayland WAS running perfectly for them. It still does for me. I am actively and happily using Wayland and everything for me works. XWayland is a fantastic stopgap for now.

Wine is (slowly) getting a native Wayland port, which will translate to Proton eventually.

This entry was edited (10 hours ago)
1 1
I had to switch to X after upgrading my system because it was all choppy on Wayland. I spent a few hours trying to figure out why and then I said fuck it, X still works. Wayland still is an unfinished mess.
1
I think the main difference is that while a graphical session can work through some issurs, a file system is not allowed to fail under any circumstances. The bar is way higher and stability a lot more important.
1 1