Summary: | Broken brightness control with kernel module (ex. nvidia-bl) | ||
---|---|---|---|
Product: | [Plasma] Powerdevil | Reporter: | vsnrain.dev |
Component: | general | Assignee: | Plasma Development Mailing List <plasma-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bhush94 |
Priority: | NOR | ||
Version: | 5.10.0 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/powerdevil/5c57cf64b5e5c880b1a5f3a0177293f6958e1b9a | Version Fixed In: | |
Sentry Crash Report: |
Description
vsnrain.dev
2017-06-14 12:12:11 UTC
though This is done only for raw backlight type devices.. What is the backlight type for your device? cat /sys/class/backlight/nvidia_backlight/type it returns "raw" Git commit 97f3900049aa657be5f4c124c9f992120f124944 by Bhushan Shah. Committed on 14/06/2017 at 12:55. Pushed by bshah into branch 'master'. Revert "skip the disabled backlight device" This reverts commits 86c3548d103ff5966366788220796de629be9230 and 5c0d35ca6caf7bb0a0e9897a1a868e8406f3b112. Not all raw interfaces have device/enabled under the backlight sysfs interface. Some examples are nvidia-bl and acpi_video0, they are raw interfaces but doesn't have device/enabled properties. Overall we can just return true even if file doesn't exist but then this code serves no purpose. Related: bug 381114 Ackd-by: Kai Uwe Broulik <kde@privat.broulik.de> CCMAIL: AceLan Kao <acelan@acelan.idv.tw> M +1 -19 daemon/backends/upower/backlighthelper.cpp M +0 -5 daemon/backends/upower/backlighthelper.h https://commits.kde.org/powerdevil/97f3900049aa657be5f4c124c9f992120f124944 Git commit 5c57cf64b5e5c880b1a5f3a0177293f6958e1b9a by Bhushan Shah. Committed on 14/06/2017 at 13:04. Pushed by bshah into branch 'Plasma/5.10'. Revert "skip the disabled backlight device" This reverts commits 86c3548d103ff5966366788220796de629be9230 and 5c0d35ca6caf7bb0a0e9897a1a868e8406f3b112. Not all raw interfaces have device/enabled under the backlight sysfs interface. Some examples are nvidia-bl and acpi_video0, they are raw interfaces but doesn't have device/enabled properties. Overall we can just return true even if file doesn't exist but then this code serves no purpose. Related: bug 381114 Ackd-by: Kai Uwe Broulik <kde@privat.broulik.de> CCMAIL: AceLan Kao <acelan@acelan.idv.tw> M +1 -19 daemon/backends/upower/backlighthelper.cpp M +0 -5 daemon/backends/upower/backlighthelper.h https://commits.kde.org/powerdevil/5c57cf64b5e5c880b1a5f3a0177293f6958e1b9a Just FYI and as a random data point, my T460s with intel_backlight which once again has a type = raw contains "enabled" in its device/enabled property. Despite that, I was too hitting this bug. However, it's possible that I might have always logged in with this laptop docked while I was debugging this. If that's the case, SDDM shows output on the laptop's internal screen as well as on some external one. kscreen switches the internal output off because that's what I want to have. It's possible that there was a race between kscreen switching and powerdevil deciding to ignore stuff. Thanks bshah for fixing this. |