SundownBlog
← All posts
Deep Dive11 min read

Flicker-Free Mode for Mac: How Sundown Eliminates PWM Headaches Without Killing Your Brightness

By Jack Richards

You have tried turning your brightness up. You have tried turning it down. Both make your head hurt, just differently. Up is too harsh. Down triggers the invisible strobe that your MacBook uses to simulate dimness. You cannot win because the display hardware was not designed with your neurology in mind.

Flicker-free mode is a specific technical approach to this problem. It is not a marketing phrase. It describes a method where the hardware backlight stays locked at maximum output while all perceived dimming happens through software manipulation of the display's gamma lookup table. The result is a screen that looks as dim as you want but never flickers.

This post explains the mechanism in detail, shows you why the obvious fixes do not work, and walks through exactly what Sundown does at the rendering level to eliminate PWM without forcing you to stare at a full-brightness panel.

Why Your MacBook Flickers When You Dim It

Every MacBook display controls brightness using Pulse Width Modulation. The backlight does not glow at a lower wattage when you drag the brightness slider down. It switches between fully on and fully off at a fixed frequency, and the ratio of on-time to off-time determines perceived brightness.

At 50% brightness, the backlight is on for half of each cycle and off for the other half. At 20% brightness, it is on for one-fifth of the cycle. The lower you go, the more time the display spends in the off state. Your eyes average the rapid switching into a steady glow. Your visual cortex does not.

NotebookCheck measurements show MacBook Pro miniLED models operate at 14,800 Hz. The MacBook Air activates PWM below roughly 40% brightness. Both use it. They differ in when and how aggressively.

The critical point most articles miss: on MacBook Pro 14-inch and 16-inch models with miniLED, PWM operates at every brightness level including 100%. The local dimming zones that give miniLED its contrast advantage require PWM to function. You cannot escape it by cranking brightness to maximum. The backlight still strobes. It just strobes with a near-100% duty cycle.

What the Research Actually Says About Invisible Flicker

IEEE 1789-2015 classifies LED flicker risk by frequency. Below 90 Hz is high risk. Above 1,250 Hz is low risk. The MacBook Pro's 14.8 kHz falls in the low-risk category. Low risk is not no risk.

Research by Wilkins and colleagues showed that headache incidence doubles at 100 Hz flicker versus 32 kHz. The MacBook sits between those frequencies. For the estimated 10 to 30 percent of the population with photosensitivity, "between" means symptomatic.

Electroretinography studies demonstrate measurable cortical response to flicker frequencies far above the 80 Hz threshold of conscious perception. Your brain cannot see the strobe. It responds to it anyway. The headache, the eye pressure behind your orbits, the difficulty concentrating after an hour of screen work at low brightness — these are neurological responses to a physical stimulus that your conscious vision has no mechanism to detect.

The Three Approaches to Stopping PWM

There are exactly three ways to eliminate PWM flicker on a Mac. Each involves a trade-off.

Option 1: Lock brightness at maximum. At 100% duty cycle, the backlight never enters the off state. No off state means no flickering. The trade-off is obvious: you now have a screen that is painfully bright in any room that is not flooded with sunlight. This is the approach most forum posts recommend. It works for about ten minutes before your eyes start watering from the sheer luminance.

Option 2: Use an external monitor with DC dimming. Some monitors dim by reducing the voltage to the backlight rather than strobing it. No PWM at all, at any brightness level. The trade-off is cost (a good DC-dimmed monitor is $400 or more) and portability (you lose the benefit the moment you leave your desk).

Option 3: Lock brightness at maximum and dim through the gamma table. This is what flicker-free mode does. The hardware backlight stays at full blast. The gamma lookup table — the mathematical function that maps pixel values to display output — is modified to reduce perceived brightness across the entire panel. Your screen looks dim. The backlight never flickers. Your eyes get relief from both the PWM strobe and the raw luminance.

How Gamma Table Dimming Works

Every display has a gamma lookup table (LUT). It is a function that translates the digital color value for each pixel into the actual light output. When macOS wants to show a pixel at 50% brightness in the color value, the gamma table maps that to the corresponding voltage for the display hardware.

Flicker-free mode modifies this table. Instead of letting the backlight handle dimming (via PWM), Sundown adjusts the gamma curve so that every pixel's output is scaled down mathematically. A pixel that would normally produce 200 candelas might be mapped to produce 80 candelas. The backlight is still at 100%. The pixel just asks for less light.

This is the same technique your display uses for color temperature adjustment. When you enable Night Shift or any blue light filter, macOS modifies the gamma table to reduce blue channel output. Flicker-free mode extends this to all three channels equally, producing a uniform dimming effect.

The technical implementation in Sundown uses CoreGraphics gamma APIs. It writes directly to the display's color lookup table for each connected screen. The operation takes less than a millisecond. There is no polling loop, no background process consuming CPU cycles. The gamma table is set once and the display hardware handles the rest until the next adjustment.

Why Software Dimming Looks Different From Hardware Dimming

If you have ever compared a display at 50% hardware brightness versus 100% brightness with a 50% gamma reduction, you may have noticed they do not look identical.

