pop-os / pop

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

Screen flickers while going into suspend #1837

Open devonallie opened 3 years ago

devonallie commented 3 years ago

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

Issue/Bug Description: When engaging in suspend the processes is interrupted, the screen wakes, then the suspend resumes.

Steps to reproduce (if you know): launch suspend shortcut from launcher.

Expected behavior: Suspend completes without interruption.

Other Notes: This is the output of dmesg after suspending from the launcher.

[ 31.995626] PM: suspend entry (deep) [ 32.064562] Filesystems sync: 0.068 seconds [ 32.574903] Freezing user space processes ... (elapsed 0.002 seconds) done. [ 32.577041] OOM killer disabled. [ 32.577042] Freezing remaining freezable tasks ... (elapsed 0.000 seconds) done. [ 32.578040] printk: Suspending console(s) (use no_console_suspend to debug) [ 32.908165] ACPI: Preparing to enter system sleep state S3 [ 33.215323] PM: Saving platform NVS memory [ 33.215334] Disabling non-boot CPUs ... [ 33.217033] MuQSS removed affinity for 568 processes to cpu 1 [ 33.217096] smpboot: CPU 1 is now offline [ 33.218718] MuQSS removed affinity for 574 processes to cpu 2 [ 33.218768] smpboot: CPU 2 is now offline [ 33.220336] MuQSS removed affinity for 578 processes to cpu 3 [ 33.220379] smpboot: CPU 3 is now offline [ 33.220803] IRQ 44: no longer affine to CPU4 [ 33.221898] MuQSS removed affinity for 583 processes to cpu 4 [ 33.221914] smpboot: CPU 4 is now offline [ 33.222400] IRQ 110: no longer affine to CPU5 [ 33.223487] MuQSS removed affinity for 589 processes to cpu 5 [ 33.223502] smpboot: CPU 5 is now offline [ 33.224036] IRQ 46: no longer affine to CPU6 [ 33.225135] MuQSS removed affinity for 594 processes to cpu 6 [ 33.225150] smpboot: CPU 6 is now offline [ 33.225654] IRQ 115: no longer affine to CPU7 [ 33.226742] MuQSS removed affinity for 599 processes to cpu 7 [ 33.226793] smpboot: CPU 7 is now offline [ 33.228384] MuQSS removed affinity for 606 processes to cpu 8 [ 33.228425] smpboot: CPU 8 is now offline [ 33.228879] IRQ 28: no longer affine to CPU9 [ 33.228885] IRQ 87: no longer affine to CPU9 [ 33.228891] IRQ 100: no longer affine to CPU9 [ 33.228899] IRQ 113: no longer affine to CPU9 [ 33.229984] MuQSS removed affinity for 612 processes to cpu 9 [ 33.229996] smpboot: CPU 9 is now offline [ 33.230454] IRQ 88: no longer affine to CPU10 [ 33.230460] IRQ 97: no longer affine to CPU10 [ 33.231548] MuQSS removed affinity for 616 processes to cpu 10 [ 33.231561] smpboot: CPU 10 is now offline [ 33.233084] MuQSS removed affinity for 623 processes to cpu 11 [ 33.233128] smpboot: CPU 11 is now offline [ 33.234631] MuQSS removed affinity for 626 processes to cpu 12 [ 33.234638] smpboot: CPU 12 is now offline [ 33.236151] MuQSS removed affinity for 632 processes to cpu 13 [ 33.236173] smpboot: CPU 13 is now offline [ 33.237709] MuQSS removed affinity for 637 processes to cpu 14 [ 33.237719] smpboot: CPU 14 is now offline [ 33.239210] MuQSS removed affinity for 643 processes to cpu 15 [ 33.239220] smpboot: CPU 15 is now offline [ 33.239927] ACPI: Low-level resume complete [ 33.239967] PM: Restoring platform NVS memory [ 33.240646] Enabling non-boot CPUs ... [ 33.240683] x86: Booting SMP configuration: [ 33.240683] smpboot: Booting Node 0 Processor 1 APIC 0x2 [ 33.240775] microcode: CPU1: patchlevel=0x0800820d [ 33.242911] ACPI: _PR.C002: Found 2 idle states [ 33.243115] MuQSS added affinity for 429 processes to cpu 1 [ 33.243130] CPU1 is up [ 33.243155] smpboot: Booting Node 0 Processor 2 APIC 0x4 [ 33.243247] microcode: CPU2: patchlevel=0x0800820d [ 33.245363] ACPI: _PR.C004: Found 2 idle states [ 33.245561] MuQSS added affinity for 429 processes to cpu 2 [ 33.245566] CPU2 is up [ 33.245591] smpboot: Booting Node 0 Processor 3 APIC 0x6 [ 33.245684] microcode: CPU3: patchlevel=0x0800820d [ 33.247796] ACPI: _PR.C006: Found 2 idle states [ 33.247988] MuQSS added affinity for 429 processes to cpu 3 [ 33.247994] CPU3 is up [ 33.248018] smpboot: Booting Node 0 Processor 4 APIC 0x8 [ 33.248146] microcode: CPU4: patchlevel=0x0800820d [ 33.250275] ACPI: _PR.C008: Found 2 idle states [ 33.250489] MuQSS added affinity for 429 processes to cpu 4 [ 33.250496] CPU4 is up [ 33.250533] smpboot: Booting Node 0 Processor 5 APIC 0xa [ 33.250658] microcode: CPU5: patchlevel=0x0800820d [ 33.252776] ACPI: _PR.C00A: Found 2 idle states [ 33.252978] MuQSS added affinity for 429 processes to cpu 5 [ 33.252984] CPU5 is up [ 33.253009] smpboot: Booting Node 0 Processor 6 APIC 0xc [ 33.253134] microcode: CPU6: patchlevel=0x0800820d [ 33.255257] ACPI: _PR.C00C: Found 2 idle states [ 33.255462] MuQSS added affinity for 429 processes to cpu 6 [ 33.255468] CPU6 is up [ 33.255488] smpboot: Booting Node 0 Processor 7 APIC 0xe [ 33.255613] microcode: CPU7: patchlevel=0x0800820d [ 33.257735] ACPI: _PR.C00E: Found 2 idle states [ 33.257941] MuQSS added affinity for 429 processes to cpu 7 [ 33.257947] CPU7 is up [ 33.257971] smpboot: Booting Node 0 Processor 8 APIC 0x1 [ 33.258068] microcode: CPU8: patchlevel=0x0800820d [ 33.260211] ACPI: _PR.C001: Found 2 idle states [ 33.260482] MuQSS added affinity for 429 processes to cpu 8 [ 33.260489] CPU8 is up [ 33.260513] smpboot: Booting Node 0 Processor 9 APIC 0x3 [ 33.260608] microcode: CPU9: patchlevel=0x0800820d [ 33.262729] ACPI: _PR.C003: Found 2 idle states [ 33.262954] MuQSS added affinity for 429 processes to cpu 9 [ 33.262959] CPU9 is up [ 33.262978] smpboot: Booting Node 0 Processor 10 APIC 0x5 [ 33.263074] microcode: CPU10: patchlevel=0x0800820d [ 33.265202] ACPI: _PR.C005: Found 2 idle states [ 33.265421] MuQSS added affinity for 429 processes to cpu 10 [ 33.265427] CPU10 is up [ 33.265446] smpboot: Booting Node 0 Processor 11 APIC 0x7 [ 33.265541] microcode: CPU11: patchlevel=0x0800820d [ 33.267669] ACPI: _PR.C007: Found 2 idle states [ 33.267891] MuQSS added affinity for 429 processes to cpu 11 [ 33.267897] CPU11 is up [ 33.267916] smpboot: Booting Node 0 Processor 12 APIC 0x9 [ 33.268042] microcode: CPU12: patchlevel=0x0800820d [ 33.270175] ACPI: _PR.C009: Found 2 idle states [ 33.270407] MuQSS added affinity for 429 processes to cpu 12 [ 33.270413] CPU12 is up [ 33.270437] smpboot: Booting Node 0 Processor 13 APIC 0xb [ 33.270564] microcode: CPU13: patchlevel=0x0800820d [ 33.272696] ACPI: _PR.C00B: Found 2 idle states [ 33.272930] MuQSS added affinity for 429 processes to cpu 13 [ 33.272936] CPU13 is up [ 33.272957] smpboot: Booting Node 0 Processor 14 APIC 0xd [ 33.273085] microcode: CPU14: patchlevel=0x0800820d [ 33.275217] ACPI: _PR.C00D: Found 2 idle states [ 33.275461] MuQSS added affinity for 429 processes to cpu 14 [ 33.275467] CPU14 is up [ 33.275489] smpboot: Booting Node 0 Processor 15 APIC 0xf [ 33.275617] microcode: CPU15: patchlevel=0x0800820d [ 33.277748] ACPI: _PR.C00F: Found 2 idle states [ 33.277994] MuQSS added affinity for 429 processes to cpu 15 [ 33.277995] MuQSS released forced binding to cpu0 for 339 processes [ 33.277998] CPU15 is up [ 33.279339] ACPI: Waking up from system sleep state S3 [ 33.329724] usb usb1: root hub lost power or was reset [ 33.329726] usb usb2: root hub lost power or was reset [ 33.395145] nvme nvme0: 32/0/0 default/read/poll queues [ 33.451496] [drm] PCIE GART of 256M enabled (table at 0x000000F400000000). [ 33.640369] ata5: SATA link down (SStatus 0 SControl 300) [ 33.640392] ata1: SATA link down (SStatus 0 SControl 300) [ 33.640411] ata2: SATA link down (SStatus 0 SControl 300) [ 33.640429] ata6: SATA link down (SStatus 0 SControl 300) [ 33.640448] ata9: SATA link down (SStatus 0 SControl 300) [ 33.716630] usb 1-10: reset full-speed USB device number 2 using xhci_hcd [ 34.152125] [drm] Fence fallback timer expired on ring sdma0 [ 34.656397] [drm] Fence fallback timer expired on ring sdma0 [ 35.160398] [drm] Fence fallback timer expired on ring sdma0 [ 35.189469] [drm] UVD and UVD ENC initialized successfully. [ 35.290504] [drm] VCE initialized successfully. [ 35.298287] OOM killer enabled. [ 35.298289] Restarting tasks ... done. [ 35.300102] thermal thermal_zone0: failed to read out thermal zone (-61) [ 35.300106] PM: suspend exit [ 35.304424] Bluetooth: hci0: Firmware revision 0.1 build 6 week 12 2021 [ 35.553437] Bluetooth: hci0: MSFT filter_enable is already on [ 35.576186] ACPI: \: failed to evaluate _DSM (0x1001) [ 35.576189] ACPI: \: failed to evaluate _DSM (0x1001) [ 37.549088] hid-generic 0005:0000:0000.0002: ignoring exceeding usage max [ 37.549620] input: Corne Keyboard as /devices/virtual/misc/uhid/0005:0000:0000.0002/input/input14 [ 37.549702] hid-generic 0005:0000:0000.0002: input,hidraw0: BLUETOOTH HID v0.01 Keyboard [Corne] on f8:ac:65:ef:91:af [ 38.378669] wlp7s0: authenticate with fe:ec:da:bb:48:05 [ 38.379786] wlp7s0: send auth to fe:ec:da:bb:48:05 (try 1/3) [ 38.420614] wlp7s0: authenticated [ 38.421128] wlp7s0: associate with fe:ec:da:bb:48:05 (try 1/3) [ 38.428860] wlp7s0: RX AssocResp from fe:ec:da:bb:48:05 (capab=0x411 status=0 aid=3) [ 38.430628] wlp7s0: associated [ 38.463602] IPv6: ADDRCONF(NETDEV_CHANGE): wlp7s0: link becomes ready [ 40.498910] input: MX Vertical Mouse as /devices/virtual/misc/uhid/0005:046D:B020.0003/input/input15 [ 40.499064] hid-generic 0005:046D:B020.0003: input,hidraw1: BLUETOOTH HID v0.09 Mouse [MX Vertical] on f8:ac:65:ef:91:af [ 40.501624] mousedev: PS/2 mouse device common for all mice

