[Kernel-packages] [Bug 1881828] Re: Lenovo X1 Extreme screen never wakes up

2020-06-18 Thread Kelly Kane
I attempted to get a bisect going but failed. These commit logs look
promising though as to where the fix lies.

~/git/mainline-crack$ git log --oneline v5.6.6..v5.6.7 -- 
./drivers/gpu/drm/nouveau/
360aba644f1f drm/nouveau/gr/gp107,gp108: implement workaround for HW hanging 
during init
dd4a3179e04c drm/nouveau: workaround runpm fail by disabling PCI power 
management on certain intel bridges
bca4d36a2a11 drm/nouveau/svm: fix vma range check for migration
ded30f112b5e drm/nouveau/svm: check for SVM initialized before migrating


Playing along from 
https://wiki.ubuntu.com/Kernel/KernelBisection#Reverse_bisecting_upstream_kernel_versions
 I did this and got a segfault in git. Whoops. Not sure where to go from here.

~/git/mainline-crack$ git checkout v5.6.7
Updating files: 100% (11314/11314), done.
Note: switching to 'v5.6.7'.
...
HEAD is now at 55b2af1c23eb Linux 5.6.7
~/git/mainline-crack$ git bisect start drivers/gpu/drm/nouveau/
Segmentation fault (core dumped)

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1881828

Title:
  Lenovo X1 Extreme screen never wakes up

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Unreliably, but 9 times out of 10, if my screen goes to sleep on my
  laptop it will never wake back up. Looking in kern.log I see this
  output, scrolling on repeat, until I long-press the power button to
  shut off the laptop. Happened occasionally in Ubuntu 19.10, now
  regularly on 20.04. Persisted with the nvidia proprietary driver as
  well as the open source one. It has persisted across several official
  ubuntu packaged kernel revisions. I got kernel taint down to "0" and
  it kept happening. (Previously virtualbox and nvidia driver were in
  there.)

  May 26 20:02:30 hawk-x1 kernel: [28401.972981] No Local Variables are 
initialized for Method [NVPO]
  May 26 20:02:30 hawk-x1 kernel: [28401.972986] No Arguments are initialized 
for method [NVPO]
  May 26 20:02:30 hawk-x1 kernel: [28401.972991] ACPI Error: Aborting method 
\_SB.PCI0.PEG0.PEGP.NVPO due to previous error (AE_AML_LOOP_TIMEOUT) 
(20190816/psparse-529)
  May 26 20:02:30 hawk-x1 kernel: [28401.973016] ACPI Error: Aborting method 
\_SB.PCI0.PGON due to previous error (AE_AML_LOOP_TIMEOUT) 
(20190816/psparse-529)
  May 26 20:02:30 hawk-x1 kernel: [28401.973033] ACPI Error: Aborting method 
\_SB.PCI0.PEG0.PG00._ON due to previous error (AE_AML_LOOP_TIMEOUT) 
(20190816/psparse-529)
  May 26 20:02:30 hawk-x1 kernel: [28401.973058] acpi device:00: Failed to 
change power state to D0
  May 26 20:02:31 hawk-x1 kernel: [28403.217052] video LNXVIDEO:00: Cannot 
transition to power state D0 for parent in (unknown)
  May 26 20:02:31 hawk-x1 kernel: [28403.217064] nouveau :01:00.0: Refused 
to change power state, currently in D3
  May 26 20:02:31 hawk-x1 kernel: [28403.277092] video LNXVIDEO:00: Cannot 
transition to power state D0 for parent in (unknown)
  May 26 20:02:31 hawk-x1 kernel: [28403.296906] nouveau :01:00.0: Refused 
to change power state, currently in D3
  May 26 20:02:31 hawk-x1 kernel: [28403.296915] video LNXVIDEO:00: Cannot 
transition to power state D0 for parent in (unknown)
  May 26 20:02:31 hawk-x1 kernel: [28403.316894] nouveau :01:00.0: Refused 
to change power state, currently in D3
  May 26 20:02:31 hawk-x1 kernel: [28403.319495] nouveau :01:00.0: tmr: 
stalled at 
  May 26 20:02:31 hawk-x1 kernel: [28403.319497] [ cut here 
]
  May 26 20:02:31 hawk-x1 kernel: [28403.319498] nouveau :01:00.0: timeout
  May 26 20:02:31 hawk-x1 kernel: [28403.319551] WARNING: CPU: 2 PID: 2697 at 
drivers/gpu/drm/nouveau/nvkm/subdev/bar/g84.c:35 g84_bar_flush+0xd6/0xe0 
[nouveau]
  May 26 20:02:31 hawk-x1 kernel: [28403.319552] Modules linked in: 
