#
#asahi-dev · 2025-06-29 11:34
martinrhttps://github.com/martinyrm/apple-cd321x-driver/tree/main
#asahi-dev · 2025-06-29 11:34
martinrso I finally got around to finishing up VDM support for tipd - is anyone with a second M1 device interested in helping me test serial mode? my M1 iPad Pro does respond to VDMs, but doesn't appear to output anything over serial at boot-time unfortunately
#asahi-dev · 2025-06-28 05:07
chadmedthat way distros can just build the non-hv components with the default target triple and forget softfloat. folks who want the hypervisor can clone and build manually with a rustup or nightly toolchain if they want to use -Z build-std
#asahi-dev · 2025-06-28 05:05
chadmedim trying to think of a good way to handle the m1n1 transition to rust. if we dont want to change the hv to save and restore floating point context then we're probably going to need to feature gate it so that distros can build m1n1 for the boot chain without nightly toolchains
#asahi-dev · 2025-06-24 14:32
dramforever(i don't know what the proper term is but if e.g. i wake my computer up from idle i get "DP2HDMI HPD irq, connected:0" and then about two seconds later "DP2HDMI HPD irq, connected:1")
#asahi-dev · 2025-06-24 14:31
dramforeveranother possibly relevant idea: when my monitor "activates" it disconnects HPD for like two seconds and reconnects
#asahi-dev · 2025-06-24 13:29
dramforeverah that makes a lot of sense
#asahi-dev · 2025-06-24 13:28
chaos_princessthat specific firmware blob is per-os-install, and the one from 13.5 is used
#asahi-dev · 2025-06-24 13:28
dramforeveri was thinking more like, new firmware or something
#asahi-dev · 2025-06-24 13:27
chaos_princessfrom firmware's perspective, all asahi installs are macos 13.5
#asahi-dev · 2025-06-24 13:27
dramforeverok, thanks, that's one less thing to try
#asahi-dev · 2025-06-24 13:25
chaos_princessno
#asahi-dev · 2025-06-24 13:24
dramforeverjust an idea, is there any chance the dcp_hotplug deadlock thing i got earlier is because my macos is really old?
#asahi-dev · 2025-06-22 12:37
dramforeversince this happens just with few kernel modules, i could theoretically try to reproduce it with a "clean" kernel and a busybox initramfs but i'm not doing that today...
#asahi-dev · 2025-06-22 12:34
dramforeverokay this is the "full" stack trace https://fars.ee/DkfT i get when the deadlock happens
#asahi-dev · 2025-06-22 12:07
dramforever(obviously, as in, disconnected_hpd_event which calls drm_kms_helper_connector_hotplug_event deadlocks, so i just removed disconnected_hpd_event)
#asahi-dev · 2025-06-22 12:06
dramforeverso i reverted this and it obviously solves my problem but that doesn't really explain anything https://github.com/AsahiLinux/linux/commit/794a1166e09f0b836b95c13fc7f999c5a08a6260
#asahi-dev · 2025-06-22 11:32
dramforeveryes, if by "second monitor" you're counting the internal display as the first
#asahi-dev · 2025-06-22 11:29
chadmedis it _only_ with a second monitor plugged in?
#asahi-dev · 2025-06-22 11:21
dramforeverNew observation: I can get this (suspected) deadlock without even starting SDDM. It occurs at the module loading stage. Starting SDDM at the right time actually *prevents* the deadlock
#asahi-dev · 2025-06-22 10:31
dramforeveri also bpftrace'd drm_client_dev_hotplug and it's definitely the same device both time, so it's recursing and just deadlocking on itself
#asahi-dev · 2025-06-22 10:30
dramforeverthe thing i'm seeing is systemd-logind blocked in an open syscall on some drm stuff
#asahi-dev · 2025-06-22 10:29
dramforeveryeah sorry, some drm device
#asahi-dev · 2025-06-22 10:29
jannauI assume gpu means the display controllers drm device. not sure if it is sddm itself or if that's deferred to kwin though
#asahi-dev · 2025-06-22 10:29
chadmedi thought logind was asking _you_ for permission to open the gpu
#asahi-dev · 2025-06-22 10:28
chadmedoh yes i misunderstood
#asahi-dev · 2025-06-22 10:27
dramforeveri'm not sure about the logind part but i'm fairly certain that's how systemd works
#asahi-dev · 2025-06-22 10:26
chadmedthat sounds like something very wrong with your system. sddm should not need to ask to open the gpu
#asahi-dev · 2025-06-22 10:25
dramforeveron restart sddm asks systemd-logind to open the gpu for it, and then logind joins the team of blocked processes
#asahi-dev · 2025-06-22 10:25
dramforeverjannau: it does not work :(
#asahi-dev · 2025-06-22 10:25
chadmed(of my own making of course)
#asahi-dev · 2025-06-22 10:24
chadmedlmfao i spent almost all day chasing an off-by-one
#asahi-dev · 2025-06-22 09:05
jannauif it does work, I can reproduce it. Since restarting sddm worked I never blamed it on the driver
#asahi-dev · 2025-06-22 09:03
dramforeveri can't believe i've never tried that, but honestly i don't expect it to work with the drm thing just locked
#asahi-dev · 2025-06-22 09:03
jannaudramforever: can ssh in and restart sddm?
#asahi-dev · 2025-06-22 08:43
dramforever... nope same thing in 6.14.6-1
#asahi-dev · 2025-06-22 08:27
dramforeverjust for the record i'm going back to asahi-6.14.6-1 for now and see for sure if it's just the new update, and then possibly crawl through the git log and see if anything looks like it could be responsible
#asahi-dev · 2025-06-22 04:36
dramforeveris this... supposed to happen? I see drm_client_dev_hotplug twice but I don't know if they're for the same dev
#asahi-dev · 2025-06-22 04:34
dramforeverI hope I copied everything down right
#asahi-dev · 2025-06-22 04:34
dramforeverStack trace is like this https://fars.ee/AH-SPBD-9uv6NFYlpJTSXvT7YzBr
#asahi-dev · 2025-06-22 04:29
chadmedlikely a race or deadlock then
#asahi-dev · 2025-06-22 04:28
dramforeverthis seems to be highly dependent on the timing of loading of a few kernel modules
#asahi-dev · 2025-06-22 04:28
chadmedthat was related to planes though and wasnt an issue with crtc ops
#asahi-dev · 2025-06-22 04:28
chadmedwe did have issues at some point with something similar but i thought the issue was fixed
#asahi-dev · 2025-06-22 04:28
dramforeveri configured it to do that
#asahi-dev · 2025-06-22 04:28
chadmedhmm
#asahi-dev · 2025-06-22 04:28
dramforeverno it's kwin_wayland
#asahi-dev · 2025-06-22 04:27
dramforeveroh, it might be weston not kwin_wayland, let me check
#asahi-dev · 2025-06-22 04:26
chadmedis sddm being launched in kwin_wayland? iirc it still doesnt do this by default
#asahi-dev · 2025-06-22 04:26
dramforeverwayland, sddm in fact

plus ›