Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror
×

Comment Re:Could somebody explain wayland, please? (Score 1) 77

> It will, however suck just as hard as all the other pixel-scrapers.

You are doing the same thing again.

You are asserting, without proof, that Wayland remoting will necessarily have to work as a pixel scrapper.

Wayland is designed to be extensible with regards to supported buffer types. For instance, YUV video buffers were merged into the reference compositor at some point in 2012.

And remoting specific buffer types can be done vastly more efficiently than with a generic pixel scrapper.

For instance, in case of a video buffer, the content can be streamed from the remote app to the local YUV buffer as a lossy video stream without impacting the quality of the other, non-video buffers of the application. (In fact, I think I remember something to that extent being demonstrated somewhere, although I can't find the link, so don't quote me on this.)

Meanwhile, because Xorg's current rendering extensions are not network-transparent, remoting X applications that use those extensions (which will be most of them, these days) does already boil down to filling generic pixel buffers and pushing them down the wire, which works with the approximate efficiency of... a pixel scrapper.

A Wayland stack should therefore be no worse than a current Xorg stack in most cases, and can theoretically be made to work vastly better. (I don't, however, think we are there yet. See below.)

If you're using only pure-X11 apps, though, stick with Xorg for the time being. At least until the Wayland stack supports X buffers sufficiently seamlessly.

> This leads old X11 users to believe they are either liars or incompetent (and hence the lack of trust) because having experienced them all over many years, I know for a fact it is a long way from the worst.

Only if you are willing to make the mental jump of generalizing the one data point of your own limited experience to the entire world and all the use cases that the Xorg developers have to contend with.

If you're gonna give that much weight to single data points, well, I'm afraid that my own long experience of X11, which has most recently involved telecommuting over a VPN and having to use tools like x11vnc and xpra because Xorg remoting on its own works too poorly, neutralizes your own single data point, and we're back to square one. :)

Unless, of course, you are the sort of person who thinks that their own personal experience constitutes the One Overriding Truth, in which case I don't think there is anything whatsoever to be gained for either of us in this discussion.

> The remote windowing is built into the compositor/windowmanager? I really, really hope someone is making a more sensible architecture than that out there

You appear to think yourself an authority on sensible architectures, so I would suggest you prove it with some actual design and implementation. Otherwise, I hope you will forgive me if I don't trust you nearly as much as I do the guys who are doing the actual work based on actual experience with actual issues. :)

That said:

> otherwise we're going to wind up with a lot of deficient compositors or a lot of duplicated code.

YES.

While it could be argued that the many composers/WMs on X already constitutes a lot of duplicated code, I DO agree that the Wayland stack is probably going to be somewhat fragmented for a while, at least until the dust settles.

In practice, I suspect Wayland stacks will end up converging over a shared common ground: probably one display server/composer will emerge as the de facto standard, like Xorg has become the de facto standard of X11 display servers; or Weston itself will evolve into a set of libraries that display servers/composers will be built upon.

But this is only a possible future, and until then, I do think that fragmentation and mismatched composer capabilities is the one big issue with the Wayland budding ecosystem.

Time will tell how big an issue it turns out to be in practice, though.

Lastly:

> The nice thing about X, you see is that it all just works like magic.

I think the entire point is, it's a lot of work for the Xorg developers to make it appear to work 'like magic'. And they'd rather achieve the same result in much saner ways. I don't think I am qualified to claim I know better than them in this, and frankly, you have not convinced me that you are either.

Comment Re:Could somebody explain wayland, please? (Score 1) 77

Hi! I would have liked to thank you for taking the time to reply, but I find it difficult to do sincerely, because your comment adds nothing to the discussion, and even detracts from it.

You appear to be trying to imply, with some aggressiveness, that Wayland precludes remoting.

You could have expressed this concern as an interrogation, and I would gladly have tried to share what I understand about the topic.

Instead, no, a bold, unsubstantiated, sarcastic claim with no room for discussion. This is exactly what I meant about the peanut gallery.

Likewise, the fact you refer to the issues the Xorg developers themselves -- you are aware that they are who you refer to as 'the Wayland folks', right? -- have claimed to have with X as 'FUD' makes you look like someone who dismisses contrary opinions instead of addressing them. That really doesn't help the discussion either.

Unless you do, in fact, know better than the Xorg developers themselves. In which case I'm sure you'll step forward to take over the maintenance of Xorg. Won't you?

As to your implied claim, I addressed it in my reply to Uecker below.

Comment Re:Could somebody explain wayland, please? (Score 2) 77

Hi! Thank you for taking the time to reply.

I don't personally know the X protocol well enough to comment either way; I can only report on the opinion professed by the X developers themselves.

Here is what I understand are the answers to the points you raise. You'll probably want to check out the talks by Daniel Stone (core Xorg developer) that have been linked elsewhere in the thread, in case I missed something.

Essentially, their opinion is that the X protocol is unsuited to what computers do nowadays. From what I understand, the only task that X11 still performs in current graphic stacks is IPC for the actual rendering extensions, and sadly, IPC is something it's very poor at.

Core X11 is network-transparent by design, but rendering is done through non-core, non-network transparent extensions nowadays. This appears to be a common misunderstanding about the meaning of network-transparent; remote display of application does in fact not require network-transparency because transparency means a lot more than just "remote capable". And Wayland as a protocol is already as remote capable as Xorg because Xorg was already filling buffers remotely and feeding that into SSH connections.

So if you want network-transparency, you'll have to disable all those rendering extensions in your Xorg configuration. But, correct me if I'm wrong, I believe what you really want, is to fire up apps remotely and have them display locally, right? And this has already been implemented in the reference Wayland compositor.

Until then, you will probably not miss the loss of network-transparency because you already lost it in current Xorg servers. I think that this, there, is the number one misunderstanding about both Xorg and Wayland.

You are correct about a window system being more than just about sharing buffers. All the things you mention are being redesigned as part of Wayland with the purpose of fixing issues that the X developers claim were unsolvable with X. (Don't take my word for it, though. Check out those talks.)

So in essence, the X developers think that Wayland stacks will be better than Xorg stacks at everything that Xorg does. Including remoting.

I do actually have one reservation about that general claim, and interestingly, it's one that I haven't seen come up from the aforementioned peanut gallery. But time will tell.

But until then, the X developers think that designing a new API from scratch is more straightforward than monkeypatching the old one into doing the same things. If you sincerely think they are wrong, maybe you'll want to step forward and take over the maintenance of Xorg? I'm sure some people out there would be grateful.

I, for one, am going to trust that they know what they are doing, but you may feel otherwise about that, and that's fine. There's just a "put up or shut up" line there that people who share your opinion seem unwilling to cross, and I think that's worth pointing out.

Comment Re:Could somebody explain wayland, please? (Score 4, Insightful) 77

The story so far in a nutshell:

The Xorg developers got tired of spending their time working around the way X was designed in 1980 (which made sense at the time) to try and make it fit 2010 workloads and hardware.

They started to think about how to do the stuff that actually needs doing in an efficient manner, while removing the roadblocks they currently have to contend with.

Turns out that when you take what Xorg actually does nowadays, streamline the fuck out of it, and take away all the needless obstacles, you end up with a pretty straightforward buffer sharing protocol. They called it Wayland and started to work on an implementation.

And then the countless people in the peanut gallery who obviously know X much better than the X developers beheld the notion and started giving... loud feedback, shall we say. Without ever stepping forward to take over the maintenance of Xorg, mind you.

TL;DR: Xorg developers make what they concluded is the soundest technical choice. People on the Internet lose their shit. Business as usual.

Comment Re:doesn't europe spy as well? (Score 5, Interesting) 166

Countries like France and UK, yeah, absolutely. Germany... is slightly more touchy about issues pertaining to surveillance and the general topic of totalitarianism, for some reason.

Iceland overthrew its government when said government wouldn't jail bankers. If Iceland says they ain't going to spy on people because fuck that, I would lean toward cautiously trusting them.

Comment Re:The graphics were simply brilliant (Score 3, Informative) 374

Oh, then this is probably my cue to turn up and point you to Mystcraft. Mystcraft is just as the name implies: a mod for Minecraft that adds Myst-like mechanisms for creating and exploring Ages. Yes, it's just about as fantastic as it sounds. (And by God, don't forget to bring a linking book if you don't want to get forever stranded.)

And to answer the question raised by the article, I just spent my lunch break playing Mystcraft. Today, in 2013, 20 years after the release of Myst. So I'd say, pretty relevant indeed.

Comment Mir is fascinating... but not in a good way. (Score 5, Informative) 205

I think Mir is a case study in how to correctly identify problems and then going about solving them all wrong.

See, the good thing about Wayland is, it does the right thing in having a limited scope. It aims to do one thing and do it well: provide an API for GUI clients to share buffers with a compositor.

And the problem with Wayland is, of course, that... it has a limited scope. Screen management? Input handling? Buffer allocation? "A modern desktop needs all that!" say the Ubuntu devs, and yeah, that's absolutely correct. "That's a client concern," say the Wayland devs, and guess what? From their point of view, that's correct too. (Although Wayland since started working on an input handling API.)

Now, the important thing to realize is, when the Wayland guys say that something is a client concern, as I understand, they don't necessarily mean the GUI applications, no. They mean the compositor.

Meaning that a whole lot of the stuff desktop shells rely on is, in fact, not provided by Wayland itself.

That's where Weston comes in: it's supposed to be an example (a "reference implementation", to use the designated words) of how to write a compositor. But... not necessarily in a way that meets the higher level needs of desktop shells. Unsurprisingly, both KDE and GNOME will be using their own compositors.

So basically, a whole lot of the desktop integration on top of Wayland will be, as it were, left as an exercise to the reader.

With all that in mind, I think the highest outcome end game is somewhat clear: frame-perfect rendering through the Wayland API of Mir-composited KDE/GNOME/Unity clients.

Or in other words, Mir should probably be a set of APIs to handle all the admittedly important desktop integration -- clipboard, multi-screen layout, input and gestures, systray/notification requests... -- with an optional and replaceable compositor thrown in.

All the points of contention that I know of, mainly that Canonical requires server-side buffer allocation (presumably for mobile ARM platforms) where Wayland does it client-side, could have been resolved with some diplomacy and a mutual willingness to reach a satisfactory compromise.

But instead, it looks like the report card is just going to say, "Doesn't play well with others." As usual. What a sad mess and wasted opportunity.

Comment Interestingly... (Score 1) 482

... Chrome is able to use the KDE password wallet if present, which is protected under a master password. (I assume it can use the GNOME equivalent too). If so, Chrome won't save anything itself, so on that count at least, you're safe.

That said, I would recommend using a service like LastPass anyway, so the problem is taken entirely out of the hands of the browsers.

Comment Re:I can't install Linux on a UEFI machine? (Score 1) 100

>Microsoft's spec is supposed to allow people to install their own keys

The Windows 8 certification requirement outright mandates that users are able to upload their own keys. (See here, "Windows 8 System Requirements", page 121, paragraph 17.)

This thankfully gives us a pretty solid standing to complain at hardware makers who don't do it right.

In the long run, I am not sure it will be necessary, though. I've been looking into those issues after getting a laptop with SecureBoot enabled, and sane options are in development. The interesting thing about UEFI is that it comes with an extensive API, and can be configured from inside the currently running OS (check out efibootmgr on Linux for instance). When the dust has settled, installing and launching Linux will probably not be so vastly different from right now. Time will tell.

Slashdot Top Deals

I've noticed several design suggestions in your code.

Working...