bugzilla-daemon at freedesktop.org
2018-Sep-25 12:15 UTC
[Nouveau] [Bug 108058] New: After resuming from suspend, discrete GPU is powered on and can't be turned off
https://bugs.freedesktop.org/show_bug.cgi?id=108058
Bug ID: 108058
Summary: After resuming from suspend, discrete GPU is powered
on and can't be turned off
Product: xorg
Version: unspecified
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
Assignee: nouveau at lists.freedesktop.org
Reporter: domenico.iezzi.201 at gmail.com
QA Contact: xorg-team at lists.x.org
Created attachment 141734
--> https://bugs.freedesktop.org/attachment.cgi?id=141734&action=edit
kernel log
Overall, nouveau works without problem in managing discrete GPU PM, and if I
check power consumption using powertop on a fresh boot it reports an average
battery discharge rate of ~7W like always.
After I resume the laptop from suspend, /sys/kernel/debug/vgaswitcheroo/switch
reports that the device is
dynamically turned off:
0:IGD:+:Pwr:0000:00:02.0
1:DIS: :DynOff:0000:01:00.0
But if I check with powertop, I get a battery discharge rate of ~11W. To better
identify the problem, I tried using bumbleebee+bbswitch+nvidia-driver and see
what bbswitch module reports. On a fresh boot, it works
ok as the nouveau driver, but after resuming from suspend
/proc/acpi/bbswitch reports that the card is turned ON, and there is no way to
power it off:
[root at example user]# cat /proc/acpi/bbswitch
0000:04:00.0 ON
[root at example user]# tee /proc/acpi/bbswitch <<<OFF
OFF
[root at example user]# cat /proc/acpi/bbswitch
0000:04:00.0 ON
I attached the kernel log using following parameters when using only nouveau
driver (no bumblebee/bbswitch/nvidia): log_buf_len=1M nouveau.debug=debug.
System specs:
Asus Vivobook S551LN
Intel i7 4500U
NVIDIA 840M
Archlinux 4.18.9-arch1-1-ARCH (but affecting older versions, since early 4.x
version when i started using linux)
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<https://lists.freedesktop.org/archives/nouveau/attachments/20180925/3087a0af/attachment.html>
bugzilla-daemon at freedesktop.org
2018-Nov-22 14:31 UTC
[Nouveau] [Bug 108058] After resuming from suspend, discrete GPU is powered on and can't be turned off
https://bugs.freedesktop.org/show_bug.cgi?id=108058 --- Comment #1 from Tolga Cakir <cevelnet at gmail.com> --- I might have the same issue - I posted it under bug 98386. Happens on a Dell M3800, Intel Core i7-4702HQ, Nvidia Quadro K1100M, Arch Linux w/ kernel 4.19.2. Same as you, after fresh boot I get around ~7W in idle and after S3 resume I get 15W and more, no matter how long I wait. Contrary to your observations, bbswitch works for me; nouveau doesn't. I have found out, that echoing lowest pstate (/sys/kernel/debug/dri/*/pstate) after S3 resume solves this issue. Power consumption drops back to 7-8W in idle. I will post full dmidecode and dmesg in a couple of hours. -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20181122/b986ccc6/attachment.html>
bugzilla-daemon at freedesktop.org
2018-Nov-22 20:25 UTC
[Nouveau] [Bug 108058] After resuming from suspend, discrete GPU is powered on and can't be turned off
https://bugs.freedesktop.org/show_bug.cgi?id=108058 --- Comment #2 from Tolga Cakir <cevelnet at gmail.com> --- Created attachment 142575 --> https://bugs.freedesktop.org/attachment.cgi?id=142575&action=edit dmesg, comments at line 947 and 1051 -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20181122/dddd0f90/attachment.html>
bugzilla-daemon at freedesktop.org
2018-Nov-22 20:25 UTC
[Nouveau] [Bug 108058] After resuming from suspend, discrete GPU is powered on and can't be turned off
https://bugs.freedesktop.org/show_bug.cgi?id=108058 --- Comment #3 from Tolga Cakir <cevelnet at gmail.com> --- Created attachment 142576 --> https://bugs.freedesktop.org/attachment.cgi?id=142576&action=edit dmidecode Dell M3800 -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20181122/9a8ccd65/attachment.html>
bugzilla-daemon at freedesktop.org
2018-Nov-22 20:26 UTC
[Nouveau] [Bug 108058] After resuming from suspend, discrete GPU is powered on and can't be turned off
https://bugs.freedesktop.org/show_bug.cgi?id=108058 --- Comment #4 from Tolga Cakir <cevelnet at gmail.com> --- Created attachment 142577 --> https://bugs.freedesktop.org/attachment.cgi?id=142577&action=edit lspci Dell M3800 -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20181122/4dc09372/attachment.html>
bugzilla-daemon at freedesktop.org
2018-Nov-22 20:26 UTC
[Nouveau] [Bug 108058] After resuming from suspend, discrete GPU is powered on and can't be turned off
https://bugs.freedesktop.org/show_bug.cgi?id=108058 --- Comment #5 from Tolga Cakir <cevelnet at gmail.com> --- Created attachment 142578 --> https://bugs.freedesktop.org/attachment.cgi?id=142578&action=edit lspci verbose Dell M3800 -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20181122/b4f8cb7b/attachment.html>
bugzilla-daemon at freedesktop.org
2019-Feb-08 02:03 UTC
[Nouveau] [Bug 108058] After resuming from suspend, discrete GPU is powered on and can't be turned off
https://bugs.freedesktop.org/show_bug.cgi?id=108058 --- Comment #6 from Tolga Cakir <cevelnet at gmail.com> --- No longer occurs under stable kernel 4.20.6. Can you confirm this @Domenico? -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20190208/43dde990/attachment.html>
bugzilla-daemon at freedesktop.org
2019-Mar-17 17:05 UTC
[Nouveau] [Bug 108058] After resuming from suspend, discrete GPU is powered on and can't be turned off
https://bugs.freedesktop.org/show_bug.cgi?id=108058
--- Comment #7 from Domenico Iezzi <domenico.iezzi.201 at gmail.com> ---
Still occurring to me on linux 5.0.2.
I also noticed that after resuming from suspend, if I run something with the
discrete GPU like this:
DRI_PRIME=1 glxgears -info
the power consumption returns to normal values. This seems to be the same
behavior already noticed by @Tolga in comment #1
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<https://lists.freedesktop.org/archives/nouveau/attachments/20190317/1029d9d5/attachment.html>
bugzilla-daemon at freedesktop.org
2019-Dec-04 09:45 UTC
[Nouveau] [Bug 108058] After resuming from suspend, discrete GPU is powered on and can't be turned off
https://bugs.freedesktop.org/show_bug.cgi?id=108058
Martin Peres <martin.peres at free.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |MOVED
--- Comment #8 from Martin Peres <martin.peres at free.fr> ---
-- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been
closed from further activity.
You can subscribe and participate further through the new bug through this link
to our GitLab instance:
https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/issues/461.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<https://lists.freedesktop.org/archives/nouveau/attachments/20191204/4c1b3270/attachment.html>
Maybe Matching Threads
- [Bug 98386] New: [NVE7] bus: MMIO write of FAULT at [ IBUS ], Pointer to {TDMS, flat panel) table invalid
- [Bug 86503] New: Discrete card seems to be powered on even if reported as Off
- [Bug 100762] New: Nouveau powersave/suspend for discrete card stopped working
- Laptop for CentOS
- Installing mSATA Solid State Drive in Dell Precision M3800