Adjust brightness to lowest value caused screen whole black
| Affects | Status | Importance | Assigned to | Milestone | ||
|---|---|---|---|---|---|---|
| | GNOME Settings Daemon |
Fix Released
|
Medium
|
|||
| | OEM Priority Project |
High
|
Unassigned | |||
| | Trusty |
High
|
Unassigned | |||
| gnome-desktop3 (Ubuntu) | ||||||
| | Trusty |
Medium
|
Unassigned | |||
| | unity-settings-daemon (Ubuntu) |
Medium
|
Unassigned | |||
Bug Description
[Impact]
When adjusting screen brightness to lowest value, it turns screen backlight off.
[Test Case]
1. Install Image
2. Press System's brightness hotkey to adjust the brightness level to the lowest or
3. Go to System "Settings" -> "Brightness & Lock" to adjust brightness level to the lowest
4. Check if the screen display still has backlight
Expected results: There is still screen backlight
Actual results: Sceen backlight is turned off
[Regression Potential]
None
[Other Info]
Ubuntu 14.04 has HWE stack lts-vivid 3.19 and it also has this issue.
Related branches
- Lars Karlitski (community): Disapprove on 2015-11-13
- Martin Pitt: Disapprove on 2015-11-13
- Ubuntu Desktop: Pending requested 2015-11-13
-
Diff: 256 lines (+85/-13)3 files modifiedplugins/power/gpm-common.c (+32/-5)
plugins/power/gpm-common.h (+15/-4)
plugins/power/gsd-power-manager.c (+38/-4)
- Unity Settings Daemon Development Team: Pending requested 2015-11-20
-
Diff: 264 lines (+107/-23)4 files modifiedplugins/power/gpm-common.c (+1/-1)
plugins/power/gsd-backlight-helper.c (+86/-17)
plugins/power/gsd-backlight-linux.c (+13/-4)
plugins/power/gsd-backlight-linux.h (+7/-1)
- Martin Pitt: Approve on 2015-12-02
-
Diff: 2705 lines (+2659/-0)6 files modified.pc/applied-patches (+1/-0)
.pc/fix_lowest_brightness.patch/libgnome-desktop/gnome-rr.c (+2624/-0)
debian/changelog (+7/-0)
debian/patches/fix_lowest_brightness.patch (+21/-0)
debian/patches/series (+1/-0)
libgnome-desktop/gnome-rr.c (+5/-0)
| affects: | linux (Ubuntu) → unity-settings-daemon (Ubuntu) |
| Changed in oem-priority: | |
| importance: | Undecided → High |
| Timo Aaltonen (tjaalton) wrote : | #1 |
| Timo Aaltonen (tjaalton) wrote : | #2 |
hmm actually it isn't, I can reproduce it in vivid.. it should be fixed with trusty kernel though so it has regressed in vivid
| Timo Aaltonen (tjaalton) wrote : | #3 |
looks like trusty doesn't work on my intel sdp either, so the bugfix in trusty kernel was hw specific to some extent, so this is not a generic bug
it was fixed for broadwell
https:/
and now I see there's a newer bug for older chips
https:/
so for what hw was this bug filed for originally? If broadwell, it needs a proper project bug. If earlier, this is a dupe of 1405073 and for kittyhawk2.0 needs to be tested with vivid anyway
| Timo Aaltonen (tjaalton) wrote : | #4 |
hm, didn't notice this was a public bug.. so moving to linux
| affects: | unity-settings-daemon (Ubuntu) → linux (Ubuntu) |
| no longer affects: | unity-settings-daemon |
| Bin Li (binli) wrote : | #5 |
Timo,
Thanks for you quick look.
Here is the original bugs. :)
This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:
apport-collect 1381625
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.
| Changed in linux (Ubuntu): | |
| status: | New → Incomplete |
| Emily Chien (emily.chien) wrote : | #7 |
@Timo,
Original oem lp:1281379 was reported with Intel Haswell or Chief River platforms.
We will verify with vivid in kittyhawk 2.0 and update result here.
| Changed in linux (Ubuntu): | |
| importance: | Undecided → High |
| tags: | added: vivid |
| Vanessa Chang (vanessa-chang) wrote : | #9 |
Issue can be reproduced with below builds, please refer the results below:
[Tested images for verification]
Stock 14.04.1 [ubuntu-
Stock 14.10 [ubuntu-
15.04 daily build @1/13 [vivid-
[Test Case / Reproduce Steps]
1. Install Image
2. Press System's brightness hotkey to adjust the brightness level to the lowest or
3. Go to System "Settings" -> "Brightness & Lock" to adjust brightness level to the lowest
4. Check if the screen display still has backlight
[Other Info]
1. For 14.04, due to bug#1332379, (https:/
2. Test unit: Dell Haswell ULT system
| description: | updated |
| Joseph Salisbury (jsalisbury) wrote : | #10 |
Would it be possible for you to test the latest upstream kernel? Refer to https:/
If this bug is fixed in the mainline kernel, please add the following tag 'kernel-
If the mainline kernel does not fix this bug, please add the tag: 'kernel-
If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".
Thanks in advance.
[0] http://
| Vanessa Chang (vanessa-chang) wrote : | #11 |
update kernel from 3.16.0-25 to 3.19.0-
| Changed in linux (Ubuntu): | |
| status: | Incomplete → Confirmed |
| tags: | added: kernel-bug-exists-upstream |
| no longer affects: | oem-priority |
| Anthony Wong (anthonywong) wrote : | #12 |
my understanding of the oem bug is we think the driver is behaving normal and this should be fixed in user space, Tim Chen already has a patch for g-s-d which we can re-work it for u-s-d.
| no longer affects: | ubuntu-system-settings (Ubuntu) |
| Changed in hwe-next: | |
| status: | New → Invalid |
| Changed in hwe-next: | |
| status: | Invalid → Confirmed |
| Changed in hwe-next: | |
| assignee: | nobody → Timo Aaltonen (tjaalton) |
| Timo Aaltonen (tjaalton) wrote : | #13 |
Ok, so this got fixed for i915_bdw in https:/
but even the fixed kernel doesn't work on my Wilson Beach SDP, and the commits in i915_bdw got reverted for 3.17 and up. Even drm-intel-next (->4.1) doesn't work.
So I guess it's best to fix in userspace until the driver side is fixed once and for all..
| Zygmunt Krynicki (zyga) wrote : | #14 |
Hey.
I'm researching the behaviour of backlight in the wild and my current theory is that brightness of zero can equally well mean "dim" or "totally off". I don't have a test for that yet so the sample range is very small (the hardware I have at home + several contributions from the community) but that seems to be the case.
I also looked at windows API and I'm about to look at the current Microsoft certification requirements. The API says that the values are arbitrary and no mapping to actual light intensity can be assumed.
If you want to track my work, please look at https:/
| Zygmunt Krynicki (zyga) wrote : | #15 |
Hey, a small update. Lantern test v2 tests exactly what happens when brightness is set to 0. I have 10 samples so far and I will be able to analyze them today. My gut feeling is that acpi aka firmware control never tuns the backlight off entirely (so setting zero in userspace is safe) while raw control will just disable all light at the same level. I would suggest that for raw controls the bottom value should be 10% of max brightness. The actual value also depends on if the scale is linear or logarithmic which is on my TODO list to check in Lantern.
| Changed in hwe-next: | |
| importance: | Undecided → High |
| Launchpad Janitor (janitor) wrote : | #16 |
Status changed to 'Confirmed' because the bug affects multiple users.
| Changed in unity-settings-daemon (Ubuntu): | |
| status: | New → Confirmed |
| Changed in unity-settings-daemon (Ubuntu): | |
| importance: | Undecided → High |
| Changed in linux (Ubuntu): | |
| assignee: | nobody → Tejal (tejalravih) |
| Changed in unity-settings-daemon: | |
| importance: | Unknown → Medium |
| status: | Unknown → Fix Released |
| Martin Pitt (pitti) wrote : | #17 |
see my comments on https:/
Can you please elaborate on what the actual bug is here? I. e. what's wrong with turning off the backlight on the lowest level, that seems rather desirable and straightforward to me?
| Changed in unity-settings-daemon (Ubuntu): | |
| status: | Confirmed → Won't Fix |
| Martin Pitt (pitti) wrote : | #18 |
I. e. is the problem that the backlight doesn't come back on when you raise the brightness again or so?
| Shih-Yuan Lee (fourdollars) wrote : | #19 |
Since Linux kernel v3.18-rc1, it contains
commit e6755fb78e8f20e
Author: Jani Nikula <jani.nikula at intel.com>
Date: Tue Aug 12 17:11:42 2014 +0300
drm/i915: switch off backlight for backlight class 0 brightness
| Shih-Yuan Lee (fourdollars) wrote : | #20 |
This bug probably targets on how to avoid this driver behavior's change.
| Shih-Yuan Lee (fourdollars) wrote : | #21 |
Reverting that commit can easily fix this issue or we need to fix all userspace programs related to the brightness control.
| Kai-Heng Feng (kaihengfeng) wrote : | #22 |
There are some scenarios make turning off brightness not desirable, e.g. an AIO user changes brightness to the lowest level in unity-control-
Since we can't ensure that all graphics driver have the same mechanism and each one of them does not change, I think it's a better choice to let userspace program controls a consistent policy.
| Martin Pitt (pitti) wrote : | #23 |
So if you run into that situation, discovering that this is configurable and changing the configuration seems equally hard (or harder). I can understand the heuristics what was done upstream in gnome-settings-
| Kai-Heng Feng (kaihengfeng) wrote : | #24 |
Yes, we can use that approach on unity-settings-
My intention to make it configurable is because there was a Braswell laptop with a cheap panel, which needs at least 5% max brightness to make it barely visible. For OEM projects, to solve problems like that, a minimum brightness setting can be a generic and convenient way to make preloaded Ubuntu more polished.
That being said, most panel works just fine with brightness value 1 in my experience.
| Tejal (tejalravih) wrote : | #25 |
| Changed in unity-settings-daemon (Ubuntu): | |
| status: | Won't Fix → In Progress |
| no longer affects: | linux (Ubuntu Trusty) |
| no longer affects: | linux (Ubuntu) |
| Launchpad Janitor (janitor) wrote : | #26 |
Status changed to 'Confirmed' because the bug affects multiple users.
| Changed in unity-settings-daemon (Ubuntu Trusty): | |
| status: | New → Confirmed |
| Changed in oem-priority: | |
| status: | New → In Progress |
| importance: | Undecided → High |
| assignee: | nobody → Shih-Yuan Lee (fourdollars) |
| Changed in unity-settings-daemon (Ubuntu): | |
| assignee: | nobody → Tejal (tejalravih) |
| Changed in unity-settings-daemon (Ubuntu Trusty): | |
| assignee: | nobody → Tejal (tejalravih) |
| Changed in unity-settings-daemon (Ubuntu): | |
| status: | In Progress → Confirmed |
| status: | Confirmed → Invalid |
| status: | Invalid → Confirmed |
| Launchpad Janitor (janitor) wrote : | #27 |
This bug was fixed in the package unity-settings-
---------------
unity-settings-
[ Shih-Yuan Lee (FourDollars) ]
* power: On raw backlight types, clamp the value to a minumum (LP:
#1381625) gsd-rr: Apply the similar method from power plugin to fix
the lowest brightness issue. (LP: #1381625) (LP: #1381625)
-- Shih-Yuan Lee <email address hidden> Wed, 18 Nov 2015 09:36:58 +0000
| Changed in unity-settings-daemon (Ubuntu): | |
| status: | Confirmed → Fix Released |
| Changed in unity-settings-daemon (Ubuntu): | |
| assignee: | Tejal (tejalravih) → Shih-Yuan Lee (fourdollars) |
| Changed in unity-settings-daemon (Ubuntu Trusty): | |
| assignee: | Tejal (tejalravih) → Shih-Yuan Lee (fourdollars) |
| status: | Confirmed → In Progress |
| description: | updated |
| no longer affects: | hwe-next |
| Changed in unity-settings-daemon (Ubuntu Trusty): | |
| importance: | Undecided → High |
| affects: | unity-settings-daemon → gnome-settings-daemon |
| tags: |
added: trusty removed: vivid |
| tags: | added: vivid wily |
| no longer affects: | unity-settings-daemon (Ubuntu Trusty) |
| no longer affects: | unity-settings-daemon (Ubuntu Trusty) |
| Changed in gnome-desktop3 (Ubuntu): | |
| status: | New → Invalid |
| Changed in gnome-desktop3 (Ubuntu Trusty): | |
| status: | New → In Progress |
| assignee: | nobody → Shih-Yuan Lee (fourdollars) |
Hello Bin, or anyone else affected,
Accepted gnome-desktop3 into trusty-proposed. The package will build now and be available at https:/
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-
Further information regarding the verification process can be found at https:/
| Changed in gnome-desktop3 (Ubuntu Trusty): | |
| status: | In Progress → Fix Committed |
| tags: | added: verification-needed |
| Changed in gnome-desktop3 (Ubuntu): | |
| importance: | Undecided → Medium |
| Changed in gnome-desktop3 (Ubuntu Trusty): | |
| importance: | Undecided → Medium |
| Changed in gnome-desktop3 (Ubuntu): | |
| importance: | Medium → High |
| Changed in gnome-desktop3 (Ubuntu Trusty): | |
| importance: | Medium → High |
| no longer affects: | gnome-desktop3 (Ubuntu) |
| Shih-Yuan Lee (fourdollars) wrote : | #29 |
I have verified gnome-desktop3/
| tags: |
added: verification-done removed: verification-needed |
| Launchpad Janitor (janitor) wrote : | #30 |
This bug was fixed in the package gnome-desktop3 - 3.8.4-0ubuntu3.2
---------------
gnome-desktop3 (3.8.4-0ubuntu3.2) trusty-proposed; urgency=medium
* Apply the similar method from the power plugin in unity-settings-
fix the lowest brightness issue. (LP: #1381625)
-- Shih-Yuan Lee (FourDollars) <email address hidden> Fri, 20 Nov 2015 15:35:36 +0800
| Changed in gnome-desktop3 (Ubuntu Trusty): | |
| status: | Fix Committed → Fix Released |
The verification of the Stable Release Update for gnome-desktop3 has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.
| Changed in oem-priority: | |
| status: | In Progress → Fix Released |
| Changed in gnome-desktop3 (Ubuntu Trusty): | |
| assignee: | Shih-Yuan Lee (fourdollars) → nobody |
| Changed in unity-settings-daemon (Ubuntu): | |
| assignee: | Shih-Yuan Lee (fourdollars) → nobody |
| Changed in oem-priority: | |
| assignee: | Shih-Yuan Lee (fourdollars) → nobody |
| Mathew Hodson (mathew-hodson) wrote : | #32 |
There's still a merge request pending for unity-settings-
| Changed in unity-settings-daemon (Ubuntu): | |
| importance: | High → Medium |
| Changed in gnome-desktop3 (Ubuntu Trusty): | |
| importance: | High → Medium |
| Shih-Yuan Lee (fourdollars) wrote : | #33 |
It is not necessary.


this is a i915 driver bug and should be fixed already