Bug ID 101404
Summary GTX 970M (GM204-A) not powered off when not in use (DynPwr in stead of DynOff)
Product xorg
Version unspecified
Hardware Other
OS Linux (All)
Status NEW
Severity normal
Priority medium
Component Driver/nouveau
Assignee nouveau@lists.freedesktop.org
Reporter benny@ammitzboell-consult.dk
QA Contact xorg-team@lists.x.org

Created attachment 131921 [details]
dmesg log

Gentoo linux ver. 4.9.16 - using vgaswitcheroo, modesetting and nouveau.

My laptop is a Tuxedo XC1706 (aka Schenker XMG P706 aka Clevo P671RG)
(i7-6700HQ/GTX 970M), external outputs (HDMI and 2 x DP) are wired to the
NVIDIA card. The intel HD only has the laptop screen attached.

Issue 1 (minor):
----------------
Without pcie_port_pm=off and on battery I see DynOff, but ~26W with powertop
(i.e. nvidia card is not turned off).

With pcie_port_pm=off and on battery I see DynOff and 16-18W with powertop
(i.e. nvidia card is turned off).

Issue 2:
--------
With pcie_port_pm=off and on AC I always see DynPwr even though the nvidia card
is unused (see below) - shouldn't this change to DynOff when unused? Is there a
workaround way to force this to DynOff?

tux_xc1706 ~ # cat /sys/kernel/debug/vgaswitcheroo/switch
0:IGD:+:Pwr:0000:00:02.0
1:DIS: :DynPwr:0000:01:00.0

tux_xc1706 ~ # xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x7a cap: 0xf, Source Output, Sink Output, Source Offload, Sink
Offload crtcs: 3 outputs: 1 associated providers: 0 name:modesetting
Provider 1: id: 0x46 cap: 0xf, Source Output, Sink Output, Source Offload, Sink
Offload crtcs: 4 outputs: 3 associated providers: 0 name:modesetting

tux_xc1706 ~ # xrandr 
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y
axis) 382mm x 215mm
   1920x1080     60.02*+
   1400x1050     59.98  
   1280x1024     60.02  
   1280x960      60.00  
   1024x768      60.04    60.00  
   960x720       60.00  
   928x696       60.05  
   896x672       60.01  
   800x600       60.00    60.32    56.25  
   700x525       59.98  
   640x512       60.02  
   640x480       60.00    59.94  
   512x384       60.00  
   400x300       60.32    56.34  
   320x240       60.05


You are receiving this mail because: