https://bugs.kde.org/show_bug.cgi?id=495003

            Bug ID: 495003
           Summary: KDE doesn't set max. backlight brightness correctly on
                    AMDGPU laptop
    Classification: Plasma
           Product: Powerdevil
           Version: 6.2.1
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: thederpywo...@gmail.com
                CC: natalie_clar...@yahoo.de
  Target Milestone: ---

SUMMARY

Changing the backlight brightness using PowerDevil doesn't allow it to go to it
absolute potential.

Upon setting the brightness to 100%, we can see that in
`/sys/class/backlight/amdgpu_bl1/brightness`  reads 100, however in
`max_brighntess` we get 255 and writing that into the brightness file yields a
way brighter output.

STEPS TO REPRODUCE
1. Set the brightness to 100% using PowerDevil

OBSERVED RESULT
Display's brightness set to only 100/255.

EXPECTED RESULT
Display's brightness to be set to 255.
(`/sys/class/backlight/amdgpu_bl1/max_brightness`)

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.2.1
KDE Frameworks Version: 6.7.0
Qt Version: 6.8.0
Kernel Version: 6.9.10-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 6800HS with Radeon Graphics
Memory: 14.9 GiB of RAM
Graphics Processor: AMD Radeon 680M

ADDITIONAL INFORMATION

Additional files in the `/sys/class/backlight/amdgpu_bl1`  sysfs (while KDE
thinks the backlight is at "100%"):

```
/sys/class/backlight/amdgpu_bl1/actual_brightness : 100
/sys/class/backlight/amdgpu_bl1/bl_power          : 0
/sys/class/backlight/amdgpu_bl1/brightness        : 100
/sys/class/backlight/amdgpu_bl1/type              : raw
/sys/class/backlight/amdgpu_bl1/scale             : unknown
/sys/class/backlight/amdgpu_bl1/max_brightness    : 255
```

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to