#asahi · 2022-01-19 23:50
rkjnsn[m]Glanzmann, I just noticed in your alsamixer screenshot, the "card" is set to the PulseAudio compatibility device. povik can correct me if I'm wrong, but I'm guessing you want to be looking for a MIXER knob on the actual audio device. You can press F6 to switch which card alsamixer is controlling.#asahi · 2022-01-17 11:24
rkjnsn[m]marcan: Re iBoot waiting ~5 seconds, did it support displays attached via Thunderbolt, or just HDMI? I've had a Tunderbolt→dock→HDMI→monitor setup before that always took a few extra seconds for the display to come up versus a direct HDMI connection.#asahi · 2022-01-13 20:26
rkjnsn[m]I thought I read that there was a way to create a custom partition type by specifying a raw UUID? I haven't actually tried it myself, though, and something other than diskutil would be required to put a FAT filesystem on the created partition.#asahi · 2022-01-10 10:03
rkjnsn[m]Yeah, I thought marcan had said those were ignored by older iBoot versions, but I'm not sure if there was anything else special one needed to do to make it work.#asahi · 2022-01-10 09:23
rkjnsn[m]I might be misremembering the earlier discussion, but I seem to recall that I read for that combination the trick was to use --raw to make kmutil happy, but actually give it the macho and not the bin, as the iBoot for 11 doesn't support raw, and will parse it as a macho regardless of the --raw option.#asahi · 2022-01-10 08:46
rkjnsn[m]I guess we're fortunate that the firmware for the T2 and M1 cards uses the same approach as the Linux driver expects. I wonder why the ABI Apple uses for the older cards is so different.#asahi · 2022-01-10 06:41
rkjnsn[m]The Apple driver also puts the nvram data in a different spot, starting at region2+0x26a0a4, rather than at the end of RAM.#asahi · 2022-01-10 06:30
rkjnsn[m]Looking at vfio traces, the Linux driver polls region2+0x26fffc (the last four bytes of the card's RAM), expecting the firmware to set it to a pointer to a shared memory region once it has booted. The Monterey driver, however, polls region2+0x26f0a8, which appears to merely change from a 0 to a 1 when the firmware is ready.#asahi · 2022-01-10 06:30
rkjnsn[m]Hmm… it looks like the firmware in the Apple driver for the Broadcom 43602 rev. 1 expects a different bring-up sequence than the Linux driver uses.#asahi · 2022-01-09 05:41
rkjnsn[m]Fun fact: In a pinch, if you don't have a WiFi dongle, you can use an Android device, instead. (As long as the device lets you be connected to WiFi and enable USB tethering at the same time; I had one that disconnected from WiFi whenever I enabled USB tethering for some inexplicable reason.)#asahi · 2022-01-07 13:27
rkjnsn[m]Well, I'm pretty sure the _dlarray_43602pci symbol points to at least part of the firmware, but not everything needed (possibly just for one core type). At the very least, it is lacking nvram settings. But I have already spent way too much time on this for tonight, and must sleep.#asahi · 2022-01-07 10:23
rkjnsn[m]Thanks! I'm on 12.1.#asahi · 2022-01-07 10:21
rkjnsn[m]marcan: Hmm… I'm not seeing any files with 4360 in the name. I have a /System/Library/Extensions/IO80211FamilyLegacy.kext/Contents/PlugIns/AirPortBrcmNIC.kext/Contents/MacOS/AirPortBrcmNIC, which appears to contain a symbol named _dlarray_43602pci, among others.#asahi · 2022-01-07 08:53
rkjnsn[m]marcan: Ah, slightly unfortunate. Which kext?#asahi · 2022-01-07 06:38
rkjnsn[m]According to https://support.apple.com/guide/security/protocol-security-sec8a67fa93d/web, WPA3 is supported by macOS on late-2013 and newer Macs, but the firmware included in linux-firmware for my 2015 MBP doesn't appear to support it.#asahi · 2022-01-07 06:38
rkjnsn[m]Hopefully, not too far off-topic, but do you know if any of the firmware extraction / loading stuff could be applied to pre-T2 Macbook Pros?#asahi · 2022-01-07 06:22
rkjnsn[m]I haven't tested it, but it looks like the hostap / wpa_supplicant patches published by Cypress add support for SAE offload, among other things: https://community.infineon.com/t5/Resource-Library/Cypress-Linux-WiFi-Driver-Release-FMAC-2020-09-25/ta-p/251089#asahi · 2022-01-07 05:43
rkjnsn[m]Yes, sorry. Just meaning to clarify that not only do you not need crouton to install Linux bare-metal on a Chromebook, that's not even what crouton seeks to accomplish.#asahi · 2022-01-07 05:41
rkjnsn[m]Crouton is an unofficial way to install a separate distro in a chroot environment inside a reduced-security Chrome OS. It is distinct from installing a different Linux distro on the bare metal.#asahi · 2021-12-27 03:52
rkjnsn[m]I think the "more than" is superfluous.#asahi · 2021-12-22 09:41
rkjnsn[m]FWIW, adding the "Pass PMK in binary" patch also works for me.#asahi · 2021-12-22 07:56
rkjnsn[m]This is a 2015 MBP (Firmware: BCM43602/1 wl0: Nov 10 2015 06:38:10 version 7.35.177.61 (r598657) FWID 01-ea662a8)#asahi · 2021-12-22 07:54
rkjnsn[m]I do see "AXI timeout; APB Bridge 0" coming out of hibernate, but it looks like that happens without the patch, too, so not a regression.#asahi · 2021-12-22 07:52
rkjnsn[m]Assuming I applied the patch properly (relatively new to NixOS, but it did build a new kernel when I added the patch to my config), I see no change in behavior versus without that patch.#asahi · 2021-12-22 07:51
rkjnsn[m]marcan, are you still looking for folks to test the brcmfmac-do-not-release-d11-resets.patch on other hardware?#asahi · 2021-10-31 02:55
rkjnsn[m]JuniorJPDJ_: I'm pretty sure Thunderbolt isn't implemented for the M1 on Linux yet, which would be a prerequisite.#asahi · 2021-10-20 09:27
rkjnsn[m]Nice. Thanks!#asahi · 2021-10-20 09:13
rkjnsn[m]Thanks! I'm specifically interested in disk encryption for the internal SSD under Linux, and whether it will be achievable without noticeable performance loss.#asahi · 2021-10-20 06:16
rkjnsn[m]Is it safe to assume the accelerator blocks are designed to be able to keep up with the new, faster SSD storage?#asahi · 2021-10-20 06:15
rkjnsn[m]Another random question: What kind of cryptography acceleration does the M1 provide? E.g., are the ARM cryptographic extensions implemented, or can acceleration only be used via the SEP?#asahi · 2021-10-07 07:19
rkjnsn[m]Oh, sorry, I misread. It does default to 96 regardless of reported monitor DPI, and has to be changed manually.#asahi · 2021-10-07 07:12
rkjnsn[m]I have my DPI set to 168, and most apps seem to respect it, rendering text and icons at about about 1.75x.#asahi · 2021-10-06 07:13
rkjnsn[m]Yes. For the M1X, at least (I'm planning on buying a 16"), I was originally hoping that the hardware would still support MST for the single panel, dual stream monitors that macOS *does* support, and perhaps Linux would be able to leverage that for dual displays like on the 2015 MPB.#asahi · 2021-10-06 07:09
rkjnsn[m]I think I read that macOS supports MST to some extent for the case of a single high-res monitor driven by two DisplayPort streams, but for some reason they never implemented support for driving two monitors via MST.#asahi · 2021-10-06 07:02
rkjnsn[m]Oliver Graff: Yes.#asahi · 2021-10-06 07:01
rkjnsn[m]DisplayPort cable running from my laptop to monitor 1, second cable running from monitor 1 to monitor 2 (both monitors supporting DisplayPort 1.2's MST functionality). On my 2015 MBP, Linux sees both monitors, and I can extend my desktop to both of them. If I boot into macOS, however, it only sees one monitor and the displays mirror each other.#asahi · 2021-10-06 05:05
rkjnsn[m]Does the DCP handling display enumeration and EDID decoding mean that daisy-chained DisplayPort are unlikely to work under Asahi, even if the underlying hardware technically supports it?#asahi · 2021-09-18 01:55
rkjnsn[m]I believe teared is the past tense of tear (to produce clear salty liquid from one's eyes), while torn is the past participle of tear (to rip).#asahi · 2021-09-01 06:50
rkjnsn[m]I haven't tested that on the actual installer, but do I see that behavior if I do: python -c 'import time;print("Press enter to continue. (1)");input();print("Sleeping");time.sleep(5);print("Press enter to continue. (2)");input();print("Done!")'#asahi · 2021-09-01 06:49
rkjnsn[m]marcan: re pipcet's observation of not seeing the final message from the installer, I believe if one accidentally hits enter twice at the preceding "Press enter to continue." prompt, that input() call only consumes the first press, and the second is buffered by the terminal, causing the final input() call to return immediately before the user has read the message.#asahi · 2021-08-03 07:59
rkjnsn[m]Not having to maintain the stripped-down Python package, I guess. Since the project already has a lot of Python code, though, I will readily admit that's a good point for using it rather than introducing a new language.#asahi · 2021-08-03 07:56
rkjnsn[m]Smaller download, conceptually simpler (to my brain, at least) would be the advantages that would push me that way. Not relevant, since I probably won't be hacking on it, but I also find compiled languages to be more productive for me personally since the kinds of mistakes I tend to make most are the ones compilers are good at catching before even running the code.#asahi · 2021-08-03 07:53
rkjnsn[m]For the installer, would it be at all reasonable to build a self-contained binary using, e.g., Rust, rather than the install script needing to download a full Python interpreter?#asahi · 2021-05-27 22:07
rkjnsn[m]Is, e.g., taking advantage of the P3, 500nit display for HDR playback in scope as part of that polish?#asahi · 2021-05-27 22:07
rkjnsn[m]Just out of curiosity, I see that the goals for Asahi include not just hardware functionality but also polish.#asahi · 2021-05-26 06:25
rkjnsn[m]Not an attack I personally have to worry about, but folks have gone to greater lengths than that for some high-value targets.#asahi · 2021-05-26 06:25
rkjnsn[m]perhaps I find a way to compromise the base image they use for both and use M1RACLES to pass the data.#asahi · 2021-05-26 06:25
rkjnsn[m]one with network access and one of particular interest was explicitly run without network access,#asahi · 2021-05-26 06:25
rkjnsn[m]I was thinking along the lines of, if I knew some target of value spun up containers for specific activities,#asahi · 2021-05-26 06:07
rkjnsn[m]Almost certainly still not a concern for anything I plan on doing, but good to be aware of.