xt_conntrack xt_MASQUERADE nfnetlink xfrm_user xfrm_algo iptable_nat nf_nat 
nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c xt_addrtype bpfilter ccm 
overlay aufs bnep binfmt_misc nls_iso8859_1 mei_hdcp intel_rapl_msr 
x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm intel_cstate 
intel_rapl_perf snd_hda_codec_hdmi snd_sof_pci snd_sof_intel_hda_common 
snd_soc_hdac_hda snd_sof_intel_hda snd_sof_intel_byt iwlmvm snd_sof_intel_ipc 
snd_sof mac80211 uvcvideo snd_sof_xtensa_dsp snd_hda_ext_core videobuf2_vmalloc 
snd_soc_acpi_intel_match videobuf2_memops snd_soc_acpi btusb libarc4 
videobuf2_v4l2 btrtl videobuf2_common btbcm wmi_bmof thinkpad_acpi input_leds 
joydev snd_hda_codec_realtek btintel snd_soc_core snd_seq_midi videodev 
bluetooth snd_hda_codec_generic serio_raw snd_seq_midi_event nvram snd_compress 
ac97_bus intel_wmi_thunderbolt snd_pcm_dmaengine ledtrig_audio mc iwlwifi 
snd_rawmidi ecdh_generic 8250_dw ecc snd_hda_intel mei_me cfg80211
  May 26 20:02:31 hawk-x1 kernel: [28403.319567]  snd_intel_dspcfg mei 
snd_hda_codec snd_seq snd_hda_core ucsi_acpi snd_hwdep processor_therm

[Kernel-packages] [Bug 1881828] Re: Lenovo X1 Extreme screen never wakes up

2020-06-17 Thread Kelly Kane
I've been testing various previous releases of Linux from the mainline
repo. 5.6.2 still fails, 5.6.18 works fine. 5.6.0 and 5.6.1 both have
busted wifi so I didn't test them beyond realizing my wifi didn't work.

Looking through the CHANGES files I see 5.6.6 and 5.6.7 both reference
nouveau changes, with 5.6.7 actually saying "work around hang on init"
which seems promising. I will try those kernels next and see what works
or doesn't work.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1881828

Title:
  Lenovo X1 Extreme screen never wakes up

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Unreliably, but 9 times out of 10, if my screen goes to sleep on my
  laptop it will never wake back up. Looking in kern.log I see this
  output, scrolling on repeat, until I long-press the power button to
  shut off the laptop. Happened occasionally in Ubuntu 19.10, now
  regularly on 20.04. Persisted with the nvidia proprietary driver as
  well as the open source one. It has persisted across several official
  ubuntu packaged kernel revisions. I got kernel taint down to "0" and
  it kept happening. (Previously virtualbox and nvidia driver were in
  there.)

  May 26 20:02:30 hawk-x1 kernel: [28401.972981] No Local Variables are 
initialized for Method [NVPO]
  May 26 20:02:30 hawk-x1 kernel: [28401.972986] No Arguments are initialized 
for method [NVPO]
  May 26 20:02:30 hawk-x1 kernel: [28401.972991] ACPI Error: Aborting method 
\_SB.PCI0.PEG0.PEGP.NVPO due to previous error (AE_AML_LOOP_TIMEOUT) 
(20190816/psparse-529)
  May 26 20:02:30 hawk-x1 kernel: [28401.973016] ACPI Error: Aborting method 
\_SB.PCI0.PGON due to previous error (AE_AML_LOOP_TIMEOUT) 
(20190816/psparse-529)
  May 26 20:02:30 hawk-x1 kernel: [28401.973033] ACPI Error: Aborting method 
\_SB.PCI0.PEG0.PG00._ON due to previous error (AE_AML_LOOP_TIMEOUT) 
(20190816/psparse-529)
  May 26 20:02:30 hawk-x1 kernel: [28401.973058] acpi device:00: Failed to 
change power state to D0
  May 26 20:02:31 hawk-x1 kernel: [28403.217052] video LNXVIDEO:00: Cannot 
transition to power state D0 for parent in (unknown)
  May 26 20:02:31 hawk-x1 kernel: [28403.217064] nouveau :01:00.0: Refused 
to change power state, currently in D3
  May 26 20:02:31 hawk-x1 kernel: [28403.277092] video LNXVIDEO:00: Cannot 
transition to power state D0 for parent in (unknown)
  May 26 20:02:31 hawk-x1 kernel: [28403.296906] nouveau :01:00.0: Refused 
to change power state, currently in D3
  May 26 20:02:31 hawk-x1 kernel: [28403.296915] video LNXVIDEO:00: Cannot 
transition to power state D0 for parent in (unknown)
  May 26 20:02:31 hawk-x1 kernel: [28403.316894] nouveau :01:00.0: Refused 
