8000 GitHub · Where software is built
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
backlight: wrong percentage output using amdgpu_bl0  #335
Closed
@isheshukov

Description

@isheshukov

Hey,

so waybar's formula for counting backlights percentage is 100 * actual_brightness/max_brightness but on my amdgpu drivers actual_brightness is in (0, 65535) interval so waybar reports wrong percentage.

I haven't came up with a better solution #336 than to replace actual_brightness with brightness for amdgpu_bl0.

Maybe there are more such devices and better methods should be used...

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0