News for hackers. Stuff that matters.
Re:X12 by oleg_antonyan on Tuesday February 28, 2023 @03:10AM (#34966889)
In terms of usability - definitely. But it's built on top of similar unfulfilled promise: we're running out IPv4 addresses VS X11 is unmaintainable legacy full of security bugs. 20 years later IPv4 is still dominant, Wayland is still unusable and X11 just works.
Re:X12 by minitech on Tuesday February 28, 2023 @03:15AM (#34966923)
> Wayland is still unusable

Wait, what have I been doing my work on then? Someone should inform Ubuntu and Fedora, too. Who knew it hasn’t been possible to use the most popular Linux distro out of the box for two years?

Re:X12 by oleg_antonyan on Tuesday February 28, 2023 @03:24AM (#34966976)
YMMV. When it reaches the level of X11 that "just works for everyone without preconditions" it will become usable in my coordinate system
Re:X12 by throwawaylinux on Tuesday February 28, 2023 @03:32AM (#34967025)
X11 is not usable for everybody without preconditions though.
Re:X12 by rekoil on Tuesday February 28, 2023 @03:38AM (#34967066)
Exactly, there's hundreds of lines of illegible X configuration for every such "just works" setup.

There's a difference between "the community has learned to deal with it" and "just works".

Re:X12 by kaba0 on Tuesday February 28, 2023 @12:49PM (#34972409)
I honestly don’t get people, like were these people just extremely lucky and never had to tweak anything? Like, I remember times when I had to blindly log into my user and try to fix my setup from there, purely by muscle memory.
Re:X12 by yjftsjthsd-h on Tuesday February 28, 2023 @04:52PM (#34975384)
> I honestly don’t get people, like were these people just extremely lucky and never had to tweak anything?

Yeah, that's about how I feel about Wayland. I'm not sure quite why there are two groups of people with such wildly different experiences talking past each other, but I suspect it comes down to what each user wants the software to do and what hardware they're running on.

Re:X12 by saturn_vk on Tuesday February 28, 2023 @03:13PM (#34974192)
I remember in the early 2000s still needing to write to a config file to get X to work on my desktops at the time. Was it 30 years old at that time? I've been running Wayland crash free for a few years already, without the need to touch a single config file. Does that mean it reached better usability at least twice as fast compared to X?
Re:X12 by messe on Wednesday March 01, 2023 @07:54AM (#34981821)
I remember having to tweak Xorg.conf in the late 00s. The X11 xkcd[1] is from 2011.

[1]: https://xkcd.com/963/

Re:X12 by fsh on Tuesday February 28, 2023 @03:27AM (#34966991)
X11 cannot handle the average user connecting an average laptop to an average external monitor (no usable per-screen scaling). Maybe this was good enough in the 80s, but today it is seriously holding back the platform.
Re:X12 by mnd999 on Tuesday February 28, 2023 @07:50AM (#34968693)
This is my situation. I use sway for this reason and it’s just about okay if you’re not on Nvidia.

Screen sharing is the main gripe, it’s a pain to configure, involves a lot of different bits of software which have to be orchestrated and none of them are mature enough not to break occasionally in an unexpected fashion.

Re:X12 by goosedragons on Tuesday February 28, 2023 @08:11AM (#34968866)
Sigh. X11 actually can. Even in its original release it supported different PPIs for different displays. But a lot of Linux programs (especially GTK ones) will flat out assume the specified monitor PPIs are just wrong and will use 96 PPI. Plus with the way modern multi-monitor usage works with X11 by faking one giant single screen that doesn't work anymore. But when it works, it works.

But even with that it's STILL possible with the right setup using xrandr where you essentially render at a higher res and then downscale. Ubuntu's X11 version of Gnome has had this out of the box since I think 20.04 and it works very well. IIRC upstream Gnome refused it because that's what Wayland is supposed to do...

Re:X12 by vetinari on Tuesday February 28, 2023 @04:07PM (#34974846)
> Even in its original release it supported different PPIs for different displays

Yes and no.

X11 screens could have different resolutions, color modes and pixel density, but windows could not span over multiple screens, or moved from one screen to another. The only way the user/the application could move window to a different screen would be to open a new connection to the screen (denoted by that familiar DISPLAY:0.x environment variable) and recreate all the resources there.

There was exactly one application that was capable of doing that at runtime (XEmacs). For all the others it meant restarting the application with a new DISPLAY env var.

Hence Xinerama. It joined all the different physical displays into a single screen, which allowed to move windows around, but came with limitations, like the same color modes or DPI for all displays -- since it was single screen logically.

Re:X12 by destructionator on Tuesday February 28, 2023 @04:46PM (#34975311)
> But even with that it's STILL possible with the right setup using xrandr where you essentially render at a higher res and then downscale.

You actually don't even have to do this for updated programs - hidpi aware applications scale themselves, vector graphics style, so there's no up then down scaling going on. And applications can easily read the xrandr config and adjust their factor when moved to a different monitor. However, xrandr's ppi factor is not the scale factor you likely want, so this isn't really standardized; each toolkit might do it a bit differently. But all the pieces are there.

Non-aware applications might be bitmap scaled if needed though. (Of course, wayland just breaks all legacy applications anyway so that sets the compatibility bar low regardless)

Re:X12 by trissylegs on Tuesday February 28, 2023 @03:36AM (#34967052)
> YMMV. When it reaches the level of X11 that "just works for everyone without preconditions" it will become usable in my coordinate system

I don't think X11 ever "just worked" for me. Every computer I installed Linux on had X11 problems.

The XKCD about Xorg.conf was very relatable back then: https://xkcd.com/963/

Re:X12 by sgjohnson on Tuesday February 28, 2023 @03:18AM (#34966936)
> But it's built on top of similar unfulfilled promise: we're running out IPv4 addresses.

It’s not an unfulfilled promise. We’re out of IPv4 addresses and have been for almost a decade.

NAT444444444444444444444 is not the solution.

Re:X12 by oleg_antonyan on Tuesday February 28, 2023 @03:30AM (#34967011)
Well, most providers worldwide still use IPv4 which means that cost of switching to IPv6 is higher than cost of maintaining workarounds for 10 years, and who knows, maybe it will be the same for another 10 years
Re:X12 by rekoil on Tuesday February 28, 2023 @03:39AM (#34967073)
No it's higher because they've started charging for IPv4 addresses, they just don't want to lose their cash cow...
Re:X12 by sgjohnson on Tuesday February 28, 2023 @07:58AM (#34968762)
But it's really not. About 85% of the entire public IPv4 range is currently announced.

Transfering IPv4 prefixes comes with a 2 year transfer restriction period.

IPv4 addresses currently cost about $50, and you have to buy an entire subnet at once, minimum /24.

It makes perfect sense to start charging for them if you're running out of them and don't want to buy additional prefixes.

Not to mention that there's also additional cost involved in case someone was using that particular address (or even worse multiple addresses from the same /24) for spam or malicious purposes, because that means that the entire prefix is currently trashed and there's some effort involved for it to be removed from all the independently maintained blacklists etc.

Re:X12 by sgjohnson on Tuesday February 28, 2023 @07:31AM (#34968548)
Yes, having everyone involved learn IPv6 is more expensive than burying your head in the sand and adding another 4 at the end of NAT444444444444444444444, but at some point it’ll just be too ridiculous.
Re:X12 by eknkc on Tuesday February 28, 2023 @03:31AM (#34967019)
It has been Good Enough™ unfortunately. At this point I feel like we will never see IPv6 fully deployed.
Re:X12 by ddtaylor on Tuesday February 28, 2023 @03:27AM (#34966992)
Sure, but the end result is that nobody can host a service with an ipv4 address only. You would be missing out on the majority of your audience.
Re:X12 by sgjohnson on Tuesday February 28, 2023 @07:30AM (#34968540)
You absolutely can. I’m single stacking IPv6 on my fresh hetzner box.

Cloudflare in front of web services and it just works(tm).

For everything else - Argo can do arbitrary TCP (requires cloudflared though) and you can start bugging your ISP about the very real need for IPv6.

Re:X12 by yjftsjthsd-h on Tuesday February 28, 2023 @04:54PM (#34975421)
> Cloudflare in front of web services and it just works(tm).

Well... yeah? That's adding support for both stacks; just because you farmed it out to a middle-man doesn't mean that it's not there.

Re:X12 by sgjohnson on Saturday March 04, 2023 @06:53AM (#35020200)
> Well... yeah? That's adding support for both stacks; just because you farmed it out to a middle-man doesn't mean that it's not there.

Not strictly true. It means that you only have to worry about IPv6 addresses in Layer 7, and you can forget about layers 2 and 3 altogether.

And Layer 7 isn’t a problem for people who should be deploying IPv6 right now because https://ipv6bingo.com/