to change power state, currently in D3
  May 26 20:02:31 hawk-x1 kernel: [28403.319495] nouveau :01:00.0: tmr: 
stalled at 
  May 26 20:02:31 hawk-x1 kernel: [28403.319497] [ cut here 
]
  May 26 20:02:31 hawk-x1 kernel: [28403.319498] nouveau :01:00.0: timeout
  May 26 20:02:31 hawk-x1 kernel: [28403.319551] WARNING: CPU: 2 PID: 2697 at 
drivers/gpu/drm/nouveau/nvkm/subdev/bar/g84.c:35 g84_bar_flush+0xd6/0xe0 
[nouveau]
  May 26 20:02:31 hawk-x1 kernel: [28403.319552] Modules linked in: 
xt_conntrack xt_MASQUERADE nfnetlink xfrm_user xfrm_algo iptable_nat nf_nat 
nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c xt_addrtype bpfilter ccm 
overlay aufs bnep binfmt_misc nls_iso8859_1 mei_hdcp intel_rapl_msr 
x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm intel_cstate 
intel_rapl_perf snd_hda_codec_hdmi snd_sof_pci snd_sof_intel_hda_common 
snd_soc_hdac_hda snd_sof_intel_hda snd_sof_intel_byt iwlmvm snd_sof_intel_ipc 
snd_sof mac80211 uvcvideo snd_sof_xtensa_dsp snd_hda_ext_core videobuf2_vmalloc 
snd_soc_acpi_intel_match videobuf2_memops snd_soc_acpi btusb libarc4 
videobuf2_v4l2 btrtl videobuf2_common btbcm wmi_bmof thinkpad_acpi input_leds 
joydev snd_hda_codec_realtek btintel snd_soc_core snd_seq_midi videodev 
bluetooth snd_hda_codec_generic serio_raw snd_seq_midi_event nvram snd_compress 
ac97_bus intel_wmi_thunderbolt snd_pcm_dmaengine ledtrig_audio mc iwlwifi 
snd_rawmidi ecdh_generic 8250_dw ecc snd_hda_intel mei_me cfg80211
  May 26 20:02:31 hawk-x1 kernel: [28403.319567]  snd_intel_dspcfg mei 
snd_hda_codec snd_seq snd_hda_core ucsi_acpi snd_hwdep processor_thermal_device 
typec_ucsi intel_rapl_common snd_pcm intel_pch_thermal intel_soc_dts_iosf typec 
snd_seq_device snd_timer snd soundcore int3403_thermal int340x_thermal_zone 
int3400_thermal mac_hid acpi_pad acpi_thermal_rel sch_fq_codel iptable_filter 
ip6table_filter ip6_tables br_netfilter bridge stp llc arp_tables parport_pc 
ppdev lp parport ip_tables x_tables autofs4 dm_crypt uas usb_storage 
crct10dif_pclmul crc32_pclmul ghash_clmulni_intel nouveau mxm_wmi i2c_algo_bit 
ttm drm_kms_helper aesni_intel syscopyarea sysfillrect cryp

[Kernel-packages] [Bug 1881828] Re: Lenovo X1 Extreme screen never wakes up

2020-06-06 Thread Kelly Kane
I heavily used the laptop over the course of another day and half. Zero
crashes! I did everything in my power to induce the failure mode I was
previously seeing and nada. I closed the lid with wreckless abandon,
left it open, locked it, plugged in, on battery, etc. So far so good.
kern.log is clean.

Let me know what if anything else you would like me to do. Happy to test
a backport or whatever.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1881828

Title:
  Lenovo X1 Extreme screen never wakes up

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Unreliably, but 9 times out of 10, if my screen goes to sleep on my
  laptop it will never wake back up. Looking in kern.log I see this
  output, scrolling on repeat, until I long-press the power button to
  shut off the laptop. Happened occasionally in Ubuntu 19.10, now
  regularly on 20.04. Persisted with the nvidia proprietary driver as
  well as the open source one. It has persisted across several official
  ubuntu packaged kernel revisions. I got kernel taint down to "0" and
  it kept happening. (Previously virtualbox and nvidia driver were in
  there.)

  May 26 20:02:30 hawk-x1 kernel: [28401.972981] No Local Variables are 
initialized for Method [NVPO]
  May 26 20:02:30 hawk-x1 kernel: [28401.972986] No Arguments are initialized 
for method [NVPO]
  May 26 20:02:30 hawk-x1 kernel: [28401.972991] ACPI Error: Aborting method 
\_SB.PCI0.PEG0.PEGP.NVPO due to previous error (AE_AML_LOOP_TIMEOUT) 
(20190816/psparse-529)
  May 26 20:02:30 hawk-x1 kernel: [28401.973016] ACPI Error: Aborting method 
