News for hackers. Stuff that matters.
Re:GTK 5 might drop X11 support by akira2501 on Wednesday July 06, 2022 @04:53PM (#32006685)
> I really want to see Wayland move forward and succeed,

Honest question. Why? Or, what are you hoping will be different if this occurs as opposed to the current status quo?

Re:GTK 5 might drop X11 support by dyingkneepad on Wednesday July 06, 2022 @05:04PM (#32006814)
Because, despite the fact that Wayland originally underestimated the size of the problem, it is in theory a better technical solution to our modern graphics problems than X11. It is designed in a more secure way (there is more isolation between the apps, which is both a blessing and a curse), every frame is indeed perfect, and it provides a sane solution to the 'compositing' problem.

It's just a shame it was made into something that is even more fragmented than X11 due to it being even less than what X11 tries to be. So much got undefined by the protocol and left as something to be solved by the Compositor, and we don't have an universal compositor.

And it's not like companies are throwing money at X11 either: progress is not happening there.

Re:GTK 5 might drop X11 support by marginalia_nu on Wednesday July 06, 2022 @05:59PM (#32007354)
X11 is a fairly mature piece of software, though. It's been around for decades, and as usual, when things stick around for that long, it's because they work fairly well. I'm not sure what progress you'd expect to see there.

I guess I don't see why software that's been around for a few years longer than I've been alive, and has never really caused me much headache needs to be replaced with software that is an immature and in many ways, a worse offering.

I see people talking about screen tearing, but X11 supports vsync on most video cards, so I really don't quite get where that's coming from.

Re:GTK 5 might drop X11 support by PaulDavisThe1st on Wednesday July 06, 2022 @06:06PM (#32007428)
X11 makes tear-free drawing possible.

Wayland, IIUC, makes tear-free drawing inevitable.

Re:GTK 5 might drop X11 support by marginalia_nu on Wednesday July 06, 2022 @06:09PM (#32007463)
I guess if screen tearing is the worst thing you know, you wake up in cold sweat every night screaming its name, I guess you should really use Wayland. But for other people?
Re:GTK 5 might drop X11 support by kelnos on Wednesday July 06, 2022 @06:17PM (#32007551)
Right, I never got this. Every time the X11 vs. Wayland thing comes up, I see so many people talking about tear-free rendering as if it were on the same footing as curing cancer.

(Regardless, I haven't seen screen tearing on X11 in... close to a decade? More? I don't care if that's the case only because it's "possible", and not because it's "inevitable". Who cares? It works fine.)

Re:GTK 5 might drop X11 support by Crysstalis on Wednesday July 06, 2022 @09:20PM (#32008927)
Have you ever seen a film or a TV show that had screen tearing in it? I haven't, it would look awful. For anything that needs to animate smoothly at a stable frame rate, tearing is a bug. It makes it look really choppy. You can do various things to eliminate a lot of tearing in X (like using an X compositor, and only using clients that implement double buffer vsync), but the default in X is that clients can send drawing commands at any time. Wayland changes this and makes it so you're practically guaranteed to never see tearing by default.
Re:GTK 5 might drop X11 support by marginalia_nu on Wednesday July 06, 2022 @09:35PM (#32008996)
I've used X11 for like 20 years and done all sorts of things, including watching video and even doing video editing, and this has never been an issue I've so much as thought about.
Re:GTK 5 might drop X11 support by Crysstalis on Wednesday July 06, 2022 @09:39PM (#32009031)
I don't know how that could be possible, I find tearing to be incredibly noticeable when doing video editing. If you're getting it when trying to do transfers between frame rates it will potentially screw things up, because you're not able to see the actual frame rate. Occasionally I still see a youtube video where someone recorded a screencast and was getting tearing, and I find it really jarring.
Re:GTK 5 might drop X11 support by marginalia_nu on Wednesday July 06, 2022 @09:48PM (#32009070)
Dunno, maybe it's just not something I'm noticing at all. Some people seem incredibly bothered by it, but I just barely notice it if I'm not actively looking for it.

I'm far more annoyed by the added input delay and sluggishness from vsync. I want frames on the screen as fast as possible.

Re:GTK 5 might drop X11 support by Crysstalis on Wednesday July 06, 2022 @09:59PM (#32009132)
I don't know how you can't notice it when doing video editing, you have to actively notice the frame rate to do it right. Any choppiness will be evident. Also I really don't understand your second paragraph. You can't get rid of input delay or make frames appear faster by disabling vsync. When you mux the video you target a specific frame rate, the common formats are almost always 24, 25, 30, 60, or multiples of those. The frames are appearing the same, it's whatever is in the video file.
Re:GTK 5 might drop X11 support by kaba0 on Thursday July 07, 2022 @02:50AM (#32010688)
Any form of sane security. X11 can’t be made secure unless you go full nested X servers, where you are back to square 1 (cut holes for screen sharing and the like).
Re:GTK 5 might drop X11 support by kaba0 on Thursday July 07, 2022 @02:46AM (#32010664)
Why do you think it underestimated the problem? I am fairly sure it was a deliberately small core with an extensible (and queryable!) protocol model, exactly to be able to later develop more and more features.

There is no way to ship a full X11 replacement in one go, especially not in a bazaar-style platform.

Re:GTK 5 might drop X11 support by vetinari on Wednesday July 06, 2022 @05:02PM (#32006781)
Part of the puzzle:

The Real Story Behind Wayland and X - Daniel Stone (linux.conf.au 2013) https://www.youtube.com/watch?v=RIctzAQOe44