[Bug 1836630] Re: System76 Oryx Pro (oryp5) with 5.0.0-21: Fail to resume from suspend

2020-01-14 Thread Tomasz Makara
in further reading of that local forum i managed somehow to cause kernel yelling ( just scroll down a little on first page) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1836630 Title: System76 Oryx

[Bug 1836630] Re: System76 Oryx Pro (oryp5) with 5.0.0-21: Fail to resume from suspend

2020-01-14 Thread Tomasz Makara
@alberto doesnt work for me (added your ppa) :( kubuntu 19.10 https://devtalk.nvidia.com/default/topic/1017185/linux/problem-with-resume-from-suspend-ubuntu-16-04-gt-940mx-/11 here i was hidden, my orginal post under local forum is there https://ubuntu.pl/forum/viewtopic.php?f=145&t=184690 --

[Bug 1836630] Re: System76 Oryx Pro (oryp5) with 5.0.0-21: Fail to resume from suspend

2019-12-16 Thread Alberto Milone
** Changed in: nvidia-graphics-drivers-430 (Ubuntu Bionic) Status: New => Fix Released ** Changed in: nvidia-graphics-drivers-430 (Ubuntu Focal) Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1836630] Re: System76 Oryx Pro (oryp5) with 5.0.0-21: Fail to resume from suspend

2019-12-13 Thread Anthony Wong
** Also affects: linux (Ubuntu Eoan) Importance: Undecided Status: New ** Also affects: nvidia-graphics-drivers-430 (Ubuntu Eoan) Importance: Undecided Status: New ** Also affects: linux (Ubuntu Focal) Importance: Undecided Status: Invalid ** Also affects: nvidia-gr

[Bug 1836630] Re: System76 Oryx Pro (oryp5) with 5.0.0-21: Fail to resume from suspend