\_SB.PCI0.PGON due to previous error (AE_AML_LOOP_TIMEOUT) 
(20190816/psparse-529)
  May 26 20:02:30 hawk-x1 kernel: [28401.973033] ACPI Error: Aborting method 
\_SB.PCI0.PEG0.PG00._ON due to previous error (AE_AML_LOOP_TIMEOUT) 
(20190816/psparse-529)
  May 26 20:02:30 hawk-x1 kernel: [28401.973058] acpi device:00: Failed to 
change power state to D0
  May 26 20:02:31 hawk-x1 kernel: [28403.217052] video LNXVIDEO:00: Cannot 
transition to power state D0 for parent in (unknown)
  May 26 20:02:31 hawk-x1 kernel: [28403.217064] nouveau :01:00.0: Refused 
to change power state, currently in D3
  May 26 20:02:31 hawk-x1 kernel: [28403.277092] video LNXVIDEO:00: Cannot 
transition to power state D0 for parent in (unknown)
  May 26 20:02:31 hawk-x1 kernel: [28403.296906] nouveau :01:00.0: Refused 
to change power state, currently in D3
  May 26 20:02:31 hawk-x1 kernel: [28403.296915] video LNXVIDEO:00: Cannot 
transition to power state D0 for parent in (unknown)
  May 26 20:02:31 hawk-x1 kernel: [28403.316894] nouveau :01:00.0: Refused 
to change power state, currently in D3
  May 26 20:02:31 hawk-x1 kernel: [28403.319495] nouveau :01:00.0: tmr: 
stalled at 
  May 26 20:02:31 hawk-x1 kernel: [28403.319497] [ cut here 
]
  May 26 20:02:31 hawk-x1 kernel: [28403.319498] nouveau :01:00.0: timeout
  May 26 20:02:31 hawk-x1 kernel: [28403.319551] WARNING: CPU: 2 PID: 2697 at 
drivers/gpu/drm/nouveau/nvkm/subdev/bar/g84.c:35 g84_bar_flush+0xd6/0xe0 
[nouveau]
  May 26 20:02:31 hawk-x1 kernel: [28403.319552] Modules linked in: 
xt_conntrack xt_MASQUERADE nfnetlink xfrm_user xfrm_algo iptable_nat nf_nat 
nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c xt_addrtype bpfilter ccm 
overlay aufs bnep binfmt_misc nls_iso8859_1 mei_hdcp intel_rapl_msr 
x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm intel_cstate 
intel_rapl_perf snd_hda_codec_hdmi snd_sof_pci snd_sof_intel_hda_common 
snd_soc_hdac_hda snd_sof_intel_hda snd_sof_intel_byt iwlmvm snd_sof_intel_ipc 
snd_sof mac80211 uvcvideo snd_sof_xtensa_dsp snd_hda_ext_core videobuf2_vmalloc 
snd_soc_acpi_intel_match videobuf2_memops snd_soc_acpi btusb libarc4 
videobuf2_v4l2 btrtl videobuf2_common btbcm wmi_bmof thinkpad_acpi input_leds 
joydev snd_hda_codec_realtek btintel snd_soc_core snd_seq_midi videodev 
bluetooth snd_hda_codec_generic serio_raw snd_seq_midi_event nvram snd_compress 
ac97_bus intel_wmi_thunderbolt snd_pcm_dmaengine ledtrig_audio mc iwlwifi 
snd_rawmidi ecdh_generic 8250_dw ecc snd_hda_intel mei_me cfg80211
  May 26 20:02:31 hawk-x1 kernel: [28403.319567]  snd_intel_dspcfg mei 
snd_hda_codec snd_seq snd_hda_core ucsi_acpi snd_hwdep processor_thermal_device 
typec_ucsi intel_rapl_common snd_pcm intel_pch_thermal intel_soc_dts_iosf typec 
snd_seq_device snd_timer snd soundcore int3403_thermal int340x_thermal_zone 
int3400_thermal mac_hid acpi_pad acpi_thermal_rel sch_fq_codel iptable_filter 
ip6table_filter ip6_tables br_netfilter bridge stp llc arp_tables parport_pc 
ppdev lp parport ip_tables x_tables autofs4 dm_crypt uas usb_storage 
crct10dif_pclmul crc32_pclmul ghash_clmulni_intel nouveau mxm_wmi i2c_algo_bit 
ttm drm_kms_helper aesni_intel syscopyarea sysfillrect crypto_simd sysimgblt 
cryptd fb_sys_fops glue_hel

[Kernel-packages] [Bug 1881828] Re: Lenovo X1 Extreme screen never wakes up

