12 ms·
Windows distressingly has two completely different mechanisms and APIs for setting brightness: one that operates over DDC/CI, and another that does something el
by chrismorgan 6y ago
Windows distressingly has two completely different mechanisms and APIs for setting brightness: one that operates over DDC/CI, and another that does something else (I’ll call it Method B, not knowing a better name). External monitors use DDC/CI, internal monitors (mostly meaning laptop screens) use Method B. I have failed in any attempts to hook brightness keys in user space (like how on Linux you’d just intercept XF86BrightnessUp and XF86BrightnessDown); something steals those keys before they ever get to user space, and use Method B. And there is no user interface anywhere for DDC/CI adjustment: it’s only an API that you can call.
So the end result is that Windows users can’t adjust the brightness of their non-laptop monitors without third-party software, or reaching around the side of the screen and fiddling with the infuriating controls of the frustrating OSD interface. So almost no one ever adjusts their screen’s brightness at all, and almost no one of the remainder adjust their screen’s brightness to match conditions. And manufacturers have (understandably) decided that too dim is worse than too bright. So most people’s screens are genuinely painfully bright. So then people say “don’t use actual white” and “don’t use actual black”. And those that have calibrated displays end up sad.
- FpUser 6y ago>"So the end result is that Windows users can’t adjust the brightness of their non-laptop monitors without third-party software" Not sure what are you talking about. I can adjust brightness (and lots of other things) of my monitors just fine using their own buttons.What on Earth does that have to do with the Windows OS?
- chrismorgan 6y agoPlease finish reading the sentence you’re quoting.
- FpUser 6y agoYeah, guilty. Still not sure if it practically matters. Do they really need to adjust brightness every day?
- mrob 6y agoThe appropriate brightness for programming or browsing the web isn't the same as for gaming or watching movies. Samsung monitors have a dedicated button for cycling through brightness profiles. DDC/CI control is even better.
- chrismorgan 6y agoIf you’re in a windowless or heavily-shaded office with consistent lighting, probably not. But if you’re in a normal house in a room that gets plenty of lighting from outside, absolutely. I tend to run my external monitors at 0% in the earlier morning, 20% in the mid-morning, 40% by the afternoon, sometimes up to 70% on a particularly bright summer day, and down to 0% in the evening (and I’d take it towards −20% at times if there was such a thing, their minimum brightness is nowhere near as dim as my laptop’s screen’s minimum brightness, which is even acceptable for use in a completely dark room; their 0% is its 25%, while their 100%s are similar). Leaving them at the 100% they came at would be awful, it’s a little too bright for my situation even in the middle of the day, let alone the evening.
- FpUser 6y ago>"If you’re in a windowless ..." Yup. That would be me. My office is in a basement of my house and has been for the last 20 years.
- jimmyspice 6y agohey, try ClickMonitorDDC: https://clickmonitorddc.bplaced.net/ https://clickmonitorddc.bplaced.net/ It allows you to change brightness, contrast (and volume, never tried it), from the taskbar. It works for a Dell and iiyama monitor I own, but not my Agon one, so YMMV
- chrismorgan 6y agoI found a freeware program ScreenBright a few years back and use it so that I type “b 0” in my command line to set the brightness to zero. (I tried it out to confirm that this DDC/CI thing would actually work, before I bothered delving into the Windows APIs to write my own CLI; but then figured, since it had a CLI, why bother? and just wrote a batch file around it that contains `@%~dp0\screenbright.exe -set brightness %1 -set screen 2 -set brightness %1` to do both monitors at once.)
- robocat 6y ago> something steals those keys before they ever get to user space The brightness keys could be managed by BIOS? If you can modify brightness during early boot, or while BIOS settings is showing, then there is a chance Windows doesn’t see those keypresses.
- chrismorgan 6y agoNo, they’re being handled from within Windows, somehow—it shows a screen brightness adjustment popup thingy in the corner, same as it does if you adjust the volume by key. I think it must just be some driver or something consuming them and turning them into something else. I do wish I could intercept it, not just for external monitors’ sake, but also so I could make it logarithmic or similar, like I did in Arch Linux + i3 with XF86Brightness{Up,Down} mapping and an xbacklight wrapper script. On my Surface Book, the smallest effective brightness change is 2%, and each 2% step between 0% and about 20% has at least as much effect as 40–50% or 80–100%, yet the seemingly-hardcoded behaviour is that the brightness keys just adjust the level by a flat 10%, which is what every platform does (OK, I can actually only directly attest to Android, Ubuntu from some years ago, xbacklight by convention and Windows, but I think the rest do it to), even though such a linear scale is obviously stupid and wrong. On my phone, two millimetres of adjustment on the left has about as much effect as the whole right hand side of the scale (several centimetres).