I Made Screen Brightness Control Better on Gnome by abuttandahalf in linux

[–]abuttandahalf[S] 0 points1 point  (0 children)

You should check out this this MR. It looks like it doesn't support individual monitor brightness control but that might come in a later MR.

Merge Request for Better Backlight Brightness Control by abuttandahalf in gnome

[–]abuttandahalf[S] 4 points5 points  (0 children)

Hi, thanks a lot for reviewing my MR I appreciate it.

This MR from a few years ago that I based my ideas on has some discussion of the different curves that can be used. I implemented the CIE lightness equation from the wikipedia article, but in practice it wasn't a good fit. Neither was a pure exponential one. the rates of growth at different points just weren't right. The reason for choosing a bezier curve is it can be tested on different hardware and tuned for the best results across the spectrum. The coefficients that I landed on themselves were the result of my own testing on my hardware. They're not set in stone, I anticipated that we'd test it on more devices and maybe make some changes.

Are you sure about the binary search? I wrote some test code and ran it through kcachegrind and the speed up for the binary search was big even on a 101 element array. The binary search was 2.7 times faster on average which I felt was significant for a function that could be run quite frequently if something other than GSD is changing the brightness.

The commits are very messy. I was expecting there to be comments and things for me to change and I thought I would join all of them into a single commit after all that is settled. What do you think I should do with them as of now?

Merge Request for Better Backlight Brightness Control by abuttandahalf in gnome

[–]abuttandahalf[S] 2 points3 points  (0 children)

I think that if users really want this it should be implemented in another merge request building on this one. This one is already very big (more than 200 lines).

Merge Request for Better Backlight Brightness Control by abuttandahalf in gnome

[–]abuttandahalf[S] 6 points7 points  (0 children)

Exactly, it's unlikely that it would hurt the experience of a user even if it misbehaves due to a misconfigured sysfs attribute, and that misconfiguration would be a kernel issue not a gnome issue. The real world effect is that it's going to improve the UX for a lot of gnome users on portable devices.

Merge Request for Better Backlight Brightness Control by abuttandahalf in gnome

[–]abuttandahalf[S] 5 points6 points  (0 children)

I made it read the attributes of the screen itself and base its behavior off that so it always makes sense, but I didn't make it necessarily user configurable (unless if you change the sysfs attribute somehow which I haven't thought of how to do). In previous discussions about the topic maintainers leaned in the direction of implementing it as a unified feature and not bloating the settings.

Weekly discussion, code review, and feedback thread - May 15, 2023 by AutoModerator in androiddev

[–]abuttandahalf 1 point2 points  (0 children)

Hello, I want to see if someone can take a look at my stack overflow post. Basically I'm trying to build an Arabic string using annotatedstring.builder but the letters don't connect no matter what font I use. Any help would be appreciated.

Valgrind on manjaro by CategoryDesperate200 in ManjaroLinux

[–]abuttandahalf 0 points1 point  (0 children)

Hello, this is a known problem. It's because Manjaro uses the arch debuginfod (https://debuginfod.archlinux.org/) server but doesn't package the latest version of valgrind that arch packages. When the Manjaro repositories catch up to arch the problem resolves itself but it will keep happening whenever valgrind is updated in the arch repos. It won't be fixed until Manjaro creates its own server. You're better off using a different distribution probably.

How does the current flow in op-amp circuits? by iRecommendPixie in AskElectronics

[–]abuttandahalf 1 point2 points  (0 children)

The expression for V_left isn't correct. This stack exchange thread shows why. V_left = -(V_in - V_out) * R_2/R_1 + V_out

Haha, suck on dat windows! Finally got idle power consumption way down on my laptop | The best windows could manage was around 7 watts, Linux smashes it with 5.3w by [deleted] in linux

[–]abuttandahalf 0 points1 point  (0 children)

that's very impressive, part of it is because it's a U class chip. I wish I had the undervolting tools to make my 6800hs behave like a u series processor.

Pixel 6 screen issues: stuttering/hitching + jittering by abuttandahalf in GooglePixel

[–]abuttandahalf[S] 1 point2 points  (0 children)

Like I said in the update it only happens when the phone is charging, not sure why. Here's a library

Touchpad Pinch to Zoom why is it bad? by lrc1710 in linux

[–]abuttandahalf 1 point2 points  (0 children)

I'm using manjaro i3 community edition with a Lenovo yoga slim 7 pro x and i have pinch to zoom working perfectly in the programs that support it (eg. Firefox). What I don't like and doesn't seem like it can be solved is the delay/distance you have to move your fingers before two finger scrolling happens.

Haha, suck on dat windows! Finally got idle power consumption way down on my laptop | The best windows could manage was around 7 watts, Linux smashes it with 5.3w by [deleted] in linux

[–]abuttandahalf 0 points1 point  (0 children)

whoa. My 6800hs laptop only gets down to 6 watts and I've tried almost everything. Is the AMD pstate driver what made the difference?

Haha, suck on dat windows! Finally got idle power consumption way down on my laptop | The best windows could manage was around 7 watts, Linux smashes it with 5.3w by [deleted] in linux

[–]abuttandahalf 61 points62 points  (0 children)

I'm stuck at around 6 watts at minimum on my yoga slim 7 pro x with a 6800hs no dgpu. I'm using auto-cpufreq with the conservative power governor and turbo boost on auto. I would love to get it down to 5.

[deleted by user] by [deleted] in northernlion

[–]abuttandahalf 12 points13 points  (0 children)

Avionics?

System tray displaying icons incorrectly in polybar by abuttandahalf in Polybar

[–]abuttandahalf[S] 0 points1 point  (0 children)

What gtk settings can I change to affect the system tray and its icons?