2020-06-04 Thread Kelly Kane
Tested lightly yesterday as I didn't get much time to use my laptop,
however I went through several sleep/wake cycles, some with power
plugged in lid left open, on battery lid left open, on battery lid down
to lid up several hours later. Whenever I walked past it I did
"something" to wake it up, unlock it, then walk away.

0 crashes. I will continue to use the laptop to attempt to "prove a
negative." Please let me know any data to collect or further testing
would be useful to attempt.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1881828

Title:
  Lenovo X1 Extreme screen never wakes up

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Unreliably, but 9 times out of 10, if my screen goes to sleep on my
  laptop it will never wake back up. Looking in kern.log I see this
  output, scrolling on repeat, until I long-press the power button to
  shut off the laptop. Happened occasionally in Ubuntu 19.10, now
  regularly on 20.04. Persisted with the nvidia proprietary driver as
  well as the open source one. It has persisted across several official
  ubuntu packaged kernel revisions. I got kernel taint down to "0" and
  it kept happening. (Previously virtualbox and nvidia driver were in
  there.)

  May 26 20:02:30 hawk-x1 kernel: [28401.972981] No Local Variables are 
initialized for Method [NVPO]
  May 26 20:02:30 hawk-x1 kernel: [28401.972986] No Arguments are initialized 
for method [NVPO]
  May 26 20:02:30 hawk-x1 kernel: [28401.972991] ACPI Error: Aborting method 
\_SB.PCI0.PEG0.PEGP.NVPO due to previous error (AE_AML_LOOP_TIMEOUT) 
(20190816/psparse-529)
  May 26 20:02:30 hawk-x1 kernel: [28401.973016] ACPI Error: Aborting method 
\_SB.PCI0.PGON due to previous error (AE_AML_LOOP_TIMEOUT) 
(20190816/psparse-529)
  May 26 20:02:30 hawk-x1 kernel: [28401.973033] ACPI Error: Aborting method 
\_SB.PCI0.PEG0.PG00._ON due to previous error (AE_AML_LOOP_TIMEOUT) 
(20190816/psparse-529)
  May 26 20:02:30 hawk-x1 kernel: [28401.973058] acpi device:00: Failed to 
change power state to D0
  May 26 20:02:31 hawk-x1 kernel: [28403.217052] video LNXVIDEO:00: Cannot 
transition to power state D0 for parent in (unknown)
  May 26 20:02:31 hawk-x1 kernel: [28403.217064] nouveau :01:00.0: Refused 
to change power state, currently in D3
  May 26 20:02:31 hawk-x1 kernel: [28403.277092] video LNXVIDEO:00: Cannot 
transition to power state D0 for parent in (unknown)
  May 26 20:02:31 hawk-x1 kernel: [28403.296906] nouveau :01:00.0: Refused 
to change power state, currently in D3
  May 26 20:02:31 hawk-x1 kernel: [28403.296915] video LNXVIDEO:00: Cannot 
transition to power state D0 for parent in (unknown)
  May 26 20:02:31 hawk-x1 kernel: [28403.316894] nouveau :01:00.0: Refused 
to change power state, currently in D3
  May 26 20:02:31 hawk-x1 kernel: [28403.319495] nouveau :01:00.0: tmr: 
stalled at 
  May 26 20:02:31 hawk-x1 kernel: [28403.319497] [ cut here 
]
  May 26 20:02:31 hawk-x1 kernel: [28403.319498] nouveau :01:00.0: timeout
  May 26 20:02:31 hawk-x1 kernel: [28403.319551] WARNING: CPU: 2 PID: 2697 at 
drivers/gpu/drm/nouveau/nvkm/subdev/bar/g84.c:35 g84_bar_flush+0xd6/0xe0 
[nouveau]
  May 26 20:02:31 hawk-x1 kernel: [28403.319552] Modules linked in: 
xt_conntrack xt_MASQUERADE nfnetlink xfrm_user xfrm_algo iptable_nat nf_nat 
nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c xt_addrtype bpfilter ccm 
overlay aufs bnep binfmt_misc nls_iso8859_1 mei_hdcp intel_rapl_msr 
x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm intel_cstate 
intel_rapl_perf snd_hda_codec_hdmi snd_sof_pci snd_sof_intel_hda_common 
snd_soc_hdac_hda snd_sof_intel_hda snd_sof_intel_byt iwlmvm snd_sof_intel_ipc 
snd_sof mac80211 uvcvideo snd_sof_xtensa_dsp snd_hda_ext_core videobuf2_vmalloc 
snd_soc_acpi_intel_match videobuf2_memops snd_soc_acpi btusb libarc4 
videobuf2_v4l2 btrtl videobuf2_common btbcm wmi_bmof thinkpad_acpi input_leds 
joydev snd_hda_codec_realtek btintel snd_soc_core snd_seq_midi videodev 
bluetooth snd_hda_codec_generic serio_raw snd_seq_midi_event nvram snd_compress 
ac97_bus intel_wmi_thunderbolt snd_pcm_dmaengine ledtrig_audio mc iwlwifi 
snd_rawmidi ecdh_generic 8250_dw ecc snd_hda_intel mei_me cfg80211
  May 26 20:02:31 hawk-x1 kernel: [28403.319567]  snd_intel_dspcfg mei 
