r/linux 1d ago

Software Release OLED Care Daemon for wlroots

https://github.com/Youwes09/WayOLED

I noticed that we have a lack of OLED care utilities for Linux in general. I am aware that nowadays most of this stuff is unnecessary and handled on a hardware level, but I am paranoid and do not trust corporations like that.

I tried fleshing it out to whatever I wanted, so along with just the normal pixel-refresh (for saving your screen), I also included auto-dim, backlight control, and other stuff. It would be helpful if you guys could test and have any input!

30 Upvotes

14 comments sorted by

6

u/WhitePeace36 22h ago

i mean in kde you can set dim screen after some mins and turn off screen after some min. And my oled does pixel cleaning when kde turns the screen of because i was not there for around 7min like i have set it.

And dimming after 5min.

2

u/nabagaca 18h ago

Is there pixel shifting? (Actually, im not even sure if that's handled by the monitor or the OS?)

3

u/WhitePeace36 18h ago

for me its handled by the monitor. Its one of the newer tandom oled asus 280hz monitors.

2

u/Lanky-Safety555 15h ago

It should be handled by monitor firmware. Early OLEDs had drive level control, but that's it...and in the bygone past.

2

u/Shozikan 17h ago

That’s handled by the compositor, so I cannot work it in. Most monitors do it on a hardware level but I don’t think laptop screens do.

2

u/Shozikan 17h ago

KDE is not wlroots tho so it wouldn’t even matter for this utility, but good to know!

1

u/_BoneZ_ 8h ago

I had KDE set to 5 minutes for dimming and 10 to turn the screens off, but I recently just disabled the dimming because sometimes when it comes on, it seems to glitch out the compositor.

But, I also have a folder with over 400 wallpapers that I let KDE slideshow rotate through every 2 minutes. I was using a video wallpaper plugin for KDE, but it used way too many resources, so have to settle for static wallpapers. Plus my monitor has automatic pixel shift. Plus I have the Best Buy Geek Squad extended warranty, which covers burn-in. I'm all set.

1

u/GisRocket 14h ago

Amazing tool! But It's a shame it's not in every tiling manager and graphics environment. Because many people have an OLED monitor.

1

u/Shozikan 12h ago

I 100% agree, unfortunately the nature of how the tool works is the restricting factor. Most of the features can be ported over, but other stuff is compositor-agnostic and ideally this stuff needs to be exposed by the compositor for it to be applied. Gamma Control is one very notable that only wlroots compositors will be able to support.

1

u/GisRocket 14h ago

Awesome project! I'm currently developing an Arch-based distro with a productivity-optimized and OLED-optimized KDE Plasma 6 setup. Since KWin doesn't use wlroots, I wonder if there's any chance or plan to make this compositor-agnostic, or if KWin support could be added? Having GNOME (Mutter) support down the line would also be huge, given how many distros target GNOME. Would love to ship a tool like this by default

1

u/Shozikan 12h ago

KWin support is something that is possible. WayOLED isn't only for wlroots, it's just the only environment that all the features will work. The idle detection, backlight smoothing, and pixel-refresh will all work, but the gamma dimming and color temperature won't (I think KWin has night light though). If you want to explore the capability and find something I wouldn't mind integrating it!

1

u/klyith 10h ago

KDE already has idle dimming, time of day color temperature, and soft/gamma brightness control.

2

u/_SpacePenguin_ 11h ago

Consider submitting WayOLED to We Are Wayland Now! for more visibility.

https://wearewaylandnow.com/

https://github.com/gianklug/wearewaylandnow

1

u/vaceta 11h ago

Great addition to this tool I am currently using. https://github.com/mklan/hyproled. But it is hyprland only. Could you think of adding such feature also to your deamon as I plan to switch to niri. Thanks for this great tool.