#asahi-dev · 2023-06-02 09:06
sid-linuxJun 02 03:27:26 somehostname kernel: PM: suspend entry (s2idle)#asahi-dev · 2023-06-02 09:06
sid-linuxJun 02 03:27:26 somehostname systemd-sleep[81749]: Entering sleep state 'suspend'...#asahi-dev · 2023-06-02 09:06
sid-linuxJun 02 03:27:26 somehostname systemd[1]: Starting System Suspend...#asahi-dev · 2023-06-02 08:59
sid-linuxI'm doing `journalctl --since .... --until ....#asahi-dev · 2023-06-02 08:59
sid-linuxsorry maybe my terminology is wrong#asahi-dev · 2023-06-02 08:58
sid-linuxso all the "Freezing use space processes" should have had a timestamp many hours older. Yet they are seen on wakeup which started at 08:04:23#asahi-dev · 2023-06-02 08:57
sid-linuxAn even more important issue that I thought is that all messages _before_ 'printk: Suspending console(s)' should have been logged when putting the latop to sleep ! Yet they are seen on wakeup !#asahi-dev · 2023-06-02 08:54
sid-linux_jannau_: yes, that makes sense. will do next time#asahi-dev · 2023-06-02 08:49
sid-linux...#asahi-dev · 2023-06-02 08:49
sid-linux...#asahi-dev · 2023-06-02 08:49
sid-linuxJun 02 08:04:23 somehostname kernel: apple-dcp 231c00000.dcp: dcp_poweron() starting#asahi-dev · 2023-06-02 08:49
sid-linuxJun 02 08:04:23 somehostname kernel: nvme-apple 27bcc0000.nvme: RTKit: Unknown system endpoint: 0x0a#asahi-dev · 2023-06-02 08:49
sid-linuxJun 02 08:04:23 somehostname kernel: nvme-apple 27bcc0000.nvme: RTKit: Initializing (protocol version 12)#asahi-dev · 2023-06-02 08:49
sid-linuxJun 02 08:04:23 somehostname kernel: apple-pmgr-pwrstate 23b700000.power-management:power-controller@2c0: PS mca0: Fail>#asahi-dev · 2023-06-02 08:49
sid-linuxJun 02 08:04:23 somehostname kernel: macsmc-hid macsmc-hid: Button wakeup#asahi-dev · 2023-06-02 08:49
sid-linux======== The ^^ messages should have been logged when the laptop was put to sleep earlier. But these are seen on wakeup === #asahi-dev · 2023-06-02 08:49
sid-linuxJun 02 08:04:23 somehostname kernel: macsmc-rtkit 23e400000.smc: RTKit: syslog message: apComms.cpp:375: SMC HID Event:>#asahi-dev · 2023-06-02 08:49
sid-linuxJun 02 08:04:23 somehostname kernel: nvme-apple 27bcc0000.nvme: RTKit: syslog message: cmd.c:7912: seg->lba 0 saveCtx 1>#asahi-dev · 2023-06-02 08:49
sid-linuxJun 02 08:04:23 somehostname kernel: nvme-apple 27bcc0000.nvme: RTKit: syslog message: cmd.c:7890: NVMe shutdown start >#asahi-dev · 2023-06-02 08:49
sid-linuxJun 02 08:04:23 somehostname kernel: apple-dcp 231c00000.dcp: dcp_poweroff() done#asahi-dev · 2023-06-02 08:49
sid-linux..#asahi-dev · 2023-06-02 08:49
sid-linux..#asahi-dev · 2023-06-02 08:49
sid-linuxJun 02 08:04:23 somehostname kernel: apple-dcp 231c00000.dcp: RTKit: syslog message: UPPipeDCP_H13P.cpp:7403: virtual I>#asahi-dev · 2023-06-02 08:49
sid-linuxJun 02 08:04:23 somehostname kernel: apple-dcp 231c00000.dcp: RTKit: syslog message: UPPipeDCP_H13P.cpp:7498: set_run_m>#asahi-dev · 2023-06-02 08:49
sid-linuxJun 02 08:04:23 somehostname kernel: printk: Suspending console(s) (use no_console_suspend to debug)#asahi-dev · 2023-06-02 08:49
sid-linuxJun 02 08:04:23 somehostname kernel: Freezing remaining freezable tasks completed (elapsed 0.000 seconds)#asahi-dev · 2023-06-02 08:49
sid-linuxJun 02 08:04:23 somehostname kernel: Freezing remaining freezable tasks#asahi-dev · 2023-06-02 08:49
sid-linuxJun 02 08:04:23 somehostname kernel: OOM killer disabled.#asahi-dev · 2023-06-02 08:49
sid-linuxJun 02 08:04:23 somehostname kernel: Freezing user space processes completed (elapsed 1.733 seconds)#asahi-dev · 2023-06-02 08:49
sid-linuxJun 02 08:04:23 somehostname kernel: Freezing user space processes#asahi-dev · 2023-06-02 08:49
sid-linux====== The below message is the first one seen on wakeup from sleep ! ==================================================== #asahi-dev · 2023-06-02 08:49
sid-linuxAnother issue unrelated to fd leaks. I noticed some syslog messages arriving _after_ wakeup, rather than before sleep.#asahi-dev · 2023-06-02 08:23
sid-linuxlina: regarding adding CLOEXEC while doing dup -- would this still be the cause of the problem of seeing dmabuf in konsole (started in plasma shell) ? Because then I might have seen this in gnome also -- or was this because gnome-terminal was running via Xwayland ?#asahi-dev · 2023-06-02 08:20
sid-linux*within gnome#asahi-dev · 2023-06-02 08:20
sid-linuxmarcan lina : thanks both. I installed gnome on Asahi and on wayland in a gnome terminal there are no funny fd leaks of any sort. Even running konsole within gone shows no fd leaks. So the guess that this is related to plasmashell sounds about right.#asahi-dev · 2023-06-01 21:42
sid-linux(of course don't type in the ` )#asahi-dev · 2023-06-01 21:42
sid-linuxbut I'd like to compare 6.2 vs 6.3. If you are running konsole in kde, could you tell me what `ls -lh /proc/self/fd` says?#asahi-dev · 2023-06-01 21:41
sid-linuxmust be coming from parent#asahi-dev · 2023-06-01 21:40
sid-linuxannan_person: yes that is a good guess, since we're in konsole, kde some of these weird fds (fds are not marked as close on exec)#asahi-dev · 2023-06-01 21:07
sid-linuxThis issue with funny fds arises when I check stuff in KDE's konsole. When I ssh, then I don't get these also.#asahi-dev · 2023-06-01 20:08
sid-linuxAnybody running 6.3.0-asahi ( on the asahi-dev repo )-- can they verify? does not matter if it edge or not#asahi-dev · 2023-06-01 20:07
sid-linux(I no longer have 6.2 on my system so I can't verify for my own setup)#asahi-dev · 2023-06-01 20:06
sid-linuxAs I guessed 6.2 should be OK and it is#asahi-dev · 2023-06-01 20:06
sid-linuxThe problem seems to be in 6.3.0-asahi-3#asahi-dev · 2023-06-01 20:05
sid-linuxWhich kernel are you on?#asahi-dev · 2023-06-01 20:00
sid-linux```#asahi-dev · 2023-06-01 20:00
sid-linuxls -lh /proc/self/fd#asahi-dev · 2023-06-01 20:00
sid-linux#!/bin/bash#asahi-dev · 2023-06-01 20:00
sid-linux```#asahi-dev · 2023-06-01 20:00
sid-linux(Here is the script again for easy reference)