snd_hda_codec snd_seq snd_hda_core ucsi_acpi snd_hwdep processor_thermal_device 
typec_ucsi intel_rapl_common snd_pcm intel_pch_thermal intel_soc_dts_iosf typec 
snd_seq_device snd_timer snd soundcore int3403_thermal int340x_thermal_zone 
int3400_thermal mac_hid acpi_pad acpi_thermal_rel sch_fq_codel iptable_filter 
ip6table_filter ip6_tables br_netfilter bridge stp llc arp_tables parport_pc 
ppdev lp parport ip_tables x_tables autofs4 dm_crypt uas usb_storage 
crct10dif_pclmul crc32_pclmul ghash_clmulni_intel nouveau mxm_wmi i2c_algo_bit 
ttm drm_kms_he

[Kernel-packages] [Bug 1881828] Re: Lenovo X1 Extreme screen never wakes up

2020-06-03 Thread Kelly Kane
Signed and installed 5.7.0-050700-generic from mainline. I will test it
out and see what I get, thank you!

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1881828

Title:
  Lenovo X1 Extreme screen never wakes up

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Unreliably, but 9 times out of 10, if my screen goes to sleep on my
  laptop it will never wake back up. Looking in kern.log I see this
  output, scrolling on repeat, until I long-press the power button to
  shut off the laptop. Happened occasionally in Ubuntu 19.10, now
  regularly on 20.04. Persisted with the nvidia proprietary driver as
  well as the open source one. It has persisted across several official
  ubuntu packaged kernel revisions. I got kernel taint down to "0" and
  it kept happening. (Previously virtualbox and nvidia driver were in
  there.)

  May 26 20:02:30 hawk-x1 kernel: [28401.972981] No Local Variables are 
initialized for Method [NVPO]
  May 26 20:02:30 hawk-x1 kernel: [28401.972986] No Arguments are initialized 
for method [NVPO]
  May 26 20:02:30 hawk-x1 kernel: [28401.972991] ACPI Error: Aborting method 
\_SB.PCI0.PEG0.PEGP.NVPO due to previous error (AE_AML_LOOP_TIMEOUT) 
(20190816/psparse-529)
  May 26 20:02:30 hawk-x1 kernel: [28401.973016] ACPI Error: Aborting method 
\_SB.PCI0.PGON due to previous error (AE_AML_LOOP_TIMEOUT) 
(20190816/psparse-529)
  May 26 20:02:30 hawk-x1 kernel: [28401.973033] ACPI Error: Aborting method 
\_SB.PCI0.PEG0.PG00._ON due to previous error (AE_AML_LOOP_TIMEOUT) 
(20190816/psparse-529)
  May 26 20:02:30 hawk-x1 kernel: [28401.973058] acpi device:00: Failed to 
change power state to D0
  May 26 20:02:31 hawk-x1 kernel: [28403.217052] video LNXVIDEO:00: Cannot 
transition to power state D0 for parent in (unknown)
  May 26 20:02:31 hawk-x1 kernel: [28403.217064] nouveau :01:00.0: Refused 
to change power state, currently in D3
  May 26 20:02:31 hawk-x1 kernel: [28403.277092] video LNXVIDEO:00: Cannot 
transition to power state D0 for parent in (unknown)
  May 26 20:02:31 hawk-x1 kernel: [28403.296906] nouveau :01:00.0: Refused 
to change power state, currently in D3
  May 26 20:02:31 hawk-x1 kernel: [28403.296915] video LNXVIDEO:00: Cannot 
transition to power state D0 for parent in (unknown)
  May 26 20:02:31 hawk-x1 kernel: [28403.316894] nouveau :01:00.0: Refused 
to change power state, currently in D3
  May 26 20:02:31 hawk-x1 kernel: [28403.319495] nouveau :01:00.0: tmr: 
stalled at 
  May 26 20:02:31 hawk-x1 kernel: [28403.319497] [ cut here 
]
  May 26 20:02:31 hawk-x1 kernel: [28403.319498] nouveau :01:00.0: timeout
  May 26 20:02:31 hawk-x1 kernel: [28403.319551] WARNING: CPU: 2 PID: 2697 at 