jacobgkau commented 3 years ago

What hardware is this? Is it a System76 computer, or third-party hardware?

With regards to the issue, are you just seeing the screen flicker once while suspending (this is fairly normal), or is it causing some other problem?


System76 customers can reach out to support for technical assistance. For non-System76 hardware, you can seek community support on Reddit or Mattermost.

devonallie commented 3 years ago

What hardware is this? Is it a System76 computer, or third-party hardware?

With regards to the issue, are you just seeing the screen flicker once while suspending (this is fairly normal), or is it causing some other problem?

System76 customers can reach out to support for technical assistance. For non-System76 hardware, you can seek community support on Reddit or Mattermost.

Custom PC (RX 580, R7 2700X) I tested with Fedora 34 and Ubuntu 21.04 and this problem did not occur.

jacobgkau commented 3 years ago

Custom PC (RX 580, R7 2700X)

What is the motherboard?

Can you please clarify the issue like I asked?

With regards to the issue, are you just seeing the screen flicker once while suspending (this is fairly normal), or is it causing some other problem?

devonallie commented 3 years ago

Custom PC (RX 580, R7 2700X)

What is the motherboard?

Aorus B450 I itx

With regards to the issue, are you just seeing the screen flicker once while suspending (this is fairly normal), or is it causing some other problem?

Can you please clarify the issue like I asked?

Sorry I forgot to respond to this. The answer is that the screen flickers once.