Cannot get lowest brightness with any kernel above 3.17

Bug #1682331 reported by frk-az
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linux Mint
New
Undecided
Unassigned
Fedora
New
Undecided
Unassigned
linux (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

I have been using kernel 3.16 in my Dell Laptop for a long time with Linux Mint 17 and previous versions and the problem here had never happened until LM18.

Very often I set the lowest possible brightness, for example at night, or while I am flying for many hours. Using values from 0 to 4882 I used to run this command:

# ie: Set lowest possible backlight brightness
echo 0 > /sys/class/backlight/intel_backlight/brightnes

I have always used intel_backlight instead of dell_backlight because it gives much more steps.

Well now with kernel 4.4.0-53-generic it actually decreases the brightness but at night it is still very high even at 0 compared to the brightness levels I used to get with the same command. In fact, using a value of 0 with older kernels, the backlight is turned off.

Just for testing, I have booted my laptop with Debian Live kernel 3.16.0-4-amd64 and it works perfectly. Nevertheless I was able to reproduce the issue on newer ubuntu releases and Fedora 25.3.1. That is how I realized that the problem was the kernel.

Does anyone know if with newer kernels > 3.19 this is a well-known and tolerated behavior? Maybe the kernel code for intel_backlight was modified and ended up with this problem...

Some system information:

System: Kernel: 4.4.0-53-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: Cinnamon 3.2.7 (Gtk 3.18.9-1ubuntu3.2) Distro: Linux Mint 18.1 Serena

Machine: System: Dell product: Inspiron 5520 v: A14 Bios: Dell v: A14 date: 05/13/2013

CPU: Dual core Intel Core i5-3210M (-HT-MCP-) cache: 3072 KB

Graphics: Card: Intel 3rd Gen Core processor Graphics Controller
           Display Server: X.org 1.18.4 driver: intel

$ ls /sys/class/backlight/
dell_backlight intel_backlight

Also I always use the acpi_backlight=vendor kernel parameter and I can confirm that by changing its value, the problem persists.

Thanks for your time, Frk.

P.S. I have also asked about this issue without luck here => https://goo.gl/TVzH7z
---
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: betops 6791 F.... pulseaudio
CurrentDesktop: X-Cinnamon
DistroRelease: Linux 18.1
HibernationDevice: RESUME=UUID=923be72b-35a8-4997-b31a-e6072b9d4a29
InstallationDate: Installed on 2017-02-05 (66 days ago)
InstallationMedia: Linux Mint 18.1 "Serena" - Release amd64 20161213
MachineType: Dell Inc. Inspiron 5520
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-53-generic root=UUID=ef4672c3-b0ed-47f3-a6b6-28e4e1e22d44 ro acpi_backlight=vendor intel_pstate=enable acpi_osi= acpi_irq_balance
ProcVersionSignature: Ubuntu 4.4.0-53.74-generic 4.4.30
RelatedPackageVersions:
 linux-restricted-modules-4.4.0-53-generic N/A
 linux-backports-modules-4.4.0-53-generic N/A
 linux-firmware 1.157.8
Tags: serena serena
Uname: Linux 4.4.0-53-generic x86_64
UnreportableReason: The report belongs to a package that is not installed.
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo vboxusers wireshark
_MarkForUpload: False
dmi.bios.date: 05/13/2013
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A14
dmi.board.name: 04G65K
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.chassis.version: A14
dmi.modalias: dmi:bvnDellInc.:bvrA14:bd05/13/2013:svnDellInc.:pnInspiron5520:pvrA14:rvnDellInc.:rn04G65K:rvrA00:cvnDellInc.:ct8:cvrA14:
dmi.product.name: Inspiron 5520
dmi.product.version: A14
dmi.sys.vendor: Dell Inc.

Revision history for this message
madbiologist (me-again) wrote :

Can you find which kernel this first occurred in? Ubuntu mainline kernel PPA's are available at http://kernel.ubuntu.com/~kernel-ppa/mainline/ and instructions on how to install and uninstall them are available at https://wiki.ubuntu.com/Kernel/MainlineBuilds

Revision history for this message
frk-az (frk-az) wrote :

Ok, I'm testing one by one and as soon as I get results I'm posting it here.
Thank you!!

Revision history for this message
frk-az (frk-az) wrote :

To my surprise I have found that the last kernel working fine from mainline is:
http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.16.43/

and the first kernel with the issue is 3.17 RC1
http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.17-rc1-utopic/

I hope this help kernel coders to find the solution.
I do not know what else I could do.

Just ask me whatever you need, I will help as much as I can.

Tank you very much!!

Paul White (paulw2u)
affects: ubuntu → linux (Ubuntu)
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1682331

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
tags: added: utopic
Revision history for this message
frk-az (frk-az) wrote : AlsaInfo.txt

apport information

description: updated
tags: added: apport-collected serena
description: updated
Revision history for this message
frk-az (frk-az) wrote : CRDA.txt

apport information

Revision history for this message
frk-az (frk-az) wrote : CurrentDmesg.txt

apport information

Revision history for this message
frk-az (frk-az) wrote : IwConfig.txt

apport information

Revision history for this message
frk-az (frk-az) wrote : JournalErrors.txt

apport information

Revision history for this message
frk-az (frk-az) wrote : Lspci.txt

apport information

Revision history for this message
frk-az (frk-az) wrote : Lsusb.txt

apport information

Revision history for this message
frk-az (frk-az) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
frk-az (frk-az) wrote : ProcEnviron.txt

apport information

Revision history for this message
frk-az (frk-az) wrote : ProcInterrupts.txt

apport information

Revision history for this message
frk-az (frk-az) wrote : ProcModules.txt

apport information

Revision history for this message
frk-az (frk-az) wrote : PulseList.txt

apport information

Revision history for this message
frk-az (frk-az) wrote : RfKill.txt

apport information

Revision history for this message
frk-az (frk-az) wrote : UdevDb.txt

apport information

Revision history for this message
frk-az (frk-az) wrote : WifiSyslog.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote : Re: Cannot get lowest brightness with kernel 4.4.0-53-generic

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.11 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.11-rc7

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
Revision history for this message
frk-az (frk-az) wrote :

Yes, It would be possible for me, but these days I'm on holiday and I'm in a place with very poor Internet connection, so I think I'm gonna be able to test the last kernel in a couple of days.

Thank you for your time

Revision history for this message
frk-az (frk-az) wrote :

I can confirm that the issue can be experienced also in any ClassmatePC by Intel.

Revision history for this message
frk-az (frk-az) wrote :

Ok, I can confirm that the latest mainline kernel does not fix this bug.

tags: added: kernel-bug-exists-upstream
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
frk-az (frk-az) wrote :

I've changed the subject to be more accurate with the first kernel version affected by this issue.
Please let me know any other thing you need, I will be pleased t

summary: - Cannot get lowest brightness with kernel 4.4.0-53-generic
+ Cannot get lowest brightness with any kernel above 3.17
Revision history for this message
frk-az (frk-az) wrote :

to help you guys,

Thanks in advance

Revision history for this message
frk-az (frk-az) wrote :

Well I figured out that this issue is present in any laptop I was able to test, I tried with several laptops with new and not so new hardware and it is always the same. Asus, MSI, Lenovo, HP and Compaq, Dell, Toshiba, Intel Classmate Netbooks have the same problem after kernel 3.17.
Is there anything else that I could try?

Thnx

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.