News for hackers. Stuff that matters.
Re:Framework Laptop with Ubuntu Review by chrisseaton on Wednesday January 05, 2022 @03:24PM (#29814444)
Again I don't really know what you think you mean by 'blurred'? How do you think this is working?

If I tried all the possible scalings for my external monitor, the grey line around each window, to give a specific example of, is always a crisp physical one-pixel wide.

macOS creates a buffer to render to that is the same size as the physical output you're choosing to use, and is able to render with pixel precision in that buffer.

Re:Framework Laptop with Ubuntu Review by lostmsu on Wednesday January 05, 2022 @03:52PM (#29814785)
Would be easier if you said what scalings have you tried and what is your external monitor native resolution.
Re:Framework Laptop with Ubuntu Review by chrisseaton on Wednesday January 05, 2022 @03:57PM (#29814842)
4k external monitor - here's HN at all the scalings https://imgur.com/a/QTrI6uJ. For example, look at the white box around the Y, that's always rendered precisely on hard physical pixel boundaries. It's one pixel for some scalings, then moves to two pixels for larger scalings. It's never a blur from a larger or smaller image that is then interpolated. It renders at the native resolution, knowing physical pixel boundaries, by the scaling of the render commands (the x and y to render at, before the render command runs) not an intermediate rendered image. (Remember to download the images so you aren't using browser interpolation to scale them.)
Re:Framework Laptop with Ubuntu Review by lostmsu on Wednesday January 05, 2022 @04:27PM (#29815181)
This looks pretty good. Though scaling in browsers has been mostly independent of corresponding OS features for quite a while. E.g. the issues mentioned above with Linux and fractional scaling do not affect browsers as much. The problem is usually with native UI elements, such as the settings app itself.

However, it is unclear to me what are the scaling ratios relative to the native resolution in your examples. In this article for Sierra you seem to be only able to pick integer factors: https://www.eizoglobal.com/support/compatibility/dpi_scaling...

Re:Framework Laptop with Ubuntu Review by chrisseaton on Wednesday January 05, 2022 @04:36PM (#29815308)
> In this article for Sierra you seem to be only able to pick integer factors

Maybe? But that's ancient history.

I don't know what the ratios are - the UI doesn't expose them.

Re:Framework Laptop with Ubuntu Review by lostmsu on Wednesday January 05, 2022 @05:35PM (#29816096)
What does it expose? In Sierra as you can see from the screenshot it simply shows scaled resolutions. So you can just divide native resolution by the scaled to get the factor.
Re:Framework Laptop with Ubuntu Review by chrisseaton on Wednesday January 05, 2022 @06:43PM (#29816923)
It looks like it treats them as 0.5 / 0.67 / 0.78 / 0.87 / 1.0 scaling (1080 / 1440 / 1692 / 1890 / 2160 for physical resolution of 2160).

But this is all a bit arbitrary - I think the macOS API deals with an abstract 'points' unit.

Re:Framework Laptop with Ubuntu Review by lostmsu on Thursday January 06, 2022 @12:31AM (#29819858)
Great to know. Might make me reconsider that M1 Mac Mini option.