drivers/gpu/drm/nouveau/nvkm/subdev/bar/g84.c:35 g84_bar_flush+0xd6/0xe0 
[nouveau]
  May 26 20:02:31 hawk-x1 kernel: [28403.319552] Modules linked in: 
xt_conntrack xt_MASQUERADE nfnetlink xfrm_user xfrm_algo iptable_nat nf_nat 
nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c xt_addrtype bpfilter ccm 
overlay aufs bnep binfmt_misc nls_iso8859_1 mei_hdcp intel_rapl_msr 
x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm intel_cstate 
intel_rapl_perf snd_hda_codec_hdmi snd_sof_pci snd_sof_intel_hda_common 
snd_soc_hdac_hda snd_sof_intel_hda snd_sof_intel_byt iwlmvm snd_sof_intel_ipc 
snd_sof mac80211 uvcvideo snd_sof_xtensa_dsp snd_hda_ext_core videobuf2_vmalloc 
snd_soc_acpi_intel_match videobuf2_memops snd_soc_acpi btusb libarc4 
videobuf2_v4l2 btrtl videobuf2_common btbcm wmi_bmof thinkpad_acpi input_leds 
joydev snd_hda_codec_realtek btintel snd_soc_core snd_seq_midi videodev 
bluetooth snd_hda_codec_generic serio_raw snd_seq_midi_event nvram snd_compress 
ac97_bus intel_wmi_thunderbolt snd_pcm_dmaengine ledtrig_audio mc iwlwifi 
snd_rawmidi ecdh_generic 8250_dw ecc snd_hda_intel mei_me cfg80211
  May 26 20:02:31 hawk-x1 kernel: [28403.319567]  snd_intel_dspcfg mei 
snd_hda_codec snd_seq snd_hda_core ucsi_acpi snd_hwdep processor_thermal_device 
typec_ucsi intel_rapl_common snd_pcm intel_pch_thermal intel_soc_dts_iosf typec 
snd_seq_device snd_timer snd soundcore int3403_thermal int340x_thermal_zone 
int3400_thermal mac_hid acpi_pad acpi_thermal_rel sch_fq_codel iptable_filter 
ip6table_filter ip6_tables br_netfilter bridge stp llc arp_tables parport_pc 
ppdev lp parport ip_tables x_tables autofs4 dm_crypt uas usb_storage 
crct10dif_pclmul crc32_pclmul ghash_clmulni_intel nouveau mxm_wmi i2c_algo_bit 
ttm drm_kms_helper aesni_intel syscopyarea sysfillrect crypto_simd sysimgblt 
cryptd fb_sys_fops glue_helper nvme psmouse e1000e drm intel_lpss_pci i2c_i801 
nvme_core thunderbolt intel_lpss idma64 virt_dma wmi video
  May 26 20:02:31 hawk-x1 kernel: [28403.319582] CPU: 2 PID: 2697 Comm: 
