#asahi-dev · 2023-03-28 07:52
marcanI think 1 year in we've mostly covered the "making people fix their stuff on 16K" problem#asahi-dev · 2023-03-28 07:51
marcansven, jannau & co: any objections to merging the 4K patches soon™?#asahi-dev · 2023-03-28 05:33
marcanzzywysm: it's not pushed yet, no. it's merged locally.#asahi-dev · 2023-03-27 13:24
marcanthanks :)#asahi-dev · 2023-03-27 13:24
marcanah, so it's all neatly in one partition, that makes it easy#asahi-dev · 2023-03-27 13:11
marcanalso full type GUIDs instead of the abbreviations help#asahi-dev · 2023-03-27 13:11
marcantobhe_: ideally not just one setup but an explanation of what I could *possibly* expect if more than one setup is possible#asahi-dev · 2023-03-27 12:48
marcankettenis: I also have a pending uninstall mode to add. since we can't exactly know what an OS install is, it'll have to be a heuristic like "stub + ESP + 0..n partitions of known types after that physically contiguous". can you let me know what parttypes to expect for BSD?#asahi-dev · 2023-03-27 12:44
marcanat the latest it will be in fwextract packages & installers when M2Pro/Max support is in#asahi-dev · 2023-03-27 12:43
marcanChaosPrincess: sorry for taking forever on that one#asahi-dev · 2023-03-27 12:43
marcanspeaking of, merged#asahi-dev · 2023-03-27 12:42
marcanpeople who installed earlier will need to go through a TBD installer flow to re-extract#asahi-dev · 2023-03-27 12:42
marcanthe all_firmware bit was added when the M2 was released, so any M1 MBP13 users who installed after we had M2 support don't need to do anything other than the usual fwextract stuff#asahi-dev · 2023-03-27 12:41
marcanit will be once https://github.com/AsahiLinux/asahi-installer/pull/173 is merged#asahi-dev · 2023-03-27 12:39
marcanbut there isn't much point until the display works, so this is not a priority#asahi-dev · 2023-03-27 12:37
marcanonce this is released there will be an installer update to re-extract firmware#asahi-dev · 2023-03-27 12:37
marcanold installers did not extract touch bar firmware, this is a known issue#asahi-dev · 2023-03-27 12:37
marcanmps: if you want things that need firmware built-in you need to support our firmware cpio load process from the bootloader, which means /boot-as-EFI in practice (or customizing the grub setup more, or some other bootloader that can be manually configured, etc.)#asahi-dev · 2023-03-26 10:54
marcaneiln: done :)#asahi-dev · 2023-03-24 03:45
marcanjannau: as in it stops working entirely? yeah, I had the feeling that was a different issue...#asahi-dev · 2023-03-23 08:19
marcanjannau: just means I need to review it#asahi-dev · 2023-03-22 05:27
marcanthere is *some* problem but it's a heisenbug and I've never hit it#asahi-dev · 2023-03-22 05:27
marcanI really need a repro for that :<#asahi-dev · 2023-03-20 03:32
marcaneiln: like running some tests on t6000? I can do that for you if you want, but better thursday+ or so once the release is done#asahi-dev · 2023-03-20 00:35
marcanxkb works *better* in wayland because it is not subject to the ancient X limitations like not supporting the Fn key#asahi-dev · 2023-03-20 00:35
marcanthat's the whole point of doing things in xkb#asahi-dev · 2023-03-20 00:34
marcancy8aer: xkb is used for wayland#asahi-dev · 2023-03-19 14:51
marcansince we can't just yank out the Fn-mappings out from them#asahi-dev · 2023-03-19 14:50
marcanbut we'll probably want fnmode=4 anyway so that other older macs can switch to the Right Way too eventually#asahi-dev · 2023-03-19 14:50
marcanthough honestly, I'm also tempted to just not support the media keys at all on these models, then fnmode!=0 would give you edit keys only and what you pick is irrelevant (and if you want media keys on Fn, don't use xorg)#asahi-dev · 2023-03-19 14:49
marcanyes, fnmode 4 as default#asahi-dev · 2023-03-19 14:49
marcanthat needs to be fixed in xkb#asahi-dev · 2023-03-19 14:48
marcanthen we're also disabling the iso_layout nonsense on anything apple silicon#asahi-dev · 2023-03-19 14:48
marcanfor those who want to fully control everything, fnmode=0 will then disable even that#asahi-dev · 2023-03-19 14:48
marcanand then all the other fn mappings happen in xkb#asahi-dev · 2023-03-19 14:48
marcanand defaulting to that for anything apple silicon, which gives you a usable TTY/Xorg without anything machine-specific#asahi-dev · 2023-03-19 14:47
marcanI propose adding fnmode=4, edit keys only#asahi-dev · 2023-03-19 14:47
marcanfnmode already has fnmode=0 which disables the fn emulation nonsense#asahi-dev · 2023-03-19 14:44
marcanthat's the plan :p#asahi-dev · 2023-03-19 14:44
marcanjannau: yes, it does#asahi-dev · 2023-03-19 14:26
marcanand we can add a module param if we want to get the media keys, and even enable it by default for now if we want in userspace, as long as the kernel default is not doing that stuff#asahi-dev · 2023-03-19 14:25
marcanif we upstream this from the get go with pure software Fn on all M1+ models, we don't have to have that argument#asahi-dev · 2023-03-19 14:25
marcanbecause if we upstream stuff with media key support, we enter into "don't break userspace" territory#asahi-dev · 2023-03-19 14:24
marcanalso, maybe we should do this *now*, before upstreaming support for these machines at all (spi/hid-apple/etc)#asahi-dev · 2023-03-19 14:24
marcanand yes this excludes xorg, and around the time we'll probably get this sorted out will be prime time for xorg to die#asahi-dev · 2023-03-19 14:23
marcanall the funny media key stuff should be done in xkb, among other things so users can switch between F-key and media key by default modes in the UI, not by hacking up module params#asahi-dev · 2023-03-19 14:23
marcanthe Fn key should be pure software, except maaybe fn+arrows for pgup/down/home/end, fn+bksp for delete, and fn+enter for insert, which are important enough to have in TTY mode and not model-specific#asahi-dev · 2023-03-19 14:21
marcanjannau: I think I'm going to have to open an issue on xkeyboard-config to work out how to solve this mess, but for starters, all that should be done in userspace, not hid-apple#asahi-dev · 2023-03-19 14:16
marcanI hope the differences aren't too major though#asahi-dev · 2023-03-19 14:16
marcanbut at that point that just needs to look at the machine ID or something