2019-10-16 Thread Kai-Heng Feng
The pci_save_state () will make the Nvidia PCI devices stay at D0 under S3. We need to put it to D3 to save power. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1836630 Title: System76 Oryx Pro (ory

[Bug 1836630] Re: System76 Oryx Pro (oryp5) with 5.0.0-21: Fail to resume from suspend

2019-10-16 Thread Wojciech Wieckowski
Attached dmesg log shows S3 suspend and resume cycle on my machine with pci_save_state() enabled. From my point of view it looks pretty normal and fully supported. ** Attachment added: "dmesg-s3-cycle.txt" https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-430/+bug/1836630/+atta

[Bug 1836630] Re: System76 Oryx Pro (oryp5) with 5.0.0-21: Fail to resume from suspend

2019-10-15 Thread Alberto Milone
I wonder if your system is doing S2Idle (suspend to idle) instead of S3. Either way, we should find a solution that works in both cases. The kernel will be the right place for this. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https

[Bug 1836630] Re: System76 Oryx Pro (oryp5) with 5.0.0-21: Fail to resume from suspend

2019-10-14 Thread Wojciech Wieckowski
435.21-0ubuntu2 from official eoan repository. When this patch is removed from dkms.conf, after recompiling driver and updating initramfs suspend/resume works as expected. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.l

[Bug 1836630] Re: System76 Oryx Pro (oryp5) with 5.0.0-21: Fail to resume from suspend

2019-10-14 Thread Alberto Milone
@Wojciech: which nvidia package (and version) are you using? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1836630 Title: System76 Oryx Pro (oryp5) with 5.0.0-21: Fail to resume from suspend To man

[Bug 1836630] Re: System76 Oryx Pro (oryp5) with 5.0.0-21: Fail to resume from suspend

2019-10-14 Thread Alberto Milone
** Package changed: nvidia-graphics-drivers (Ubuntu) => nvidia-graphics- drivers-430 (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1836630 Title: System76 Oryx Pro (oryp5) with 5.0.0-21: Fa

[Bug 1836630] Re: System76 Oryx Pro (oryp5) with 5.0.0-21: Fail to resume from suspend

2019-10-13 Thread Wojciech Wieckowski
** Attachment added: "Lspci.txt" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1836630/+attachment/5296869/+files/Lspci.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1836630 Title: Sy

[Bug 1836630] Re: System76 Oryx Pro (oryp5) with 5.0.0-21: Fail to resume from suspend

2019-10-13 Thread Wojciech Wieckowski
Patch "do-not-call-pci_save_state.patch" that removes line "pci_save_state(nvl->pci_dev);" causes error 'gpu has fallen off the bus' after return from suspend. DistroRelease: Ubuntu 19.10 Uname: Linux 5.3.0-18-generic x86_64 dmi.bios.date: 05/30/2018 dmi.bios.vendor: LENOVO dmi.bios.version: GNET

[Bug 1836630] Re: System76 Oryx Pro (oryp5) with 5.0.0-21: Fail to resume from suspend

2019-10-02 Thread Gregor Darius
The test results: Model: PB71RD board_name: PB50_70RF,RD,RC - Ubuntu 18.04.3 suspend and wake up works, no other problems found - Ubuntu 19.10 not possible to test as the system behaves very unstable even without the new driver Model: P970RC board_name: P9XXRC - Ubuntu 18.04.3 suspend and wake

[Bug 1836630] Re: System76 Oryx Pro (oryp5) with 5.0.0-21: Fail to resume from suspend

2019-10-01 Thread Gregor Darius
I have been testing both versions today on two notebooks. I will be done with testing tomorrow and inform you about the results. Thank you! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1836630 Title

[Bug 1836630] Re: System76 Oryx Pro (oryp5) with 5.0.0-21: Fail to resume from suspend

2019-09-30 Thread Alberto Milone
Can you try the 430 driver from this PPA, please? (I have uploaded a fix for 18.04 and for 19.10) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1836630 Title: System76 Oryx Pro (oryp5) with 5.0.0-21

[Bug 1836630] Re: System76 Oryx Pro (oryp5) with 5.0.0-21: Fail to resume from suspend

2019-09-30 Thread Alberto Milone
https://launchpad.net/~oem-solutions-group/+archive/ubuntu/nvidia- driver-staging -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1836630 Title: System76 Oryx Pro (oryp5) with 5.0.0-21: Fail to resume

[Bug 1836630] Re: System76 Oryx Pro (oryp5) with 5.0.0-21: Fail to resume from suspend

2019-09-29 Thread Bug Watch Updater
** Changed in: linux Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1836630 Title: System76 Oryx Pro (oryp5) with 5.0.0-21: Fail to resume from suspend To ma

[Bug 1836630] Re: System76 Oryx Pro (oryp5) with 5.0.0-21: Fail to resume from suspend

2019-09-23 Thread Anthony Wong
** Changed in: nvidia-graphics-drivers (Ubuntu) Assignee: (unassigned) => Alberto Milone (albertomilone) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1836630 Title: System76 Oryx Pro (oryp5) w

[Bug 1836630] Re: System76 Oryx Pro (oryp5) with 5.0.0-21: Fail to resume from suspend

2019-09-02 Thread Bug Watch Updater
Launchpad has imported 3 comments from the remote bug at https://bugzilla.kernel.org/show_bug.cgi?id=204187. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help

[Bug 1836630] Re: System76 Oryx Pro (oryp5) with 5.0.0-21: Fail to resume from suspend

2019-08-09 Thread Kai-Heng Feng
Alberto, I think the change can be applied universally. The PCI core will call pci_save_state() if driver doesn't do it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1836630 Title: System76 Oryx P

[Bug 1836630] Re: System76 Oryx Pro (oryp5) with 5.0.0-21: Fail to resume from suspend

2019-08-08 Thread Chris
Having the same issue, Is there a work around while it gets fixed? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1836630 Title: System76 Oryx Pro (oryp5) with 5.0.0-21: Fail to resume from suspend

[Bug 1836630] Re: System76 Oryx Pro (oryp5) with 5.0.0-21: Fail to resume from suspend

2019-08-07 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: nvidia-graphics-drivers (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1836

[Bug 1836630] Re: System76 Oryx Pro (oryp5) with 5.0.0-21: Fail to resume from suspend

2019-08-07 Thread Jeremy Soller
Has there been any response from NVIDIA? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1836630 Title: System76 Oryx Pro (oryp5) with 5.0.0-21: Fail to resume from suspend To manage notifications ab

[Bug 1836630] Re: System76 Oryx Pro (oryp5) with 5.0.0-21: Fail to resume from suspend

2019-07-18 Thread Alberto Milone
Actually, the calls are not exposed, so, maybe we should rely on the kernel version instead. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1836630 Title: System76 Oryx Pro (oryp5) with 5.0.0-21: Fai

[Bug 1836630] Re: System76 Oryx Pro (oryp5) with 5.0.0-21: Fail to resume from suspend

2019-07-18 Thread Alberto Milone
I can apply the change depending on the availability of the new nvme_* functions, so that kernels which don't include the two commits will not be affected. I am going to notify NVIDIA too. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubunt

[Bug 1836630] Re: System76 Oryx Pro (oryp5) with 5.0.0-21: Fail to resume from suspend

2019-07-17 Thread Kai-Heng Feng
PCI core saves device's config space during suspend so I think it won't cause any issue. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1836630 Title: System76 Oryx Pro (oryp5) with 5.0.0-21: Fail to

[Bug 1836630] Re: System76 Oryx Pro (oryp5) with 5.0.0-21: Fail to resume from suspend

2019-07-17 Thread Jeremy Soller
I wonder if removing that line would cause issues on kernels before PCI: PM: Skip devices in D0 for suspend-to-idle, like the bionic kernel? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1836630 Title

[Bug 1836630] Re: System76 Oryx Pro (oryp5) with 5.0.0-21: Fail to resume from suspend

2019-07-17 Thread Kai-Heng Feng
Alberto, I think we should raise the issue to Nvidia. For a short term solution, is it possible to apply the change (comment #23) to all supported nvidia package versions in the interim? ** No longer affects: linux-hwe-edge (Ubuntu) ** Also affects: nvidia-graphics-drivers (Ubuntu) Importance

[Bug 1836630] Re: System76 Oryx Pro (oryp5) with 5.0.0-21: Fail to resume from suspend

2019-07-17 Thread Jeremy Soller
Kai-Heng, That patch when applied to the nvidia DKMS module appears to fix the suspend issues. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1836630 Title: System76 Oryx Pro (oryp5) with 5.0.0-21:

[Bug 1836630] Re: System76 Oryx Pro (oryp5) with 5.0.0-21: Fail to resume from suspend

2019-07-17 Thread Jeremy Soller
Thanks, how should I apply this? To the /usr/src/nvidia-*/nvidia/nv.c file? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1836630 Title: System76 Oryx Pro (oryp5) with 5.0.0-21: Fail to resume from

[Bug 1836630] Re: System76 Oryx Pro (oryp5) with 5.0.0-21: Fail to resume from suspend

2019-07-17 Thread Jeremy Soller
I will build the nvidia DKMS module with this patch and test it out, thanks. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1836630 Title: System76 Oryx Pro (oryp5) with 5.0.0-21: Fail to resume from

[Bug 1836630] Re: System76 Oryx Pro (oryp5) with 5.0.0-21: Fail to resume from suspend

2019-07-17 Thread Kai-Heng Feng
As of now PCI core skips pci_prepare_to_sleep(), which put device to D3, if pci_save_state() was called by the driver's suspend callback. IMO there are two ways to handle this: 1) Don't call pci_save_state(). 2) Manually put device to D3 after pci_save_state(). Let's try 1) first: diff --git a/n

[Bug 1836630] Re: System76 Oryx Pro (oryp5) with 5.0.0-21: Fail to resume from suspend

2019-07-17 Thread Jeremy Soller
1) S3 2) No, it happens only when the nvidia driver is active -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1836630 Title: System76 Oryx Pro (oryp5) with 5.0.0-21: Fail to resume from suspend To ma

[Bug 1836630] Re: System76 Oryx Pro (oryp5) with 5.0.0-21: Fail to resume from suspend

2019-07-17 Thread Kai-Heng Feng
Jeremy, 1) Does the system default to S2I or S3? 2) Does the issue happen when nvidia.ko is not loaded? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1836630 Title: System76 Oryx Pro (oryp5) with 5

