#
…

2021-04-20

00:08raster has quit [Quit: Gettin' stinky!]
00:40Caloludr has quit [Read error: Connection reset by peer]
00:44odmir has quit [Remote host closed the connection]
00:45odmir has joined #asahi
00:49odmir has quit [Ping timeout: 240 seconds]
01:16odmir has joined #asahi
01:49odmir has quit [Ping timeout: 240 seconds]
02:16odmir has joined #asahi
02:25odmir has quit [Ping timeout: 240 seconds]
02:39odmir has joined #asahi
02:41Necrosporus has quit [Ping timeout: 240 seconds]
02:46phiologe has quit [Ping timeout: 250 seconds]
02:48phiologe has joined #asahi
03:12odmir has quit [Ping timeout: 240 seconds]
03:22marvin24 has quit [Ping timeout: 250 seconds]
03:22marvin24 has joined #asahi
03:57mxw39 has quit [Quit: Konversation terminated!]
03:58mxw39 has joined #asahi
04:43odmir has joined #asahi
05:17odmir has quit [Ping timeout: 260 seconds]
05:35VinDuv has joined #asahi
06:03maknho____ has quit [Ping timeout: 268 seconds]
06:05maknho____ has joined #asahi
06:21jeffmiw has joined #asahi
06:25jeffmiw has quit [Ping timeout: 265 seconds]
06:27VinDuv has quit [Quit: Leaving.]
06:28ephe_meral1 has joined #asahi
07:13odmir has joined #asahi
07:46odmir has quit [Ping timeout: 246 seconds]
07:51klaus has joined #asahi
07:59raster has joined #asahi
08:10bisko has joined #asahi
09:00ldhacker[m] has quit [Quit: Idle for 30+ days]
09:05jeffmiw has joined #asahi
09:09jeffmiw has quit [Ping timeout: 252 seconds]
09:10Bublik has joined #asahi
09:12Bublik_ has quit [Ping timeout: 240 seconds]
09:43odmir has joined #asahi
09:47choozy has joined #asahi
10:11jeffmiw has joined #asahi
10:11Mary_ has quit [Quit: Bye!]
10:11jeffmiw has quit [Client Quit]
10:12Mary_ has joined #asahi
10:15jeffmiw has joined #asahi
10:16odmir has quit [Ping timeout: 240 seconds]
10:17choozy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
10:26bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:33maknho____ has quit [Ping timeout: 252 seconds]
10:36maknho____ has joined #asahi
10:51rjeffman has joined #asahi
11:15tomtastic has quit [Ping timeout: 240 seconds]
12:03tomtastic has joined #asahi
13:19choozy has joined #asahi
13:39bisko has joined #asahi
13:41m42uko has quit [Quit: Leaving.]
13:41m42uko has joined #asahi
14:09Namidairo has quit [Read error: Connection reset by peer]
14:10Namidairo has joined #asahi
14:33tomtastic has quit [Quit: ZNC - https://znc.in]
14:33bgianf has quit [Ping timeout: 252 seconds]
14:33tomtastic has joined #asahi
14:59Bublik has quit [Ping timeout: 252 seconds]
15:00Bublik has joined #asahi
15:22vimal has quit [Ping timeout: 248 seconds]
15:24odmir has joined #asahi
16:51VinDuv has joined #asahi
16:57maknho____ has quit [Ping timeout: 240 seconds]
16:58maknho____ has joined #asahi
17:14maknho has joined #asahi
17:16maknho____ has quit [Ping timeout: 240 seconds]
17:27brentr123[m]Apple just announced a m1 iMac, seems like we have a new toy to play with :P
17:39j`eyand M1 ipad
17:41j`eykmutil on ipad??
17:51dottedmagNo detailed hw specs yet?
17:51brentr123[m]imagine asahi on the new ipad
17:59jn__hmm, i wonder if the iPad will have a security model typical for an iPad or typical for the M1 machines released so far
18:03jannauI doubt there will be 1TR on the ipad pro. They could have announced Mac OS on ipad pro otherwise
18:09radex has quit [Ping timeout: 250 seconds]
18:11taziden has quit [Ping timeout: 258 seconds]
18:11VinDuv has quit [Read error: Connection reset by peer]
18:12VinDuv has joined #asahi
18:24taziden has joined #asahi
18:25marcanI really want Linux on an iPad, but I put the chances of Apple opening up that boot chain at about 0.1%.
18:25marcanso, not going to happen until someone finds a bootrom exploit.
18:26marcannow where the heck am I going to put that iMac
18:26emily has quit [Ping timeout: 245 seconds]
18:26marcanmaybe I need a big arm and it can live on top of my intel iMac?
18:27izzyisles[m] has quit [Ping timeout: 245 seconds]
18:27Augur[m] has quit [Ping timeout: 245 seconds]
18:27kharit[m] has quit [Ping timeout: 245 seconds]
18:27bfredl has quit [Ping timeout: 245 seconds]
18:27j`eyjust replace the intel imac? :)
18:27konradybcio has quit [Ping timeout: 245 seconds]
18:27marcanit's my main workstation, needs at least a year or so :)
18:29marcanalso, I wonder how well I could run gentoo on an M1 machine. I have a buildbox, but it's x86 of course
18:30izzyisles[m] has joined #asahi
18:30Augur[m] has joined #asahi
18:30kharit[m] has joined #asahi
18:30marcanI suspect the best way to do it would be to run an arm64 userspace chroot with qemu-user for building, but then use distcc to shell out the actual compilation to a crosscompiler built for x86
18:31marcan(either that or I make a cluster of M1 Minis as an arm64 buildbox9
18:31kettenisimac has the same 8-core m1 asthe other machines
18:31radex has joined #asahi
18:31emily has joined #asahi
18:32kettenisso not all that interesting from a developer perspective
18:34pipcet[m]I'm sure they've renumbered the gP pins ;-)
18:35bfredl has joined #asahi
18:35marcanI mean this is a 4-core intel imac...
18:35konradybcio has joined #asahi
18:35marcanhence the threadripper buildbox :@p
18:36bkeromarcan: just specify a binhost with gentoo
18:36dottedmagkettenis: So iMac looks like a Mac mini glued to a display, hardware-wise?
18:36marcanbkero: yes, hence I need to mark an arm64 binhost, which is what I was talking about
18:37marcandottedmag: pretty much
18:37taziden has quit [Ping timeout: 245 seconds]
18:38marcanbkero: if I want to keep using the TR, I'd need to emulate arm64; hence the story with distccing the compiles to the *same* machine, but outside the emulation
18:38bkeromarcan: right, although something like crossdev removes the need to use any sort of chroot. It can be handled on the box directly without the slowness of qemu
18:38bkerowhich would serve the same function as distcc there
18:38marcanto build packages you need a chroot
18:38marcancrossdev just installs the crosscompilers for you
18:39delroththis is such a solved problem with nix :)
18:39bkeroRight, that is another method. You can also use sysroot, which just prefixes instead
18:40marcanI highly doubt sysroot will work for my ~2700-package workstation buildhost
18:40marcanthere is no way in hell a true crosscompiling setup won't break on tons of packages
18:40marcannobody tests this stuff
18:41marcanhence the idea of using qemu-user, but distccing out the builds to a crossdev compiler outside the qemu-user part
18:41marcanit's like that time I had gentoo on a wimpy cortex-a8 board, distccing out to my main machine, except it would be the same machine
18:42bkeroYep, that is a way you can do it. It's slower and the emulation of the compilation/make/linking is unnecessary.
18:42bkeroBut that probably won't add up over 2700 packages
18:42delrothwhat I've been doing before having some proper ARMv8 board to run builds on at home is just get an EC2 m6g.2xlarge spot instance
18:43marcanI guess I could just use The Cloud, yeah
18:43marcanI do weekly builds, probably wouldn't be that expensive
18:43delrothturns out you can even get a static IPv6 for free on EC2 (it's not well documented :) ), so I have graviton.delroth.net pointing there and used as a prio 2 nix builder
18:43delrothwhen it's up it gets used
18:43marcanthen again, a mac mini cluster would be cute too
18:43taziden has joined #asahi
18:43marcananyway, off to sleep
18:44delrothif you want some build capacity temporarily uh
18:44delrothI can possibly give you access to my lx2k board
18:44delrothbut really The Cloud is a great option for this too.
18:45marcanunlikely to be worth it with the latency
18:45marcan16-core A72?
18:45marcanalso is it actually faster than an M1?
18:45delrothprobably not
18:45delrothbut builds shard pretty well in general
18:45delrothoutside of the critical path
18:45delroth(except for the whole latency problem :-) )
18:45marcanexactly :p
18:46marcaneither way I've been meaning to build a Ceph cluster at home out of cheap ARM boards... but if I get like 4 Mac Minis I could dual purpose them as OSDs and build hosts :p
18:46jannauno, mac mini is way faster than 16 core lx2k
18:46marcannice built in fast as heck SSD for metadata, plug in some USB or TB HDDs for data
18:47delrothA72 is a shitty core yeah
18:48delrothmac mini might be the best option for perf/$ these days in terms of armv8 at home
18:48delrothwhich is ridiculous given it's apple
18:48taziden has quit [Ping timeout: 245 seconds]
18:48bkerowtb some cortex x1 sbcs
18:49jannauit's a 5+ year old core
18:49delroth(the reason I have the lx2k is more the 4x10Gbps SFP+ than the 16 core A72 :) )
18:59klaus has quit [Read error: Connection reset by peer]
19:00tomtastic has quit [Quit: ZNC - https://znc.in]
19:03klaus has joined #asahi
19:04tomtastic has joined #asahi
19:16taziden has joined #asahi
19:24tomtastic has quit [Ping timeout: 252 seconds]
19:30tomtastic has joined #asahi
19:37choozyDo any of you know if a part of the Correllium Linux changes are also upstreamed and how and if that interferes or interacts with Asahi's upstreaming efforts?
19:37j`eychoozy: none are upstreamed
19:37sventhere was one upstreaming attempt by a third-party afaik
19:37svenbut since then there's been no interaction from them on the mailing lists
19:37choozyAh, I thought they promised to upstream it at some point...
19:38svenspeaking of which... i should get back to that iommu patch
19:38svenchoozy: i don't think that makes much sense from a business perspective from them. their core knowledge is virtualization and not maintaining linux drivers ;)
19:41sven their proof of concept was good work that showed off their skills and probably even helped them validate their hardware models.
19:42svenbut well.. if i was them i'd rather spend my time improving their hypervisor especially since there are enough other people interested in doing that upstreaming work
19:42pipcet[m]I imagine they had a rogue employee working on it and don't know what to do with it yet...
19:42j`eywell their CEO was promoting it quite heavily pipcet[m] !
19:42sveni mean that part makes sense. it was good (and deserved) PR for them
19:42svenit might've just been a hobby or a 20% project :)
19:42pipcet[m]not really, I expect it's the community reaction that made them reconsider putting more resources into it
19:43pipcet[m]but, as I said elsewhere, they have email addresses and they do sometimes respond to emails
19:46klausmore M1 macs coming .. it will be good to have proper linux on those too.. an imac and an ipad pro..
19:46opticronyeah, the ipad pro at this point is nearly just a mac tablet which is neat
19:46pipcet[m]sven: do you have the DWC3 working as a USB gadget in Linux or just in m1n1? I'm having a bit of a hard time doing the former
19:47opticronthough I wonder if the ipad pro is locked down
19:47klausespecialy when we'll be able to have a good OS on them :)
19:47svenpipcet[m]: linux
19:47svenit was working in linux before i wrote the code for m1n1 actually ;)
19:48pipcet[m]anything special you needed to do to get the UDC to show up?
19:48svenso the easy way to get it to work is to setup the iommu to bypass mode from m1n1, add dma-ranges; to the device tree and patch the dwc3 driver to use 64bit dma addresses
19:48svenfor some reason their binding didn't seem to respect dma-ranges and was still stuck with 32bit addresses which won't work
19:48sven(or maybe i messed up)
19:51pipcet[m]is that code available somewhere? It'd be cool to get that to work and it doesn't sound entirely trivial :-)
19:52sveni don't think i pushed it anywhere since it's more of a hack
19:52delrothsven: "upstreaming attempt" might be overstating it a bit
19:52delroththey dumped code on the lkml
20:06ephe_meral1 has quit [Ping timeout: 265 seconds]
20:13odmir has quit [Remote host closed the connection]
20:14odmir has joined #asahi
20:18odmir has quit [Ping timeout: 240 seconds]
20:18zorunhi, I've been following the project for some time, it's really interesting :)
20:19zorunI'm an admin of the compile farm [https://cfarm.tetaneutral.net/], we have a M1 mac mini but it runs MacOS (obviously)
20:20zorunI understand Linux support is not yet ready (e.g. NVMe) but I'm looking forward to the day we will be able to host a M1 running Linux
20:21zorunwe have other ARM hosts if it can be of any help for building stuff (the new Jetson AGX Xavier is nice)
20:30pipcet[m]may I ask what the problem is with NVMe? It appears to work quite nicely here.
20:30bkeropipcet[m]: Apple NVMe
20:36zorunyes, support for NVMe on the M1
20:36opticronI think the quirk was that it's a platform device on the M1 instead of being exposed over PCIe
20:37opticronbut overall still the same chip and no real expected issues using it
20:37delrothprobably still needs DART support to be upstreamed first?
20:37svennvme isn't behind a DART
20:37svenit's behind what apple calls SART
20:38svenwhich is.. another iommu i guess
20:44odmir has joined #asahi
20:46VinDuv has quit [Quit: Leaving.]
20:50odmir has quit [Remote host closed the connection]
20:50odmir has joined #asahi
20:53kubes has joined #asahi
21:19kubes has quit [Quit: Leaving]
21:35riker77 has quit [Quit: Quitting IRC - gone for good...]
21:42riker77 has joined #asahi
21:48klaus has quit [Ping timeout: 265 seconds]
22:06maz| has joined #asahi
22:07maz has quit [Remote host closed the connection]
22:15choozy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
…