#
✕ nick:nicolas17
#asahi-dev · 2022-12-02 19:09
nicolas17sven: you mean while running AC2, in case this is actually a missing idevicerestore feature :P
#asahi-dev · 2022-12-02 19:08
nicolas17did anyone *actually* screw up the NOR contents including serial number, and do a DFU restore, and the restore tool recovered the data from Apple based on the ECID (exclusive chip ID)? there were theories that it worked that way but idk if anyone took the risk and tried it
#asahi-dev · 2022-12-02 19:08
nicolas17syscfg?
#asahi-dev · 2022-12-02 19:06
nicolas17dsharshakov: I'm not sure if that was actually *tested*
#asahi-dev · 2022-11-26 00:27
nicolas17I learned how the .zip format works and I want to unlearn it
#asahi-dev · 2022-11-26 00:27
nicolas17but yeah
#asahi-dev · 2022-11-26 00:27
nicolas17other times it's more like "I MUST KNOW"
#asahi-dev · 2022-11-26 00:26
nicolas17sometimes, yes
#asahi-dev · 2022-11-26 00:18
nicolas17instead they use displayport and the adapter converts it to HDMI
#asahi-dev · 2022-11-26 00:17
nicolas17no idea if Macs support it
#asahi-dev · 2022-11-26 00:17
nicolas17povik: I read somewhere that USB-C Alternate Mode for HDMI is little supported in practice
#asahi-dev · 2022-11-26 00:04
nicolas17I should buy one of those
#asahi-dev · 2022-11-26 00:04
nicolas17does audio over USBC-to-HDMI adapter need the same? :P
#asahi-dev · 2022-11-22 22:28
nicolas17default boot OS = "none, ask me every time"
#asahi-dev · 2022-11-22 22:28
nicolas17is it possible to configure the Mac to boot to the OS selector?
#asahi-dev · 2022-11-22 22:12
nicolas17ChaosPrincess: any progress on M2 nvram?
#asahi-dev · 2022-11-22 04:58
nicolas17ah, the only MTP I know is Media Transfer Protocol which seemed very irrelevant :D
#asahi-dev · 2022-11-22 04:52
nicolas17MTP?
#asahi-dev · 2022-11-22 04:12
nicolas17I just realized didn't ever try audio on asahi
#asahi-dev · 2022-11-22 03:42
nicolas17I had cases like a queue of task X to run on each of a dozen files, and when each is done, enqueue task Y to run on the result of that... and if X is slower than Y, then the Y queue could starve, and maybe running X on p-cores and Y on e-cores could improve overall utilization
#asahi-dev · 2022-11-22 03:38
nicolas17speaking of which, how can I manually make a process run only on e-cores or only on p-cores? CPU affinity?
#asahi-dev · 2022-11-22 03:34
nicolas17chadmed: I bet there's a bunch of userspace work to be done too, like hinting the scheduler to run "background" tasks on e-cores
#asahi-dev · 2022-11-22 03:33
nicolas17ah gnome, that looks suspiciously similar to macOS control center in overall design :P
#asahi-dev · 2022-11-22 03:30
nicolas17dcow: what is that screenshot=
#asahi-dev · 2022-11-11 20:40
nicolas17scardracs: are you going to rewrite the compiler to use neural networks? :)
#asahi-dev · 2022-11-09 04:14
nicolas17still probably way over my head
#asahi-dev · 2022-11-09 03:45
nicolas17but that's a whole different chapter, getting Fn keys would be the priority
#asahi-dev · 2022-11-09 03:45
nicolas17I also looked at the public API for the touchbar on macOS and realized that proper support (letting apps customize it etc) is gonna need a *lot* of userspace work
#asahi-dev · 2022-11-09 03:43
nicolas17also my Mac *is* M2 so I'm probably fine on that aspect
#asahi-dev · 2022-11-09 03:42
nicolas17._. sounds like this would be way above my head
#asahi-dev · 2022-11-09 03:18
nicolas17I guess at a high level I'd need to run macOS under m1n1 hypervisor and log access to spi3
#asahi-dev · 2022-11-09 03:13
nicolas17ioreg shows spi3 -> AppleSPIMCController -> touch-bar@0 -> AppleHIDTransportDeviceSPI -> ... -> AppleMultitouchDevice, which sounds like the touch part and it's not clear to me if the display goes through that too
#asahi-dev · 2022-11-09 03:09
nicolas17does anyone know how it's connected?
#asahi-dev · 2022-11-09 03:08
nicolas17how would I even begin investigating the touchbar?
#asahi-dev · 2022-11-07 20:22
nicolas17I helped test a patch on M2 and it was a pain because I didn't even know how to compile the kernel and configure grub to use it, now that I figured it all out I feel like I want to test more
#asahi-dev · 2022-11-07 20:14
nicolas17I'm in love with this tool thx for recommending it :P only missing macOS fuse support
#asahi-dev · 2022-11-07 20:13
nicolas17xcode-14.0-all.dwarfs = 18GB, and you just mount it
#asahi-dev · 2022-11-07 20:13
nicolas17tpw_rules: all six Xcode 14.0 betas + 14.0 final + 14.0.1 final = 57GB of .xip files, each of which takes like 10 minutes to extract, in part because of the compression, in part because it has to write 500k small files to the filesystem, ~20GB each once extracted
#asahi-dev · 2022-11-01 17:50
nicolas17ChaosPrincess: lmk if you need more m2 testing
#asahi-dev · 2022-11-01 04:47
nicolas17marcan: compiling is fast and warms up the CPU to the point it brings up the fans, I'm sure it has enough memory bandwidth/latency; *other* workloads, despite putting all cores at 100% usage, aren't causing that much heat and *those* may be stalling for memory
#asahi-dev · 2022-11-01 03:07
nicolas17and then I started having RAM problems on my desktop PC, I identified the bad DIMM, and went from 16GB to 8GB, which made bsdiff impractical
#asahi-dev · 2022-11-01 03:05
nicolas17but it needs a ton of RAM
#asahi-dev · 2022-11-01 03:05
nicolas17I got some impressive results running bsdiff between two dyld_shared_caches btw
#asahi-dev · 2022-11-01 03:04
nicolas17can't even find dwarfs
#asahi-dev · 2022-11-01 03:01
nicolas17tpw_rules: I was investigating a way to store tons of .ipsw files using little storage :)
#asahi-dev · 2022-11-01 02:57
nicolas17chadmed: kernel "make -j8 vmlinux" gets 1.91 instructions per cycle, 8 simultaneous xdelta instances (with a 256MB "source window" which makes it use about 1.3GB RAM) gets 0.68 insn per cycle
#asahi-dev · 2022-11-01 01:56
nicolas17(I didn't test ffmpeg on Linux)
#asahi-dev · 2022-11-01 01:56
nicolas17chadmed: that would explain why ffmpeg on macOS also manages to cause more heat, apples and oranges but still
#asahi-dev · 2022-11-01 01:55
nicolas17are there any performance counters I can access from Linux?
#asahi-dev · 2022-11-01 01:54
nicolas17I wonder why compiling a kernel for 6 minutes gets my M2 fans to go fast, but running a bunch of xdelta3 instances for hours doesn't heat up that much, on Intel I'd say "it makes more memory accesses, so it's using less CPU because it's stalled waiting for memory" but apple silicon has such high memory bandwidth that I'm skeptical of that being the only reason

plus ›