#
…

2022-03-03

00:13milek7 has quit [Server closed connection]
00:13milek7 has joined #asahi
01:08bluetail[m]Glanzmann: Regarding the backup. Don't do it via TimeMachine.
01:08bluetail[m]Instead, use software like CarbonCopyCloner or SuperDuper!
01:08bluetail[m]I had so many issues with the TimeMachine Service as of late.
01:10bluetail[m] * Glanzmann: Regarding the backup. Don't do it via TimeMachine.... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/DtEgpMVFWstmHmmESEtbqyym)
01:14sarucchi has joined #asahi
01:15bluetail[m]<kode54> "I'm not mad about not having..." <- Agreed. Going for the 10GE version is not making sense at the moment
01:23kode54are either of those backup apps compatible with APFS and a machine that requires the internal drive to be bootable to boot anything else anyway?
01:35chadmedmaking a tarball of your home folder is ;)
01:57yuyichao has quit [Ping timeout: 480 seconds]
01:57bluetail[m]<kode54> "are either of those backup..." <- bootable backups are lost since m1
01:57bluetail[m]You cant have those afaik
02:42dost^ has quit [Remote host closed the connection]
02:42tpw_rulesi wish i had 10gbe at work
02:45tpw_ruleshas pcie in u-boot been fixed yet
02:53opticronhuh...the keyboards on the M1 mac laptops are a bit disappointing
02:55bluetail[m]I have the m1 mini :D
02:57opticronmy 14" M1M arrived today
02:58chadmedi think the keeb is great for a laptop
03:04kode54I don't have fast enough internet to appreciate 10gbit
03:04kode54and I don't have fast enough storage in my storage machine to appreciate it either
03:17tpw_rulesnope it's not fixed
03:24opticronchadmed, I'm coming from a lenovo, so I'm spoiled
03:33phiologe has joined #asahi
03:36PhilippvK has quit [Ping timeout: 480 seconds]
03:42tpw_ruleschadmed: where was your kernel config again?
03:43chadmedhttps://github.com/chadmed/asahi-gentoosupport <- in the resources folder. gccconf and clangconf are the files you want
03:46bluetail[m]I have not yet transitioned as macOS serving as SMB share at the moment and it is in heavy use. All devices are being served from a USB 3 device. I think that is supported already, though.
03:46bluetail[m]I use the normal usb3 ports, not usb c
03:46chadmedno problem. keep in mind that almost everything is built as a module so you will need a gzipped initramfs. you can of course change this as you desire.
03:47tpw_rulesnixos does that anyway
03:48tpw_rulesdo you know about how long this takes to build?
03:49chadmedabout 3 minutes on my m1 pro
03:49tpw_rulesoh, so all that time is just extra drivers
03:50chadmedyeah ive ripped out basically everything that isnt present on the machines except drivers for usb network adapters
03:50chadmedand other usb support stuff for the generic device classes (mass storage, UAS, serial converter, etc)
03:50tpw_rulesand this is for all the machines, ostensibly
03:51chadmedyeah itll work on all machines, incl the 10gbps mac minis
03:51tpw_rulesdo those require firmware?
03:51chadmednot sure, but they use the aquantia module which i build in
03:51chadmeds/build in/build as module/
03:51tpw_rulesthe 1gbps need it for EEE
03:52chadmed1gbps should work too
04:02tpw_rulesi would suggest turning on more squashfs compression modes. nixos also happens to need CONFIG_AUTOFS4_FS
04:05chadmedyeah like i said i just ripped out everything that the machines dont need, in this repo its specifically things that the machines dont need to boot a "standard" gentoo install which does not use a squashfs
04:06chadmedmarcan's working on getting a nice full-fat distro-ready config tho so if you need tons of extra release engineering type stuff maybe wait for that
04:06tpw_rulesah. i was under the impression you would be doing that
04:06tpw_rulesor did you change your mind once he said he would
04:07chadmedi was planning on doing that today, but marcan said yesterday he was already on top of it
04:07chadmedyeah ^^
04:07tpw_rulesah okay, that's totally fine
04:09chadmedyeah sorry for the crossed wires
04:09mort_ has quit [Server closed connection]
04:10mort_ has joined #asahi
04:15Raqbit has quit [Server closed connection]
04:15Raqbit has joined #asahi
04:17Raito_Bezarius has quit [Server closed connection]
04:18Raito_Bezarius has joined #asahi
04:25pavan has quit [Ping timeout: 480 seconds]
04:27Misthios has quit [Server closed connection]
04:28Misthios has joined #asahi
04:36marvin24_ has joined #asahi
04:40marvin24 has quit [Ping timeout: 480 seconds]
04:57go4godvin has quit [Server closed connection]
04:57go4godvin has joined #asahi
04:57bluetail[m]Question out of curiousity: Has someone already benchmarked macOS monterey vs ArchLinux (Asahilinux) with the M1 ?
05:04chadmedwell the memory use is much lower :P
05:04chadmedthere hasnt been any real point considering we still do not as of yet have full use of the hardware from userspace
05:04tpw_rulesi found a while ago macOS was marginally faster at kernel building in a linux VM than bare metal nixos stuck at 2GHz
05:05tpw_ruleswith a 4K VM kernel and 16K bare metal kernel
05:05chadmedlike macos offloads a lot of stuff to the SEP, DCP, AGX, etc which not only frees up cpu cycles but also makes functions offloaded to that hardware much faster. it would not be a fair comparison doing "benchmarks" until that stuff is up and running
05:06tpw_rulesotoh macOS is hampered by 4K pages and a slow syscall interface
05:06ella-0[m] has quit [Server closed connection]
05:06ella-0[m] has joined #asahi
05:07chadmedwell it only goes into 4k pages on context switches that rely on it (when running rosetta code)
05:07tpw_rulesis that true?
05:07tpw_rulesi thought userspace was always 4K pages. i could be wrong
05:07chadmedalmost certain sven mentioned that at some point here
05:07sheepgoose has quit [Quit: Konversation terminated!]
05:15tpw_ruleshuh, you appear to be correct
05:15tpw_rulesmy mistake
05:19bluetail[m]My naive assumption is that a optimized archlinux running with m1 will outperform macOS
05:20chadmedyeah it will, eventually
05:20chadmedif youre using a very barebones fresh install with nothing on it but the base arch image and whatever benchmark you want to run and not using a DE, you will probably outpace macos even now
05:20chadmedbut thats not a like-for-like test
05:23fridtjof[m] has quit [Server closed connection]
05:23fridtjof[m] has joined #asahi
05:38melek89[m] has quit [Server closed connection]
05:38melek89[m] has joined #asahi
05:56rolodondo34934[m] is now known as rolodondo34[m]
06:06Gues__________________________ has joined #asahi
06:09Glanzmannmarcan: Here is the initial isntaller patch for Debian. I tested on the mini: https://tg.st/u/0001-Entry-for-Debian-bookworm.patch
06:09eroux has joined #asahi
06:10Glanzmannmarcan: This patch of povik who pinged you shortly after the last rebase, which is missing from the asahi tree. With that audio jack recording works on the 2020 models: https://tg.st/u/XKVZ.patch This is the last patch I have in debian build scripts which is not in the asahi branch.
06:12sarucchi has quit [Ping timeout: 480 seconds]
06:12bisko has quit [Read error: Connection reset by peer]
06:13bisko has joined #asahi
06:34Glanzmannbluetail[m]: I don't have anything on my workstation I don't have somewhere else.
06:34Glanzmannbluetail[m]: I use restic for backups these days, but since I don't have any data that I don't have somewhere else, I don't do backups of my workstations/laptops.
06:41bluetail[m]<Glanzmann> "bluetail: I use restic for..." <- How does that work? What about email accounts, paths to network drives, password containers, addon configurations for the browser ... et cetera?
06:42bluetail[m]I dont want to re-enter my config when re-installing or whatever.
06:42bluetail[m]Do you have services and the likes all self hosted and exposed to wherever you are?
06:43sheepgoose has joined #asahi
06:44Glanzmannbluetail[m]: Then restic is not for you.
06:45Glanzmannbluetail[m]: When I get a box I do three things: optional configure email/calendar, get my gpg keys, extract my unix environment, configure firefox. Sometimes clone some git repositories.
06:46bluetail[m]lets move to #_oftc_#asahi-offtopic:matrix.org
06:46Glanzmannbluetail[m]: restic is a go binary that allows you to backup file trees on windows, macos and unix. You can backup to anywhere (object storage, ssh, filesystem). Backups are encrypted and deduped. Multiple machines can backup to the same repository.
06:55alicela1n has quit [Server closed connection]
06:55alicela1n has joined #asahi
07:02the_lanetly_052__ has quit [Ping timeout: 480 seconds]
07:03sheepgoose has quit [Ping timeout: 480 seconds]
07:16le0n_ has joined #asahi
07:23le0n has quit [Ping timeout: 480 seconds]
07:34The_DarkFire_[m] has quit [Server closed connection]
07:34The_DarkFire_[m] has joined #asahi
07:34le0n has joined #asahi
07:36cyb3rn3rd[m] has quit [Server closed connection]
07:36cyb3rn3rd[m] has joined #asahi
07:39le0n_ has quit [Ping timeout: 480 seconds]
07:50mlq_ has quit [Server closed connection]
07:50mlq_ has joined #asahi
07:52sheepgoose has joined #asahi
08:02gabuscus has quit [Server closed connection]
08:02gabuscus has joined #asahi
08:17MajorBiscuit has joined #asahi
08:17gladiac has quit [Server closed connection]
08:18gladiac has joined #asahi
08:24David[m]1234bluetail Also TimeMachine doesn't backup /Library/savedApplicationStates/ (the resume feature) anymore
08:25therealminzii[m] has quit [Server closed connection]
08:25therealminzii[m] has joined #asahi
08:34Sellerie has quit [Server closed connection]
08:34Sellerie has joined #asahi
08:37Mrmaxmeier has quit [Server closed connection]
08:37Mrmaxmeier has joined #asahi
08:41thebigbossch[m] has quit [Server closed connection]
08:41thebigbossch[m] has joined #asahi
08:55gruetzkopf has quit [Server closed connection]
08:55gruetzkopf has joined #asahi
09:34Major_Biscuit has joined #asahi
09:35MajorBiscuit has quit [Read error: No route to host]
09:38gladiac is now known as Guest1121
09:38gladiac has joined #asahi
09:39eroux_ has joined #asahi
09:39bisko has quit [Read error: Connection reset by peer]
09:40bisko has joined #asahi
09:43eroux has quit [Ping timeout: 480 seconds]
09:44Guest1121 has quit [Ping timeout: 480 seconds]
10:00tomtastic has quit [Read error: Connection reset by peer]
10:02tomtastic has joined #asahi
10:16Major_Biscuit has quit []
10:21MajorBiscuit has joined #asahi
10:58Latrina_ has joined #asahi
10:58Latrina has quit [Read error: Connection reset by peer]
10:58Latrina_ is now known as Latrina
11:32the_lanetly_052__ has joined #asahi
11:34zimsneexh has joined #asahi
11:36zimsneexhIs it known that the kernel from the Archlinux image the installer currently installs has issues with the nvme module? I only get a rescue shell after trying the installer, no nvme devices in /dev/
11:36zimsneexhs/known/a known issue
11:43_jannau_yes: "FYI: distro image is currently mildly broken, do not use. going to sleep, I'll fix it up tomorrow."
11:43zimsneexhah, alright, makes sense
11:44j`eyI spoke to marcan this morning, he's going to be busy today (or maybe next few days even)
12:04Glanzmannzimsneexh: The Debian image works, at least when I tried: curl -sL tg.st/u/bootstrap.sh | bash
12:05GlanzmannThat is the asahi installer with an additional entry for Debian Linux.
12:07zimsneexhIs that debian stable or the unstable one.. sid iirc?
12:11GlanzmannIt is Debian unstable.
12:11Glanzmannsorry, testing. So bookworm.
12:12Glanzmannzimsneexh: I can do a Debian stable, but if I do the same, we need to bump at least one package (libinput) to make the trackpad work for the notebooks.
12:12Glanzmannzimsneexh: In the Debian images that I built it is plain Debian with one additional package: the kernel.
12:16maxkofler has joined #asahi
12:16zimsneexhGlanzmann: I'll give testing a shot, then.
12:17zimsneexhIs there an apt-repo for the kernel packages?
12:18Glanzmannzimsneexh: At the moment not, but I'll add one soon.
12:18Glanzmannzimsneexh: The latest kernel you can get at the moment always from tg.st/u/k.deb
12:19zimsneexhGlanzmann: Alright, got it. Going to give it a try
12:19maxkoflerHi, is it possible that the asahi install script does not provide the devicetrees for the M1 Pro? I tried installing it on my MBP 14 (t6000-j314s) and m1n1 complained that it found a kernel, but no devicetree. After building m1n1 with u-boot from scratch and inserting the devicetrees from the asahi linux kernel tree, it boots. Is this wanted or not?
12:19GlanzmannIf you want to build everything yourself, this is the script I use to build everything. It works under amd64 and arm64 stable and testing: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/blob_plain/refs/heads/master:/bootstrap.sh
12:19Glanzmannmaxkofler: Yes, it is currently not included.
12:19j`ey maxkofler: yes the installer doesnt yet
12:20Glanzmannmaxkofler: You can get a m1n1/dtb/u-boot binary for the time being from here: tg.st/u/u-boot.macho
12:21GlanzmannThis has the device trees for all models. And is taken from marcans github branch.
12:21maxkoflerThanks! Reading the conversation with zimsneexh, I noticed that after the fix I made to m1n1, the newest kernel boots without any problems, infact I am currently writing from my asahilinux
12:22Mrmaxmeier has quit [Quit: The Lounge - https://thelounge.chat]
12:22Mrmaxmeier has joined #asahi
12:25zimsneexhGlanzmann: Does that script build the root image for use with the installer or the whole installer?
12:26maxkofler has quit [Remote host closed the connection]
12:26Glanzmannzimsneexh: This script does the following things: kernel, m1n1, u-boot, live stick, debian installer, my debian installer, asahi installer image.
12:27GlanzmannIt takes 5 minutes on a ryzen when crosscompiling and a warmed up ccache.
12:28GlanzmannThis is the output of the run from last night: https://pbot.rmdir.de/fyelMgGN0Aw-UOKlYiL4HQ
12:29maxkofler has joined #asahi
12:32zimsneexhOkay, i'll give building it a try in a bit. Would it be difficult to change from unstable to stable as a base?
12:37yuyichao has joined #asahi
12:38GlanzmannThat is for everything but the official debian installer, because that one cancels if it can't find grub.
12:39zimsneexhGlanzmann: Does the script you sent me install a live image? Since the hostname is "live"
12:39bisko has quit [Read error: Connection reset by peer]
12:40bisko has joined #asahi
12:41Glanzmannzimsneexh: As I said it does multiple things, including a live image.
12:42GlanzmannThe hostname is set in the installer images and live to 'live'.
12:42zimsneexhI ment this one: tg.st/u/bootstrap.sh
12:42Glanzmannzimsneexh: So this script is the official asahi installer.
12:43GlanzmannIn order to run this script, you need to have free space, run it on macos or 1tr.
12:43j`eyto be clear, the unofficial debian asahi installer!
12:44zimsneexhI know, i already installed it. The quickstart.txt however talks about debootstrap so i was wondering if this is now actually an installed version of the distro or running of off a squashfs or something.
12:44Glanzmannzimsneexh: If you have installed it, you're done.
12:44Glanzmannset a root password: passwd root; pwconv
12:44zimsneexhokay, thought so. The hostname is kind of confusing haha
12:44Glanzmannvim /etc/wpa/wpa_supplicant.conf
12:45Glanzmannzimsneexh: Out of curiosity, on which m1 machine did you isntall it? Have you tried rebooting?
12:45GlanzmannIs the /etc/fstab there?
12:45GlanzmannDoes wifi work?
12:46Glanzmannzimsneexh: You can set a new hostname by editing these two files /etc/hostname /etc/hosts
12:47zimsneexhGlanzmann: Yep, wifi does work. It's j313, macbook air m1
12:47GlanzmannI see, same as I have.
12:48Glanzmannzimsneexh: The quickstart.txt is the same for all variants.
12:48GlanzmannMaybe I should change the quickstart.txt and also set another hostname.
12:50amarioguy has joined #asahi
12:52maxkofler has quit [Remote host closed the connection]
12:57zimsneexhGlanzmann: You don't by chance know what package provides /usr/lib/dri/simpledrm_dri.so?
12:58Glanzmannof course I do,
13:00Glanzmanndpkg -S /usr/lib/dri/simpledrm_dri.so
13:00GlanzmannBut I don't see that file on my system and it doesn't seem to be in bookworm.
13:02zimsneexhhuh, odd. Sway seems to be looking for it
13:04maxkofler has joined #asahi
13:05linearcannon has quit [Read error: No route to host]
13:05Glanzmannzimsneexh: It might be that it flew out of Debian for a reason.
13:05linearcannon has joined #asahi
13:06Glanzmannzimsneexh: But you can find such things by doing: apt-get install apt-file; sudo apt-file update; apt-file search <string>
13:10zimsneexhThats a helpful tool, but still cant find anything. Odd.
13:10_jannau_I would be surprised if simpledrm_dri.so exists
13:12_jannau_I would not expect a DRI userspace driver for simpledrm
13:15maxkofler has quit [Quit: Page closed]
13:15TramtristOn slackware I found a similar file as part of the kernel source.. but thats it
13:18VinDuvMaybe something is hardcoded to try loading <current video driver>_dri.so…
13:19GlanzmannVinDuv: Yeah, probably X searching for a driver that does not exist.
13:21mpsswrast is activated for xorg in machine
13:21zimsneexhX does work. It's just sway that doesn't.
13:22Glanzmannzimsneexh: I see, should I build you a 4k kernel?
13:23maxkofler_ has joined #asahi
13:23mpssway also should, but I didn't tried
13:23GlanzmannAnd you can try with this?
13:23GlanzmannI also heard that sway works.
13:23maxkofler_I tried, sway works flawlessly
13:24maxkofler has joined #asahi
13:27zimsneexhI remember it working too, so i don't think its related to page size.
13:27zimsneexhGlanzmann: Have you tried sway on your debian image?
13:28GlanzmannNo, but I heard of others using it.
13:28Glanzmannzimsneexh: What did you do to try it?
13:28maxkofler has quit [Remote host closed the connection]
13:28maxkofler has joined #asahi
13:29Glanzmannmaxkofler: Are you on Debian testing as well?
13:30maxkofler_I'm on arch
13:30maxkofler_should I try on debian?
13:30maxkofler_ has quit [Quit: Page closed]
13:31GlanzmannIf you want, you can do that.
13:33maxkofler_ has joined #asahi
13:33kgarrington has joined #asahi
13:35kgarrington has quit [Remote host closed the connection]
13:36maxkofler_Glanzmann: I can try later maybe, just don't know if I want to go through the hassle of fixing m1n1 again...
13:39Glanzmannmaxkofler_: I see, why don't you use u-boot?
13:40GlanzmannThis binary works, tg.st/u/u-boot.macho
13:40GlanzmannCurrent m1n1, u-boot, and all dtbs.
13:40GlanzmannI can also try it on my mini.
13:41maxkofler_Sorry, I meant the hassle rebuilding u-boot with the devicetrees for j314s
13:41maxkofler has quit [Read error: Connection reset by peer]
13:42maxkofler has joined #asahi
13:43maxkofler has quit []
13:43maxkofler_ has quit [Remote host closed the connection]
13:43maxkofler has joined #asahi
13:43GlanzmannBut if sway works in arch, it probably also works in Debian.
13:44maxkoflerI would imagine it would
13:49maxkofler has quit [Remote host closed the connection]
13:49maxkofler has joined #asahi
13:59amarioguy has quit [Ping timeout: 480 seconds]
14:00amarioguy has joined #asahi
14:28maxkofler has quit [Quit: Page closed]
14:29MajorBiscuit has quit [Ping timeout: 480 seconds]
14:30MajorBiscuit has joined #asahi
14:47yuyichao has quit [Ping timeout: 480 seconds]
14:59yuyichao has joined #asahi
15:00off^ has joined #asahi
15:01the_lanetly_052___ has joined #asahi
15:07the_lanetly_052__ has quit [Ping timeout: 480 seconds]
15:17amarioguy has quit [Ping timeout: 480 seconds]
15:20pavan has joined #asahi
16:10amarioguy has joined #asahi
16:19amarioguy has quit [Remote host closed the connection]
16:27maxkofler has joined #asahi
16:39maxkofler has quit [Ping timeout: 480 seconds]
16:40amarioguy has joined #asahi
16:40maxkofler has joined #asahi
16:44Major_Biscuit has joined #asahi
16:45maxkofler has quit [Read error: Connection reset by peer]
16:45MajorBiscuit has quit [Ping timeout: 480 seconds]
16:48amarioguy has quit [Ping timeout: 480 seconds]
16:49maxkofler has joined #asahi
16:56maxkofler has quit [Read error: Connection reset by peer]
17:01maxkofler has joined #asahi
17:06maxkofler has quit [Read error: Connection reset by peer]
17:06maxkofler has joined #asahi
17:09steffen[m]Hey, I've had a manually installed u-boot + linux setup and just tried the new installer. It has an error while detecting my recovery partition https://pastebin.com/raw/CM9666Mc
17:10maxkofler has quit [Read error: Connection reset by peer]
17:10steffen[m]Did I somehow delete it while deleting my linux partition?
17:11tpw_rulesno, you have all the partitions
17:22sheepgoose has quit [Remote host closed the connection]
17:23maxkofler has joined #asahi
17:26maxkofler has quit []
17:26zimsneexh has quit [Ping timeout: 480 seconds]
17:28zimsneexh has joined #asahi
17:36bisko has quit [Read error: Connection reset by peer]
17:37bisko has joined #asahi
17:43nico_32steffen[m]: I think your Recovery volume doesn't have the Recovery role
17:43nico_32can you do diskutil apfs list -plist ?
17:48amarioguy has joined #asahi
17:49j`eyseems to have the role
17:53steffen[m]disk0s6 doesn't show up there since it's not an apfs container?
17:53nico_32diskutil info -plist disk0s6 ?
17:57the_lanetly_052___ has quit [Ping timeout: 480 seconds]
18:03* nico_32try to understand the logic in diskutil.py
18:04nico_32 self.ctnr_by_store["disk0s6"]["Volume"] is probably None
18:06nico_32ctnr_by_store is created in get_apfs_list
18:07nico_32so get_apfs_list on disk0
18:08nico_32could you do apfs listVolumeGroups disk1 -plist
18:12nico_32yes, nothing in VolumeGroups
18:15nico_32probably need a sanity check in diskutil.py:get_partition_info
18:15nico_32something like
18:15nico_32if part.container is None:
18:15nico_32part.container = []
18:16nico_32part.container["Volumes"] = []
18:16nico_32logging.debug(f"{part.name} doesn't have any Volumes")
18:24steffen[m]I'll try that
18:25Major_Biscuit has quit [Ping timeout: 480 seconds]
18:25yuyichao_ has joined #asahi
18:29yuyichao has quit [Ping timeout: 480 seconds]
18:30marcanpushed a new installer and packages that are hopefully less broken. should have t6000 DTBs now, kernel smoke tested on that, haven't actually tested the installer itself since last time :-)
18:31marcanthe new kernel is a "proper" distro kernel (ish), and almost everything is a module
18:31tpw_rulesmind if i steal it for nixos
18:31marcant8103 might explode with nvme and/or USB due to power domain shenanigans interacting with modules, haven't tested it there yet :)
18:31marcantpw_rules: sure, feel free to grab the config, it's all in the git
18:32tpw_rulesit still says last commit is 11 days ago
18:32marcanrefresh :p
18:33tpw_rulesthere we go, thanks
18:34marcanlet me know if anyone wants any config options that are missing. actually, come to think of it, I don't recall if I checked that the 10GbE chip driver is in there
18:34marcanbut most usb/media stuff and the like that people might want to use externally should be there
18:34tpw_rulesCONFIG_SQUASHFS_ZSTD would be nice
18:36marcanping me with anything, I'll check things tomorrow and add them (pinging me is fine, I mute my speakers when I go to bed, except sometimes I forget to mute my headphones and they're somewhat audible but I made sure this time :p)
18:36marcanactually do it in -dev
18:37j`eymarcan: are you asleep yet?
18:37j`eylol sorry, had to
18:37marcanI didn't hear it, but I saw it :p
18:38j`eymarcan: btw I used the installer for te first time yesterday, worked flawlessly!
18:38marcanstill need to add resizing and such, but it's almost there
18:39marcanand I also need a macsmc-hid driver for lid closure
18:39marcanand I think that's... it?
18:39marcanjust need to make the plasma image
18:41j`eynothing 'obvious' is coming to my mind that is missing
18:41tmlindlid closure can be worked around too initially :) seems very much usable already
18:43marcanmacsmc-hid is a trivial driver
18:44marcanand that also gives us power button
18:44jaxter184[m]thats really reassuring to hear, i was worried that a final release would still be a really long time away
18:44marcanI am *not* doing a polled GPIO for lid closure, that's ridiculous :p
18:44marcanjaxter184[m]: I think you mean *initial* release
18:44jaxter184[m]ah, yeah, that would be a better word :P
18:46marcanoh also: module refcounting is variously borked (due to, among other things, it not being implemented at all in the Linux SPMI subsystem as far as I can tell? not sure but...)
18:46marcanso rmmoding the wrong things in the wrong order will oops your kernel
18:46marcan"don't do that" etc ;)
18:46marcannot a blocker for most users
18:46jaxter184[m]is there a reason i shouldnt use liberapay
18:48nickorlow has joined #asahi
18:48marcanjaxter184[m]: sorry, should've closed that. it was never set up.
18:49marcandealing with too many payment processors is kind of annoying so I'd like to keep it to patreon/gh
18:49marcantax issues too etc
18:49marcananyway, off to sleep
18:49j`eyI just realised I never tried to close the lid when tracing SMC to see if that's how macOS turned it off
18:49tmlindmarcan: sure, i just use swayidle manually right now.. yup polling is not good :)
18:52joske has joined #asahi
18:53joskewith asahi kernel of today I got 1599/6685 on geekbench 5
18:53joskelast month it was only 1065/4883
18:53joskenot sure what made the difference
18:53joskebut before the CPUs were running full tilt all the time?
18:54j`eyonly 2Ghz
18:54joskeI think I had the patch for 3GHz
18:54joskeanyway, this is very close to macOS numbers :-)
18:54zimsneexhIs the new version of the installer already at https://mrcn.st/alxsh?
18:55zimsneexhGreat, i'll give it a try
19:00joskemarcan: lid support: what would it do? turn off the screen?
19:00marcanthat's up to userspace
19:00joskebut userspace doesn't know how to turn off the screen as far as I understand?
19:01marcanwe do have an interim gpio-backlight node
19:01Glanzmann has quit [Quit: EOF]
19:01clover[m]so to install asahi just run the installer??
19:02nickorlow has quit [Ping timeout: 480 seconds]
19:02marcanif you have to ask that question and haven't been following what we're doing all along, you probably shouldn't be installing it yet
19:02j`eyyou first have to resize the macOS partition
19:02j`eyor that
19:02clover[m]ok i will wait
19:03amarioguy has quit [Ping timeout: 480 seconds]
19:04steffen[m]Is this expected? FileNotFoundError: [Errno 2] No such file or directory: './os/asahi-base.zip'
19:04steffen[m]this was the reference distro option. m1n1 + u-boot seems to be doing more
19:04joskeI used that GPIO backlight once, had to SSH into the macbook to turn the screen back on :-D
19:05nico_32it should have downloaded asahi-base.zip
19:06j`eynico_32: did you run the installer?
19:06j`eydid you do it as your normal user?
19:06j`eythere seems to be an issue with sudo dropping env vars
19:08nico_32j`ey: steffen[m] is the one that have issue
19:08j`eynico_32: I know, just wondered if you had done it too!
19:08nico_32i don't have any m1 yet
19:08immychan[m]What does the new installer version do?
19:08j`eynico_32: ah
19:09joske has quit [Quit: Leaving]
19:12nico_32steffen[m]: what does the debug log say? maybe the download failed
19:13steffen[m]I'm deleting the partitions and trying again. I'm guessing It's about the env vars since i ran the install.sh manually (to try the diskutil change)
19:13mpsso, lid driver soon, for me only missing part is brightness control. hope it will be soon, but again I'm not in hurry
19:13j`eyah yeah, thats it
19:13j`eysteffen[m]: the installer sets up REPO_BASE, which install.sh uses
19:13zimsneexhsteffen[m]: Theres a wipelinux shell script, in case it's of any help
19:14nico_32the installer is alpha so it miss sanity check
19:18steffen[m]wow, the wipelinux might be useful but could use some sanity checking
19:19steffen[m]my macos is 402.5 gigs
19:19steffen[m]grep '2.5 GB'
19:20steffen[m]although i guess macos won't delete the running instance
19:22nico_32i am not sure about that
19:23nickorlow has joined #asahi
19:32steffen[m]well, i may have tried that by accident
19:33steffen[m]fails here: The volume "Preboot" on disk3s2 couldn't be unmounted because it is in use by process 0 (kernel)
19:34steffen[m]the installer now works with correct env :) thanks everyone
19:37nico_32with or without the patch in diskutil.py?
19:37steffen[m]with the patch
19:39nico_32so you can open a PR :)
19:42steffen[m]I'll do that
19:45zimsneexhAh, the installed Archlinux still fails to boot on my MBA. No /dev/nvme... for some reason
19:46zimsneexhlsmod does however show apple-nvme, i really can't think of why this would fail
19:47zimsneexhs/apple-nvme/nvme_apple
19:53zimsneexhAlso no logs of nvme in dmesg, i remember it being pretty verbose when i tried it directly built into the kernel
19:56___nick___ has joined #asahi
19:56___nick___ has quit []
19:58kit_ty_katemarcan: I tried the alxsh installer just now on my Macbook Air and the kernel crashed on boot with: « apple-pmgr-pwrstate ... power-managment:power-controller@...: PS apcie_st: Failed to reach power state 0xf (now 0xf00090f) »
19:58___nick___ has joined #asahi
19:59zimsneexhI get those same power-managment errors, also on macbook air.
19:59zimsneexhkit_ty_kate: Does it also drop you into a rescue shell?
20:00svenprobably needs a similar device tree fix for the power domains like the t6000
20:01j`ey"rcan> t8103 might explode with nvme and/or USB due to power domain shenanigans interacting with modules, haven't tested it there yet :)"
20:01kit_ty_katezimsneexh: yep
20:01kit_ty_katei missed that line
20:02kit_ty_kateI’m about to post the picture somewhere if that helps
20:02zimsneexhoh, so did I.
20:02zimsneexhI guess the assumption about it exploding were correct
20:02j`eyyou could take a look at 11d668fdb7b5859150d0d8531f61b595b2861c29 if you want to see if that works for t8103
20:05kit_ty_katej`ey: from which repo?
20:06zimsneexhDoes linux get the devicetree from u-boot?
20:06kit_ty_katej`ey: you mean try without it?
20:07j`eyI mean port it from t6000 to t8103
20:07kit_ty_kateoh! I didn’t notice it only changed t6000
20:07kit_ty_katemmh, I’ll try
20:11amarioguy has joined #asahi
20:15maxkofler has joined #asahi
20:17kit_ty_kateactually I’m out of energy rn, i need to get dinner. I might do it tomorrow if no-one tried or fixed it already
20:31maxkofler has quit [Remote host closed the connection]
20:35amarioguy has quit [Ping timeout: 480 seconds]
20:50nickorlow has quit [Ping timeout: 480 seconds]
21:01landscape15[m]I was wondering if distros will have to ship part of asahi code in order to sell their installer package
21:02landscape15[m]in theory, selling a build installer wouldn’t be a problem for them, with custom kernel and EFI.
21:02j`eythey will have to at least know about the wifi firmware
21:03landscape15[m]j`ey: But they still need to force people running asahi-installer to set the boot chain
21:04j`eysure, or replicate the same steps
21:05landscape15[m]So I guess it’s impossible a “just plug in the usb” kind of installer
21:05zimsneexhThe run a shell script from macos kind of installation seems much more convenient to me
21:06j`eythere probably is a way to do that
21:06j`eyby putting the installer shell script on a usb stick
21:07j`eybut it still has to download a bunch of stuff
21:07___nick___ has quit [Ping timeout: 480 seconds]
21:08landscape15[m]j`ey: I don’t think it’s legally possible to download part of macOS software with a single script, as distro can’t include Wi-Fi firmware stuff
21:09j`eysure, the script downloads some stuff from apple and grabs firmware from currently running computer
21:10j`eywill you ever be able to distribute a USB stick with everything on it: no
21:12landscape15[m]yeah also maintaining the code would be a problem
21:12landscape15[m]btw I think it’s better to keep asahi and Linux separated. The user installs asahi, and as with every other UEFI based computer, he runs whatever he needs from an external usb (or partition)
21:14j`eythats one of the installer options
21:15landscape15[m]j`ey: I have not seen its code recently. I’ll take a look
21:21nickorlow has joined #asahi
21:34nickorlow has quit [Ping timeout: 480 seconds]
21:37maxkofler has joined #asahi
21:37maxkofler has quit []
22:02kgarrington has joined #asahi
22:03user982492 has joined #asahi
22:04kgarrington has quit [Remote host closed the connection]
22:06user982492 has quit []
22:14pitust[m]you can do that legally
22:15pitust[m]put a magical file on the usb that makes the recovery run your .app
22:15pitust[m]have the .app be the installer
22:15pitust[m]that also pulls out the blobs from macos
22:17dottedmagStrong autorun.inf vibes
22:18pitust[m]it isn't autorun though
22:18pitust[m]you need to: (1) hold down power at boot (2) select that you want run the thing
22:18j`eypitust[m]: yeah, that's what I was suggesting, but I was saying you cant have installer that doesn't pull stuff from the cloud/machine
22:19dottedmagI know, physical presence assertion.
22:19pitust[m]j`ey: is the generic firmware not enough?
22:19pitust[m]idk about broadcom
22:19pitust[m]but i'd suspect there is some at least somewhat "generic" firmware
22:20tpw_rulestl;dr the arm ecosystem should move to "do whatever weird stuff your specific computer requires" + a generic UEFI image
22:20tpw_rulesand asahi with the "just install u-boot + grub" model fits that well
22:20j`eyif there was sure, but I dont think anyones found generic fw for it
22:22pitust[m]also, i have an extremely peculiar issue with my attempts to boot debian
22:22pitust[m]and actually, every kind of linux
22:23pitust[m]if it leaves the kernel, it doesn't do much in init
22:24tpw_ruleshow did you build your kernel?
22:25pitust[m]i tried once per the instrutions on the wiki
22:26pitust[m]clone the gh repo, cd, download the .config, make all -j8
22:26pitust[m]and once by using the kernel shipped in the rootfs from https://tg.st/u/m1.tgz
22:27pitust[m](i used the desktopkernel config)
22:27pitust[m]it's doing something, because pressing the touchid sensor/power button is causing printks
22:32lillywt[m] has joined #asahi
22:32nico_32_ has joined #asahi
22:36tpw_rulesso this is a bit of a long shot but does anyone have any friends in apple's store system? i can't get them to change my payment without canceling my order and waiting two more months for another one
22:37nico_32 has quit [Ping timeout: 480 seconds]
22:54sheepgoose has joined #asahi
23:16user982492 has joined #asahi
23:31linearcannon has quit [Read error: Connection reset by peer]
23:32linearcannon has joined #asahi
23:52linearcannon has quit [Max SendQ exceeded]
23:53linearcannon has joined #asahi
23:54pitust[m]nevermind, it works fine
…