[Bug 1836630] Re: System76 Oryx Pro (oryp5) with 5.0.0-21: Fail to resume from suspend

2019-07-16 Thread Jeremy Soller
I have tested a kernel with _only_ 6c6bc1aee6a61fe7a98196794735849286761a4a "PCI: PM: Skip devices in D0 for suspend-to-idle" reverted. That appears to fix all issues with suspend on this system. I am now attempting to find a minimal patch for restoring functionality. ** Also affects: linux via

[Bug 1836630] Re: System76 Oryx Pro (oryp5) with 5.0.0-21: Fail to resume from suspend

2019-07-16 Thread Jeremy Soller
It looks like reverting 1bde9ecf018ee646b68258921bf0fa364afda38a fixes suspend issues when writing devices to /sys/power/pm_test, but also reverting 6c6bc1aee6a61fe7a98196794735849286761a4a fixes suspend issues when using standard suspend/resume: commit 6c6bc1aee6a61fe7a98196794735849286761a4a Aut

[Bug 1836630] Re: System76 Oryx Pro (oryp5) with 5.0.0-21: Fail to resume from suspend

2019-07-16 Thread Jeremy Soller
Also reported here: https://bugzilla.kernel.org/show_bug.cgi?id=204187 ** Bug watch added: Linux Kernel Bug Tracker #204187 https://bugzilla.kernel.org/show_bug.cgi?id=204187 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://

[Bug 1836630] Re: System76 Oryx Pro (oryp5) with 5.0.0-21: Fail to resume from suspend

2019-07-16 Thread Jeremy Soller
I was able to narrow this down to this commit: commit 1bde9ecf018ee646b68258921bf0fa364afda38a Author: Keith Busch Date: Thu May 23 09:27:35 2019 -0600 nvme-pci: Use host managed power state for suspend BugLink: https://bugs.launchpad.net/bugs/1808957 The nvme pci driver prepares

[Bug 1836630] Re: System76 Oryx Pro (oryp5) with 5.0.0-21: Fail to resume from suspend

2019-07-15 Thread Jeremy Soller
apport information ** Also affects: linux-hwe-edge (Ubuntu) Importance: Undecided Status: New ** Tags added: apport-collected bionic ** Description changed: After upgrading the Ubuntu kernel to version 5.0.0-21, the System76 Oryx Pro (oryp5) fails to resume from suspend when using