You are not logged in.

#1 2021-12-27 15:20:25

kozimodo
Member
Registered: 2015-10-04
Posts: 87

Slow wake from sleep

I have a MacBook Air from around 2013 with Debian Bullseye (Gnome) installed and wake from sleep sometimes works instantaneously but usually takes about 30 seconds.  As I recall, this was also a problem when I had Buster installed but I never timed it.  A relevant extract of `/var/log/syslog` is at https://pastebin.com/qfgh8JT8.

$ lspci
00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09)
00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 09)
00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04)
00:15.0 DMA controller: Intel Corporation 8 Series Low Power Sub-System DMA (rev 04)
00:15.4 Serial bus controller [0c80]: Intel Corporation 8 Series SPI Controller #1 (rev 04)
00:16.0 Communication controller: Intel Corporation 8 Series HECI #0 (rev 04)
00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 1 (rev e4)
00:1c.1 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 2 (rev e4)
00:1c.2 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 3 (rev e4)
00:1c.4 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 5 (rev e4)
00:1c.5 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 6 (rev e4)
00:1f.0 ISA bridge: Intel Corporation 8 Series LPC Controller (rev 04)
00:1f.3 SMBus: Intel Corporation 8 Series SMBus Controller (rev 04)
02:00.0 Multimedia controller: Broadcom Inc. and subsidiaries 720p FaceTime HD Camera
03:00.0 Network controller: Broadcom Inc. and subsidiaries BCM4360 802.11ac Wireless Network Adapter (rev 03)
04:00.0 SATA controller: Samsung Electronics Co Ltd Apple PCIe SSD (rev 01)
05:00.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)
06:00.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)
06:03.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)
06:04.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)
06:05.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)
06:06.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)
07:00.0 System peripheral: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)
$ lsmod
Module                  Size  Used by
rfcomm                 90112  0
snd_seq_dummy          16384  0
snd_hrtimer            16384  1
snd_seq                86016  7 snd_seq_dummy
snd_seq_device         16384  1 snd_seq
cmac                   16384  4
algif_hash             16384  2
algif_skcipher         16384  2
af_alg                 32768  10 algif_hash,algif_skcipher
bnep                   28672  2
btusb                  65536  0
btrtl                  24576  1 btusb
btbcm                  20480  1 btusb
btintel                32768  1 btusb
bluetooth             737280  31 btrtl,btintel,btbcm,bnep,btusb,rfcomm
jitterentropy_rng      16384  1
drbg                   40960  1
ansi_cprng             16384  0
ecdh_generic           16384  1 bluetooth
ecc                    36864  1 ecdh_generic
joydev                 28672  0
bcm5974                24576  0
apple_mfi_fastcharge    20480  0
lz4                    16384  4
zram                   36864  1
zsmalloc               32768  1 zram
intel_rapl_msr         20480  0
intel_rapl_common      28672  1 intel_rapl_msr
x86_pkg_temp_thermal    20480  0
intel_powerclamp       20480  0
coretemp               20480  0
kvm_intel             327680  0
kvm                   921600  1 kvm_intel
snd_hda_codec_cirrus    24576  1
snd_hda_codec_generic    98304  1 snd_hda_codec_cirrus
ledtrig_audio          16384  1 snd_hda_codec_generic
irqbypass              16384  1 kvm
snd_hda_codec_hdmi     73728  1
snd_hda_intel          57344  4
snd_intel_dspcfg       28672  1 snd_hda_intel
soundwire_intel        45056  1 snd_intel_dspcfg
ghash_clmulni_intel    16384  0
nls_ascii              16384  1
soundwire_generic_allocation    16384  1 soundwire_intel
nls_cp437              20480  1
snd_soc_core          315392  1 soundwire_intel
vfat                   20480  1
snd_compress           32768  1 snd_soc_core
mei_hdcp               24576  0
aesni_intel           368640  6
fat                    86016  1 vfat
soundwire_cadence      36864  1 soundwire_intel
libaes                 16384  2 bluetooth,aesni_intel
crypto_simd            16384  1 aesni_intel
cryptd                 24576  4 crypto_simd,ghash_clmulni_intel
snd_hda_codec         172032  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_cirrus
glue_helper            16384  1 aesni_intel
snd_hda_core          110592  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_cirrus
wl                   6471680  0
applesmc               24576  0
snd_hwdep              16384  1 snd_hda_codec
rapl                   20480  0
soundwire_bus          90112  3 soundwire_intel,soundwire_generic_allocation,soundwire_cadence
msr                    16384  0
snd_pcm               135168  8 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,soundwire_intel,snd_compress,snd_soc_core,snd_hda_core
iTCO_wdt               16384  0
intel_cstate           20480  0
intel_pmc_bxt          16384  1 iTCO_wdt
mei_me                 45056  1
cfg80211              970752  1 wl
intel_uncore          176128  0
iTCO_vendor_support    16384  1 iTCO_wdt
pcspkr                 16384  0
sg                     36864  0
efi_pstore             16384  0
snd_timer              49152  3 snd_seq,snd_hrtimer,snd_pcm
mei                   139264  3 mei_hdcp,mei_me
watchdog               28672  1 iTCO_wdt
snd                   110592  20 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_timer,snd_compress,snd_soc_core,snd_pcm
rfkill                 28672  6 bluetooth,cfg80211
soundcore              16384  1 snd
dw_dmac_pci            16384  0
acpi_als               20480  0
kfifo_buf              16384  1 acpi_als
industrialio           90112  2 acpi_als,kfifo_buf
sbs                    20480  0
sbshc                  16384  1 sbs
evdev                  28672  13
apple_bl               20480  0
ac                     16384  0
facetimehd             98304  0
videobuf2_dma_sg       16384  1 facetimehd
videobuf2_memops       20480  1 videobuf2_dma_sg
videobuf2_v4l2         36864  1 facetimehd
videobuf2_common       65536  2 videobuf2_v4l2,facetimehd
videodev              286720  3 videobuf2_v4l2,facetimehd,videobuf2_common
mc                     61440  3 videodev,videobuf2_v4l2,videobuf2_common
parport_pc             40960  0
ppdev                  24576  0
lp                     20480  0
parport                69632  3 parport_pc,lp,ppdev
fuse                  167936  5
configfs               57344  1
efivarfs               16384  1
ip_tables              32768  0
x_tables               53248  1 ip_tables
autofs4                53248  2
ext4                  921600  2
mbcache                16384  1 ext4
jbd2                  151552  1 ext4
crc32c_generic         16384  0
sd_mod                 61440  4
t10_pi                 16384  1 sd_mod
crc_t10dif             20480  1 t10_pi
crct10dif_generic      16384  0
hid_apple              16384  0
hid_generic            16384  0
usbhid                 65536  0
hid                   147456  3 usbhid,hid_apple,hid_generic
uas                    32768  0
usb_storage            81920  1 uas
i915                 2711552  18
i2c_algo_bit           16384  1 i915
xhci_pci               20480  0
drm_kms_helper        278528  1 i915
xhci_hcd              303104  1 xhci_pci
ahci                   40960  3
cec                    61440  2 drm_kms_helper,i915
libahci                45056  1 ahci
crct10dif_pclmul       16384  1
crct10dif_common       16384  3 crct10dif_generic,crc_t10dif,crct10dif_pclmul
usbcore               323584  8 xhci_hcd,usbhid,bcm5974,apple_mfi_fastcharge,usb_storage,btusb,xhci_pci,uas
libata                290816  2 libahci,ahci
drm                   618496  11 drm_kms_helper,i915
crc32_pclmul           16384  0
thunderbolt           294912  0
scsi_mod              262144  5 sd_mod,usb_storage,uas,libata,sg
crc32c_intel           24576  4
i2c_i801               32768  0
lpc_ich                28672  0
i2c_smbus              20480  1 i2c_i801
usb_common             16384  2 xhci_hcd,usbcore
applespi               53248  0
crc16                  16384  3 bluetooth,ext4,applespi
spi_pxa2xx_platform    32768  0
dw_dmac                16384  0
dw_dmac_core           36864  2 dw_dmac_pci,dw_dmac
video                  53248  1 i915
button                 24576  0

Any thoughts, suggestions, ideas, etc. will be greatly appreciated.  Happy to post any other information that might be useful.

Offline

#2 2021-12-27 20:24:30

sleekmason
zoom
Registered: 2018-05-22
Posts: 690
Website

Re: Slow wake from sleep

Howdy, Would check the 'Display' tab in xfce4-power-manager and see if your times match any of the settings. In other words, disable "switch off after" and see if it continues to cause issues.  Maybe you will get lucky:)

Offline

#3 2021-12-28 20:35:56

kozimodo
Member
Registered: 2015-10-04
Posts: 87

Re: Slow wake from sleep

Thanks.  I think I've pinned it down.  Needed to add `noacpi` kernel parameter and it all seems to be working beautifully now.

Offline

Board footer

Powered by FluxBB