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: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:55bluetail[m]I have the m1 mini :D
03:33phiologe has joined #asahi
03:36PhilippvK has quit [Ping timeout: 480 seconds]
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: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)
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:07chadmedi was planning on doing that today, but marcan said yesterday he was already on top of it
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: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: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: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:07sheepgoose has quit [Quit: Konversation terminated!]
05:19bluetail[m]My naive assumption is that a optimized archlinux running with m1 will outperform macOS
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: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 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: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:43_jannau_yes: "FYI: distro image is currently mildly broken, do not use. going to sleep, I'll fix it up tomorrow."
12:04Glanzmannzimsneexh: The Debian image works, at least when I tried: curl -sL tg.st/u/bootstrap.sh | bash
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: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:20Glanzmannmaxkofler: You can get a m1n1/dtb/u-boot binary for the time being from here: tg.st/u/u-boot.macho
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: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: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:45Glanzmannzimsneexh: Out of curiosity, on which m1 machine did you isntall it? Have you tried rebooting?
12:46Glanzmannzimsneexh: You can set a new hostname by editing these two files /etc/hostname /etc/hosts
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?
13:04maxkofler has joined #asahi
13:05linearcannon has quit [Read error: No route to host]
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:15maxkofler has quit [Quit: Page closed]
13:23maxkofler_ has joined #asahi
13:23maxkofler_I tried, sway works flawlessly
13:24maxkofler has joined #asahi
13:28maxkofler has quit [Remote host closed the connection]
13:28maxkofler has joined #asahi
13:30maxkofler_I'm on arch
13:30maxkofler_should I try on debian?
13:30maxkofler_ has quit [Quit: Page closed]
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: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:43Glanzmannmaxkofler_: tg.st/u/u-boot.macho or https://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/blob_plain/refs/heads/master:/bootstrap.sh
13:43maxkofler has joined #asahi
13:43Glanzmannmaxkofler_: tg.st/u/u-boot.macho or https://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/blob_plain/refs/heads/master:/bootstrap.sh
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: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:46steffen[m]nico_32: yes https://gist.githubusercontent.com/sdirkwinkel/1ca546fcf91145ac67eb205534cbe360/raw/b47e241d616c42a5e13d391baa9634e308a0c8f0/gistfile1.txt
17:48amarioguy has joined #asahi
17:53steffen[m]disk0s6 doesn't show up there since it's not an apfs container?
17:55steffen[m]https://gist.githubusercontent.com/sdirkwinkel/080fa1ee2231825b1a641712eadbedd2/raw/a2b0b79664a81721223cce522c646545beddb786/disk0s6
17:57the_lanetly_052___ has quit [Ping timeout: 480 seconds]
18:11steffen[m]https://gist.githubusercontent.com/sdirkwinkel/225ddcb463cd96d7fe83cdf424d9ec14/raw/b000aeebe2f8f8e429d6d3105f20e475a7d0a167/listVolumeGroups
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:31marcant8103 might explode with nvme and/or USB due to power domain shenanigans interacting with modules, haven't tested it there yet :)
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: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:44jaxter184[m]thats really reassuring to hear, i was worried that a final release would still be a really long time away
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:46jaxter184[m]is there a reason i shouldnt use liberapay
18:48nickorlow has joined #asahi
18:49jaxter184[m]ah ok
18:49marcandealing with too many payment processors is kind of annoying so I'd like to keep it to patreon/gh
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:52joske has joined #asahi
19:01Glanzmann has quit [Quit: EOF]
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:02steffen[m]nico_32: your fix for the installer works https://github.com/sdirkwinkel/asahi-installer/commit/0a9a99a2d69b5c6980d56a838f933fd1e98c8d08
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:08immychan[m]What does the new installer version do?
19:09joske has quit [Quit: Leaving]
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:13steffen[m]ah, okay
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: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:37steffen[m]with the patch
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: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
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_katej`ey: :D
20:01kit_ty_katei missed that line
20:02kit_ty_kateI’m about to post the picture somewhere if that helps
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:06kit_ty_katej`ey: you mean try without it?
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:03landscape15[m]j`ey: But they still need to force people running asahi-installer to set the boot chain
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: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: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: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: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:19tpw_ruleslandscape15[m]: https://discourse.nixos.org/t/planning-for-a-better-nixos-on-arm/15346
22:20tpw_rulestl;dr the arm ecosystem should move to "do whatever weird stuff your specific computer requires" + a generic UEFI image
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