News for hackers. Stuff that matters.
Re:Apple announces 27-inch 5K Studio Display by adrianmsmith on Tuesday March 08, 2022 @02:10PM (#30604713)
Would be nice to have >5K resolutions to have more pixel density.

Alas, macOS doesn't support any native scaling other than 100% and 200%. So if they did release e.g. a 27" 8K monitor, the text would either be too small, or they'd have to use bitmap scaling to make it bigger in which case there'd be no advantage of having an 8K monitor.

(EDIT: To clarify, all other scaling factors are done by rendering at either 100% or 200% and doing bitmap scaling up or down. By bitmap scaling 200% up up to e.g. 250%, things are bigger so that's good, but there's no extra detail being displayed, so you're wasting the resolution of your monitor. You might as well buy a cheaper monitor with fewer but larger pixels.)

I really don't understand why they don't either (a) adopt Windows' approach of allowing rendering directly to any arbitrary scale, or (b) at least introduce a 300% mode with bitmap scaling analogous to their 100% and 200% modes.

Re:Apple announces 27-inch 5K Studio Display by astrange on Tuesday March 08, 2022 @02:59PM (#30605905)
Your suggestion was tried for years and failed every time because it doesn’t work. HiDPI shipped because it was 2x or nothing. (Later there was 3x.)

The reason Windows developers still think it might work is they have no taste and don’t care about localized UI, pixel cracks, or blurry bitmap controls.

Re:Apple announces 27-inch 5K Studio Display by kllrnohj on Tuesday March 08, 2022 @06:40PM (#30608941)
Android has been shipping arbitrary DPI support for longer than iOS or MacOS has supported the limited 2x HiDPI, and it doesn't have the issues you're talking about.

It's definitely possible to do, although retrofitting an existing UI toolkit & ecosystem is a massive challenge.

Re:Apple announces 27-inch 5K Studio Display by astrange on Tuesday March 08, 2022 @11:19PM (#30610890)
Isn't the Android SDK older than iOS? Either way, it can't escape blurriness. There's bitmaps on this very page and if I zoom in the reply button misrenders.

Actually it can't escape pixel cracks either, as I seem to remember OpenGL ES 1.0 including GL_LINES where the default width is 1px.

Re:Apple announces 27-inch 5K Studio Display by kllrnohj on Wednesday March 09, 2022 @06:23AM (#30613334)
Androids pixels are display pixels, there's no post-render scaling. So no pixel cracks, no blurriness, etc... Density is instead handled mostly at layout, as it should be.
Re:Apple announces 27-inch 5K Studio Display by astrange on Wednesday March 09, 2022 @06:11PM (#30621213)
You can't just make the windows bigger on a high res display, the text will be unreadably small.
Re:Apple announces 27-inch 5K Studio Display by kllrnohj on Wednesday March 09, 2022 @06:42PM (#30621464)
Of course you can. Text only ends up unreadably small if your text is specified in pixels. Which on a density-aware toolkit (like Android's) it isn't. https://developer.android.com/training/multiscreen/screenden...

This is also best practice on many other platforms, too (eg, 'pt' and 'em' units). This is far less commonly followed on most toolkits, though, but it's the norm on Android.

Re:Apple announces 27-inch 5K Studio Display by astrange on Wednesday March 09, 2022 @08:17PM (#30622130)
And now your controls are either blurry or don't match the text size or you redid them all in vector art.

Text size controls are in iOS as an accessibility feature (dynamic type) but it's not always on and it can't be the approach to HiDPI.

Re:Apple announces 27-inch 5K Studio Display by naikrovek on Tuesday March 08, 2022 @03:24PM (#30606364)
nah, hidpi on Windows is fine if you know what you're doing as an application developer. it's those who haven't bothered to make the changes recommended or required that make windows hidpi support look worse than it is in single-monitor setups.

multiple monitors on Windows with varying dpi scales is not great though, and probably can't be until some backwards compatibility promises are broken or expired.

Re:Apple announces 27-inch 5K Studio Display by xenadu02 on Tuesday March 08, 2022 @04:26PM (#30607273)
> nah, hidpi on Windows is fine if you know what you're doing as an application developer.

Many (most?) don't or can't be bothered so the end result in practice is that it doesn't work. Microsoft has been chasing the HiDPI fairy for decades and the situation hasn't really gotten better. They still ship software (both in and outside the OS) that isn't HiDPI aware.

Retina prioritizes making it easy for developers to adopt: Double the size of artwork, points are 2 pixels, Done. Are there quibbles? Sure. But millions of people are looking at HiDPI screens where every single thing in the OS and all third party apps they use fully support 2x.

No one lives in the magical world where arbitrary scaling factors are supported. Doing that as a developer is just too damn complicated when @1x + @2x (and maybe @3x) makes 98% of people happy and is vastly less work.

Re:Apple announces 27-inch 5K Studio Display by astrange on Tuesday March 08, 2022 @05:05PM (#30607811)
> Microsoft has been chasing the HiDPI fairy for decades and the situation hasn't really gotten better.

Well, I want to say it has gotten better. Their Metro design is what a UI has to look like to work with arbitrary scales and still solve those problems I mentioned. The downsides are it uses simple geometric shapes and has tons of whitespace everywhere so text can reflow in longer languages.

This is probably another big reason behind “flat design” in modern websites, the old skuomorphic (sp) stuff would be hard to do with vectors.

(As for vectors in UI, they have other performance issues which are important if you like live resizing windows.)

Re:Apple announces 27-inch 5K Studio Display by int_19h on Tuesday March 08, 2022 @10:07PM (#30610469)
The vast majority of apps on modern Windows (10+) just works. I've been running all kinds of weird scaling factors like 175% for the past several years with no issues.
Re:Apple announces 27-inch 5K Studio Display by nickpp on Tuesday March 08, 2022 @03:43PM (#30606594)
In the latest Windows 11 there are a bunch of native OS dialog which are not high-dpi aware and look pixelated on my 4K monitor.

If even Microsoft can’t be bothered, what do you expect from app developers?!

Re:Apple announces 27-inch 5K Studio Display by int_19h on Tuesday March 08, 2022 @10:08PM (#30610478)
Dialogs themselves are HiDPI-aware; but if the app that opens them doesn't advertise itself as HiDPI-aware, it doesn't help.
Re:Apple announces 27-inch 5K Studio Display by solarmist on Tuesday March 08, 2022 @03:44PM (#30606615)
>nah, hidpi on Windows is fine… Exactly, it’s fine.

Apple has never settled for “fine” either it’s great or it gets cuts at some point.

>if you know what you’re doing as an application developer. Apple also tends to avoid wading into footgun waters to keep quality (for 3rd party devs) as high as possible across the board.

Re:Apple announces 27-inch 5K Studio Display by petilon on Tuesday March 08, 2022 @03:56PM (#30606816)
> I really don't understand why they don't either (a) adopt Windows' approach of allowing rendering directly to any arbitrary scale

Windows is badly broken in this regard. I bought and returned a Microsoft Surface laptop because its rendering is broken: If you display a web page containing horizontal lines (like grid lines of an HTML table) then the lines will appear to have varying thickness even though they are all set to 1px. That's crap; I couldn't believe Microsoft is shipping this. If Windows scaling is set to anything other than 100% or 200% you will have this issue. Both 150% and 300% have this issue. I have never seen such issues on a Mac.

Re:Apple announces 27-inch 5K Studio Display by pcr910303 on Tuesday March 08, 2022 @02:18PM (#30604912)
Macs does support non-integer scaling. In fact, macOS currently ships non-integer scaling by default in certain MBP models. It gets criticized from time to tome, though the newer 14/16” MBPs ship 200% as default again.
Re:Apple announces 27-inch 5K Studio Display by NobodyNada on Tuesday March 08, 2022 @02:34PM (#30605321)
Unless things changed since last I checked ~2 years ago, macOS’s 150% scaling actually renders at 300% and downscales. It looks pretty bad (visible aliasing on any kind of text) and is wasteful performance-wise.
Re:Apple announces 27-inch 5K Studio Display by newaccount74 on Tuesday March 08, 2022 @02:53PM (#30605765)
As far as I know, it's worse, it renders at 200% and downscales.

macOS draws only at 1x or 2x. 3x is iOS only.

Apples decision to support only integer scaling was what allowed them to adopt Retina displays very quickly. Unfortunately it led to a subotimal solution in the long term.

Re:Apple announces 27-inch 5K Studio Display by TingPing on Tuesday March 08, 2022 @03:58PM (#30606848)
That's just how to do it. You scale extra information down. Anything else doesn't work outside of vector based formats.
Re:Apple announces 27-inch 5K Studio Display by int_19h on Tuesday March 08, 2022 @10:10PM (#30610485)
It also applies to text, which is vector-based (and which usually constitutes most of what's on the screen!).
Re:Apple announces 27-inch 5K Studio Display by pombrand on Tuesday March 08, 2022 @04:08PM (#30606983)
it actually looks great on the LG 5k giving you 2880 pixels across and there's no significant performance hit w a M1 macbook air.
Re:Apple announces 27-inch 5K Studio Display by thirdsun on Wednesday March 09, 2022 @05:51AM (#30613137)
It's still provides subpar image quality and is wasteful, even if the M1 won't audibly complain. I'd never use it.
Re:Apple announces 27-inch 5K Studio Display by the_lucifer on Tuesday March 08, 2022 @02:27PM (#30605130)
> It gets criticized from time to tome, though the newer 14/16” MBPs ship 200% as default again.

The new 2021 MacBook Pros were such a great design and it's clear how every small thing points to them being the greatest since 2015 Pros.

Re:Apple announces 27-inch 5K Studio Display by nicoburns on Tuesday March 08, 2022 @02:33PM (#30605289)
I upgraded from 2015 13" Macbook Pro to 2021 14" Macbook Pro, and it's remarkable how similar the devices are. The physical dimensions are almost identical. Neither have a touch bar. And they both have a similar selection of ports (HDMI, SD card, aux, mag safe), and in very similar locations. The difference is basically improvements in quality of pretty much everything: better screen resolution and size, better webcam, better keyboard, better speakers, USB-C instead of thunderbolt ports and USB-A, better battery life, and of course a much much faster processor and thermals.
Re:Apple announces 27-inch 5K Studio Display by copperx on Tuesday March 08, 2022 @02:13PM (#30604780)
I'm confused by your post. macOS definitely supports fractional scaling since 2012.
Re:Apple announces 27-inch 5K Studio Display by jcelerier on Tuesday March 08, 2022 @02:33PM (#30605286)
It does so by rendering at 200% then downscaling the resulting texture which is absolutely horrendous for both performance and looks
Re:Apple announces 27-inch 5K Studio Display by bluedino on Tuesday March 08, 2022 @03:35PM (#30606475)
They come with that as default
Re:Apple announces 27-inch 5K Studio Display by mrkstu on Tuesday March 08, 2022 @02:26PM (#30605112)
It's there but it's noticeably slower/buggier.
Re:Apple announces 27-inch 5K Studio Display by bragh on Tuesday March 08, 2022 @03:04PM (#30606000)
It depends on how the display is detected. Never got it to work with Dell UltraSharps, but some curved LG display works fine.
Re:Apple announces 27-inch 5K Studio Display by hughrr on Tuesday March 08, 2022 @02:12PM (#30604771)
I’m running at neither 100% or 200% on my 4k 27”…
Re:Apple announces 27-inch 5K Studio Display by kccqzy on Tuesday March 08, 2022 @02:20PM (#30604974)
UI elements are still rendered at 2x and then downscaled. It's just that you (or most people) can't tell the difference. Me neither.
Re:Apple announces 27-inch 5K Studio Display by adrianmsmith on Tuesday March 08, 2022 @03:21PM (#30606297)
However this decision does mean Apple can't produce monitors with more than about 200 PPI without the text being too small (at 200%). i.e. they can't go beyond 5K at 27".

Which is a shame, you can use 8K monitors with Windows at e.g. 300% just fine.

Re:Apple announces 27-inch 5K Studio Display by kccqzy on Tuesday March 08, 2022 @03:53PM (#30606778)
They can easily add support for rendering at 3x. iOS has supported that since iPhone 6 Plus. The only thing that's missing from macOS is a switch to turn it on, and produce all the UI assets at 3x.
Re:Apple announces 27-inch 5K Studio Display by hughrr on Tuesday March 08, 2022 @02:22PM (#30605006)
Exactly.
Re:Apple announces 27-inch 5K Studio Display by mekster on Wednesday March 09, 2022 @12:25PM (#30617311)
Seriously, who needs 8k?

For textual work, 4k is crisp enough, for gaming you can't run 8k with 120Hz as it's way too demanding and there are no content that dense, for movies or TV there are barely any content for 8k and maybe it's just for photo editors.

Having 120Hz for all the display's baseline is far more important than going beyond 4k.

Re:Apple announces 27-inch 5K Studio Display by BitwiseFool on Tuesday March 08, 2022 @02:33PM (#30605291)
> (a) adopt Windows' approach of allowing any arbitrary scale

Apple is all about controlling and curating the user experience. They would much rather force you into some lane than allow you to go wild configuration wise.

Re:Apple announces 27-inch 5K Studio Display by naikrovek on Tuesday March 08, 2022 @03:25PM (#30606379)
is allowing a 150% option considered "going wild"?
Re:Apple announces 27-inch 5K Studio Display by BitwiseFool on Tuesday March 08, 2022 @03:36PM (#30606488)
Personally, no, but the GP did say "allowing any arbitrary scale" and that's what I was referring to. Why Apple does not allow 150% is beyond me because it is quite reasonable. But I can understand why they don't allow users to enter a value like 168%.
Re:Apple announces 27-inch 5K Studio Display by petilon on Tuesday March 08, 2022 @03:58PM (#30606843)
> Why Apple does not allow 150% is beyond me because it is quite reasonable.

It is absolutely not reasonable. HTML tables with horizontal grid lines will appear to have varying line thicknesses when in reality they are all set to the same width.

Re:Apple announces 27-inch 5K Studio Display by naikrovek on Thursday March 10, 2022 @11:54PM (#30636367)
that doesn't have to be true. solve that problem instead of using it as proof that 150% isn't feasible.