Hardware dimming (PWM) reduces the total amount of light leaving the display. Software dimming (gamma) reduces the range of light values the display can produce. The practical difference is contrast ratio. With hardware dimming, the ratio between the brightest and darkest pixels remains the same. With gamma dimming, the brightest achievable pixel is capped lower, which slightly compresses the contrast range.

In practice, the difference is subtle at moderate dimming levels (30% to 70% perceived brightness). At very deep dimming (below 20%), gamma dimming can make dark scenes look washed out because the display cannot produce enough distinction between near-black values.

Sundown accounts for this by applying a perceptually calibrated gamma curve rather than a linear reduction. Dark values are preserved with more precision than bright values, maintaining visible contrast in shadow detail even at low perceived brightness. The result is a dimmed display that looks natural, not flat.

MacBook Air vs MacBook Pro: Different Strategies

The two machines require different approaches because their PWM behavior differs.

MacBook Air (M2, M3, M4): PWM activates below approximately 40% brightness. Above that threshold, the Air uses DC voltage reduction, which produces zero flicker. If you keep your Air above 40% brightness, you do not need flicker-free mode for PWM protection. You may still want it for the additional dimming control, but PWM is not the concern.

MacBook Pro 14-inch and 16-inch (2021 and later): MiniLED local dimming zones require PWM at every brightness level. Even at 100%, the individual dimming zones strobe to maintain contrast. There is no brightness setting that eliminates PWM on these machines without gamma-based dimming. Flicker-free mode is the only software solution.

Sundown detects which Mac you are running on and adjusts its behavior accordingly. On a MacBook Air above 40% brightness, it leaves the hardware brightness alone and only applies color temperature filtering. On a MacBook Pro, it locks to maximum and handles all dimming through the gamma table by default when flicker-free mode is enabled.

Battery Impact

A reasonable concern: if the backlight runs at 100% all the time, does battery life suffer?

Yes, but less than you might expect. The backlight accounts for roughly 15 to 25 percent of total system power draw, depending on workload. The difference between 50% brightness (your typical indoor setting) and 100% brightness is approximately 1 to 2 watts on a MacBook Pro 14-inch. On a battery rated at 70 watt-hours, that translates to roughly 30 to 60 minutes of reduced battery life over a full charge.

Whether that trade-off makes sense depends on how badly PWM affects you. If you regularly get headaches within an hour of screen work at low brightness, trading half an hour of battery life for eight hours of pain-free productivity is not a difficult calculation.

How Sundown Implements Flicker-Free Mode

When you toggle flicker-free mode in Sundown's menu bar popover, three things happen in sequence.

First, Sundown reads your current hardware brightness value and stores it. This saved value is what gets restored when you turn flicker-free mode off.

Second, Sundown sets the hardware backlight to maximum through IOKit's brightness API. The display goes to full luminance.

Third, Sundown recalculates the gamma table to compensate. The gamma curve is adjusted so that the perceived brightness on screen matches what it was before the mode was enabled, even though the physical backlight is now at 100%. If you had your screen at 50% perceived brightness, the gamma table reduces pixel output by approximately 50%. The visual result is identical. The hardware behavior is completely different.

The entire process takes under 10 milliseconds. There is no visible flash. The transition is imperceptible because the gamma adjustment is applied in the same frame that the brightness change takes effect.

If you connect or disconnect an external display, Sundown reapplies the brightness lock automatically. If the system goes to sleep and wakes, the lock is reapplied on wake. The app monitors display configuration changes and ensures the backlight never silently reverts to PWM dimming without your knowledge.

FAQ

Does flicker-free mode work on external monitors?
Flicker-free mode controls the MacBook's built-in display backlight via IOKit. External monitors have their own backlight controllers that macOS cannot access. For external displays, the gamma dimming still applies (your external screen will look dimmer), but the hardware brightness remains controlled by the monitor's own firmware.

Can I use flicker-free mode with Night Shift or f.lux?
Technically yes, but there is no benefit. All three apps modify the gamma table. Running multiple gamma-modifying apps simultaneously can produce unpredictable color results. Sundown's built-in color temperature filtering goes deeper (500K vs Night Shift's 2700K), so flicker-free mode plus Sundown's own filter covers everything.

Will flicker-free mode affect True Tone?
True Tone adjusts the display's color profile based on ambient light sensors. It operates at a different layer than the gamma table. Both can run simultaneously without conflict. However, True Tone's adjustments are subtle (it shifts color temperature by a few hundred Kelvin), and at the deep warm temperatures Sundown applies, the True Tone adjustment becomes imperceptible.

Is there any scenario where flicker-free mode makes things worse?
If you are not sensitive to PWM, running flicker-free mode costs you some battery life (the backlight at max draws more power) and very slightly reduces contrast ratio at deep dimming levels. For most users, these trade-offs are unnoticeable. For PWM-sensitive users, they are irrelevant compared to the elimination of headaches.

Your screen does not need to hurt you. Flicker-free mode is one toggle. Start your 7-day free trial at trysundown.com.

Protect your screen tonight.

7-day free trial. 398 KB. Zero tracking. Zero CPU usage.

Start Free Trial

Related Posts