Announcement

Collapse
No announcement yet.

Linux's Display Brightness/Backlight Interface Is Finally Being Overhauled

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • pWe00Iri3e7Z9lHOX2Qx
    replied
    I hope these changes deal with the all too common case of the lowest brightness setting on laptops in Linux being zero. That's fun for new users if they don't have obvious keyboard shortcuts for brightness control (or they do but the keys aren't mapped properly in Linux) and they end up with a black screen.

    Leave a comment:


  • pWe00Iri3e7Z9lHOX2Qx
    replied
    Originally posted by user1 View Post
    This might be slightly off topic, but does anyone feel like Linux's handling of display power cycling is really not robust? I'll give you 2 examples:
    On KDE power cycling may cause Plasma desktop to crash. I think it also once happened to me with XFCE a long time ago.
    On Gnome I recently wanted to modify my monitor settings during gameplay and accidentally pressed the monitor power button. When I turned it back on, the game crashed. This also happend multiple times.
    Yes, in general, dealing with display plug/unplug/power events on Linux isn't anywhere near as robust as on Windows.

    Originally posted by user1 View Post
    On Windows, display power cycling never caused any issues. I think the reason for this might be the way display detection works on both operating systems:
    On Linux auto detection seems to be running constantly, while on Windows you usually need to press "detect display" if you have some changes in your monitor setup, hence power cycling doesn't cause any issues on Windows.
    This isn't the way Windows works at all. It's always monitoring for display change events. The "Detect" button is only there as a manual fallback if the system didn't automatically detect the event. If you turn off the power to your primary display in a multi-monitor setup, it will move your primary display to another display. If you leave your display settings open and start power cycling or unplugging / plugging displays, you'll see it updating the display layout in real time (slowly as it deals with reconfiguring things). On Windows this event handling may be a function of the display driver itself.

    Leave a comment:


  • treba
    replied
    I wonder if this new API could also help in desktop/external screen cases where brightness control currently barely works (and is usually not exposed by DEs by default)? Or is that mostly unrelated?

    Leave a comment:


  • user1
    replied
    Originally posted by hamishmb View Post
    My windows move around when I power cycle monitors on Cinnamon (X11). It's a multi monitor setup.
    I wish all desktop environments at least had a checkbox in display settings to disable monitor auto detection in order to prevent all these issues from happening.

    Interestingly, Mate is the only DE that didn't give me any issues with power cycling. It also has a "detect monitor" button in its display settings, which implies that it works more like on Windows.
    Last edited by user1; 17 September 2022, 09:43 AM.

    Leave a comment:


  • hamishmb
    replied
    My windows move around when I power cycle monitors on Cinnamon (X11). It's a multi monitor setup.
    Last edited by hamishmb; 17 September 2022, 07:45 AM. Reason: Add last sentence

    Leave a comment:


  • user1
    replied
    This might be slightly off topic, but does anyone feel like Linux's handling of display power cycling is really not robust? I'll give you 2 examples:
    On KDE power cycling may cause Plasma desktop to crash. I think it also once happened to me with XFCE a long time ago.
    On Gnome I recently wanted to modify my monitor settings during gameplay and accidentally pressed the monitor power button. When I turned it back on, the game crashed. This also happend multiple times.
    On Windows, display power cycling never caused any issues. I think the reason for this might be the way display detection works on both operating systems:
    On Linux auto detection seems to be running constantly, while on Windows you usually need to press "detect display" if you have some changes in your monitor setup, hence power cycling doesn't cause any issues on Windows.

    Leave a comment:


  • Linux's Display Brightness/Backlight Interface Is Finally Being Overhauled

    Phoronix: Linux's Display Brightness/Backlight Interface Is Finally Being Overhauled

    Hans de Goede of Red Hat has been involved with many great Linux desktop/laptop hardware improvements over the years for work that would have otherwise likely gone unaddressed. One of the initiatives he has been focusing on recently that has long been a sore point for Linux laptops has been the user-space backlight/brightness interface. This week at Linux Plumbers Conference was a presentation on this effort that has long been ripe for improvement...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite
Working...
X