2022-07-19
00:11Catyre has joined #asahi
00:19Catyre has quit [Ping timeout: 480 seconds]
00:25ktz_[m]anyone using a reduced kernel for alpinelinux mind sharing their .config? By reduced I mean turning off as much stuff as possible
01:39zzywysmone problem i'm having is i can't seem to enable compression on the main kernel image. the modules are compressing with xz just fine
01:52grgy has quit [Remote host closed the connection]
01:53grgy has joined #asahi
01:57Catyre has joined #asahi
01:57tpw_rulesnot 100% sure why, but there's no way to just make a self-decompressing bzImage like you can on x86_64
02:03grgy has quit [Remote host closed the connection]
02:04zzywysmtpw_rules: spent a while digging to see if maybe i disabled some key bit of kernel config that turned it off, but i didn't see anything obvious in the Kconfig definitions
02:04grgy has joined #asahi
02:05Catyre has quit [Ping timeout: 481 seconds]
02:05grgy has quit [Remote host closed the connection]
02:07grgy has joined #asahi
02:07grgy has quit [Remote host closed the connection]
02:08grgy has joined #asahi
02:10grgy has quit [Remote host closed the connection]
02:11grgy has joined #asahi
02:34grgy has quit [Remote host closed the connection]
02:36grgy has joined #asahi
02:38grgy has quit [Remote host closed the connection]
02:43zzywysm has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
02:52dimbulb has joined #asahi
02:52phiologe has joined #asahi
02:56PhilippvK has quit [Ping timeout: 480 seconds]
03:00grgy has joined #asahi
03:09grgy- has joined #asahi
03:13marvin24 has joined #asahi
03:14grgy| has joined #asahi
03:15grgy has quit [Ping timeout: 480 seconds]
03:16derzahl has quit [Remote host closed the connection]
03:17marvin24_ has quit [Ping timeout: 480 seconds]
03:19grgy- has quit [Ping timeout: 480 seconds]
03:22grgy| has quit [Ping timeout: 480 seconds]
03:27grgy has joined #asahi
03:30kov has quit [Quit: Coyote finally caught me]
03:57zzywysm has joined #asahi
04:02zzywysm has quit []
04:14tpw_rulestrying to think through a story about firmware re-parsing on nixos because a systemd unit or boot script or whichever aren't really nixos's jam
04:15tpw_rulesso just to confirm, the firmware TAR is specific to the stub partition version, right?
04:16tpw_rulesis there any way to get the URL for that IPSW from information on the ESP aside from manually parsing the installer.log? does apple keep them up indefinitely?
04:16tpw_rulesit's okay if there's a lookup table involved, i'd need to populate it with corresponding firmware hashes anyway. just not sure how to interpret all the codes and IDs in the URL
04:17tpw_ruleswondering if maybe i should have nixos download and parse the IPSW, but that would require mounting an APFS-format DMG, right?
04:21tpw_rulesbut on the other hand that would be required to build stub partitions from linux so maybe shaving that particular yak isn't bad?
04:24zzywysm has joined #asahi
04:29zzywysm has quit []
04:50nicolas17tpw_rules: you mean the ipsw URL? the UUID in it is completely random and unpredictable
04:51GlanzmannCy8aer[m]: Don't tell Linus that emacs doesn't work. He will never use the m1, but IIRC he uses a different emancs and also probably in Fedora they already have pulled the new release.
04:54nicolas17tpw_rules: there's some machine readable data at https://github.com/littlebyteorg/appledb/tree/main/iosFiles/macOS/21x%20-%2012.x
04:54nicolas17but it's not complete and I don't know what's the convenient way to query it via api.appledb.dev
04:56ciggi has quit [Ping timeout: 480 seconds]
04:57nicolas17I started working on scripts to auto-generate wiki pages like https://www.theiphonewiki.com/wiki/Firmware/Mac/12.x from appledb data but I'm not there yet
04:59tpw_rulesi find that "active": true property a bit worrying. do they become inactive at some point
05:00nicolas17"does apple keep them up indefinitely?" there's some really odd set of old iOS ipsws that have been deleted for some strange reason, but in 99% of cases the URL is valid forever
05:02tpw_rulesokay. well like i said i would have to update my stuff with the new firmware hash for each new supported ipsw anyway so the url not being determinate ahead of time is fine. but it looks like i can key off that build code. i think i saw that in a plist
05:04tpw_rulesthere's still the apfs problem though. i can't use fuse inside a nixos build environment
05:05tpw_rulesactually the installer must have already solved this problem. i don't think there's such a thing as a loopback mount in macos
05:09nicolas17tpw_rules: https://data.nicolas17.xyz/UniversalMac_12.4_21F2092_file_list.txt the firmware files you need might be sitting on the ipsw rather than inside a dmg
05:21nicolas17ugh 21F2092 is actually the M2-specific release so that list may be missing M1 stuff you're looking for, I picked the worst version as the example :P
05:34nicolas17 has quit [Ping timeout: 480 seconds]
05:57ptudor has joined #asahi
05:59ptudor_ has quit [Ping timeout: 480 seconds]
06:06the_lanetly_052 has joined #asahi
06:07jannautpw_rules: the installer mounts the recovery ramdisk and extracts the firmware from there, see https://github.com/AsahiLinux/asahi-installer/blob/7d111d4d694fbe715fe721051bd48976992db20c/src/stub.py#L289
06:07ptudor_ has joined #asahi
06:11jannauif you want to use information from the ESP to get the IPSW URL I don't see why you can't use the vendor firmware and asahi/all_firmware.tar.gz directly. that would be much faster than downloading gigabytes of IPSW
06:14ptudor has quit [Ping timeout: 480 seconds]
06:14guillaume_g has joined #asahi
06:15ciggi has joined #asahi
06:52MajorBiscuit has joined #asahi
06:56Glanzmannjannau: I tried to use the asahi tree this morning with my old config += the_new_bluetooth option. I had no wifi, trackpad worked and there were rcu hangs. I'll retry later today with the asah kernel config and see if it improves.
06:57Major_Biscuit has joined #asahi
07:03MajorBiscuit has quit [Ping timeout: 480 seconds]
07:25_jannau_there a few reports of broken systems after the update, unfortunately mostly without details of what went wrong
08:40Glanzmannjannau: Here is my dmesg and config, but I'll now rebuild with the official asahi kernel config and see if the situation improves: https://tg.st/u/dmesg-5.19.0-rc5-asahi-00001-g590b124a3add.txt https://tg.st/u/config-5.19.0-rc5-asahi-00001-g590b124a3add.txt
09:38dimbulb has quit [Ping timeout: 480 seconds]
09:58ElvishJerricco[m]tpw_rules: I've been trying to figure out what I'm going to do about firmware whenever I get to that with NixOS. I *think* what I'm going to do is write some code to run in initrd that copies the firmware archive that the installer prepares out of the ESP and into a directory in `/run`, then change the NixOS code that handles the `hardware.firmware` option so that it looks there instead.
10:01ElvishJerricco[m]samueldr over in the #nixos-on-arm:nixos.org matrix room had another idea though. He suggested that the firmware could be included in m1n1 stage 1 and passed forward in the device tree. Sort of an unconventional use of the DT but it would mean we don't need this weird magic archive and a way to load it at the right time.
10:06ElvishJerricco[m]well that probably kills the idea right there :P
10:08chadmedthis is just my personal opinion here and im probably wrong but like this doesnt really affect anything but the first boot after some feature enablement right
10:08chadmedso not only will this become increasingly rare as all features are enabled OOB, but outside of that it only affects _some_ users and the solution is to just reboot the system once
10:09chadmedjust make sure the ESP is mounted and the firmware is present before any modules dependent on firmware are loaded (keep them out of the initramfs)
10:10ElvishJerricco[m]Yea I mean that's essentially what my plan was before the weird DT idea came up. I'm just going to have initramfs extract the stuff from the archive found on the ESP
10:12ElvishJerricco[m]tpw_rules was talking about having the package manager on NixOS download the ipsw and get the firmware from there at build time, but I think just trusting the ESP is probably better, since presumably that *directly* corresponds to whatever stub version is installed
10:13chadmedyeah thats also extremely overengineered and time consuming, will honestly take longer than building the kernel or whatever at that point
10:14chadmedthe ESP has all the firmware in it, and there is a PKGBUILD for arch that automates finding "new" fw and putting it in the right spot. you should be able to adapt that for nixos
10:15_jannau_chadmed: I have a half-finished asahi-fwextract ebuild. the post-install handling is missing, I ran it manually to get bt and trackpad firmwares
10:15ElvishJerricco[m]ehh nixos is a bit weird. We don't really have the ability to look at things on the ESP at build time because everything is super sandboxed.
10:16chadmedyeah same with gentoo, but what i did for firmware handling was just install a job into local.d that checks on every boot. since the local service starts only after pretty much everything else, theres no race with partition handling
10:17chadmed_jannau_: nice! that should make things much easier going forward. i was trying to cobble together something manually but gave up and was going to get around to doing that at some point myself :P
10:19ElvishJerricco[m]_jannau_: What/where is asahi-fwextract?
10:20the_lanetly_052__ has joined #asahi
10:22_jannau_https://github.com/AsahiLinux/PKGBUILDs/tree/main/asahi-fwextract - it updates the vendor firmware tarball when a new firmware is needed. The installer collects ()hopefully) all unprocessed firmware in ESP/asahi/all_firmware.tar.gz
10:22the_lanetly_052 has quit [Ping timeout: 480 seconds]
10:27jluthra has joined #asahi
10:47zzywysm has joined #asahi
10:49Chainfire has joined #asahi
10:53zzywysm has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:59Glanzmannjannau: I tried in the lunch break to compile using the official asahi kernel config from here: https://github.com/AsahiLinux/PKGBUILDs/blob/main/linux-asahi/config and I no longer see any kernel output after grub.
11:01mlq_ has joined #asahi
11:02chadmedi think the config defers console takeover, so if grub is booting with quiet and loglevel=3 or lower then youre not going to see anything
11:08kov has joined #asahi
11:15Glanzmannchadmed: I had no 'quiet', kernel does not show any output and hangs with the official asahi config from above. https://tg.st/u/IMG_20220719_131338039_HDR.jpg https://tg.st/u/IMG_20220719_131318069_HDR.jpg
11:16chadmedhttps://github.com/chadmed/asahi-gentoosupport/blob/main/resources/dracut.conf make sure these modules are explicitly included, because they are softdeps and wont be picked up automatically
11:16Glanzmannchadmed: So I build out of the asahi a debian kernel package. And than I used dpkg -i kernel.deb to install the kernel which takes care of creating the ramdisk.
11:18chadmedcool, that dracut config fragment has the list of modules you need to boot the asahi config so add those and you should be good to go
11:18GlanzmannI'll try that later tonight and report back. It might be that some of them were included beforehand statically.
11:19chadmedbecause theyre soft dependencies on each other they wont get picked up explicitly by initramfs generating tools/scripts/depmod so you need to explicitly tell the initramfs builder to add them in
11:20chadmedheh yeah i got lucky on my first run with the gentoo script and then on testing a second (and third and fourth) time this issue reared its head
11:20Glanzmannchadmed: Do you know if I need to regenerate the firmware so that wifi works with the lastest release?
11:21GlanzmannI thought so. But when I build the kernel with my old kernel config, wifi was not working, so I was wondering why. Everything else seems to work.
11:38taraiph has joined #asahi
11:46taraiph has quit [Quit: Page closed]
11:56shenki has joined #asahi
12:05miko has joined #asahi
12:13redflag[m] has joined #asahi
12:45eroc1990 has quit [Quit: The Lounge - https://thelounge.chat]
12:45eroc1990 has joined #asahi
12:46z812 has quit [Quit: Bye!]
12:47Sobek[m]https://arstechnica.com/gadgets/2022/07/linux-distro-for-apple-silicon-macs-is-already-up-and-running-on-the-brand-new-m2/?comments=1&post=41082059 @marcan would you mind answering an inquiry on the state of power saving / battery life (I haven't kept up to date one what was implemented and what isn't yet and how much work is involved).
12:48z812 has joined #asahi
13:04GlanzmannSobek[m]: People (including me) report that they can work between 6-10 hours on a macbook air what we currenly have. So that is like 50% to 70% of what is possible with Macos.
13:04Sobek[m]What does PSCI stands for? (Also, I known that marcan has an Ars Technica account, so I thought he could just answer himself instead of having some word to mouth deformation)
13:06GlanzmannSobek[m]: Also, IIRC noone has figured out how to put the wifi to sleep and power it back up again.
13:09Glanzmannj`ey: I also took two days off after working 3 weeks including weekends and evenings. :-)
13:15Glanzmannj`ey: You're based in the uk, aren't you? Than you must be also an sailor. How hot was the heat wave?
13:18mazj`ey: train had aircon, and I took the 6:47 this morning... I'll try a find a napping pod later...
13:20dottedmagFun, Malta used to be the hottest country in Europe during summer. Looks like we've exported it to the northern latitudes somehow :)
13:22eroc1990 has quit [Quit: Ping timeout (120 seconds)]
13:22eroc1990 has joined #asahi
13:27tpw_rulesElvishJerricco[m]: i'm not well-versed in the boot process but doing it as part of the initrd sounds reasonable. although how would we re-parse the all_firmware.tar.gz into firmware.tar if the installer changes? chadmed is right that that will be rare but it will be a thing. just ask the user to run our packaged version of asahi-fwextract?
13:28ar~28°C here, and is supposed to stay like that until friday, but i'm going to netherlands on thursday
13:31_jannau_tpw_rules: fwextract could be integrated with kernel updates. it's be only necessary after kernel updates and just needs to run once for a given version
13:32_jannau_i.e. if the kernel gains a driver which requires new firmware it could depend on a fwextract update
13:32bestouff[m]32°C here, but I'm at 1000m altitude; I think it's >40°C down in the city
13:34Catyre has joined #asahi
13:42Catyre has quit [Ping timeout: 480 seconds]
13:42bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:01artemist0 has joined #asahi
14:08bisko has joined #asahi
14:11miko has quit [Quit: WeeChat 3.6]
14:16idf00[m] has left #asahi [#asahi]
14:27Zaprit has joined #asahi
14:33zzywysm has joined #asahi
14:33zzywysm has quit []
14:33tomtastic has quit [Ping timeout: 480 seconds]
14:34Zaprit has quit [Remote host closed the connection]
14:35Gaspare has joined #asahi
14:57bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:01doggkruse has joined #asahi
15:11guillaume_g has quit []
15:38bisko has joined #asahi
16:08qyliss has joined #asahi
16:11c10l2 has joined #asahi
16:17c10l has quit [Ping timeout: 480 seconds]
16:19Gaspare has quit [Quit: Gaspare]
16:20ManouchehriAnyone here attempted to run cuttlefish on asahi?
16:21ManouchehriJul 19 11:20:53 dave-mac audit[132135]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=15 pid=132135 comm="launch_cvd" exe="/home/dave/cf/bin/cvd_internal_start" sig=11 res=1
16:21Manouchehrihaving trouble figuring out why it's segfaulting
16:21ChaosPrincesswhat does `file /home/dave/cf/bin/cvd_internal_start` say?
16:21Manouchehri /home/dave/cf/bin/cvd_internal_start: ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), dynamically linked, BuildID[md5/uuid]=32c79baee3900f28eb763cab7a0249a0, with debug_info, not stripped
16:22Manouchehri[dave@dave-mac cf]$ ldd /home/dave/cf/bin/cvd_internal_start
16:22Manouchehri not a dynamic executable
16:23Manouchehriannoyingly vague, right? :p
16:27Major_Biscuit has quit []
16:30Manouchehrimaz: How can check for the hardcoded page size?
16:30jannaumaybe the limited IPA space if it's on M1 and not M1 Pro/Max although the fast sagfault looks more like a 4k page size issue
16:31Manouchehriit's M1
16:34Manouchehriit's crashing before any code is even run though, no?
16:34Catyre has joined #asahi
16:36Manouchehriright, so I don't know where I should even begin to look.
16:40Manouchehritpw_rules: 2f950f22d31a7289af831c52c8d9d0e8
16:41Manouchehrisorry, copy pasta fail
16:42Manouchehrithank you :)
16:42Manouchehricould we put this into the docs somewhere (how to check for 4k alignment)?
16:42Catyre has quit [Ping timeout: 480 seconds]
16:43Manouchehriso ./bin/launch_cvd is fine, just not lib64/ld-android.so?
16:43tpw_rulesit's sort of an uncommon problem and it seems google specifically has hacks to defeat the default 64k segment alignment set by the major compilers
16:45Manouchehribut isn't 0x00000000000d9000%64 = 0?
16:49Catyre has joined #asahi
16:52Manouchehrifeel free to improve. https://github.com/AsahiLinux/docs/wiki/Broken-Software#checking-for-alignment
16:54PyroPeter_ has joined #asahi
16:58Catyre has quit [Ping timeout: 480 seconds]
16:58X-Scale` has joined #asahi
16:58Manouchehripow(2, 15) = 32768
17:02X-Scale has quit [Ping timeout: 480 seconds]
17:02X-Scale` is now known as X-Scale
17:06doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:07gff has joined #asahi
17:09Glanzmannmarcan / jannau / sven: With my old config file that works for 5.18, on 5.19, I get for wifi 'brcmfmac 0000:01:00.0: brcmf_pcie_init_ringbuffers: Allocating ring buffers failed' any idea what that is about. Here is the config and the dmesg: https://tg.st/u/5.19.0-rc5-asahi-config.txt https://tg.st/u/5.19.0-rc5-asahi-dmesg.txt
17:09Glanzmannhere is the dmesg from the 5.18 for comparison: https://pbot.rmdir.de/R9NpQGxOZXPKU_EK8ypMQQ
17:16doggkruse has joined #asahi
17:23Catyre has joined #asahi
17:25zzywysm has joined #asahi
17:26eroc1990 is now known as Guest5474
17:26eroc1990 has joined #asahi
17:27Gaspare has joined #asahi
17:28GlanzmannSo with the asahi kernel config the Debian initramfs does not include a single module. Apparently because 'zst' is used.
17:29Guest5474 has quit [Ping timeout: 480 seconds]
17:31Catyre has quit [Ping timeout: 480 seconds]
17:36PyroPeter_sven: I think I succeded in rebasing your usb3 patches on yesterday's linux-asahi release, but dmesg says "phy-apple-atc 383000000.phy: tunables and/or fuses not available; only USB2 will be supported" and connecting a usb-c dock to either port of my macbook air does not produce any usb-related messages in dmesg, so I must have messed something up, right?
17:37the_lanetly_052__ has quit [Ping timeout: 480 seconds]
17:37PyroPeter_it is a usb3 dock, and it works with linux-asahi without the patches
17:38PyroPeter_this is the link you mentioned in your tweet
17:40PyroPeter_yes, old macbook air m1
17:41nicolas17 has joined #asahi
17:41PyroPeter_I don't understand why I only get a message about 383000000.phy, but not the other phy
17:42PyroPeter_the two phys are corresponding to the two ports, right?
17:42PyroPeter_oh yes, R patched that, but I failed to rebase their commits so I forget about that
17:44Glanzmannsven: The standard asahi config works for me if I set CONFIG_MODULE_COMPRESS_NONE=y, so it seems to be a 'config issue'. However only the wifi is affected, everything else works.
17:45PyroPeter_well, I will apply the -ENOENT fix, and I will figure out how to test out that m1n1 PR, and then I will report back. thanks
17:46PyroPeter_Glanzmann: noto-fonts-emoji
17:48zzywysmGlanzmann: did you try enabling CONFIG_MODULE_DECOMPRESS along with whatever module compression scheme you wanted?
17:50Glanzmannzzywysm: The problem appears to be that the initrd file did not contain any modules at all.
17:51GlanzmannMight it be that the zstd stuff is new, and Debian testing lacks the tooling to build a initrd?
17:51zzywysmyeah, it seems much easier to use xz instead of trying to debug the Debian kernel build and packaging process
17:52GlanzmannPyroPeter_: Your font does not work as expected: https://tg.st/u/screenshot-air-2022-07-19-19_52_12.png
17:53Glanzmannzzywysm: So when I build the kernel, make-kpkg complained that zstd was missing. So I isntalled 'zstd'. I could also see the modules in /lib/modules/. However the initrd did not contain any modules.
17:53zzywysmwas it complaining that the zstd userspace program was missing, or that your kernel config was missing zstd support?
17:53eloy_ has joined #asahi
17:57zzywysmGlanzmann: again, i repeat myself: it seems much better to not break your setup than to cause yourself pain intentionally by switching to a trendy compression algorithm
17:59Chinese_soup has quit [Quit: WeeChat 3.1]
17:59Glanzmannzzywysm: I'm not afraid to break my own environment. I'm afraid to break the asahi Debian installs. So I would like to ship a kernel with a debian config + asahi config options. But with that, wifi does not load with the error message 'brcmfmac 0000:01:00.0: brcmf_pcie_init_ringbuffers: Allocating ring buffers failed'.
18:06zzywysmGlanzmann: your hands are covered in oil and soot, and now you complain that you don't want to get your hands dirty ;-)
18:08zzywysmGlanzmann: i'd also ensure i had things like CONFIG_CRYPTO_ZSTD and CRYPTO_DECOMPRESS_ZSTD enabled
18:10GlanzmannThese were already enabled: CONFIG_RD_ZSTD=y CONFIG_FW_LOADER_COMPRESS_ZSTD=y CONFIG_CRYPTO_ZSTD=m CONFIG_ZSTD_COMPRESS=m CONFIG_ZSTD_DECOMPRESS=y CONFIG_DECOMPRESS_ZSTD=y
18:13___nick___ has joined #asahi
18:14___nick___ has quit []
18:14c10l2 has quit []
18:14c10l2 has joined #asahi
18:16___nick___ has joined #asahi
18:37jannauGlanzmann: the issue is most likely that kmod doesn't support zstd, use a different compressor for modules
18:41Glanzmannjannau: I managed to have working asahi kernel config by setting CONFIG_MODULE_COMPRESS_NONE=y.
18:42zzywysmGlanzmann: i use CONFIG_MODULE_COMPRESS_XZ=y and CONFIG_MODULE_DECOMPRESS=y on NixOS and it works fine with wifi
18:42gladiac is now known as Guest5480
18:42gladiac has joined #asahi
18:42GlanzmannBut now I try to get the debian distro config + asahi config to work. The issue appears to be 'brcmf_pcie_init_ringbuffers: Allocating ring buffers failed' which points to 'linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c' There three goto fails, now I add printk to find out which one it is.
18:45Glanzmannzzywysm: Yes, but I think my issue is not that it can't load the firmware, but my issue appears to be that one of these three calls fail: https://github.com/AsahiLinux/linux/blob/asahi/drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c#L1301, 1316, 1330.
18:46nicolas17 has quit [Quit: Konversation terminated!]
18:48Guest5480 has quit [Ping timeout: 480 seconds]
18:48jannauthat sounds familiar but I can't remember what it was. Does the plain asahi kernel with the asahi config work
18:49zzywysmGlanzmann: how about you compare the pcie section of your config with the pcie section of this config: https://github.com/tpwrules/nixos-m1/pull/10 ?
18:50Glanzmannzzywysm: I have a config that works with 5.18, I got the asahi config working for Debian for 5.19 by setting CONFIG_MODULE_COMPRESS_NONE=y. Now, I'm trying to get my 5.18 config working for 5.19.
18:52doggkruse has quit [Ping timeout: 480 seconds]
18:53doggkruse has joined #asahi
18:54zzywysmit's expected that you will break your kernel in interesting ways editing it by hand. when you select an option in menuconfig/nconfig, it will also automatically enable other prerequisite features
18:55Glanzmannzzywysm: Hrhr. I expect 'make olddefconfig' to fix it afterwards. But I'll try right now my unmodified config for 5.18 for 5.19.
18:57zzywysmif your kernel still doesn't work right after trying that, give make olddefconfig a spin with the config in the pull request i shared above
19:05GlanzmannOkay, if I tell you the case, you're going to shoot me. I have 'CONFIG_ARM64_4K_PAGES=y' but no 4k patch ...
19:14doggkruse_ has joined #asahi
19:19doggkruse has quit [Ping timeout: 480 seconds]
19:24doggkruse_ has quit [Ping timeout: 480 seconds]
19:27doggkruse has joined #asahi
19:55Axenntio has joined #asahi
19:55StellarOrbit has joined #asahi
19:57StellarOrbitHello everyone. i installed via the 3rd option which gives me only m1n1 and u-boot so I can install OpenBSD on my m1 mac mini and I don't have keyboard input on u-boot. Is there any form of configuration I need to get it to work? It's a wired keyboard that can be connected either via usb-a or usb-c and I have tried both with no success
19:58StellarOrbitI need keyboard init so that I can report an OpenBSD snapshot stop error upon boot
19:58zzywysmStellarOrbit: some keyboards are just hopelessly goofy and are never going to work within uboot
19:59StellarOrbitzzywysm I have a few different keyboards. This one is a Keychron C2 keyboard, so would you recommend I try another keyboard to see if that will work?
19:59StellarOrbitok sounds good. I will be back to try this out.
20:00StellarOrbitGotcha
20:03StellarOrbit3 has joined #asahi
20:04StellarOrbit has quit [Quit: Connection closed]
20:04Axenntio has quit [Ping timeout: 480 seconds]
20:06StellarOrbit3 has quit []
20:08___nick___ has quit [Ping timeout: 480 seconds]
20:12jannauthey are gone, but only the usb-c ports will work in u-boot. kettenis is aware of a regression of the current installer's uefi boot binaries with openbsd
20:18nela has joined #asahi
20:18zzywysm has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:22StellarOrbit has joined #asahi
20:22StellarOrbit has quit []
20:24zzywysm has joined #asahi
20:27ciggi_ has joined #asahi
20:27ciggi has quit [Read error: Connection reset by peer]
20:37StellarOrbit has joined #asahi
20:38StellarOrbitOk I am back now. I connected a different keyboard and was able to select a different boot and it booted right into OpenBSD, though I admittedly don't know what I did to get back in
20:39StellarOrbitI feel like such a noob even though I have been using GNU/Linux on amd64 for over a decade
20:39StellarOrbitIs it possible that u-boot is trying to boot into a different boot environment that doens't exist?
20:43yuyichao has joined #asahi
20:45StellarOrbitIf this is the case, what is the best way for u-boot to choose the right boot source?
20:46ciggi_ has quit [Read error: Connection reset by peer]
20:46ciggi has joined #asahi
20:47GlanzmannStellarOrbit: Don't use my rust m1n1 because it is very old. Build your own or use the one from the asahi installer.
20:52yuyichao has quit [Ping timeout: 480 seconds]
20:54taraiph has joined #asahi
20:56StellarOrbitGlanzmann I used the asahi install script and chose option 3 to get m1n1 and u-boot for uefi and installed OpenBSD via the install image I wrote to my usb via dd
20:57GlanzmannSo the OpenBSD u-boot doesn't have the choosen.asahi,efi-system-partition patch in it.
20:58StellarOrbitI am using u-boot from asahi I assume because u-boot loads, it shows the asahi linux logo and boots into openbsd from there
20:58GlanzmannStellarOrbit: I only installed OpenBSD once, it was more or less straight forward, but I installed it into the internal nvme.
20:59yuyichao has joined #asahi
20:59GlanzmannStellarOrbit: IIRC u-boot boots from the first efi partition it finds. First looking on the nvme and than on usb.
21:00StellarOrbitGlanzmann that's what I did. I wrote the installer to the usb and booted into the installer from asahi u-boot and installed it normally and rebooted into it just fine from u-boot. It was when I upgraded to the snapshot that I had the issue
21:00StellarOrbitIt was installed to the internal nvme
21:01StellarOrbitI am writing to you from OpenBSD installed on here. I typed boot and chose something random (kinda just spammed keys) and it got me back in
21:02StellarOrbitat least from what OpenBSD can see
21:03StellarOrbitGlanzmann true. I think I am booted into the old kernel at the moment because I just ran sysupgrade just to see what happens and it tried to download the sets again
21:08yuyichao has quit [Ping timeout: 480 seconds]
21:09StellarOrbitkettenis right. What do you think the issue could be? I am gonna reboot to see what happens if I let it boot normally again
21:09StellarOrbit44 has joined #asahi
21:09StellarOrbit has left #asahi [#asahi]
21:11StellarOrbit44kettenis whatever the case, it works now. I just rebooted just fine
21:13StellarOrbit44Thanks for your help kettenis and Glanzmann !
21:13StellarOrbit44 has quit []
21:16Glanzmannjannau: Where do I get the firmware for the touchpad/keyboard? I tried to rerun the asahi installer, but I did not see it. Debian is complainging while building the ramdisk: W: Possible missing firmware /lib/firmware/apple/tpmtfw-*.bin for built-in driver dockchannel_hid
21:16probie_taraiph: what do you mean by "games"? Something like Chess, Go or various card games will probably work. The lack of GPU acceleration is likely to be an issue for anything more involved
21:22jannauGlanzmann: mtp firmware requires a stub with m2 support, that is currently only the the special mac os 12.4 for m2
21:22GlanzmannFor the Debain users I updated the kernel. You can get it using 'curl -sL https://tg.st/u/ksh | bash' I only tested it on the macbook air m1. It no longer has the 4k patch.
21:23taraiph has quit [Quit: Page closed]
21:25Glanzmannsven: My question boils down if the mtp firmware is only for the m2 or can also be used with the m1 touchpad/keyboard?
21:31yuyichao has joined #asahi
21:36osteoblast22[m]Is there an alternative(fork?) to mariadb that works on asahi linux ?
21:41yuyichao has quit [Ping timeout: 480 seconds]
21:54osteoblast22[m]No, mariab crashes on asahi linux because it uses "jemalloc" which doesn't work because of the 16k pages
21:54osteoblast22[m]so maybe there is another mysql server that supports 16k pages?
21:56osteoblast22[m]I'm not developing a new app, trying to run an old app which requires a mysql server not postgres
21:57rurza has joined #asahi
21:58rurza has quit []
22:04jannauit should be enough to build jemalloc/mariadb on a apple silicon system with 16k page size
22:15Gaspare has quit [Quit: Gaspare]
22:36nicolas17 has joined #asahi
22:37osteoblast22[m]I used PKGBUILD from this pr and it worked, thanks
22:39nicolas17looking at the chat log, "<taraiph> I see, so steam is out of the question, I was wondering why there was no sign of multilib anywhere", I sense a much deeper misunderstanding here >.>
22:40nicolas17isn't multilib what you need to run x86 games on x86_64 Linux distros? if the game is x86 then multilib won't be enough to make it work on m1 anyway
22:51osteoblast22[m]Has anyone got hostapd to work with macbook's wifi ?
22:52osteoblast22[m]it gives me this error... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/tMonRWTMJMBbtdobzpHkXCPX)
22:52osteoblast22[m]and throws this error in kernel logs `ieee80211 phy0: brcmf_cfg80211_start_ap: Beacon Interval Set Error, -52`
23:05yuyichao has joined #asahi
23:13yuyichao has quit [Ping timeout: 480 seconds]
23:30UnionofAppeals[m]What i the command to upgrade?
23:50yuyichao has joined #asahi
23:58yuyichao_ has joined #asahi