marcan changed the topic of #asahi to: Asahi Linux: porting Linux to Apple Silicon macs | Not ready for end users / self contained install yet. Soon. | General project discussion | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Topics: #asahi-dev #asahi-re #asahi-gpu #asahi-stream #asahi-offtopic | Keep things on topic | Logs: https://alx.sh/l/asahi
milek7 has quit [Server closed connection]
milek7 has joined #asahi
<bluetail[m]> Glanzmann: Regarding the backup. Don't do it via TimeMachine.
<bluetail[m]> Instead, use software like CarbonCopyCloner or SuperDuper!
<bluetail[m]> I had so many issues with the TimeMachine Service as of late.
<bluetail[m]> * Glanzmann: Regarding the backup. Don't do it via TimeMachine.... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/DtEgpMVFWstmHmmESEtbqyym)
sarucchi has joined #asahi
<bluetail[m]> <kode54> "I'm not mad about not having..." <- Agreed. Going for the 10GE version is not making sense at the moment
<kode54> are either of those backup apps compatible with APFS and a machine that requires the internal drive to be bootable to boot anything else anyway?
<chadmed> making a tarball of your home folder is ;)
yuyichao has quit [Ping timeout: 480 seconds]
<bluetail[m]> <kode54> "are either of those backup..." <- bootable backups are lost since m1
<bluetail[m]> You cant have those afaik
dost^ has quit [Remote host closed the connection]
<tpw_rules> i wish i had 10gbe at work
<tpw_rules> has pcie in u-boot been fixed yet
<opticron> huh...the keyboards on the M1 mac laptops are a bit disappointing
<bluetail[m]> I have the m1 mini :D
<opticron> my 14" M1M arrived today
<chadmed> i think the keeb is great for a laptop
<kode54> I don't have fast enough internet to appreciate 10gbit
<kode54> and I don't have fast enough storage in my storage machine to appreciate it either
<tpw_rules> nope it's not fixed
<opticron> chadmed, I'm coming from a lenovo, so I'm spoiled
phiologe has joined #asahi
PhilippvK has quit [Ping timeout: 480 seconds]
<tpw_rules> chadmed: where was your kernel config again?
<chadmed> https://github.com/chadmed/asahi-gentoosupport <- in the resources folder. gccconf and clangconf are the files you want
<tpw_rules> thank you
<bluetail[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.
<bluetail[m]> I use the normal usb3 ports, not usb c
<chadmed> no 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.
<tpw_rules> nixos does that anyway
<tpw_rules> do you know about how long this takes to build?
<chadmed> about 3 minutes on my m1 pro
<tpw_rules> oh, so all that time is just extra drivers
<chadmed> yeah ive ripped out basically everything that isnt present on the machines except drivers for usb network adapters
<chadmed> and other usb support stuff for the generic device classes (mass storage, UAS, serial converter, etc)
<tpw_rules> and this is for all the machines, ostensibly
<chadmed> yeah itll work on all machines, incl the 10gbps mac minis
<tpw_rules> sweet
<tpw_rules> do those require firmware?
<chadmed> not sure, but they use the aquantia module which i build in
<chadmed> s/build in/build as module/
<tpw_rules> the 1gbps need it for EEE
<chadmed> 1gbps should work too
<tpw_rules> i would suggest turning on more squashfs compression modes. nixos also happens to need CONFIG_AUTOFS4_FS
<chadmed> yeah 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
<chadmed> marcan'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
<tpw_rules> ah. i was under the impression you would be doing that
<tpw_rules> or did you change your mind once he said he would
<chadmed> i was planning on doing that today, but marcan said yesterday he was already on top of it
<chadmed> yeah ^^
<tpw_rules> ah okay, that's totally fine
<chadmed> yeah sorry for the crossed wires
mort_ has quit [Server closed connection]
mort_ has joined #asahi
Raqbit has quit [Server closed connection]
Raqbit has joined #asahi
Raito_Bezarius has quit [Server closed connection]
Raito_Bezarius has joined #asahi
pavan has quit [Ping timeout: 480 seconds]
Misthios has quit [Server closed connection]
Misthios has joined #asahi
marvin24_ has joined #asahi
marvin24 has quit [Ping timeout: 480 seconds]
go4godvin has quit [Server closed connection]
go4godvin has joined #asahi
<bluetail[m]> Question out of curiousity: Has someone already benchmarked macOS monterey vs ArchLinux (Asahilinux) with the M1 ?
<chadmed> well the memory use is much lower :P
<chadmed> there hasnt been any real point considering we still do not as of yet have full use of the hardware from userspace
<tpw_rules> i found a while ago macOS was marginally faster at kernel building in a linux VM than bare metal nixos stuck at 2GHz
<tpw_rules> with a 4K VM kernel and 16K bare metal kernel
<chadmed> like 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
<tpw_rules> otoh macOS is hampered by 4K pages and a slow syscall interface
ella-0[m] has quit [Server closed connection]
ella-0[m] has joined #asahi
<chadmed> well it only goes into 4k pages on context switches that rely on it (when running rosetta code)
<tpw_rules> is that true?
<tpw_rules> i thought userspace was always 4K pages. i could be wrong
<chadmed> almost certain sven mentioned that at some point here
sheepgoose has quit [Quit: Konversation terminated!]
<tpw_rules> huh, you appear to be correct
<tpw_rules> my mistake
<bluetail[m]> My naive assumption is that a optimized archlinux running with m1 will outperform macOS
<chadmed> yeah it will, eventually
<chadmed> if 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
<chadmed> but thats not a like-for-like test
fridtjof[m] has quit [Server closed connection]
fridtjof[m] has joined #asahi
melek89[m] has quit [Server closed connection]
melek89[m] has joined #asahi
rolodondo34934[m] is now known as rolodondo34[m]
Gues__________________________ has joined #asahi
<Glanzmann> marcan: Here is the initial isntaller patch for Debian. I tested on the mini: https://tg.st/u/0001-Entry-for-Debian-bookworm.patch
eroux has joined #asahi
<Glanzmann> marcan: 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.
sarucchi has quit [Ping timeout: 480 seconds]
bisko has quit [Read error: Connection reset by peer]
bisko has joined #asahi
<Glanzmann> bluetail[m]: I don't have anything on my workstation I don't have somewhere else.
<Glanzmann> bluetail[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.
<bluetail[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?
<bluetail[m]> I dont want to re-enter my config when re-installing or whatever.
<bluetail[m]> Do you have services and the likes all self hosted and exposed to wherever you are?
sheepgoose has joined #asahi
<Glanzmann> bluetail[m]: Then restic is not for you.
<Glanzmann> bluetail[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.
<bluetail[m]> lets move to #_oftc_#asahi-offtopic:matrix.org
<Glanzmann> bluetail[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.
alicela1n has quit [Server closed connection]
alicela1n has joined #asahi
the_lanetly_052__ has quit [Ping timeout: 480 seconds]
sheepgoose has quit [Ping timeout: 480 seconds]
le0n_ has joined #asahi
le0n has quit [Ping timeout: 480 seconds]
The_DarkFire_[m] has quit [Server closed connection]
The_DarkFire_[m] has joined #asahi
le0n has joined #asahi
cyb3rn3rd[m] has quit [Server closed connection]
cyb3rn3rd[m] has joined #asahi
le0n_ has quit [Ping timeout: 480 seconds]
mlq_ has quit [Server closed connection]
mlq_ has joined #asahi
sheepgoose has joined #asahi
gabuscus has quit [Server closed connection]
gabuscus has joined #asahi
MajorBiscuit has joined #asahi
gladiac has quit [Server closed connection]
gladiac has joined #asahi
<David[m]1234> bluetail Also TimeMachine doesn't backup /Library/savedApplicationStates/ (the resume feature) anymore
therealminzii[m] has quit [Server closed connection]
therealminzii[m] has joined #asahi
Sellerie has quit [Server closed connection]
Sellerie has joined #asahi
Mrmaxmeier has quit [Server closed connection]
Mrmaxmeier has joined #asahi
thebigbossch[m] has quit [Server closed connection]
thebigbossch[m] has joined #asahi
gruetzkopf has quit [Server closed connection]
gruetzkopf has joined #asahi
Major_Biscuit has joined #asahi
MajorBiscuit has quit [Read error: No route to host]
gladiac is now known as Guest1121
gladiac has joined #asahi
eroux_ has joined #asahi
bisko has quit [Read error: Connection reset by peer]
bisko has joined #asahi
eroux has quit [Ping timeout: 480 seconds]
Guest1121 has quit [Ping timeout: 480 seconds]
tomtastic has quit [Read error: Connection reset by peer]
tomtastic has joined #asahi
Major_Biscuit has quit []
MajorBiscuit has joined #asahi
Latrina_ has joined #asahi
Latrina has quit [Read error: Connection reset by peer]
Latrina_ is now known as Latrina
the_lanetly_052__ has joined #asahi
zimsneexh has joined #asahi
<zimsneexh> Is 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/
<zimsneexh> s/known/a known issue
<_jannau_> yes: "FYI: distro image is currently mildly broken, do not use. going to sleep, I'll fix it up tomorrow."
<zimsneexh> ah, alright, makes sense
<zimsneexh> thanks!
<j`ey> I spoke to marcan this morning, he's going to be busy today (or maybe next few days even)
<Glanzmann> zimsneexh: The Debian image works, at least when I tried: curl -sL tg.st/u/bootstrap.sh | bash
<Glanzmann> That is the asahi installer with an additional entry for Debian Linux.
<zimsneexh> Is that debian stable or the unstable one.. sid iirc?
<Glanzmann> It is Debian unstable.
<Glanzmann> sorry, testing. So bookworm.
<Glanzmann> zimsneexh: 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.
<Glanzmann> zimsneexh: In the Debian images that I built it is plain Debian with one additional package: the kernel.
maxkofler has joined #asahi
<zimsneexh> Glanzmann: I'll give testing a shot, then.
<zimsneexh> Is there an apt-repo for the kernel packages?
<Glanzmann> zimsneexh: At the moment not, but I'll add one soon.
<Glanzmann> zimsneexh: The latest kernel you can get at the moment always from tg.st/u/k.deb
<zimsneexh> Glanzmann: Alright, got it. Going to give it a try
<maxkofler> Hi, 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?
<Glanzmann> If 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
<Glanzmann> maxkofler: Yes, it is currently not included.
<j`ey> maxkofler: yes the installer doesnt yet
<Glanzmann> maxkofler: You can get a m1n1/dtb/u-boot binary for the time being from here: tg.st/u/u-boot.macho
<Glanzmann> This has the device trees for all models. And is taken from marcans github branch.
<maxkofler> Thanks! 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
<Glanzmann> Perfect.
Mrmaxmeier has quit [Quit: The Lounge - https://thelounge.chat]
Mrmaxmeier has joined #asahi
<zimsneexh> Glanzmann: Does that script build the root image for use with the installer or the whole installer?
maxkofler has quit [Remote host closed the connection]
<Glanzmann> zimsneexh: This script does the following things: kernel, m1n1, u-boot, live stick, debian installer, my debian installer, asahi installer image.
<Glanzmann> It takes 5 minutes on a ryzen when crosscompiling and a warmed up ccache.
<Glanzmann> This is the output of the run from last night: https://pbot.rmdir.de/fyelMgGN0Aw-UOKlYiL4HQ
maxkofler has joined #asahi
<zimsneexh> Okay, i'll give building it a try in a bit. Would it be difficult to change from unstable to stable as a base?
yuyichao has joined #asahi
<Glanzmann> zimsneexh: Nope, this patch does it: https://pbot.rmdir.de/L0ydr5kUAFpDonMJ_z4ZnQ
<Glanzmann> That is for everything but the official debian installer, because that one cancels if it can't find grub.
<zimsneexh> Glanzmann: Does the script you sent me install a live image? Since the hostname is "live"
bisko has quit [Read error: Connection reset by peer]
bisko has joined #asahi
<Glanzmann> zimsneexh: As I said it does multiple things, including a live image.
<Glanzmann> The hostname is set in the installer images and live to 'live'.
<zimsneexh> I ment this one: tg.st/u/bootstrap.sh
<Glanzmann> zimsneexh: So this script is the official asahi installer.
<Glanzmann> In order to run this script, you need to have free space, run it on macos or 1tr.
<j`ey> to be clear, the unofficial debian asahi installer!
<zimsneexh> I 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.
<Glanzmann> zimsneexh: If you have installed it, you're done.
<Glanzmann> set a root password: passwd root; pwconv
<zimsneexh> okay, thought so. The hostname is kind of confusing haha
<Glanzmann> vim /etc/wpa/wpa_supplicant.conf
<Glanzmann> zimsneexh: Out of curiosity, on which m1 machine did you isntall it? Have you tried rebooting?
<Glanzmann> Is the /etc/fstab there?
<Glanzmann> Does wifi work?
<Glanzmann> zimsneexh: You can set a new hostname by editing these two files /etc/hostname /etc/hosts
<zimsneexh> Glanzmann: Yep, wifi does work. It's j313, macbook air m1
<Glanzmann> I see, same as I have.
<Glanzmann> zimsneexh: The quickstart.txt is the same for all variants.
<Glanzmann> Maybe I should change the quickstart.txt and also set another hostname.
amarioguy has joined #asahi
maxkofler has quit [Remote host closed the connection]
<zimsneexh> Glanzmann: You don't by chance know what package provides /usr/lib/dri/simpledrm_dri.so?
<Glanzmann> of course I do,
<Glanzmann> dpkg -S /usr/lib/dri/simpledrm_dri.so
<Glanzmann> But I don't see that file on my system and it doesn't seem to be in bookworm.
<zimsneexh> huh, odd. Sway seems to be looking for it
maxkofler has joined #asahi
linearcannon has quit [Read error: No route to host]
<Glanzmann> zimsneexh: It might be that it flew out of Debian for a reason.
linearcannon has joined #asahi
<Glanzmann> zimsneexh: But you can find such things by doing: apt-get install apt-file; sudo apt-file update; apt-file search <string>
<zimsneexh> Thats a helpful tool, but still cant find anything. Odd.
<_jannau_> I would be surprised if simpledrm_dri.so exists
<_jannau_> I would not expect a DRI userspace driver for simpledrm
maxkofler has quit [Quit: Page closed]
<Tramtrist> On slackware I found a similar file as part of the kernel source.. but thats it
<VinDuv> Maybe something is hardcoded to try loading <current video driver>_dri.so…
<Glanzmann> VinDuv: Yeah, probably X searching for a driver that does not exist.
<mps> swrast is activated for xorg in machine
<zimsneexh> X does work. It's just sway that doesn't.
<Glanzmann> zimsneexh: I see, should I build you a 4k kernel?
maxkofler_ has joined #asahi
<mps> sway also should, but I didn't tried
<Glanzmann> And you can try with this?
<Glanzmann> I also heard that sway works.
<maxkofler_> I tried, sway works flawlessly
maxkofler has joined #asahi
<zimsneexh> I remember it working too, so i don't think its related to page size.
<zimsneexh> Glanzmann: Have you tried sway on your debian image?
<Glanzmann> No, but I heard of others using it.
<Glanzmann> zimsneexh: What did you do to try it?
maxkofler has quit [Remote host closed the connection]
maxkofler has joined #asahi
<Glanzmann> maxkofler: Are you on Debian testing as well?
<maxkofler_> I'm on arch
<maxkofler_> should I try on debian?
maxkofler_ has quit [Quit: Page closed]
<Glanzmann> If you want, you can do that.
maxkofler_ has joined #asahi
kgarrington has joined #asahi
kgarrington has quit [Remote host closed the connection]
<maxkofler_> Glanzmann: I can try later maybe, just don't know if I want to go through the hassle of fixing m1n1 again...
<Glanzmann> maxkofler_: I see, why don't you use u-boot?
<Glanzmann> This binary works, tg.st/u/u-boot.macho
<Glanzmann> Current m1n1, u-boot, and all dtbs.
<Glanzmann> I can also try it on my mini.
<maxkofler_> Sorry, I meant the hassle rebuilding u-boot with the devicetrees for j314s
maxkofler has quit [Read error: Connection reset by peer]
maxkofler has joined #asahi
maxkofler has quit []
maxkofler_ has quit [Remote host closed the connection]
maxkofler has joined #asahi
<Glanzmann> But if sway works in arch, it probably also works in Debian.
<maxkofler> I would imagine it would
maxkofler has quit [Remote host closed the connection]
maxkofler has joined #asahi
amarioguy has quit [Ping timeout: 480 seconds]
amarioguy has joined #asahi
maxkofler has quit [Quit: Page closed]
MajorBiscuit has quit [Ping timeout: 480 seconds]
MajorBiscuit has joined #asahi
yuyichao has quit [Ping timeout: 480 seconds]
yuyichao has joined #asahi
off^ has joined #asahi
the_lanetly_052___ has joined #asahi
the_lanetly_052__ has quit [Ping timeout: 480 seconds]
amarioguy has quit [Ping timeout: 480 seconds]
pavan has joined #asahi
amarioguy has joined #asahi
amarioguy has quit [Remote host closed the connection]
maxkofler has joined #asahi
maxkofler has quit [Ping timeout: 480 seconds]
amarioguy has joined #asahi
maxkofler has joined #asahi
Major_Biscuit has joined #asahi
maxkofler has quit [Read error: Connection reset by peer]
MajorBiscuit has quit [Ping timeout: 480 seconds]
amarioguy has quit [Ping timeout: 480 seconds]
maxkofler has joined #asahi
maxkofler has quit [Read error: Connection reset by peer]
maxkofler has joined #asahi
maxkofler has quit [Read error: Connection reset by peer]
maxkofler has joined #asahi
<steffen[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
<steffen[m]> My recovery looks different from https://github.com/AsahiLinux/docs/wiki/SW:Storage
maxkofler has quit [Read error: Connection reset by peer]
<steffen[m]> Did I somehow delete it while deleting my linux partition?
<tpw_rules> no, you have all the partitions
sheepgoose has quit [Remote host closed the connection]
maxkofler has joined #asahi
maxkofler has quit []
zimsneexh has quit [Ping timeout: 480 seconds]
zimsneexh has joined #asahi
bisko has quit [Read error: Connection reset by peer]
bisko has joined #asahi
<nico_32> steffen[m]: I think your Recovery volume doesn't have the Recovery role
<nico_32> can you do diskutil apfs list -plist ?
amarioguy has joined #asahi
<j`ey> seems to have the role
<nico_32> yes
<steffen[m]> disk0s6 doesn't show up there since it's not an apfs container?
<nico_32> diskutil info -plist disk0s6 ?
the_lanetly_052___ has quit [Ping timeout: 480 seconds]
* nico_32 try to understand the logic in diskutil.py
<nico_32> self.ctnr_by_store["disk0s6"]["Volume"] is probably None
<nico_32> ctnr_by_store is created in get_apfs_list
<nico_32> so get_apfs_list on disk0
<nico_32> could you do apfs listVolumeGroups disk1 -plist
<nico_32> yes, nothing in VolumeGroups
<nico_32> probably need a sanity check in diskutil.py:get_partition_info
<nico_32> something like
<nico_32> if part.container is None:
<nico_32> part.container = []
<nico_32> part.container["Volumes"] = []
<nico_32> logging.debug(f"{part.name} doesn't have any Volumes")
<steffen[m]> I'll try that
Major_Biscuit has quit [Ping timeout: 480 seconds]
yuyichao_ has joined #asahi
yuyichao has quit [Ping timeout: 480 seconds]
<marcan> pushed 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 :-)
<marcan> the new kernel is a "proper" distro kernel (ish), and almost everything is a module
<tpw_rules> mind if i steal it for nixos
<marcan> t8103 might explode with nvme and/or USB due to power domain shenanigans interacting with modules, haven't tested it there yet :)
<marcan> tpw_rules: sure, feel free to grab the config, it's all in the git
<tpw_rules> it still says last commit is 11 days ago
<marcan> refresh :p
<tpw_rules> there we go, thanks
<marcan> let 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
<marcan> but most usb/media stuff and the like that people might want to use externally should be there
<tpw_rules> CONFIG_SQUASHFS_ZSTD would be nice
<marcan> ping 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)
<marcan> actually do it in -dev
<j`ey> marcan: are you asleep yet?
<j`ey> lol sorry, had to
<marcan> lol
<marcan> I didn't hear it, but I saw it :p
<j`ey> marcan: btw I used the installer for te first time yesterday, worked flawlessly!
<marcan> nice :)
<marcan> still need to add resizing and such, but it's almost there
<marcan> and I also need a macsmc-hid driver for lid closure
<marcan> and I think that's... it?
<marcan> just need to make the plasma image
<j`ey> nothing 'obvious' is coming to my mind that is missing
<tmlind> lid closure can be worked around too initially :) seems very much usable already
<marcan> macsmc-hid is a trivial driver
<marcan> and that also gives us power button
<jaxter184[m]> thats really reassuring to hear, i was worried that a final release would still be a really long time away
<marcan> I am *not* doing a polled GPIO for lid closure, that's ridiculous :p
<marcan> jaxter184[m]: I think you mean *initial* release
<jaxter184[m]> ah, yeah, that would be a better word :P
<marcan> oh 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...)
<marcan> so rmmoding the wrong things in the wrong order will oops your kernel
<marcan> "don't do that" etc ;)
<marcan> not a blocker for most users
<jaxter184[m]> also, is this you? https://liberapay.com/marcan/
<jaxter184[m]> is there a reason i shouldnt use liberapay
nickorlow has joined #asahi
<marcan> jaxter184[m]: sorry, should've closed that. it was never set up.
<jaxter184[m]> ah ok
<marcan> dealing with too many payment processors is kind of annoying so I'd like to keep it to patreon/gh
<marcan> tax issues too etc
<marcan> anyway, off to sleep
<j`ey> I just realised I never tried to close the lid when tracing SMC to see if that's how macOS turned it off
<tmlind> marcan: sure, i just use swayidle manually right now.. yup polling is not good :)
joske has joined #asahi
<joske> with asahi kernel of today I got 1599/6685 on geekbench 5
<joske> last month it was only 1065/4883
<joske> not sure what made the difference
<jannau> cpufreq
<joske> but before the CPUs were running full tilt all the time?
<j`ey> only 2Ghz
<joske> I think I had the patch for 3GHz
<joske> anyway, this is very close to macOS numbers :-)
<zimsneexh> Is the new version of the installer already at https://mrcn.st/alxsh?
<marcan> yes
<zimsneexh> Great, i'll give it a try
<joske> marcan: lid support: what would it do? turn off the screen?
<marcan> that's up to userspace
<joske> but userspace doesn't know how to turn off the screen as far as I understand?
<marcan> we do have an interim gpio-backlight node
Glanzmann has quit [Quit: EOF]
<clover[m]> so to install asahi just run the installer??
nickorlow has quit [Ping timeout: 480 seconds]
<marcan> if 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
<j`ey> you first have to resize the macOS partition
<j`ey> or that
<clover[m]> ok i will wait
amarioguy has quit [Ping timeout: 480 seconds]
<steffen[m]> Is this expected? FileNotFoundError: [Errno 2] No such file or directory: './os/asahi-base.zip'
<steffen[m]> this was the reference distro option. m1n1 + u-boot seems to be doing more
<joske> I used that GPIO backlight once, had to SSH into the macbook to turn the screen back on :-D
<nico_32> it should have downloaded asahi-base.zip
<j`ey> nico_32: did you run the installer?
<j`ey> did you do it as your normal user?
<j`ey> there seems to be an issue with sudo dropping env vars
<nico_32> j`ey: steffen[m] is the one that have issue
<j`ey> nico_32: I know, just wondered if you had done it too!
<nico_32> i don't have any m1 yet
<immychan[m]> What does the new installer version do?
<j`ey> nico_32: ah
joske has quit [Quit: Leaving]
<nico_32> steffen[m]: what does the debug log say? maybe the download failed
<steffen[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)
<mps> so, lid driver soon, for me only missing part is brightness control. hope it will be soon, but again I'm not in hurry
<j`ey> ah yeah, thats it
<j`ey> steffen[m]: the installer sets up REPO_BASE, which install.sh uses
<steffen[m]> ah, okay
<zimsneexh> steffen[m]: Theres a wipelinux shell script, in case it's of any help
<nico_32> the installer is alpha so it miss sanity check
<steffen[m]> wow, the wipelinux might be useful but could use some sanity checking
<steffen[m]> my macos is 402.5 gigs
<steffen[m]> grep '2.5 GB'
<steffen[m]> although i guess macos won't delete the running instance
<nico_32> i am not sure about that
nickorlow has joined #asahi
<steffen[m]> well, i may have tried that by accident
<steffen[m]> fails here: The volume "Preboot" on disk3s2 couldn't be unmounted because it is in use by process 0 (kernel)
<steffen[m]> the installer now works with correct env :) thanks everyone
<nico_32> with or without the patch in diskutil.py?
<steffen[m]> with the patch
<nico_32> so you can open a PR :)
<steffen[m]> I'll do that
<zimsneexh> Ah, the installed Archlinux still fails to boot on my MBA. No /dev/nvme... for some reason
<zimsneexh> lsmod does however show apple-nvme, i really can't think of why this would fail
<zimsneexh> s/apple-nvme/nvme_apple
<zimsneexh> Also no logs of nvme in dmesg, i remember it being pretty verbose when i tried it directly built into the kernel
___nick___ has joined #asahi
___nick___ has quit []
<kit_ty_kate> marcan: 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) »
___nick___ has joined #asahi
<zimsneexh> I get those same power-managment errors, also on macbook air.
<zimsneexh> kit_ty_kate: Does it also drop you into a rescue shell?
<sven> probably needs a similar device tree fix for the power domains like the t6000
<j`ey> "rcan> t8103 might explode with nvme and/or USB due to power domain shenanigans interacting with modules, haven't tested it there yet :)"
<kit_ty_kate> zimsneexh: yep
<kit_ty_kate> j`ey: :D
<kit_ty_kate> i missed that line
<kit_ty_kate> I’m about to post the picture somewhere if that helps
<zimsneexh> oh, so did I.
<zimsneexh> I guess the assumption about it exploding were correct
<j`ey> you could take a look at 11d668fdb7b5859150d0d8531f61b595b2861c29 if you want to see if that works for t8103
<kit_ty_kate> j`ey: from which repo?
<j`ey> linux
<zimsneexh> Does linux get the devicetree from u-boot?
<kit_ty_kate> j`ey: you mean try without it?
<j`ey> I mean port it from t6000 to t8103
<kit_ty_kate> oh! I didn’t notice it only changed t6000
<kit_ty_kate> mmh, I’ll try
amarioguy has joined #asahi
maxkofler has joined #asahi
<kit_ty_kate> actually I’m out of energy rn, i need to get dinner. I might do it tomorrow if no-one tried or fixed it already
maxkofler has quit [Remote host closed the connection]
amarioguy has quit [Ping timeout: 480 seconds]
nickorlow has quit [Ping timeout: 480 seconds]
<landscape15[m]> I was wondering if distros will have to ship part of asahi code in order to sell their installer package
<landscape15[m]> in theory, selling a build installer wouldn’t be a problem for them, with custom kernel and EFI.
<j`ey> they will have to at least know about the wifi firmware
<landscape15[m]> j`ey: But they still need to force people running asahi-installer to set the boot chain
<j`ey> sure, or replicate the same steps
<landscape15[m]> So I guess it’s impossible a “just plug in the usb” kind of installer
<zimsneexh> The run a shell script from macos kind of installation seems much more convenient to me
<j`ey> there probably is a way to do that
<j`ey> by putting the installer shell script on a usb stick
<j`ey> but it still has to download a bunch of stuff
___nick___ has quit [Ping timeout: 480 seconds]
<landscape15[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
<j`ey> sure, the script downloads some stuff from apple and grabs firmware from currently running computer
<j`ey> will you ever be able to distribute a USB stick with everything on it: no
<landscape15[m]> yeah also maintaining the code would be a problem
<landscape15[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)
<j`ey> thats one of the installer options
<landscape15[m]> j`ey: I have not seen its code recently. I’ll take a look
nickorlow has joined #asahi
nickorlow has quit [Ping timeout: 480 seconds]
maxkofler has joined #asahi
maxkofler has quit []
kgarrington has joined #asahi
user982492 has joined #asahi
kgarrington has quit [Remote host closed the connection]
user982492 has quit []
<pitust[m]> you can do that legally
<pitust[m]> put a magical file on the usb that makes the recovery run your .app
<pitust[m]> have the .app be the installer
<pitust[m]> that also pulls out the blobs from macos
<dottedmag> Strong autorun.inf vibes
<pitust[m]> it isn't autorun though
<pitust[m]> you need to: (1) hold down power at boot (2) select that you want run the thing
<j`ey> pitust[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
<dottedmag> I know, physical presence assertion.
<pitust[m]> j`ey: is the generic firmware not enough?
<pitust[m]> idk about broadcom
<pitust[m]> but i'd suspect there is some at least somewhat "generic" firmware
<tpw_rules> tl;dr the arm ecosystem should move to "do whatever weird stuff your specific computer requires" + a generic UEFI image
<tpw_rules> and asahi with the "just install u-boot + grub" model fits that well
<j`ey> if there was sure, but I dont think anyones found generic fw for it
<pitust[m]> ah, okay
<pitust[m]> also, i have an extremely peculiar issue with my attempts to boot debian
<pitust[m]> and actually, every kind of linux
<pitust[m]> if it leaves the kernel, it doesn't do much in init
<tpw_rules> how did you build your kernel?
<pitust[m]> i tried once per the instrutions on the wiki
<pitust[m]> clone the gh repo, cd, download the .config, make all -j8
<pitust[m]> and once by using the kernel shipped in the rootfs from https://tg.st/u/m1.tgz
<pitust[m]> (i used the desktopkernel config)
<pitust[m]> it's doing something, because pressing the touchid sensor/power button is causing printks
lillywt[m] has joined #asahi
nico_32_ has joined #asahi
<tpw_rules> so 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
nico_32 has quit [Ping timeout: 480 seconds]
sheepgoose has joined #asahi
user982492 has joined #asahi
linearcannon has quit [Read error: Connection reset by peer]
linearcannon has joined #asahi
linearcannon has quit [Max SendQ exceeded]
linearcannon has joined #asahi
<pitust[m]> nevermind, it works fine