Bug 999684

Summary: unable to adjust monitor brightness with nouveua, Toshiba, and 3.11.0 kernel
Product: [Fedora] Fedora Reporter: kevin martin <ktmdms>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: collura, gansalmon, hdegoede, itamar, jonathan, kernel-maint, ktmdms, madhu.chinakonda, marcelo.barbosa
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-11 11:45:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description kevin martin 2013-08-21 20:49:18 UTC
Description of problem:
With an Nvidia video card in a Toshiba laptop running kernel 3.11.0-0.rc5.git6.1.fc20.x86_64 with the boot params of acpi_backlight=vendor acpi_osi=Linux I am unable to, in any way, adjust the backlight of my laptop.  Manually changing /sys/class/backlight/toshiba/brightness has no effect.  I have the following messages in dmesg relating to ACPI with this card:

[   15.084980] toshiba_acpi: Toshiba Laptop ACPI Extras version 0.19
[   15.085429] ACPI Warning: 0x0000000000000428-0x000000000000042f SystemIO conflicts with Region \PMIO 1 (20130517/utaddress-251)
[   15.085453] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[   15.085472] ACPI Warning: 0x00000000000011c0-0x00000000000011cf SystemIO conflicts with Region \GPIO 1 (20130517/utaddress-251)
[   15.085492] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[   15.085509] ACPI Warning: 0x00000000000011b0-0x00000000000011bf SystemIO conflicts with Region \GPIO 1 (20130517/utaddress-251)
[   15.085528] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[   15.085544] ACPI Warning: 0x0000000000001180-0x00000000000011af SystemIO conflicts with Region \GPIO 1 (20130517/utaddress-251)
[   15.085564] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[   15.387333] ACPI Warning: 0x0000000000001840-0x000000000000185f SystemIO conflicts with Region \_SB_.PCI0.SBUS.SMBI 1 (20130517/utaddress-251)
[   15.387383] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver

I believe this to be a kernel bug, not necessarily an acpi bug (as I saw this type of bug posted under acpi and it was closed as being posted to the wrong component).

I'm not running Gnome or KDE but lxde.

Version-Release number of selected component (if applicable):
3.11.0-0.rc5.git6.1.fc20.x86_64

How reproducible:
always for a while now.

Steps to Reproduce:
1. boot
2. can't adjust backlight.
3.

Actual results:
can't adjust monitor brightness

Expected results:
can adjust monitor brightness.

Additional info:

lspci:

00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 02)
00:01.0 PCI bridge: Intel Corporation Core Processor PCI Express x16 Root Port (rev 02)
00:1a.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)
00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 05)
00:1c.3 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 4 (rev 05)
00:1c.4 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 5 (rev 05)
00:1c.6 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 7 (rev 05)
00:1d.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a5)
00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 6 port SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 05)
00:1f.6 Signal processing controller: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem (rev 05)
01:00.0 VGA compatible controller: NVIDIA Corporation GT215M [GeForce GTS 360M] (rev a2)
01:00.1 Audio device: NVIDIA Corporation High Definition Audio Controller (rev a1)
02:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 04)
07:00.0 FireWire (IEEE 1394): O2 Micro, Inc. 1394 OHCI Compliant Host Controller (rev 01)
07:00.1 SD Host controller: O2 Micro, Inc. Integrated MMC/SD Controller (rev 01)
07:00.2 Mass storage controller: O2 Micro, Inc. Integrated MS/MSPRO/xD Controller (rev 01)
0a:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8191SEvB Wireless LAN Controller (rev 10)
0b:00.0 Ethernet controller: Qualcomm Atheros AR8131 Gigabit Ethernet (rev c0)
ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 05)
ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 05)
ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 05)
ff:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 05)
ff:02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 05)
ff:02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 05)

Comment 1 kevin martin 2013-08-22 17:56:39 UTC
Interestingly enough I booted into Windows on this machine, adjusted the brightness there, and upon rebooting back to Linux the brightness has remained.  The Fn keys to increase/decrease the brightness still do not work, however, in Linux at this time.

