From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 101404] New: GTX 970M (GM204-A) not powered off when not in use (DynPwr in stead of DynOff) Date: Tue, 13 Jun 2017 12:32:41 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2091026595==" Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "Nouveau" To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============2091026595== Content-Type: multipart/alternative; boundary="14973571611.DfcDF.26782"; charset="UTF-8" --14973571611.DfcDF.26782 Date: Tue, 13 Jun 2017 12:32:41 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D101404 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-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Reporter: benny-t2dRYjLbInkVZ4pArIi0Q3XJ5CkEIoRN@public.gmane.org QA Contact: xorg-team-go0+a7rfsptAfugRpC6u6w@public.gmane.org Created attachment 131921 --> https://bugs.freedesktop.org/attachment.cgi?id=3D131921&action=3Dedit 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=3Doff and on battery I see DynOff, but ~26W with power= top (i.e. nvidia card is not turned off). With pcie_port_pm=3Doff and on battery I see DynOff and 16-18W with powertop (i.e. nvidia card is turned off). Issue 2: -------- With pcie_port_pm=3Doff and on AC I always see DynPwr even though the nvidi= a card is unused (see below) - shouldn't this change to DynOff when unused? Is the= re 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=20 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=20=20 1280x1024 60.02=20=20 1280x960 60.00=20=20 1024x768 60.04 60.00=20=20 960x720 60.00=20=20 928x696 60.05=20=20 896x672 60.01=20=20 800x600 60.00 60.32 56.25=20=20 700x525 59.98=20=20 640x512 60.02=20=20 640x480 60.00 59.94=20=20 512x384 60.00=20=20 400x300 60.32 56.34=20=20 320x240 60.05 --=20 You are receiving this mail because: You are the assignee for the bug.= --14973571611.DfcDF.26782 Date: Tue, 13 Jun 2017 12:32:41 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
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 [deta=
ils]
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=3Doff and on battery I see DynOff, but ~26W with power=
top
(i.e. nvidia card is not turned off).

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

Issue 2:
--------
With pcie_port_pm=3Doff and on AC I always see DynPwr even though the nvidi=
a card
is unused (see below) - shouldn't this change to DynOff when unused? Is the=
re 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=20
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=20=20
   1280x1024     60.02=20=20
   1280x960      60.00=20=20
   1024x768      60.04    60.00=20=20
   960x720       60.00=20=20
   928x696       60.05=20=20
   896x672       60.01=20=20
   800x600       60.00    60.32    56.25=20=20
   700x525       59.98=20=20
   640x512       60.02=20=20
   640x480       60.00    59.94=20=20
   512x384       60.00=20=20
   400x300       60.32    56.34=20=20
   320x240       60.05


You are receiving this mail because:
  • You are the assignee for the bug.
= --14973571611.DfcDF.26782-- --===============2091026595== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cHM6Ly9saXN0cy5m cmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9ub3V2ZWF1Cg== --===============2091026595==--