Live data from Hacker News

Lunar – macOS utility to set brightness and volume on external monitors

lunar.fyi

101–110 of 143 posts

Re: Lunar – macOS utility to set brightness and volume on external monitors

#101
post #46
post #40

Earlier quoted context omitted.

I have the exact same setup and same issues!! So frustrating.

Have you tried MonitorControl? It solved my problem. I guess Lunar should also work.

Yes, I ended up just using Lunar. But no, never tried MonitorControl.

Re: Lunar – macOS utility to set brightness and volume on external monitors

#102
post #34

Earlier quoted context omitted.

Is there a way to know how my monitor does this?

Either disassemble your monitor and lookup the ICs, find someone who already did it, or try to write about 100 000 times and see what happens... :)

Fair. I was hoping there was a list of common or known monitors that do this.

Re: Lunar – macOS utility to set brightness and volume on external monitors

#103
post #70

Earlier quoted context omitted.

I've been reading that NAND flash doesn't support erasing individual bytes, while EEPROM does. If there's some way to attempt this and know the outcome, maybe that's a way to figure it out.

The problem is that eeproms don't do wear leveling. Not internally and they're usually controlled by a simpler microcontroller that doesn't have enough resources to do it in software. So every time you write to three same byte you're writing the same cell. 100.000 cycles is actually much more than current flash generations.

These days basically every kind of mass storage device you will use has its own dedicated controller chip which is pretty much a cpu with its own RTOS now. Those 2 cent 8kb eeprom ICs don't but its crazy how complex something like an sd card is.

Re: Lunar – macOS utility to set brightness and volume on external monitors

#104
post #13

Got a MacBook Pro (16-inch, 2019) weeks ago and bought a LG monitor ( https://www.amazon.com/gp/product/B07YGZ7C1K ). The brightness setting bothered me for 2 weeks as neither the Mac OSX nor LG's onscreen control software can set the brightness for the external monitor. The external monitor brightness changes every time I open/close the macbook lid. Thanks to both ddcctl and MonitorControl, I can finally set a fixed…

How have you found MacOS' font rendering on the 1440p display? I've been having all sorts of trouble in some applications having terrible font rendering while others are perfectly fine running at the monitor's native resolution.

Re: Lunar – macOS utility to set brightness and volume on external monitors

#105
post #70

Earlier quoted context omitted.

The problem is that eeproms don't do wear leveling. Not internally and they're usually controlled by a simpler microcontroller that doesn't have enough resources to do it in software. So every time you write to three same byte you're writing the same cell. 100.000 cycles is actually much more than current flash generations.

These days basically every kind of mass storage device you will use has its own dedicated controller chip which is pretty much a cpu with its own RTOS now. Those 2 cent 8kb eeprom ICs don't but its crazy how complex something like an sd card is.

Some of those SD cards run linux! https://hackaday.com/2016/06/30/transcend-wifi-sd-card-is-a-...

Re: Lunar – macOS utility to set brightness and volume on external monitors

#107
post #102

Earlier quoted context omitted.

Either disassemble your monitor and lookup the ICs, find someone who already did it, or try to write about 100 000 times and see what happens... :)

Fair. I was hoping there was a list of common or known monitors that do this.

You could pay to buy monitors for people and ask them to toggle the brightness until it dies, then record it down on a wiki and opensource this information.

Re: Lunar – macOS utility to set brightness and volume on external monitors

#108
post #17

There is a problem with "cheap" monitors and DDC/CI: some of them use EEPROMs to store brightness settings, and this limits you to about 100,000 writes. Worrying about this is the main reason we don't ship DDC/CI with f.lux. (I know that some more modern monitors use NAND and don't have limitations like this.) Anyone know if these fears are overblown?

Wait are you behind f.lux? If so - THANKS!!

Re: Lunar – macOS utility to set brightness and volume on external monitors

#109

Earlier quoted context omitted.

Wait...so after the 100.000th write, your monitor will be forever stuck on the brightness it was set to that time? BTW, assuming I change brightness 20 times per day, that would still give me 5000 days ≈ 13,5 years of service. By that time I definitely hope to use a different monitor than today

No, after 100.000th write your monitor is toast because the EEPROM died. Also note that most people change brightness in increments, with each step causing a write.

Hmmm. I hope the firmware authors weren't that dense. I would imagine they do a write when you exit the brightness change menu.

100,000 is a typical eeprom guaranteed write count. It will likely last much longer. The eeprom is probably much bigger than they need for such an application so they could actually handle the wear case by moving to alternate locations when write failures occur.

Re: Lunar – macOS utility to set brightness and volume on external monitors

#110
post #96
post #11

Earlier quoted context omitted.

Lunar also has volume control, could not fit that into the title. It's absolutely great, totally what I needed for years. Other tools I tried crashed my Macbook. Lunar has been absolutely smooth, and great design to boot. I immediately bought the author a coffee. Edit: updated the title

Any hint on where to find volume ctrl?

The volume keys on my Apple Magic keyboard just started working with my LG. It seems the monitor needs to have a speaker and be the audio-out device for this to be active.
Post reply on HN