After empirical tweaking I successfully go to deepsleep using
Code: Select all
echo disk > /sys/power/state
It seems this happens after usage of modprobe or dkms (trying to make integrated isight workin).
Suggestions to debug this?
Thanks
Code: Select all
echo disk > /sys/power/state
Code: Select all
inxi -G
Graphics: Device-1: NVIDIA G84M [GeForce 8600M GT] driver: N/A
Device-2: Apple Built-in iSight type: USB driver: N/A
Display: server: X.Org 1.20.10 driver: loaded: N/A note: n/a (using device driver) unloaded: fbdev
resolution: 1680x1050~77Hz
OpenGL: renderer: llvmpipe (LLVM 11.0.1 128 bits) v: 4.5 Mesa 20.3.4
Code: Select all
inxi -b
System: Host: old68pound Kernel: 5.10.17 x86_64 bits: 64 Desktop: i3 4.19.1-non-git Distro: Debian GNU/Linux bullseye/sid
Machine: Type: Unknown System: Apple product: MacBookPro3,1 v: 1.0 serial: <superuser required>
Mobo: Apple model: Mac-F42388C8 v: PVT serial: <superuser required> UEFI: Apple v: MBP31.88Z.0070.B05.0709261143
date: 09/26/07
Battery: ID-1: BAT0 charge: 68.5 Wh condition: 69.6/68.0 Wh (102%)
CPU: Info: Dual Core Intel Core2 Duo T7700 [MCP] speed: 1771 MHz min/max: 800/2400 MHz
Graphics: Device-1: NVIDIA G84M [GeForce 8600M GT] driver: N/A
Device-2: Apple Built-in iSight type: USB driver: N/A
Display: server: X.Org 1.20.10 driver: loaded: N/A note: n/a (using device driver) unloaded: fbdev
resolution: 1680x1050~77Hz
OpenGL: renderer: llvmpipe (LLVM 11.0.1 128 bits) v: 4.5 Mesa 20.3.4
Network: Device-1: Qualcomm Atheros AR5418 Wireless Network Adapter [AR5008E 802.11bgn] driver: ath9k
Device-2: Marvell 88E8058 PCI-E Gigabit Ethernet driver: sky2
Drives: Local Storage: total: 931.51 GiB used: 168.62 GiB (18.1%)
Info: Processes: 155 Uptime: 6d 55m Memory: 5.81 GiB used: 2.01 GiB (34.6%) Shell: Bash inxi: 3.3.01
Code: Select all
suspend_skip_sync
hibernation_snapshot_dev
I would prefer 'lspci -k' & 'glxinfo -B' because I can't really interpret inxi properly but that seems to show that there's no kernel driver loaded and that you're using software rendering, which isn't good. You should probably fix that.alexanderbeerhoff wrote:There info about graphics
Is that a joke? If not then why didn't you mention that in the OP? Anyway, I'm not going to try to troubleshoot with a custom kernel so good luck and adieu.alexanderbeerhoff wrote:Using self-built kernel
I would prefer 'lspci -k' & 'glxinfo -B'
Code: Select all
glxinfo -B
name of display: :0
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: Mesa/X.org (0xffffffff)
Device: llvmpipe (LLVM 11.0.1, 128 bits) (0xffffffff)
Version: 20.3.4
Accelerated: no
Video memory: 5947MB
Unified memory: no
Preferred profile: core (0x1)
Max core profile version: 4.5
Max compat profile version: 3.1
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.2
OpenGL vendor string: Mesa/X.org
OpenGL renderer string: llvmpipe (LLVM 11.0.1, 128 bits)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 20.3.4
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 3.1 Mesa 20.3.4
OpenGL shading language version string: 1.40
OpenGL context flags: (none)
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 20.3.4
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
Code: Select all
lspci -k
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 03)
Subsystem: Apple Inc. Mobile PM965/GM965/GL960 Memory Controller Hub
00:01.0 PCI bridge: Intel Corporation Mobile PM965/GM965/GL960 PCI Express Root Port (rev 03)
Kernel driver in use: pcieport
00:1a.0 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 03)
Kernel driver in use: uhci_hcd
Kernel modules: uhci_hcd
00:1a.1 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03)
Subsystem: Apple Inc. 82801H (ICH8 Family) USB UHCI Controller
Kernel driver in use: uhci_hcd
Kernel modules: uhci_hcd
00:1a.7 USB controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03)
Subsystem: Apple Inc. 82801H (ICH8 Family) USB2 EHCI Controller
Kernel driver in use: ehci-pci
Kernel modules: ehci_pci
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
Subsystem: Apple Inc. 82801H (ICH8 Family) HD Audio Controller
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)
Kernel driver in use: pcieport
00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 03)
Kernel driver in use: pcieport
00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (rev 03)
Kernel driver in use: pcieport
00:1c.5 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 6 (rev 03)
Kernel driver in use: pcieport
00:1d.0 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)
Subsystem: Apple Inc. 82801H (ICH8 Family) USB UHCI Controller
Kernel driver in use: uhci_hcd
Kernel modules: uhci_hcd
00:1d.1 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)
Subsystem: Apple Inc. 82801H (ICH8 Family) USB UHCI Controller
Kernel driver in use: uhci_hcd
Kernel modules: uhci_hcd
00:1d.2 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)
Subsystem: Apple Inc. 82801H (ICH8 Family) USB UHCI Controller
Kernel driver in use: uhci_hcd
Kernel modules: uhci_hcd
00:1d.7 USB controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)
Subsystem: Apple Inc. 82801H (ICH8 Family) USB2 EHCI Controller
Kernel driver in use: ehci-pci
Kernel modules: ehci_pci
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation 82801HM (ICH8M) LPC Interface Controller (rev 03)
Subsystem: Apple Inc. 82801HM (ICH8M) LPC Interface Controller
Kernel driver in use: lpc_ich
Kernel modules: lpc_ich
00:1f.1 IDE interface: Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03)
Subsystem: Apple Inc. 82801HM/HEM (ICH8M/ICH8M-E) IDE Controller
00:1f.2 SATA controller: Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) SATA Controller [AHCI mode] (rev 03)
Subsystem: Apple Inc. 82801HM/HEM (ICH8M/ICH8M-E) SATA Controller [AHCI mode]
Kernel driver in use: ahci
Kernel modules: ahci
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)
Subsystem: Apple Inc. 82801H (ICH8 Family) SMBus Controller
Kernel driver in use: i801_smbus
Kernel modules: i2c_i801
01:00.0 VGA compatible controller: NVIDIA Corporation G84M [GeForce 8600M GT] (rev a1)
Subsystem: Apple Inc. G84M [GeForce 8600M GT]
Kernel modules: nvidia
0b:00.0 Network controller: Qualcomm Atheros AR5418 Wireless Network Adapter [AR5008E 802.11(a)bgn] (PCI-Express) (rev 01)
Subsystem: Apple Inc. AirPort Extreme
Kernel driver in use: ath9k
Kernel modules: ath9k
0c:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8058 PCI-E Gigabit Ethernet Controller (rev 13)
Subsystem: Marvell Technology Group Ltd. Imac 8,1 Wired Ethernet Adapter
Kernel driver in use: sky2
0d:03.0 FireWire (IEEE 1394): Texas Instruments TSB82AA2 IEEE-1394b Link Layer Controller (rev 02)
Kernel driver in use: firewire_ohci
Kernel modules: firewire_ohci
I mean make has built my kernel. Aside jokes I find very instructive removing everything I don't need until something brokes.Is that a joke?
You will have to enable persistence first though, see journald.conf(5)
Thanks for the hint, set persistance in /etc/systemd/journald.conf. I've done some test and with both kernel, self-built and distro kernel, can successfully go to deep sleep, further I've not been able to reproduce the issue, it seems happen occasionally so will wait for next time this occurs and look for hints in logs.Did you test with stock sable kernel if it has same issue?