#
…

2022-03-02

00:00taowa has joined #asahi
00:10rann has quit [Server closed connection]
00:10rann has joined #asahi
00:10aeroraptor has quit [Server closed connection]
00:10aeroraptor has joined #asahi
01:27chadmedive been working on a couple of .configs that behave like generic binary distro kernels but trimmed down to support only these machines to go with linux-asahi. one for gcc and one for clang/thinlto for people that way inclined
01:29chadmedmy hope is that they behave almost identically to a kernel+initramfs youd get from any distro, so that the kernel itself behaves as a user would intend it to. ill have these up on my github at some point this week, and then eventually i'll ship them with a shell script that builds them and an initramfs for ALARM and its flavours and one for gentoo as well
01:29chadmedobviously the long term goal is to get everything important upstreamed, but this should do nicely until then
01:35Guest466 has quit [Server closed connection]
01:35enick_53 has joined #asahi
01:35tpw_rulesi might steal that
01:36chadmedby all means go ahead
01:37sikkileo[m] has quit [Server closed connection]
01:37sikkileo[m] has joined #asahi
01:40Techcable has joined #asahi
01:40yuyichao_ has joined #asahi
01:49bisko has quit [Read error: Connection reset by peer]
01:51bisko has joined #asahi
02:28EirikFuller[m] is now known as wackrat
02:57riker77_ has joined #asahi
02:58suricato_ has joined #asahi
02:59marcanthe reference kernel is still an old build, as I said, this is Not Done Yet :p
03:00suricato has quit [Ping timeout: 480 seconds]
03:00marcanI need to put together a config that's reasonable for this use case, which basically means the same as a full fat distro kernel minus all the drivers that will never apply
03:00marcanwhich I guess means everything non-USB until we have thunderbolt, at least
03:02riker77 has quit [Ping timeout: 480 seconds]
03:02riker77_ is now known as riker77
03:35PhilippvK has joined #asahi
03:38phiologe has quit [Ping timeout: 480 seconds]
03:39sheepgoose has joined #asahi
04:06chadmedthe configs here should work for all apple silicon macs released thus far, so long as you pair them with a gzipped initramfs
04:07tpw_rulesi only see a clang config?
04:08chadmedoop one second
04:08chadmedthere you go try that
04:08chadmedthis is what happens when you spend 10 minutes doing mindless git surgery and forget to add new files
04:38marvin24 has joined #asahi
04:41marvin24_ has quit [Ping timeout: 480 seconds]
05:01marcanputting together a proper "distro config" for the asahi kernel now (based on the ALARM kernel config, but with lots of changes)
05:01c10l has quit [Remote host closed the connection]
05:01c10l has joined #asahi
05:01c10l has quit [Remote host closed the connection]
05:01c10l has joined #asahi
05:01c10l has quit [Remote host closed the connection]
05:01marcan(basically turning on everything Apple, turning off everything else that's platform-specific and not attachable via USB)
05:02marcan(and also misc changes to align with the desktop usecase)
05:18marcanI'm also going to build most of the Apple stuff as modules, just to prove that that works
05:18Andy[m] has quit [Server closed connection]
05:18Andy[m] has joined #asahi
05:19pavan has joined #asahi
05:20chadmedthe only thing i couldnt get to work as a module was the smc/rtkit backend
05:20chadmedand the smc gpio driver
05:31pavan has quit [Ping timeout: 480 seconds]
05:51muscularduckling[m] has quit [Server closed connection]
05:51muscularduckling[m] has joined #asahi
05:54marcanyeah, I expect us to want to build those in, but they should *work* as modules
05:55marcanideally even NVMe should work as a module (in the initramfs), so I'll see if I can get that to work
05:56chadmednvme-apple apple works as a module and automatically calls in nvme-core so thats all fine. ive been running with nvme-apple in my initramfs for the past few days with no issues
05:59marcanand that depends on rtkit, so that should also work as a module
05:59marcanlet's see about SMC
06:18eroux has joined #asahi
06:20marcanI'm going to build with just these built-in: CONFIG_ARCH_APPLE / CONFIG_APPLE_WATCHDOG / CONFIG_APPLE_PMGR_PWRSTATE / CONFIG_APPLE_AIC / CONFIG_SERIAL_SAMSUNG
06:20marcanthat should be enough for serial console, and everything else should work as a module
06:22marcanalso rebasing on latest linux-next
06:25chadmed has quit [Quit: Konversation terminated!]
06:28chadmed has joined #asahi
06:33marcansigh... just eyeballing it, I'd say my m1pro is at least 2x faster at compiling kernels as my 2015 iMac is at *preprocessing* kernels
06:33marcansince I'm offloading compiles to my Threadripper but it's badly bottlenecked on preprocessing time...
06:35chadmedyeah its nuts. i retired my 2700x based server and replaced it with a 5600x based pc that was itself replaced by my 14" mbp and im already thinking of replacing that with whatever mac mini apple releases next and a thunderbolt disk cage
06:40marcanlol, 4 minutes 15 seconds for the full fat Arch Linux kernel build. this is ridiculous.
06:46marcanthe iMac is *still* compiling...
06:47marcanI think I'm going to have to make a little git-sync script so I can push worktree/HEAD state to a remote git repo on my m1pro and build kernels there... (mostly because I rely on inotify working for kate to react to git changes properly, and that doesn't work right over sshfs)
06:49Hinata[m] has quit [Server closed connection]
06:49Hinata[m] has joined #asahi
06:49M2er0[m] has quit [Server closed connection]
06:49M2er0[m] has joined #asahi
06:49abilash1994[m] has quit [Server closed connection]
06:50abilash1994[m] has joined #asahi
06:50alessandrorzz[m] has quit [Server closed connection]
06:50alessandrorzz[m] has joined #asahi
06:50alexanderwillner[m] has quit [Server closed connection]
06:50alexanderwillner[m] has joined #asahi
06:51andorinhariver[m] has quit [Server closed connection]
06:51andorinhariver[m] has joined #asahi
06:51AONeiLL[m] has quit [Server closed connection]
06:51AONeiLL[m] has joined #asahi
06:51anfernee[m] has quit [Server closed connection]
06:52anfernee[m] has joined #asahi
06:52emilytrau[m] has quit [Server closed connection]
06:52emilytrau[m] has joined #asahi
06:52arapis[m] has quit [Server closed connection]
06:52arapis[m] has joined #asahi
06:53AwesomeSheep48[m] has quit [Server closed connection]
06:53AwesomeSheep48[m] has joined #asahi
06:53davay[m] has quit [Server closed connection]
06:53davay[m] has joined #asahi
06:53bakedpotatoez[m] has quit [Server closed connection]
06:54bakedpotatoez[m] has joined #asahi
06:54Bastian[m] has quit [Server closed connection]
06:54Bastian[m] has joined #asahi
06:54BastienSaidi[m] has quit [Server closed connection]
06:54BastienSaidi[m] has joined #asahi
06:55bfredl[m] has quit [Server closed connection]
06:55bfredl[m] has joined #asahi
06:55RurajJoshi[m] has quit [Server closed connection]
06:55RurajJoshi[m] has joined #asahi
06:55bpalmer4[m] has quit [Server closed connection]
06:55bpalmer4[m] has joined #asahi
06:56brentr123[m] has quit [Server closed connection]
06:56brentr123[m] has joined #asahi
06:56burlmancer[m] has quit [Server closed connection]
06:56burlmancer[m] has joined #asahi
06:57camr0[m] has quit [Server closed connection]
06:57camr0[m] has joined #asahi
06:57carmazine[m] has quit [Server closed connection]
06:57carmazine[m] has joined #asahi
06:57clover[m] has quit [Server closed connection]
06:57clover[m] has joined #asahi
06:58daftfrog[m] has quit [Server closed connection]
06:58daftfrog[m] has joined #asahi
06:58David[m]1234 has quit [Server closed connection]
06:58David[m]1234 has joined #asahi
06:58chadmedi really wish grub didnt tear down the framebuffer upon loading a kernel
06:59chadmedthey refuse to accept patches upstream to stop it doing that too
06:59TypoKign[m] has quit [Server closed connection]
06:59TypoKign[m] has joined #asahi
06:59David[m]12345 has quit [Server closed connection]
06:59David[m]12345 has joined #asahi
06:59Dcow[m]1 has quit [Server closed connection]
06:59Dcow[m]1 has joined #asahi
07:00denden[m] has quit [Server closed connection]
07:00denden[m] has joined #asahi
07:00djangro[m] has quit [Server closed connection]
07:00djangro[m] has joined #asahi
07:01dnjmis[m] has quit [Server closed connection]
07:01dnjmis[m] has joined #asahi
07:01DylanNeve[m] has quit [Server closed connection]
07:01DylanNeve[m] has joined #asahi
07:01Amy[m] has quit [Server closed connection]
07:01Amy[m] has joined #asahi
07:02Liam[m] has quit [Server closed connection]
07:02Liam[m] has joined #asahi
07:02etsukata[m] has quit [Server closed connection]
07:02etsukata[m] has joined #asahi
07:03fetsorn[m] has quit [Server closed connection]
07:03fetsorn[m] has joined #asahi
07:03fionera[m] has quit [Server closed connection]
07:03fionera[m] has joined #asahi
07:03garyodernichts[m] has quit [Server closed connection]
07:04garyodernichts[m] has joined #asahi
07:04Genbuchan[m] has quit [Server closed connection]
07:04Genbuchan[m] has joined #asahi
07:05ghantaz[m] has quit [Server closed connection]
07:05ghantaz[m] has joined #asahi
07:05Tom[m]123 has quit [Server closed connection]
07:05Tom[m]123 has joined #asahi
07:05homulilly[m] has quit [Server closed connection]
07:06homulilly[m] has joined #asahi
07:06hwatwasthat[m] has quit [Server closed connection]
07:06hwatwasthat[m] has joined #asahi
07:06iilmer[m] has quit [Server closed connection]
07:06iilmer[m] has joined #asahi
07:07ianlienfa[m] has quit [Server closed connection]
07:07ianlienfa[m] has joined #asahi
07:07Jakob[m]12 has quit [Server closed connection]
07:07Jakob[m]12 has joined #asahi
07:07JamesTaylor[m] has quit [Server closed connection]
07:08JamesTaylor[m] has joined #asahi
07:08joerosenberg[m] has quit [Server closed connection]
07:08joerosenberg[m] has joined #asahi
07:08katatafjsh[m] has quit [Server closed connection]
07:08katatafjsh[m] has joined #asahi
07:09kdrag0n[m] has quit [Server closed connection]
07:09kdrag0n[m] has joined #asahi
07:09kjm99[m] has quit [Server closed connection]
07:09kjm99[m] has joined #asahi
07:09kyeh[m] has quit [Server closed connection]
07:09kyeh[m] has joined #asahi
07:10lockna has quit [Server closed connection]
07:10lockna has joined #asahi
07:10l3k[m] has quit [Server closed connection]
07:10l3k[m] has joined #asahi
07:11lemonsus[m] has quit [Server closed connection]
07:11lemonsus[m] has joined #asahi
07:11Lucy[m] has quit [Server closed connection]
07:11Lucy[m] has joined #asahi
07:12miko089[m] has quit [Server closed connection]
07:12miko089[m] has joined #asahi
07:12mmlb[m] has quit [Server closed connection]
07:12mmlb[m] has joined #asahi
07:12marcanrunning a build on the Threadripper locally and on the M1 Pro at the same time now... they're both scrolling at about the same speed...
07:13fezhead[m] has quit [Server closed connection]
07:13fezhead[m] has joined #asahi
07:13Santiago[m]1 has quit [Server closed connection]
07:13Santiago[m]1 has joined #asahi
07:13noc0lour[m] has quit [Server closed connection]
07:14noc0lour[m] has joined #asahi
07:14marcanI think the Threadripper is going to win... but not by much
07:14notyou[m] has quit [Server closed connection]
07:14notyou[m] has joined #asahi
07:14marcanTR: 3m58 / M1Pro: 4m22
07:14obflv[m] has quit [Server closed connection]
07:14obflv[m] has joined #asahi
07:15ograff has quit [Server closed connection]
07:15ograff has joined #asahi
07:15HaoYanQi[m] has quit [Server closed connection]
07:15bisko has quit [Read error: Connection reset by peer]
07:15HaoYanQi[m] has joined #asahi
07:15latko[m] has quit [Server closed connection]
07:16latko[m] has joined #asahi
07:16PedroArajo[m] has quit [Server closed connection]
07:16PedroArajo[m] has joined #asahi
07:16bisko has joined #asahi
07:16PeterHilgenfeld[m] has quit [Server closed connection]
07:16PeterHilgenfeld[m] has joined #asahi
07:17RasmusEneman[m] has quit [Server closed connection]
07:17RasmusEneman[m] has joined #asahi
07:17pimeys[m] has quit [Server closed connection]
07:17pimeys[m] has joined #asahi
07:17pitust[m] has quit [Server closed connection]
07:18pitust[m] has joined #asahi
07:18plantaintion3[m] has quit [Server closed connection]
07:18plantaintion3[m] has joined #asahi
07:18ponkey364[m] has quit [Server closed connection]
07:18ponkey364[m] has joined #asahi
07:19rohin[m] has quit [Server closed connection]
07:19rohin[m] has joined #asahi
07:19Bai-Chiang[m] has quit [Server closed connection]
07:19Bai-Chiang[m] has joined #asahi
07:19quentincestino[m] has quit [Server closed connection]
07:20quentincestino[m] has joined #asahi
07:20quentin[m] has quit [Server closed connection]
07:20quentin[m] has joined #asahi
07:20RagaSubekti[m] has quit [Server closed connection]
07:20RagaSubekti[m] has joined #asahi
07:21rakyuugaki[m] has quit [Server closed connection]
07:21rakyuugaki[m] has joined #asahi
07:21Redecorating[m] has quit [Server closed connection]
07:21Redecorating[m] has joined #asahi
07:21rethematrix[m] has quit [Server closed connection]
07:21rethematrix[m] has joined #asahi
07:22retonlage[m] has quit [Server closed connection]
07:22retonlage[m] has joined #asahi
07:22rgort10[m] has quit [Server closed connection]
07:22rgort10[m] has joined #asahi
07:23rob-3[m] has quit [Server closed connection]
07:23rob-3[m] has joined #asahi
07:23s1gtrap[m] has quit [Server closed connection]
07:23s1gtrap[m] has joined #asahi
07:23MagMell[m] has quit [Server closed connection]
07:23MagMell[m] has joined #asahi
07:24samfromspace[m] has quit [Server closed connection]
07:24samfromspace[m] has joined #asahi
07:24sami-dev[m] has quit [Server closed connection]
07:24sami-dev[m] has joined #asahi
07:25sandornagy[m] has quit [Server closed connection]
07:25sandornagy[m] has joined #asahi
07:25sephamorr[m] has quit [Server closed connection]
07:25sephamorr[m] has joined #asahi
07:25shaman_br[m] has quit [Server closed connection]
07:26shaman_br[m] has joined #asahi
07:26SocioProphet[m] has quit [Server closed connection]
07:26SocioProphet[m] has joined #asahi
07:26sppdqd[m] has quit [Server closed connection]
07:26sppdqd[m] has joined #asahi
07:27steven1lung[m] has quit [Server closed connection]
07:27steven1lung[m] has joined #asahi
07:27Guest477 has quit [Server closed connection]
07:27enick_375 has joined #asahi
07:27Synth[m] has quit [Server closed connection]
07:28Synth[m] has joined #asahi
07:28threerik[m] has quit [Server closed connection]
07:28threerik[m] has joined #asahi
07:28TomHobson[m] has quit [Server closed connection]
07:28TomHobson[m] has joined #asahi
07:29toroto008[m] has quit [Server closed connection]
07:29toroto008[m] has joined #asahi
07:29user974[m] has quit [Server closed connection]
07:29user974[m] has joined #asahi
07:29Name[m] has quit [Server closed connection]
07:30Name[m] has joined #asahi
07:30vasilymilovidov[m] has quit [Server closed connection]
07:30vasilymilovidov[m] has joined #asahi
07:30VitorCardoso[m] has quit [Server closed connection]
07:30VitorCardoso[m] has joined #asahi
07:31viljami[m] has quit [Server closed connection]
07:31viljami[m] has joined #asahi
07:31xiaomingcc[m] has quit [Server closed connection]
07:31xiaomingcc[m] has joined #asahi
07:31xiuxuanwang[m] has quit [Server closed connection]
07:32xiuxuanwang[m] has joined #asahi
07:32yoodee[m] has quit [Server closed connection]
07:32yoodee[m] has joined #asahi
07:32yuukirafflesia[m] has quit [Server closed connection]
07:32yuukirafflesia[m] has joined #asahi
07:33YichaoYu[m] has quit [Server closed connection]
07:33YichaoYu[m] has joined #asahi
07:33z11h_beast[m] has quit [Server closed connection]
07:33z11h_beast[m] has joined #asahi
07:44jochum has quit [Ping timeout: 480 seconds]
07:45MajorBiscuit has joined #asahi
07:52the_lanetly_052___ has joined #asahi
08:00bestouff[m]You should do the same operation with a wattmeter on each :D
08:09chadmedthats the most astounding thing imo
08:09chadmedthe enormous efficiency differenc e
08:09chadmedthe M1 Pro pulls like what, 40W at full tilt?
08:11_jannau_hard to compare fairly, least bad way would be increase over idle
08:15TheLinkapple is after all the time since the m1 release still the only big player using tsmc's 5nm structure
08:16TheLinkpulling this off alone is a huge coup by apple
08:17chadmedtheyd be really stupid to not release some 4U servers at some point
08:19ChaosPrincessbtw, anyone compared pro vs max for kernel compiles per hour?
08:37eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
08:51eroux has joined #asahi
08:52mpsiiuc from above audio (MCA) driver works as module?
08:54j`eyif it doesnt, it should be fixed
08:56mpsok, will try to build as module and test
08:59mpsI see recent merges in kernel asahi branch. is that ok to pull latest changes or some branch?
09:00mpssome other branch*
09:00chadmedsoc-snd-apple-mca builds fine as a module now
09:00chadmedthe patch applied by the PKGBUILD and in Glanzmann's guides are also redundant since its in the branch now
09:00mpschadmed: thanks
09:00chadmedit just dirties your build for no reason
09:01mpsso, I have only to add iommu patch, very nice
09:02chadmedalso the changes to linux-asahi were just it being rebased against the latest linux-next so you should be fine to pull in those changes to your local copy
09:03mpsnice (it becoming better and better, and simpler at the same time)
09:04chadmedas stuff gets upstreamed hopefully for well supported machines you wont even need the linux-asahi branch at some point
09:07mpschadmed: yes, that is what I waiting to make kernel and merge in alpine linux
09:40gryfbane[m] has joined #asahi
09:51oi_wtf has quit [Server closed connection]
09:51oi_wtf has joined #asahi
09:54marcankit_ty_kate: I'm keeping the base image bare-bones for the kind of people who install Arch from scratch anyway
09:55marcanthough I guess it should have *some* way of connecting to wifi...
09:55marcanwpa_supplicang is broken with WPA3 though
09:55marcan*supplicant
09:56marcanso if anything the base image should have vanilla iwd instead
09:56Glanzmannchadmed: Which patch?
09:56chadmedthe apple-mca patch
09:58Glanzmannmarcan: About threadripper vs m1? How many threads did you run on the threadripper and how many on the m1 (and how many cores does your threadripper has?)
09:58marcanall of them.
09:58Glanzmannmarcan: For me it is not.
09:58chadmedGlanzmann: nah the off-by-one fix
09:58marcan11 on the M1 Pro and 33 on the 1950X (nthreads +1)
09:58Glanzmannmarcan: I always use twice the number of threads than I have hyperthreads/cores.
09:59marcanthat's just going to thrash your IO/caches more, it'll be slower
09:59marcanwhy would you do that?
09:59GlanzmannKeeps my CPUs busier.
09:59marcanyour CPUs should already be ~100% busy with nthreads +1 or 2
09:59kit_ty_katemarcan: sure, iwd or anything that can do the job is fine by me. I really think there needs to be some way to use the wifi in the base-bone image.
09:59Glanzmannmarcan: I have to benchmark, but IIRC it gave me much better results.
10:00marcankit_ty_kate: sure, I'll add iwd
10:00marcanGlanzmann: sounds like you might be IO limited if so, check your storage
10:00Glanzmannmarcan: I'm on nvme, but I'll check RAM. :-)
10:00captain has joined #asahi
10:01marcananyway, this isn't the place to optimize your threadripper :p
10:03captain has quit []
10:04kit_ty_katemarcan: PR updated
10:19mixi has quit [Ping timeout: 480 seconds]
10:29mixi has joined #asahi
11:45bisko has quit [Read error: Connection reset by peer]
11:47bisko has joined #asahi
12:22tomtastic_ has quit [Ping timeout: 480 seconds]
12:25tomtastic has joined #asahi
12:54eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
12:54blasty has quit [Remote host closed the connection]
13:04axboeGlanzmann: 2xcpus for compiles is somewhat of a relic of the days where we had rotating storage, and hence a lot of iowait time (mostly during linking, but also just paging in data) where it then makes sense to run more jobs in parallel
13:05axboeon decent storage these days, -jN where N is close to the number of CPUs will usually give you the best results, with N+small_bump might be a tad faster, but 2N is usually somewhat slower
13:05axboe(just my experience, and this is all based on compiling the kernel, ymmv on other things obviously)
13:12eroux has joined #asahi
13:15jannau has quit [Server closed connection]
13:15jannau has joined #asahi
13:25amarioguy has joined #asahi
13:45Glanzmannaxboe: I see, thanks for the explanation. Now I have to benchmark to see if I get the same results.
13:58bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:04wCPO6 has quit [Server closed connection]
14:04wCPO6 has joined #asahi
14:19trepatudo has quit [Server closed connection]
14:19trepatudo has joined #asahi
14:41yuyichao_ has quit [Ping timeout: 480 seconds]
15:01the_lanetly_052__ has joined #asahi
15:07the_lanetly_052___ has quit [Ping timeout: 480 seconds]
15:11Glanzmannaxboe: You're right linux-5.17-rc6 allmodconfig takes 9m41.128s with 1 thread per hyperthread and 10m9.173s with two threads per hyperthread.
15:17yuyichao_ has joined #asahi
15:30clover[m]i heard the alpha installer will be ready by this week. that's exciting!
15:31sarah[m]And hopefully a blog too!
15:34eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:38axboeGlanzmann: nice!
15:38axboeman, looking at chromium source code, you really start to appreciate what it looks like when a project does multi-arch/os right (hint, they definitely do not)
15:52mpsGlanzmann: kernel on machine is 4K or 16K
15:59IanPlatt[m] has joined #asahi
16:00Glanzmannmps: Ob my macbook air is 4k at the moment because jannau said we will probably ship 4k kernels to end users but marcan wants to go 16k
16:00axboedoing 16k initially is a good idea imho, otherwise non-4k issues will never get flushed out
16:01axboeI hope to have a chrome patch today
16:01axboebut compiling takes forever, edit one header and there's 10k files to recompile
16:01kettenisaxboe: these days multi-arch means Windows/Linux/macOS on x86 and Android on arm64 isn't it? ;)
16:01mpsI'm for 15K too, but will have to use 4K for some time
16:01svenno worries, I plan to procrastinate on that 4K iommu patch for at least a few more weeks anyway ;)
16:02axboekettenis: it's just a miserable mess of ifdefs, unreadable and imho unmaintainable
16:02IanPlatt[m]Hello! I'm new here and want to contribute / get my feet wet. I don't have an M1 device currently because I need help deciding which one is best for contributing / having something that's functional. I was hoping you all might have some recommendations?
16:02IanPlatt[m]I'm considering mini or MacBook pro, but don't want to go MacBook pro if I can't daily drive
16:03GlanzmannIanPlatt[m]: I like the m1 air because it gives good price/performance ration IMHO.
16:03GlanzmannIf you have lots of money lying around, go for the max/pro models.
16:03kettenisaxboe: and 95% of those ifdefs are unecessary if you just think a little bit harder and pick a solution that's actually portable
16:03mpsIanPlatt[m]: some of us use macbook pro as daily driver
16:03axboekettenis: exactly, and the ones that aren't, abstract them out
16:04axboeI'd hate to be working in that codebase regularly
16:04GlanzmannIanPlatt[m]: The mini is the most inexpensive but will have slow video on anything other than 1080p at the moment.
16:04kettenisI have huge respect for the guy who keeps it running on OpenBSD
16:04IanPlatt[m]mps: On Asahi or macOS?
16:05GlanzmannIanPlatt[m]: Also note that this year the m2 comes out. So maybe you want to wait a little bit more.
16:05IanPlatt[m]Glanzmann: good point, it's hard to know when to pull the trigger
16:05GlanzmannIanPlatt[m]: There are few people in here which work under Linux. Mps was the first.
16:05mpsIanPlatt[m]: asahi kernel and different distros
16:06mpsIanPlatt[m]: and some runs OpenBSD ;)
16:06mpskettenis I think
16:06GlanzmannIanPlatt[m]: I was looking for something with low power consumption and enough cpu to for browsing and watching videos. Most of my compiling I do on other machines, so the air is a good fit IMHO. Especially considering the price.
16:07GlanzmannIanPlatt[m]: Also note that we have our first OpenBSD user on the air. A guy called Theo. kettenis onboarded him. :-)
16:07sven“a guy” is a bit of an understatement there
16:08IanPlatt[m]mps: what other distros?
16:08mpsalpine, arch, debian afaik
16:08j`eyI thought Theo T'so worked on linux, not openbsd :P
16:08axboej`ey: haha
16:09amarioguy has quit [Ping timeout: 480 seconds]
16:09svenlol :D
16:09amarioguy has joined #asahi
16:10GlanzmannTheo will not be happy when he hears that we disabled metadata checksumming.
16:10mpsIanPlatt[m]: i forgot nixos (is that linux distro or build system)
16:10j`eynixos is a distro
16:12IanPlatt[m]I'm still not sure which I'm leaning towards, but this has been helpful! Thanks!
16:13mpsIanPlatt[m]: I know that tmlind uses alpine for one year though with different kernels
16:14mpsI remember that tmlind and I installed alpine linux and tested about year ago
16:14mpsso, yes, alpine was the first distro seriously used on M1 ;)
16:15axboembp is perfectly usable for a daily driver for me (been doing that the last 2 weeks), but I'm told my standards are low
16:15IanPlatt[m]That's good to know, my biggest concern is I don't want to use MacOS haha
16:15mpsIanPlatt[m]: nor do I
16:15axboeIanPlatt[m]: check the wiki for what works and what doesn't currently, some of it may be a showstopper for you atm
16:17IanPlatt[m]axboe: I will! Thanks
16:26psykose has quit [Ping timeout: 480 seconds]
16:27pavan has joined #asahi
16:27tpw_rulesaxboe: let me know when you finish that chromium patch. interested to see if it still requires those flags on my system
16:27psykose has joined #asahi
16:27axboetpw_rules: will do
16:28axboe[7560/9306] CXX obj/third_party/blink/renderer/core/core/drag_data.o
16:28axboethis is where I'm at ;)
16:30tpw_ruleshave you been timing it?
16:30axboeI have not, but it's about 2h for the whole thing. edit a page allocator header, and it's apparently rebuilding 9k files :/
16:31tpw_rulesok, so it's maybe 30% faster on m1 max than the m1 mini
16:32axboethis is just the little pro
16:32tpw_rulesi think 2h is how long it takes nixos's official builders which are the big ampere altra machines
16:33axboetpw_rules: it may be a bit more, this is just totally estimated
16:34tpw_rulesi was just curious, not scientific lol
16:34axboewell now I am too ;)
16:34mpsabout month ago I build firefox few times and it takes around 30 minutes iirc
16:34axboeI can try and time it with the final patch, probably need to update to the newest source tree anyway
16:34axboeon 98.x something now, the debian source package
16:35mpsaxboe: try on alpine ;)
16:35axboemps: I might try a different distro when I get the max, but not switching right now :)
16:36axboe./v8_context_snapshot_generator failed with exit code -11
16:37axboeoh god, still hitting some mprotect(.., 4k, ..) thing
16:37mpsaxboe: alpine have some 'bumps' around but most things are faster than on glibc based distros
16:37tpw_rulesdid you fix the BUILD.gn?
16:38axboetpw_rules: didn't touch it, just using what the deb package had
16:38tpw_rulesnot sure what's in the deb package, but they set a linker flag to force segment alignment to 4k on aarch64. so the executables can't even load
16:39axboetpw_rules: that one I did fix
16:39axboetpw_rules: but yeah, insta crash on executables before that
16:44bluetail[m]If I understood right, we can boot asahilinux while keeping the real macOS partition / installation intact. Or is it a replacement for [1] the real macos os and [2] the backup system ?
16:44axboebluetail[m]: you can keep it
16:46bluetail[m]Is it 'safe' yet to install?
16:46bluetail[m]And if so, can updates be done without reinstallation?
16:47j`eyit's safe, just not easy :P
16:47j`eyand depends what updates you mean?
16:48bluetail[m]Let's say I install this thing right now, but I decide - I want bluetooth support or something of the likes. How could I update my operating system to just get that?
16:48bluetail[m]Would there be an updater in place?
16:48bluetail[m]I mean, idk if bt is yet suppported
16:48j`eythat'll just work like normal linux updates
16:49bluetail[m]Wait... How are you guys delivering the m1 specific updates for drivers et cetera?
16:49j`eythat's all in the linux kernel package
16:49bluetail[m]I don't understand. I can only guess that you guys are in the case of arch linux commiting updates to their branches and asahilinux then grabs from there
16:50clover[m]yeah as long as you use the asahi distro you will get all of the linux updates
16:50j`eybluetail[m]: there is a custom repo for asahilinux packages
16:50IanPlatt[m]j`ey: Also, as far as the not easy part, are there instructions somewhere?
16:51bluetail[m]j`ey: Does this work like the package manager in debian where it references to sources of the specific package/update server repo?
16:51j`eyIanPlatt[m]: the installer is getting close to being usuable, so I assume markan will write something 'official' up for that when its done
16:51clover[m]asahi distro will probably have its own kernel and other essential packages, but the rest will just be arch linux ARM
16:51bluetail[m]like the ppa
16:51j`eybluetail[m]: sure
16:52j`eyIanPlatt[m]: but there are some guides/videos here too https://github.com/AsahiLinux/docs/wiki/Debian
16:52immychan[m]What will this installer install?
16:52bluetail[m]So I can install this version and wouldn't be worried about having to reinstall version X over version Y each time there is a minor update. Cool.
16:52j`eyimmychan[m]: a 'remix' of archlinux
16:52bluetail[m]Theres also a debian package though afaik
16:52immychan[m]Oh okay, that sounds cool
16:53immychan[m]How are the GPU drivers at the moment?
16:53bluetail[m]afaik non existent
16:53bluetail[m]I mean, no gpu acceleration
16:54j`eythere has been some RE of the kernel side,, but I dont think a driver has been started yet
16:55bluetail[m]naive question: Is Rosetta 2 in scope?
16:56j`eyno since that's a macOS application!
16:57j`eymaybe someone can look at trying to optimise QEMU or FEX to use the TSO bit, but that's probably some ways off
16:58bluetail[m]I kinda want to test boot the m1 linux now because I want to verify whether macOS falsifies the video output or not. Days ago I said that the video that is outputted looks vastly different to me compared to window, linux, BSD
16:59bluetail[m]My claim is hard to proof though cause I dont have the equipment, but the eyes that are telling me something is off, since I can visually see the scanlines on macOS while I cant on linux, windows
17:02amarioguy has quit [Ping timeout: 480 seconds]
17:02David[m]1234What are the steps to create a bootable USB drive after having selected 'Arch Linux ARM' from the installer?
17:14tpw_rulesDavid[m]1234: i don't think there are any. it writes the rootfs directly to the internal disk
17:33mpsasahi linux distro? first time hear for it
17:34David[m]1234Ok, what are the steps then to have a bootable arch?
17:35j`eythe installer should install it
17:37David[m]1234I have the uboot timeout waiting for an USB drive I think
17:37j`eyhm that should boot grub
17:38yuyichao has joined #asahi
17:39David[m]1234Yes that's what I though
17:40j`eywhen you rebooted into 1TR, what did it say under the asahi icon?
17:42yuyichao_ has quit [Ping timeout: 480 seconds]
17:44the_lanetly_052__ has quit [Ping timeout: 480 seconds]
17:47the_lanetly_052__ has joined #asahi
17:48GlanzmannDavid[m]1234 / j`ey: I think David[m]1234 has the old asahi installer, not the new one.
17:48j`eyno because they "selected 'Arch Linux ARM"
17:48GlanzmannOh, I see.
18:02yrlf has quit [Quit: The Lounge - https://thelounge.chat]
18:03tomtastic has quit [Ping timeout: 480 seconds]
18:04yrlf has joined #asahi
18:09tomtastic has joined #asahi
18:13tomtastic has quit []
18:13tomtastic has joined #asahi
18:29___nick___ has joined #asahi
18:30j`eyGlanzmann: you can drop the gpio-bl patch now
18:31___nick___ has quit []
18:33___nick___ has joined #asahi
18:46mpsj`ey: that means it is current asahi kernel repo?
18:47j`ey(as of 20mins ago)
18:47mpsfew minutes ago I added Glanzmann's patch cleanly
18:47mps(git pull again)
18:52Glanzmannj`ey: wow, thanks for the heads up. I kill it.
18:52Glanzmannj`ey: Done. Rebuilding.
18:53Glanzmannj`ey: Tell me you're secret how you get so fast notified. I tried to subscribe AsahiLinux but I only get emails on some prs. I probably need to setup a script which pulls the branches every minute and send me emails. :-)
18:54j`eyjust pulled at the right time :P
18:56sventhat’s what he claimed last time when he found some new branch I pushed a few minutes earlier as well 🤨
18:57j`ey2 times is a coincidence, when you catch me a 3rd time I will spill my secrets
19:19marcanFYI: distro image is currently mildly broken, do not use. going to sleep, I'll fix it up tomorrow.
19:41DarkShadow44 has quit [Server closed connection]
19:41DarkShadow44 has joined #asahi
19:52amarioguy has joined #asahi
19:53j`eymarcan: do not reply until tomorrow: bootstrap.sh just exits without any indication if the curl's failed
19:56Glanzmannj`ey: Good that you're awake. I just try to integrate Debian into the installer. :-)
19:56j`eyit's 8pm lol
19:57Glanzmann'-) 9pm for me.
20:00j`eythe fact the installer opens the terminal automatically is v cool, thanks VinDuv <3
20:03j`eyhuh, I swear I picked the tethered/dev option.. but u-boot was isntalled..
20:04j`eydamnit.. why did marcan start menus from 1.. I was expecting 0 lol
20:04j`eyso I wrote '2', for the third item in the list lol
20:18MajorBiscuit has quit [Ping timeout: 480 seconds]
20:28bisko has joined #asahi
20:33Glanzmannj`ey: So with the installer.
20:33GlanzmannI change it a little bit to install Debian.
20:33GlanzmannThan I started it from macos and everything looked good until it asked me to shutdown.
20:34GlanzmannSo I shut it down, but did not hold and press due to the the new code.
20:34GlanzmannThan the mini blinked funny and give me an option after 1 minute or so to either pick recovery or choose startup volume.
20:34GlanzmannWhen I choose the startup volume option, it says that there is only a 'macos' volume.
20:35GlanzmannI assume something went wrong.
20:35j`eysounds like it
20:35j`eythe new code runs from 1tr, so you still need to do the hold and press
20:36GlanzmannOkay, Than let me retry that.
20:37GlanzmannYep, now it offered me Debian Linux.
20:39GlanzmannAnd it is doing the policy update.
21:08___nick___ has quit [Ping timeout: 480 seconds]
21:10amarioguy has quit [Ping timeout: 480 seconds]
21:43j`eyre-did the installer making sure to write 3 isntead of 2, and it works perfectly
21:49clover[m]wait the installer is out? where can i find the instructions?
21:52sventhere’s no official release yet, it’s the usual alpha version with new updates
21:52j`eyclover[m]: if you want to install the asahi archlinux, you need to wait a bit longer
21:52j`eyI just used the installer to install a new 12.1 stub partition+m1n
21:53clover[m]are you doing an unofficial debian installer?
21:54j`eyGlanzmann is
21:59Glanzmannclover[m]: Yep.
22:01Glanzmannclover[m]: So, if you want to install Debian right now, you can use: curl -sL tg.st/u/boostrap.sh | bash
22:02GlanzmannThat uses the Asahi Installer from marcan, but modified so that it pulls the json from my site, not from marcans and also pulls the image to be installed from my site. https://pbot.rmdir.de/c__14-pix1jlGJGHTRuGVQ that is the patch that I used for testing.
22:02Glanzmannclover[m]: This is very fresh. I just did three test installations on the mini.
22:03clover[m]i have a M1 macbook pro
22:03GlanzmannThis works IIUC only on the 2020 models, because the device trees of the newer models are missing.
22:03Glanzmannclover[m]: Which one?
22:03clover[m]13 inch, M1, 2020
22:03Glanzmannthan it works.
22:04Glanzmannclover[m]: I also did the installation without an ethernet cable in.
22:04sventhat is a MacBook Air then though, isn’t it?
22:04Glanzmannsven: No, there was also a pro from 2020.
22:04GlanzmannIt is like the air but with the function key bar, more speakers and a fan.
22:05j`eysven: btw 1 week until apple event, so start saving incase theres a new mini ;)
22:05svenoh, right, and with the touch bar
22:05clover[m]i will wait to tinker until the weekend. this is a work machine and im afraid to brick it D:
22:06GlanzmannHere is the dmesg from the just installed mini: https://pbot.rmdir.de/BXT1vBeyqYscioMUSI1WfA
22:06svenj`ey: :(
22:06svenI already know that i won’t need that thing but I still won’t be able to resist
22:08Glanzmannclover[m]: Do a backup if you need the data. I never managed to brick a machine, but I managed to make on unupgradable so I had to wipe it and reinstall. Others in here have often killed there macos isntallation on accident and had to reinstall, I have not understood how. Whatever you do, never delete the first, second and last partition.
22:08GlanzmannSo what will the new mini have?
22:10sventhere’s probably going to be something with the m2 (or whatever they’ll call it)
22:11svenmaybe Mac mini, maybe iMac Pro or maybe a real Mac Pro.
22:12svenor maybe n times m2 for the Mac Pro. Who knows :)
22:12j`eyit seems the mini will be max/pro, and then a macbook pro will have m2
22:12j`ey(according to 'rumour' sites)
22:13svenand those are never wrong ofc!
22:14svenbut a MacBook Pro with the m2 would be good for my bank account. I think I can resist that one
22:17GlanzmannI'm only mad that I bought the mini without the 10 Gbit/s port.
22:17GlanzmannBut I initally only bought it to be an uart ...
22:18GlanzmannI have to hit bed, n8.
22:33kode54I'm not mad about not having 10 Gbit
22:33kode54I don't have $10k to upgrade my house to 10Gbit just to improve the speed accessing absolutely nothing
22:33kode54nothing in my LAN benefits from that speed
22:38psykoseyou can stream that 20Mbit video *so* much faster :p
23:08kettenisupdated the device trees in u-boot to sync them with the linux repo
23:23pwg_ has joined #asahi
23:26pwg has quit [Ping timeout: 480 seconds]
23:29pwg_ is now known as pwg
23:29pwg has quit [Quit: WeeChat 3.4]
23:29pwg has joined #asahi
23:39vasilymilovidov[m] is now known as vvm[m]
…