News for hackers. Stuff that matters.
Re:Trying to get past the 500 nits limit of the MacBook Pro ... by exsf0859 on Friday February 04, 2022 @08:52PM (#30216241)
It's easy to write an app that displays arbitrary graphics at 1600 nits on the MacBook Pro. You just have to use the Metal API, an "extended" color space, and a Float colorPixelFormat.

I'm not sure that this blog post author is trying to accomplish, possibly they are trying to use some other API besides Metal?

Re:Trying to get past the 500 nits limit of the MacBook Pro ... by alin23 on Friday February 04, 2022 @11:49PM (#30217589)
I’m not trying to draw HDR content. I want to increase to overall UI brightness (basically, make the brightness of where backlight LEDs go past the software defined limit)

I’m testing Apple’s claim of 1000 nits sustained brightness which led many people to believe that they can finally use their laptop in direct sunlight without squinting at the screen.

I’m aware of thermal limitations and that even sustained might not mean “whole screen at 1000 nits for 8 hours”. But it would be nice to be able to use 1 hour of my work time to work in the park outside my apartment with a bright enough screen for that time.

The system has thermal capping implemented from what I saw in the CoreBrightness framework, so it should be safe as long as the system can detect that LEDs are starting to overheat and lower the brightness automatically.

Re:Trying to get past the 500 nits limit of the MacBook Pro ... by tomtom1337 on Saturday February 05, 2022 @01:30AM (#30218376)
As a suggestion to help you with your quest - try polarised sunglasses. I used them with my M1 mac this summer quite successfully! The macbook screen is polarised so that the screen light goes straight through the sunglasses, while the surrounding sunlight gets dimmed.
Re:Trying to get past the 500 nits limit of the MacBook Pro ... by alin23 on Saturday February 05, 2022 @05:51AM (#30219925)
Yes, I noticed that sunglasses help, but they still darken the screen a bit because of their tint.

This is a video I took last summer on this: https://files.alinpanaitiu.com/ff-polarized-macbook.mp4

Re:Trying to get past the 500 nits limit of the MacBook Pro ... by bujak300 on Saturday February 05, 2022 @02:36AM (#30218758)
What specific glasses are these? I'd guess that the direction of the polarisation of the glasses makes a big difference
Re:Trying to get past the 500 nits limit of the MacBook Pro ... by wtallis on Saturday February 05, 2022 @02:58AM (#30218866)
I think polarized sunglasses are always vertically polarized, to block glare off horizontal surfaces.
Re:Trying to get past the 500 nits limit of the MacBook Pro ... by robocat on Saturday February 05, 2022 @08:16AM (#30220695)
Correct. This page explained it nicely: https://nigerianscholars.com/tutorials/wave-optics/polarizat...

"Vertically polarized light is preferentially refracted at the surface, so that the reflected light is left more horizontally polarized" and you use vertically polarised sunglasses to filter out the reflected horizontally polarised light.

Re:Trying to get past the 500 nits limit of the MacBook Pro ... by runeks on Saturday February 05, 2022 @03:33AM (#30219055)
> I’m testing Apple’s claim of 1000 nits sustained brightness which led many people to believe that they can finally use their laptop in direct sunlight without squinting at the screen.

How about increasing the brightness of just the text, and not the background, like https://kidi.ng/wanna-see-a-whiter-white?

No reason to crank up the brightness for the background as far as I can see.

Re:Trying to get past the 500 nits limit of the MacBook Pro ... by alin23 on Saturday February 05, 2022 @05:02AM (#30219644)
Well yes, even that would be useful if working with text. (although I’m sure some will also be doing some graphic work)

But this can’t be done either. That website has the whiter-than-white text because it chose to do that. It’s known that every app has the possibility of rendering HDR content at more than 500 nits.

The problem I was trying to solve is how to do that from the outside, on apps that haven’t implemented HDR logic (which is about all of them)

Re:Trying to get past the 500 nits limit of the MacBook Pro ... by roughly on Friday February 04, 2022 @09:56PM (#30216655)
The author is the author of lunar - https://lunar.fyi/ - an app for controlling screen brightness on external (and internal) screens on the Mac. He is trying to force the system to brighten the entire screen to the levels it will brighten light spots in an HDR video.
Re:Trying to get past the 500 nits limit of the MacBook Pro ... by krackers on Friday February 04, 2022 @09:08PM (#30216332)
I believe the author wanted the entire screen framebuffer to be displayed at 1600 nits. I.e. effectively cranking the brightness up to 11.
Re:Trying to get past the 500 nits limit of the MacBook Pro ... by Dylan16807 on Friday February 04, 2022 @09:42PM (#30216555)
Or, like, 800.
Re:Trying to get past the 500 nits limit of the MacBook Pro ... by imwillofficial on Friday February 04, 2022 @09:37PM (#30216509)
I see they finally invented the at home xray
Re:Trying to get past the 500 nits limit of the MacBook Pro ... by grishka on Saturday February 05, 2022 @03:46AM (#30219169)
Heh, interesting. When I just got my new macbook, I did try to draw something with a "whiter than white" color to see what the display is capable of. But I didn't think of Metal, I poked around in a custom NSView with various NSColor constructors passing values more than 1, and that didn't work.
Re:Trying to get past the 500 nits limit of the MacBook Pro ... by kevingadd on Friday February 04, 2022 @09:05PM (#30216315)
Even if they don't want to use Metal, there's stuff like MoltenVK that you can probably use to access the same functionality