- Joined
- Nov 17, 2023
Haha, good one, maybe on simple setups.with low latency
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Haha, good one, maybe on simple setups.with low latency
on the other hand sometimes you need to break compatibility with something that hasn't changed since the 80s to make some of the jank go awayKDE dropping X is just the latest in a long line of changes made to kill UNIX.
It wasn't talked about enough when systemd became a thing, that what they were actually doing was removing the UNIX from Linux. In the process of removing the UNIX from Linux, major desktop environments deprecated support for other init systems, removing support for other UNIX systems.
You used to be able to relatively easily get all of these desktop environments running on the rest of the UNIX world because Linux was for the most part UNIX compatible. They used to be mature, portable systems, and they decided to stop doing that.
I don't think it was the right way to go.
What is your reasoning on this? I don't intuitively get it. I mean X11 isn't the most Unixy thing in the world, but neither is Wayland to my thinking.in general i do think wayland is a bit more in line with the unix philosophy than x11
a more simple implementation (a very important quality of unix software) and the general "do one thing, do it well" thingWhat is your reasoning on this? I don't intuitively get it. I mean X11 isn't the most Unixy thing in the world, but neither is Wayland to my thinking.
I feel like a lot of people don't fully get what wayland is, or at least they don't really think about it much. I think people are used to the x11 way. So when they just generically say wayland is this or that, it doesn't really apply in the same way it does with x11. Like you implied it's a simple set of protocols to set up a display server with a compositor/window manager. It's not a single huge display server, that then has to communicate back and forth with a compositor, and a window manager. Which does have benefits. When it's a graphical program, where you can feel latency, not having to communicate back and forth through different separate programs, does actually allow it to be more efficient. And Wayland itself because it is so simple, does allow a wide range of use cases, for people that want to design something around it. Like designing a phone UI, or doing some kind of embedded work on the console in a car. But my point is, when people talk about "wayland" its not really the same as talking about xorg. because what wayland is depends on the compositor, and what is implemented by it. The experience someone has running gnome wayland isn't really reflected much in what I see running hyprland, or someone that's running cinammon or xfce's experimental wayland session.on the other hand sometimes you need to break compatibility with something that hasn't changed since the 80s to make some of the jank go away
wayland might not be the best way to do it (always take more hints from plan 9 if possible) but it has the most general support so every sensible person who wants a new graphics protocol is going to support wayland and not some shit they just cooked up to increase the fragmentation
in general i do think wayland is a bit more in line with the unix philosophy than x11 and i hope it matures nicely
the main ones are just the general breakage from uprooting something so deeply entrenched as x11 and all the work required to port some fairly advanced uses of x11 by graphical programs that might need to involve some keylogger-type shitThere are of course some negatives that come with that also.
we have already seen a few such libraries, such as libinput, that are widely used by wayland compositors to implement input handling shit. they are not necessary, however; a wayland compositor can be anything that can speak the protocol. in fact libinput has been backported into x11 which can actually be viewed as a kind of graphical compositor that tends to offload the actual compositing to some other process whenever alpha transparency or not causing horrible screen tearing are neededI think also in the next few years, as the number of users of wayland based de's and compositors continues to increase, we will see a lot of libraries like those pop up to make things simpler.
this is probably how it will end up going. it might end very well, it might end not so well, but at least if you want to write a wayland compositor you will not be completely forced to write all 3000 features, including a stack of complex font selection logic that nobody really uses anymore because fontconfig is the expected option these daysAnd we will just naturally see more standarization across different compositors. And also people implementing protocols themselves for things that have been bikeshedded by the actual wayland devs. Then those becoming standardized by their adoption among the linux ecosystem. That kind of thing is just bound to happen naturally. It's how these things tend to go. I said a lot of this just now in the linux thread, but the same topic is being talked about in both.
it would have been nice if somebody thought of wayland before 2000 or stole whatever bullshit from plan 9 or something, but we waited until now to deal with the crusty bullshit from the 80s so now the predictable result is happeningI just want to be able to use my computer, why does everything have to be so retarded?
I would say thats true for the old drawing primitives in x11, but if you ignore that (since nobody really uses that anymore) then x11 is much simpler than wayland and composable. Just compare the way you capture a window on x11 vs wayland. On x11 you get a graphics reference to a window by the window id with a single x11 call. There is no complexity hidden in an api to make that work. On wayland, you cant even do that to begin with. But for desktop use you need that, so the wayland solution is to introduce desktop portal. In practice a wayland system has a dependency on desktop portal.a more simple implementation (a very important quality of unix software) and the general "do one thing, do it well" thing
they've just sort of simplified a lot of things, and the protocol provides mostly the things that applications actually do instead of a bunch of weird shit
one of the core ideas of x11 is providing a bunch of low-level primitives and not really enforcing tons of shit on applications
the older x11 toolkits liked using x11's drawing primitives a lot, but in modern times they really just use x11 to request a framebuffer and push frames, because x11's drawing commands actually still do impose a little bit of shit on you
enter wayland, which is basically just a way to obtain the kind of shared memory buffer setup that 99% of x11 programs use these days without anybody needing to care about drawing lines (most people use a library for that nowadays)
there are also some other cleanups like not having magical xauth bullshit
the increased simplicity is why several different compositors exist for wayland while x has 1 server with 1 fork. people shit on systemd for being a huge 1-implementation lump that everything everywhere depends on but xorg is apparently completely ok because it was forced on everybody back before the 90s or so
apart from a bunch of gay libraries depending on dri and epoll, i don't think there's really too much preventing wayland compositors from being created or ported to other unix-like kernels and userspaces such as openbsd or (inshallah) the hurd
and is this a horrible thing? most desktop applications, x11 or wayland, already depend on dbus somehow anyway. idk how niggerlicious pipewire is but i assume it's not any worse than pulseaudio was (which pipewire apparently killed now, nice?)In practice a wayland system has a dependency on desktop portal.
Desktop portal is implemented with dbus and the screencast (screen capture) api also has a mandatory dependency on pipewire directly in the protocol, which means each desktop portal for every wayland compositor needs to support dbus + pipewire and so does every client. This is because desktop portal is made by flatpak people who are redhat devs and pipewire is also a redhat project.
based, the only real c library is glibc and gnu c is the true c (but c99 conformance is cool if you can do it)The pipewire client library uses gnu c extensions with macros for this, lmao.
It's a discussion about complexity and unix philosophy. Requiring dbus + pipewire in the display server is retarded. That's 3 different protocols just to do a single thing (wayland + dbus + pipewire). All in all combined, it's probably near 5000 lines of code to do what is a few lines of code in X11 (without the complexity being hidden behind anything). Pipewire is far worse than pulseaudio when it comes to api and protocol design. They now actually recognize that its retarded and are making a wayland protocol to not require pipewire nor dbus. But of course, this wont be implemented by gnome so you will have to use the desktop portal anyways and wayland compositors will still need to implement the desktop portal since most applications will use that so what ends up happening is duplicate work.and is this a horrible thing? most desktop applications, x11 or wayland, already depend on dbus somehow anyway. idk how niggerlicious pipewire is but i assume it's not any worse than pulseaudio was (which pipewire apparently killed now, nice?)
it's macros that uses gnu c extension, which means you cant use it from other languages (including zig, etc). IIRC you cant even use it from c++. You have to construct the binary protocol messages manually, byte for byte.based, the only real c library is glibc and gnu c is the true c (but c99 conformance is cool if you can do it)
interesting, hopefully it's properly sandboxable and it wins out in the endThey now actually recognize that its retarded and are making a wayland protocol to not require pipewire nor dbus.
that gnome tactic is actually best defeated by using the same tactic against them. make your application say "this application cannot run since the wayland compositor, mutter, does not implement the proper extensions. this is a problem with mutter, not our software" and then wait for the inevitableBut of course, this wont be implemented by gnome so you will have to use the desktop portal anyways and wayland compositors will still need to implement the desktop portal since most applications will use that so what ends up happening is duplicate work.
also are you just assuming this or did gnome developers literally say they won't be implementing it? maybe they don't have a huge stick up their ass today

That's a DOS holdover and to call anything about MS-DOS a well-thought-out plan is pretty funny.from what I understand that also went into how they designed their syntax for their filesystem with \ instead of / like literally everything else, just to make things less portable)
This was an interesting watch. Also it brings up a part of windows decision back in the day to basically make sure things that were made on their platform weren't portible (from what I understand that also went into how they designed their syntax for their filesystem with \ instead of / like literally everything else, just to make things less portable). Then other operating systems get criticized becausr X program can't run on it, when its not really the fault of the OS, but the company making it, and microsoft. I would be shocked if there wasn't some form of collusion there.
Anyway it goes into more than that. That was just one thing that gets mentioned.
I just happened to come across this so I figured I would toss it in.
View attachment 8224441