gnome-shell Kdump: loaded Not tainted 5.4.0-31-generic #35-Ubuntu
  May 26 20:02:31 hawk-x1 kernel: [28403.

[Kernel-packages] [Bug 1881828] Re: Lenovo X1 Extreme screen never wakes up

2020-06-02 Thread AaronMa
It's a nouveau issue.
Could you try 5.7 kernel?
https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.7/

Or would you like try nvidia-driver-440?

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1881828

Title:
  Lenovo X1 Extreme screen never wakes up

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Unreliably, but 9 times out of 10, if my screen goes to sleep on my
  laptop it will never wake back up. Looking in kern.log I see this
  output, scrolling on repeat, until I long-press the power button to
  shut off the laptop. Happened occasionally in Ubuntu 19.10, now
  regularly on 20.04. Persisted with the nvidia proprietary driver as
  well as the open source one. It has persisted across several official
  ubuntu packaged kernel revisions. I got kernel taint down to "0" and
  it kept happening. (Previously virtualbox and nvidia driver were in
  there.)

  May 26 20:02:30 hawk-x1 kernel: [28401.972981] No Local Variables are 
initialized for Method [NVPO]
  May 26 20:02:30 hawk-x1 kernel: [28401.972986] No Arguments are initialized 
for method [NVPO]
  May 26 20:02:30 hawk-x1 kernel: [28401.972991] ACPI Error: Aborting method 
\_SB.PCI0.PEG0.PEGP.NVPO due to previous error (AE_AML_LOOP_TIMEOUT) 
(20190816/psparse-529)
  May 26 20:02:30 hawk-x1 kernel: [28401.973016] ACPI Error: Aborting method 
\_SB.PCI0.PGON due to previous error (AE_AML_LOOP_TIMEOUT) 
(20190816/psparse-529)
  May 26 20:02:30 hawk-x1 kernel: [28401.973033] ACPI Error: Aborting method 
\_SB.PCI0.PEG0.PG00._ON due to previous error (AE_AML_LOOP_TIMEOUT) 
(20190816/psparse-529)
  May 26 20:02:30 hawk-x1 kernel: [28401.973058] acpi device:00: Failed to 
change power state to D0
  May 26 20:02:31 hawk-x1 kernel: [28403.217052] video LNXVIDEO:00: Cannot 
transition to power state D0 for parent in (unknown)
  May 26 20:02:31 hawk-x1 kernel: [28403.217064] nouveau :01:00.0: Refused 
to change power state, currently in D3
  May 26 20:02:31 hawk-x1 kernel: [28403.277092] video LNXVIDEO:00: Cannot 
transition to power state D0 for parent in (unknown)
  May 26 20:02:31 hawk-x1 kernel: [28403.296906] nouveau :01:00.0: Refused 
to change power state, currently in D3
  May 26 20:02:31 hawk-x1 kernel: [28403.296915] video LNXVIDEO:00: Cannot 
transition to power state D0 for parent in (unknown)
  May 26 20:02:31 hawk-x1 kernel: [28403.316894] nouveau :01:00.0: Refused 
to change power state, currently in D3
  May 26 20:02:31 hawk-x1 kernel: [28403.319495] nouveau :01:00.0: tmr: 
stalled at 
  May 26 20:02:31 hawk-x1 kernel: [28403.319497] [ cut here 
]
  May 26 20:02:31 hawk-x1 kernel: [28403.319498] nouveau :01:00.0: timeout
  May 26 20:02:31 hawk-x1 kernel: [28403.319551] WARNING: CPU: 2 PID: 2697 at 
drivers/gpu/drm/nouveau/nvkm/subdev/bar/g84.c:35 g84_bar_flush+0xd6/0xe0 
[nouveau]
  May 26 20:02:31 hawk-x1 kernel: [28403.319552] Modules linked in: 
xt_conntrack xt_MASQUERADE nfnetlink xfrm_user xfrm_algo iptable_nat nf_nat 
nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c xt_addrtype bpfilter ccm 
overlay aufs bnep binfmt_misc nls_iso8859_1 mei_hdcp intel_rapl_msr 
x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm intel_cstate 
intel_rapl_perf snd_hda_codec_hdmi snd_sof_pci snd_sof_intel_hda_common 
snd_soc_hdac_hda snd_sof_intel_hda snd_sof_intel_byt iwlmvm snd_sof_intel_ipc 
snd_sof mac80211 uvcvideo snd_sof_xtensa_dsp snd_hda_ext_core videobuf2_vmalloc 
snd_soc_acpi_intel_match videobuf2_memops snd_soc_acpi btusb libarc4 
videobuf2_v4l2 btrtl videobuf2_common btbcm wmi_bmof thinkpad_acpi input_leds 
joydev snd_hda_codec_realtek btintel snd_soc_core snd_seq_midi videodev 
bluetooth snd_hda_codec_generic serio_raw snd_seq_midi_event nvram snd_compress 
ac97_bus intel_wmi_thunderbolt snd_pcm_dmaengine ledtrig_audio mc iwlwifi 
snd_rawmidi ecdh_generic 8250_dw ecc snd_hda_intel mei_me cfg80211
  May 26 20:02:31 hawk-x1 kernel: [28403.319567]  snd_intel_dspcfg mei 
snd_hda_codec snd_seq snd_hda_core ucsi_acpi snd_hwdep processor_thermal_device 
typec_ucsi intel_rapl_common snd_pcm intel_pch_thermal intel_soc_dts_iosf typec 
snd_seq_device snd_timer snd soundcore int3403_thermal int340x_thermal_zone 
int3400_thermal mac_hid acpi_pad acpi_thermal_rel sch_fq_codel iptable_filter 
ip6table_filter ip6_tables br_netfilter bridge stp llc arp_tables parport_pc 
ppdev lp parport ip_tables x_tables autofs4 dm_crypt uas usb_storage 
crct10dif_pclmul crc32_pclmul ghash_clmulni_intel nouveau mxm_wmi i2c_algo_bit 
ttm drm_kms_helper aesni_intel syscopyarea sysfillrect crypto_simd sysimgblt 
cryptd fb_sys_fops glue_helper nvme psmouse e1000e drm intel_lpss_pci i2c_i801 
nvme_core thunderbolt intel_lpss idma64 virt_dma wmi video
  May 26 20:02:31 hawk-x1 kernel: [28403.319582] CPU: 2 PID: 2697 Comm: 
gnome-shell Kdump: loaded Not tainted 5.4.0-31-generic #35-Ubuntu
  May