Bug 201203 - [nouveau] Nvidia chip stops turning off on resume from suspend after AC state change
Summary: [nouveau] Nvidia chip stops turning off on resume from suspend after AC state...
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Video(DRI - non Intel) (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: drivers_video-dri
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-22 11:13 UTC by Iakov Karpov
Modified: 2018-09-22 11:13 UTC (History)
0 users

See Also:
Kernel Version: 4.12 - 4.18 opensuse kernel
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Iakov Karpov 2018-09-22 11:13:36 UTC
Originally reported at https://bugzilla.opensuse.org/show_bug.cgi?id=1109376

Sometimes nvidia chips stops turning off, draining laptop's battery.

Steps to reproduce:

1. Boot laptop while on battery power

Nouveau turns off the nvidia chip if it is not used

2. Plug the AC adapter

The nvidia chip is still unpowered if nobody is using it

3. Suspend computer to ram

4. Resume

The nvidia chip is always powered on regardless of if it is used or not.


I have tried this with linux 4.18 (including vanilla build) from opensuse's kernel:stable repo, problem still persists. Laptop would resume correctly if you don't change AC state while OS is running.

kernel log contains no warnings or errors related to nouveau or DRM subsytem.

Laptop used to work fine with linux 4.4

System Information
        Manufacturer: ASUSTeK Computer Inc.
        Product Name: U30Sd
        Version: 1.0       
        Serial Number: B5N0AS<cut-for-privacy-reasons>     
        UUID: <cut-for-privacy-reasons>
        Wake-up Type: Power Switch
        SKU Number:                       
        Family: U

lspci
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB Controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5)
00:1c.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 (rev b5)
00:1c.5 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 6 (rev b5)
00:1d.0 USB Controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation HM65 Express Chipset Family LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
01:00.0 VGA compatible controller: nVidia Corporation GF119M [GeForce GT 520M] (rev a1)
03:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
04:00.0 Ethernet controller: Atheros Communications AR8151 v2.0 Gigabit Ethernet (rev c0)

Note You need to log in before you can comment on or make changes to this bug.