#
#asahi-dev · 2023-06-19 13:02
mini_I always found it frustrating because there's no physical feedback, so you always have to look at it and be careful
#asahi-dev · 2023-06-19 12:44
ChaosPrincessAnd i think they would have had more success if it was in addition to f-keys, not a replacement
#asahi-dev · 2023-06-19 12:43
ChaosPrincessheh, when apple first announced it i was really into a certain mmo that heavily uses f-keys for actions, so i thought it would be cool to actually have action progress icons actually on the kb. And then reality happened :P
#asahi-dev · 2023-06-19 12:41
chadmedthe touchbar was basically DOA anyway i think they paid adobe to support it and that was about all she wrote
#asahi-dev · 2023-06-19 12:41
chadmedi mean _surely_ they dont do an m3 13" but who knows anymore
#asahi-dev · 2023-06-19 12:41
chadmednah but there wasnt a t600x 13" either
#asahi-dev · 2023-06-19 12:40
j`ey_chadmed: none of the new ones post m2 mbp have it tho, right?
#asahi-dev · 2023-06-19 12:40
chadmed"oh they probably just have a bunch of leftover chassis/havent finished amortising the tooling they wont make another one"
#asahi-dev · 2023-06-19 12:40
chadmedj`ey_: hopefully, but i do recall saying that in 2020
#asahi-dev · 2023-06-19 12:35
ChaosPrincessyep, thats why i want to do static layers per user at most.
#asahi-dev · 2023-06-19 12:34
j`ey_seems like a bit of a dead end since apple seems to have dropped the touchbar
#asahi-dev · 2023-06-19 12:32
ChaosPrincessbut i personally dont want to write the second one
#asahi-dev · 2023-06-19 12:31
ChaosPrincessbut if we want to go full macos and integrate with desktop and change layers depending on what app is currently in focus, thats way more stuff (probably will need to do dbus and all that)
#asahi-dev · 2023-06-19 12:31
ChaosPrincessanyway, got distracted by $dayjob, but if we just want to static configurable layers per-user, that can also be done, just load them on startup and drop root
#asahi-dev · 2023-06-19 12:04
jannauI don't think the chroot is necessary. I tried it, it worked. I didn't spend more thought than that
#asahi-dev · 2023-06-19 12:02
ChaosPrincesseh, so it depends on how much are we extending that.
#asahi-dev · 2023-06-19 12:01
jannauI don't think we will be able to keep the chroot to /var/empty if we want to support dynamic layers
#asahi-dev · 2023-06-19 11:57
ChaosPrincessnow, i do want to make the function layers configurable eventually, so that might change, but with static ones - whatever
#asahi-dev · 2023-06-19 11:57
ChaosPrincessand i dont think rendering svg is that bad, it uses svgs shipped with the program with hardcoded paths that live inside /usr/share
#asahi-dev · 2023-06-19 11:55
ChaosPrincessmoved privdrop, survived 10 restarts, good enough for me
#asahi-dev · 2023-06-19 11:54
jannauI waa surprised that the button rendering was working. We do not want top do text/svg rendering while we are still root
#asahi-dev · 2023-06-19 11:52
jannaulet's first test if it's privdrop/chroot. we probably want to make that smarter than it currently is anyway
#asahi-dev · 2023-06-19 11:47
ChaosPrincessso, move privdrop to after the input device is detected?
#asahi-dev · 2023-06-19 11:46
jannauI'd blame privdrop/chroot for that and not libinput
#asahi-dev · 2023-06-19 11:45
ChaosPrincessand libinput doesnt seem to send the device added event for it after it finishes doing what it needs to do
#asahi-dev · 2023-06-19 11:45
ChaosPrincesssomething like that. the symptoms is that it does not detect the input device
#asahi-dev · 2023-06-19 11:44
jannauwhy is it flaky? because it sometimes starts before the touch input device is ready?
#asahi-dev · 2023-06-19 11:36
ChaosPrincesswe have a Wants relationship, while we need something similar to After
#asahi-dev · 2023-06-19 11:36
jannaustarnge that touch events are the problem. I would have expected problems elsewhere since we activate on the digitizer device
#asahi-dev · 2023-06-19 11:32
jannauworked for me reliable but I haven't tested it so I hve probably not much more than 5 boots
#asahi-dev · 2023-06-19 11:30
ChaosPrincessi did 20-ish reboots, on some it starts, on some i need a systemctl restart before it can process touch events
#asahi-dev · 2023-06-19 11:29
ChaosPrincesscause its flaky rn
#asahi-dev · 2023-06-19 11:29
ChaosPrincessbtw, have you managed to figure out the startup ordering
#asahi-dev · 2023-06-19 11:29
jannauChaosPrincess: very nice
#asahi-dev · 2023-06-19 11:27
jannaulooks like someone needs to make a video of the touch bar
#asahi-dev · 2023-06-19 06:20
sid-linuxHello folks, for those using ALARM I have posted a question on #asahi-alt since it may be slightly off topic. The question is regarding the appearance of (many!) new packages on ALARM and whether updates are finally OK on ALARM now.
#asahi-dev · 2023-06-18 20:12
amarioguyjannau: ah fair, got it
#asahi-dev · 2023-06-18 18:04
jannauamarioguy: the cpus node will have only the active cores when looking at the adt from the device
#asahi-dev · 2023-06-18 17:21
amarioguyquick question is there a way from the ADT to check if a core is fused off or not? (long story need to be able to check if a core is fused off) or would i need to infer it being fused off based on board id or smth?
#asahi-dev · 2023-06-18 10:48
sid-linuxsven: thanks -- this is useful
#asahi-dev · 2023-06-18 10:47
svenand the reason that’s a bad idea is because when you’re in irq context („top half“) many (or even all) other interrupts are disabled and will be delayed
#asahi-dev · 2023-06-18 10:45
sventhe issue happens when you wait for I/O over a slow bus like SPI where you usually have to sleep (or wait for an irq which effectively is sleeping anyway)
#asahi-dev · 2023-06-18 10:44
svendoing sone I/O is totally fine in irq context. you usually *have* to do some I/O to e.g. read the irq and ack it in every handler
#asahi-dev · 2023-06-18 10:43
svenstill orders of magnitude faster than reading from a SPI bus which is probably what you’re thinking of
#asahi-dev · 2023-06-18 10:43
sid-linux(and therefore not permitted in the top half -- which is what `dockchannel_irq()` is in )
#asahi-dev · 2023-06-18 10:42
sid-linuxwhich is going to be slow??
#asahi-dev · 2023-06-18 10:42
sid-linuxbut that readl is is reading from the dockchannel device
#asahi-dev · 2023-06-18 10:41
svenbut that readl is still plenty fast
#asahi-dev · 2023-06-18 10:41
svenyou also can‘t really access devices behind a slow bus like SPI
#asahi-dev · 2023-06-18 10:41
svenyou can’t sleep in irq context

plus ›