pop-os / pop

A project for managing all Pop!_OS sources
https://system76.com/pop
2.44k stars 85 forks source link

hp spectre 15t gtx 1050 ti laptop will not awake from suspend #766

Open ChickenFur opened 4 years ago

ChickenFur commented 4 years ago

Distribution (run cat /etc/os-release): NAME="Pop!_OS" VERSION="19.10" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Pop!_OS 19.10" VERSION_ID="19.10" HOME_URL="https://system76.com/pop" SUPPORT_URL="http://support.system76.com" BUG_REPORT_URL="https://github.com/pop-os/pop/issues" PRIVACY_POLICY_URL="https://system76.com/privacy" VERSION_CODENAME=eoan UBUNTU_CODENAME=eoan LOGO=distributor-logo-pop-os

Related Application and/or Package Version (run apt policy $PACKAGE NAME):

Issue/Bug Description: hp spectre 15t gtx 1050 ti laptop will not awake from sleep when I close the laptop or click the suspend button through the gui it suspends but when I open it back up I get a black terminal full screen with this error message:

xhci_hcd 0000:38:00.0: BAR 0: error updating (0x9bf0000 != 0x000000)
ACPI ERROR: Aborting method \_SB.PCI0.PGON due to previous error (AE_AML_LOOP_
ACPI ERROR: Aborting method \_SB.PCI0.PEG0.PG00._ON due to previous error
xhci_hcd 0000:38:00.0: BAR 0: error updating (0x9bf0000 != 0x000000)
xhci_hcd 0000:38:00.0: BAR 0: error updating (0x9bf0000 != 0x000000)
xhci_hcd 0000:38:00.0: BAR 0: error updating (0x9bf0000 != 0x000000)
NVRM: Xid (PCI: 0000:01:00) 79 pid=294, GPU has fallen off the bus.
snd_hda_codec_hdmi hdaudioC1D0: Unable to sync register 0x5f011. -5

Steps to reproduce (if you know): Install Pop OS on hp spectre 15t gtx 1050ti After install enter into suspend mode try to turn the computer back on

Expected behavior: It should wake back up

Other Notes:

lspci -k | grep -EA3 'VGA|3D|Display'

gives me this info

00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 630 (Mobile)
    DeviceName:  Onboard IGD
    Subsystem: Hewlett-Packard Company UHD Graphics 630 (Mobile)
    Kernel driver in use: i915
--
01:00.0 VGA compatible controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Ti Mobile] (rev a1)
    DeviceName: NVIDIA GeForce GTX 1050 Ti
    Subsystem: Hewlett-Packard Company GP107M [GeForce GTX 1050 Ti Mobile]
    Kernel driver in use: nvidia
OMGtechy commented 4 years ago

Seems related to: https://devtalk.nvidia.com/default/topic/1057728/linux/nvrm-xid-pci-0000-01-00-79-gpu-has-fallen-off-the-bus-hp-studio-g5/2

Interesting quotes: "The system has been running stable now for more than a day and I have so far not seen the freeze since including the kernel parameter "intel_idle.max_cstate=1". It had never run for more than 15 minutes without that parameter. "

"I have turned on c-states in the BIOS to test the intel_idle.max_cstate parameter. I tried it with values from 1 to 10 and with all this value my nvidia card not fallen from bus. I tried boot without intel_idle parameter and my nvidia card not fallen from bus too. So, I can say that on current kernel and nvidia drivers on my notebook problem was resolvе perhaps after kernel update. Nevertheless, I set intel_idle.max_cstate=6 and now i testing it. On a higher values i've got periodical problems with OpenGL in KDE after cold boot but it's not nvidia issue i've got this probplems on intel card too. "

@ChickenFur , could you try that?

ChickenFur commented 4 years ago

Thanks for the link and info I edited /etc/default/grub to be:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_backlight=vendor intel_idle.max_cstate=6 "

Ran

sudo update-grub

I will let you know what happens

ChickenFur commented 4 years ago

No luck there it still doesn't wake up from sleep