Comment 2 collura 2013-08-28 23:42:16 UTC
different hardware but similar symptoms though maybe related: 

  https://bugzilla.redhat.com/show_bug.cgi?id=991737

Comment 3 poma 2014-04-30 19:10:58 UTC
Possible duplicates - Brightness related:

Brightness adjustment FN keys doesn't work
https://bugzilla.redhat.com/show_bug.cgi?id=702352

Brightness/backlight keys (fn+F8, fn+F9) does not work on lenovo T530 out of the box
https://bugzilla.redhat.com/show_bug.cgi?id=947976

Acer Aspire V5-171-9620 display brightness doesn't change using keyboard Fn keys (but onscreen slider moves)
https://bugzilla.redhat.com/show_bug.cgi?id=983342

Dell brightness keys register multiple times
https://bugzilla.redhat.com/show_bug.cgi?id=986653

Cannot adjust brightness anymore using Fn keys with F19 x86_64
https://bugzilla.redhat.com/show_bug.cgi?id=1012674

Brightness does not change on Intel graphics (using keys or slider) since about 3.9 kernels
https://bugzilla.redhat.com/show_bug.cgi?id=1025690

Brightness keys stopped working between kernel 3.12.10-300 and 3.13.3-201 on Asus EEE PC
https://bugzilla.redhat.com/show_bug.cgi?id=1067181

T530: Unsupported brightness interface
https://bugzilla.redhat.com/show_bug.cgi?id=1089545

Can't change display brightness on HP EliteBook 8470p
https://bugzilla.redhat.com/show_bug.cgi?id=1093120

Comment 4 Hans de Goede 2014-06-24 17:20:04 UTC
Hi,

I've been working recently on triaging and fixing various backlight bugs, and we're making good progress, hopefully I will be able to help resolve your bug to.

(In reply to kevin martin from comment #0)
> Description of problem:
> With an Nvidia video card in a Toshiba laptop running kernel
> 3.11.0-0.rc5.git6.1.fc20.x86_64 with the boot params of
> acpi_backlight=vendor acpi_osi=Linux I am unable to, in any way, adjust the
> backlight of my laptop.  Manually changing
> /sys/class/backlight/toshiba/brightness has no effect. 

Why are you booting with acpi_backlight=vendor acpi_osi=Linux ? What happens if you boot without these options on the commandline ?

Can you try downloading and installing the latest kernel, download the x86_64 kerne l here:

http://koji.fedoraproject.org/koji/taskinfo?taskID=7066918

And then install it with "sudo rpm -ivh kernel...rpm" and boot into it without using any kernel cmdline options.

If things do not work this way, please walk through:

http://hansdegoede.livejournal.com/13889.html

Using the 3.15 kernel, and report back the results of all the steps listed there here.

Thanks,

Hans

Comment 5 kevin martin 2014-10-06 13:50:09 UTC
Am now using 3.17.0-0.rc7.git0.1.fc22.x86_64 and the following boot line:

 BOOT_IMAGE=/vmlinuz-3.17.0-0.rc7.git0.1.fc22.x86_64 root=UUID=895ff4c3-db90-4071-aeab-a0ec2d6b94cf ro rd.md=0 rd.lvm=0 rd.dm=0 rd.luks=0 rhgb quiet nouveau.modeset=1 LANG=en_US.UTF-8

And can adjust backlight with no issues using nouveau driver.

Comment 6 Hans de Goede 2014-10-11 11:45:35 UTC
(In reply to kevin martin from comment #5)
> Am now using 3.17.0-0.rc7.git0.1.fc22.x86_64 and the following boot line:
> 
>  BOOT_IMAGE=/vmlinuz-3.17.0-0.rc7.git0.1.fc22.x86_64
> root=UUID=895ff4c3-db90-4071-aeab-a0ec2d6b94cf ro rd.md=0 rd.lvm=0 rd.dm=0
> rd.luks=0 rhgb quiet nouveau.modeset=1 LANG=en_US.UTF-8
> 
> And can adjust backlight with no issues using nouveau driver.

That is good to hear, closing this bug then.