#asahi-dev · 2022-12-04 07:58
marcanFYI: I've increased installer stub size to 3GB (in dev only). There was a bug report that 13.0 failed to install due to running out of space. That's all unsupported and I think we can get a lot of leeway if we figure out how to use APFS compression for the recoveryOS image, but I feel uneasy about 2.5GB if we're so close to the edge, so let's play it safe for new installs.#asahi-dev · 2022-12-04 07:35
chadmed_i have sorted the last of the over-excursion on big bass hits #asahi-dev · 2022-12-04 07:34
chadmed_im reasonably certain that the pipewire DSP graph is 100% safe at 18.5 dBV on j314 now#asahi-dev · 2022-12-04 07:22
marcanI just added a pile of string props to pass various firmware and bootloader versions upward, mostly for documentation / so we can ask for and gather that info with bug reports#asahi-dev · 2022-12-04 07:21
marcanwe've been using the asahi, prefix for stuff we just stash in there like firmware versions and the keyboard language code (the latter is the only thing used by userspace setup scripts, and we probably need a more standard binding for that going in the keyboard node; that yak is in the back burner)#asahi-dev · 2022-12-04 07:20
marcanrobher: Is documenting /chosen bindings a thing? We've been adding random stuff there, some of which might make sense to document in the sense of promising stability in the future (or just getting review). None of it is used by the kernel itself right now (the aforementioned version thing is in the device node, that will be reviewed along with that binding).#asahi-dev · 2022-12-04 07:17
marcan(m1n1 passes version <12 4 0> and compat <12 3 0> for 12.4)#asahi-dev · 2022-12-04 07:16
marcanthe DCP driver should probably refuse to probe if firmware-compat isn't <12 3 0>#asahi-dev · 2022-12-04 07:16
marcanjannau: I added firmware version formwarding into the DT, in the style of what Lina proposed for GPU (apple,firmware-version and apple,firmware-compat, containing something like <12 3 0>)#asahi-dev · 2022-12-03 10:22
svenfeel free to hack on dptx ;)#asahi-dev · 2022-12-03 10:22
svenbut that’s also typec changes only #asahi-dev · 2022-12-03 10:22
svenI have some wip commits to also make it work correctly when connected before booting #asahi-dev · 2022-12-03 10:21
jannaujust want make sure I don't duplicate work or create conflicts in dptx#asahi-dev · 2022-12-03 10:20
jannauok. I've seen atcphc-20221130. typec seems to work well enough as long as dp is connected after booting#asahi-dev · 2022-12-03 10:17
svenhaven’t had much time due to restructuring at $work #asahi-dev · 2022-12-03 10:16
svenI only have some changes to do the typec subsystem stuff correctly #asahi-dev · 2022-12-03 10:06
jannausven: do you any pending dcp/dptx dp-altmode changes? it looks to me like that is one source of the flakyness. dptx seems to take much longer than macos and it gets confused if the display timeouts during initialization#asahi-dev · 2022-12-03 08:17
rkjnsn_Cool. Just wanted to make sure there was consideration for cases when the process doesn't die or close the alsa device, but merely freezes.#asahi-dev · 2022-12-03 08:12
chadmedit attenuates any input by 18 dB which is functionally equivalent to setting the mixer controls to 50#asahi-dev · 2022-12-03 08:11
chadmedthe nice thing is that the driver chips have a safe mode that doesnt screw with any of the "normal" controls, so we can put the codecs into that mode if the daemon dies and it wont mess with any mixer settings#asahi-dev · 2022-12-03 08:07
chadmedif the kernel driver is expecting some signal from the daemon and will enter a safe mode when it doesnt get that signal then we shouldnt have to worry about any sort of signal handling beyond gracefully exiting and writing to the syslog that we exploded#asahi-dev · 2022-12-03 08:03
rkjnsn_I've seen lots of discussion about handling the speaker safety daemon crashing, getting killed by a signal, getting bad data from alsa, et cetera. Just wanted to call out the cases of the process hanging or getting sent SIGSTOP to make sure they don't get forgotten.#asahi-dev · 2022-12-02 23:00
amarioguyanyways#asahi-dev · 2022-12-02 23:00
amarioguycorrection 2: ios devices that don't have chain of trust breaks#asahi-dev · 2022-12-02 22:58
amarioguymacos is obviously free reign#asahi-dev · 2022-12-02 22:58
amarioguy(er, downgrade ios devices i mean#asahi-dev · 2022-12-02 22:58
amarioguy(fun note this is the only way to downgrade assuming you haven't updated and SEP hasn't rolled it's anti-replay token in secure storage)#asahi-dev · 2022-12-02 22:57
amarioguyChaosPrincess: you can always take a bit by bit copy of the nand and reflash using an HW programmer :P#asahi-dev · 2022-12-02 22:09
ChaosPrincessSo, the reason im asking is that i am getting a new m1 machine soon, and can test complete nor destruction. (If i can"t recover it myself, ill just take it back to the store and claim it was doa)#asahi-dev · 2022-12-02 19:30
dsharshakovProbably current DCP support doesn't enable the XDR mode anyway, so screens are unlikely to heat up that much. But when the microLED backlight will be used to its full potential for HDR support thermal safety might need to be taken into accout#asahi-dev · 2022-12-02 19:29
dsharshakovSo overheating the SoC is very unlikely. But microLEDs are being cut in brightness when it's too hot, as stated by Apple support#asahi-dev · 2022-12-02 19:26
dsharshakovnicolas17: they're likely to have a thermal protection poweroff by SMC firmware. Nobody checked probably, I don't know for sure#asahi-dev · 2022-12-02 19:15
dsharshakovare they just for software to account for the power GPU uses (like perf metrics) or needed for hardware management and affect performance states somehow?#asahi-dev · 2022-12-02 19:14
dsharshakovoh btw what do power curves lina has been calculating mean? what are they used in for GPU?#asahi-dev · 2022-12-02 19:14
nicolas17I'm not sure how much we can mess with thermals from software, but yes, that's generally one area#asahi-dev · 2022-12-02 19:13
dsharshakovvoltages for all components are handled by SMC, so unless it bugs out we're safe#asahi-dev · 2022-12-02 19:13
dsharshakovwhat're the examples? Maybe microLED XDR backlight (it has temperature sensors)#asahi-dev · 2022-12-02 19:12
nicolas17dsharshakov: I'm sure we can find more if we really look :D#asahi-dev · 2022-12-02 19:12
dsharshakovAh, okay, but the question remains#asahi-dev · 2022-12-02 19:12
jannauiirc the m2 air with the broken speakers was replaced on the spot with a different one#asahi-dev · 2022-12-02 19:12
dsharshakovwould be fun if NOR can be debricked by DFU. then speakers are the only soft-breakable thing in the system which makes it fairly solid#asahi-dev · 2022-12-02 19:11
amarioguynot the air#asahi-dev · 2022-12-02 19:11
amarioguydsharshakov: he had a 13" MBP#asahi-dev · 2022-12-02 19:11
dsharshakovbtw did he already get the m2 air back?#asahi-dev · 2022-12-02 19:11
nicolas17I don't remember if he managed to get it fixed for free?#asahi-dev · 2022-12-02 19:11
amarioguyvery true#asahi-dev · 2022-12-02 19:10
svengrepping code >> random uneducated speculation#asahi-dev · 2022-12-02 19:10
nicolas17amarioguy: well, marcan broke his speakers :D#asahi-dev · 2022-12-02 19:10
nicolas17ah interesting#asahi-dev · 2022-12-02 19:10
sventhere's a restore_send_nor in idevicerestore, maybe start looking at that