2022-05-13
00:00kdrag0n[m] has joined #asahi-dev
00:00unevenrhombus[m] has joined #asahi-dev
00:00casperes1996[m] has joined #asahi-dev
00:00henje[m] has joined #asahi-dev
00:00codegosu[m] has joined #asahi-dev
00:01BrenoMaia[m] has joined #asahi-dev
00:01exhan[m] has joined #asahi-dev
00:01brstream[m] has joined #asahi-dev
00:04IanPlatt[m] has joined #asahi-dev
00:06the_real_briel[m] has joined #asahi-dev
01:27katatafjsh[m] has joined #asahi-dev
01:27JasonAntwi-Appah[m] has joined #asahi-dev
01:27mnc7[m] has joined #asahi-dev
01:27AnushervonTabarov[m] has joined #asahi-dev
01:28RianSouzaSantos[m] has joined #asahi-dev
01:28huddy987[m] has joined #asahi-dev
02:01luxio_39[m] has joined #asahi-dev
02:01izzyisles[m] has joined #asahi-dev
02:08DanStrong[m] has joined #asahi-dev
02:08nametable[m] has joined #asahi-dev
02:09meowmomo1[m] has joined #asahi-dev
02:09pedrohos[m] has joined #asahi-dev
02:14phiologe has joined #asahi-dev
02:17PhilippvK has quit [Ping timeout: 480 seconds]
02:19yuyichao_ has joined #asahi-dev
02:30arnidg[m] has joined #asahi-dev
02:30cadawerum1[m] has joined #asahi-dev
02:39rkjnsn has joined #asahi-dev
02:39AntonioSchettini[m] has joined #asahi-dev
02:39kedde[m] has joined #asahi-dev
03:07butterfly[m] has joined #asahi-dev
03:07minkuu[m] has joined #asahi-dev
03:07ryanhrob1[m] has joined #asahi-dev
03:11alicela1n has joined #asahi-dev
03:58digitalfx[m] has joined #asahi-dev
03:58xf00[m] has joined #asahi-dev
03:58nihilistpc[m] has joined #asahi-dev
03:58steffen[m] has joined #asahi-dev
03:59rohin[m] has joined #asahi-dev
03:59Liam[m] has joined #asahi-dev
04:00happy-dude[m] has joined #asahi-dev
04:00Tom[m]1234 has joined #asahi-dev
04:02kov has quit [Quit: Coyote finally caught me]
04:03ah-[m] has joined #asahi-dev
04:07virmos[m] has joined #asahi-dev
04:07ey3ball[m] has joined #asahi-dev
04:08ogimgd[m] has joined #asahi-dev
04:13unrelentingtech has joined #asahi-dev
04:29boardwalk has quit [Quit: Ping timeout (120 seconds)]
04:29boardwalk has joined #asahi-dev
04:35ivy_[m] has joined #asahi-dev
04:35user974[m] has joined #asahi-dev
04:36lowz[m] has joined #asahi-dev
04:39M0x8FFshulkk[m] has joined #asahi-dev
05:05eeao^ has joined #asahi-dev
06:18the_lanetly_052__ has joined #asahi-dev
07:38roxiun[m] has left #asahi-dev [#asahi-dev]
08:17jluthra has quit [Remote host closed the connection]
08:18jluthra has joined #asahi-dev
08:46akamizu[m] has joined #asahi-dev
08:53dottedmagFWIW, what needs to be done in KMS driver so that compositors can handle it (TL;DR: provide fake EDID, as it ended up in uABI): https://paste.debian.net/plain/1240762
08:54dottedmagmarcan: Does display controller really hide EDID from the CPU? I remember you talked about it, but I may have missed something in meantime
08:54* mazwatches the Studio updating macos at a glacial speed... thank fsck this is the last time I'll see that.
09:01psydroid[m]I see your experience updating macOS on Apple hardware is about as good as mine in QEMU :)
09:08_jannau_dottedmag: I think dcp reports all necessary information. make, model and serial number are reported as properties (not parsed atm). Timing and colorimetry modes as well
09:13Lucy[m] has joined #asahi-dev
09:29bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
09:32maz_jannau_: what's the best way to get started on the t6002? the "old" way (install m1n1 by hand and bootstrap the whole thing), or the Asahi installer?
09:35dottedmag_jannau_: yeah, shouldn't be too hard to expose. It is unfortunate that it has to be packed into fake EDID though
09:36the_lanetly_052___ has joined #asahi-dev
09:42the_lanetly_052__ has quit [Ping timeout: 480 seconds]
09:43_jannau_building the installer itself is not hard either. It builds however m1n1 with chainloading which requires bleeding edge rust
09:44j`eythe main thing the installer does is make the partition, but if youre not going to use macOS (dual boot) and you're not using the internal disk, maybe it's not so useful? it does firmware stuff, but you can do that manually too
09:46jannaumaz: with https://paste.debian.net/1240766/ the stand-alone m1n1 installation should work
09:51kettenisor you just copy installer.tar.gz and installer_data.json yourself, untar it and run install.sh
09:53ricekot has joined #asahi-dev
10:42kov has joined #asahi-dev
10:56c10l1 has quit []
10:56c10l1 has joined #asahi-dev
10:56c10l1 is now known as c10l
11:03systwi_ has joined #asahi-dev
11:07systwi has quit [Ping timeout: 480 seconds]
11:11eeao^ has quit [Remote host closed the connection]
12:20bisko has joined #asahi-dev
12:55rdltromw^ has joined #asahi-dev
13:19maz_jannau_: does the installer rely on the system rust toolchain? or does it bring its own? I get some funky compilation errors...
13:24_jannau_if marcan doesn't beat me to it I'll prepare a PR for mac studio support in the installer
13:26maz_jannau_: I may do that, as I seem to be doing something wrong (I still get the same error despite trying to force the nightly rust).
13:29_jannau_maz: CI does https://github.com/AsahiLinux/m1n1/blob/52bb64b86c0de8d8b1ae56a04b8d86e40a62862b/.github/workflows/build.yml#L33
13:38yuyichao_ has quit [Ping timeout: 480 seconds]
14:03yuyichao has joined #asahi-dev
14:13ChaosPrincess has quit [Quit: WeeChat 3.5]
14:15ChaosPrincess has joined #asahi-dev
14:31mazhoohoo! I'm at the point where I'm now feeding the box the wrong secondary m1n1/u-boot/DT combo (it is the one from the mini setup).
14:37_jannau_maz: working dts is in https://github.com/jannau/linux/tree/asahi-t6002 based on the asahi downstream branch
14:40_jannau_u-boot supports t6002 since https://source.denx.de/u-boot/u-boot/-/commit/585fc1c8c535380e1ace681e34bb1e3c9e8bc7ae but master might be still broken
14:42_jannau_fix is in https://patchwork.ozlabs.org/project/uboot/patch/20220426171409.58716-1-kettenis@openbsd.org/#2883455
14:44the_lanetly_052___ has quit [Ping timeout: 480 seconds]
14:45TheLink has quit [Quit: ZNC 1.8.2 - https://znc.in]
14:45TheLink has joined #asahi-dev
15:11maz_jannau_: OK, I'm in u-boot now. does it need any convincing to probe mass-storage on USB (the C ports, I know the A ports don't work)?
15:24tpw_ruleswell i can't speak for mac studio. but it should tell you how many of what kind of usb devices it found
15:31arndmaz: have you tried just booting a kernel in a m1n1 vm? that's how I'm still booting at the moment, skipping the u-boot step
15:32mazarnd: no, I really want to run the full thing. running under the hypervisor isn't an option, for obvious reasons.
15:36jannauyou might need https://patchwork.ozlabs.org/project/uboot/patch/20211224232216.56847-1-kettenis@openbsd.org/
15:44mazamusingly, I just had the recovery jumping in and telling me that my "macos" install was corrupted, or something similar.
15:50_jannau_see https://github.com/AsahiLinux/linux/commit/c65d40d51ad43c1cb61a2e8658005340a622b826
15:52arndmaz: I meant just to get you started with setting up user space. Once it works in the VM, you can obviously boot the same kernel natively from proxyclient, and then move to u-boot the last step. I found the vm proxyclient to be super helpful just getting started when not following the normal install
15:55arti1208 has joined #asahi-dev
15:56mazarnd: oh, I have a full userspace ready to be plugged in (my Mini is the donor system). I used proxyclient until about 8 months ago, at which point I switched to u-boot. I now have u-boot correctly probing USB, so it is only a matter of building the kernel, dumping it on the Mini's FS, and moving the disk over.
16:01nicolas17 has joined #asahi-dev
16:03arndmaz: makes sense. I wasted a ton of time just finding the right kernel config. I had started with arm64 defconfig and then turned on stuff one option at a time, which meant a lot of reboots until I had something working ;-)
16:04arndI still want to eventually turn on all those options in mainline, so I can just build a defconfig kernel and not think about it much, but there is not much point until enough drivers are there
16:04sven_jannau_: wait, if I have a newer iboot I can no longer forcibly reset this thing because I’m too lazy to issue a real reboot?
16:07svenand even if I was right now there are times where it serrors very early because if this tbt mess
16:09mazthis is going to be super annoying, as the box will be in a rack with no way to interact with it other than the serial console...
16:21nicolas17add a remote actuator for the power button like AWS did for their Mac EC2 instances :D
16:31maz_jannau_: do you have to select dual mode for DWC3 to work? or host? I have the former in my kernel config, and the ports don't seem to get detected...
16:40jannauwhich kernel? if upstream it's missing support for the iommu variant? otherwise do you have CONFIG_TYPEC_TPS6598X ?
16:50mazjannau: using your t6002 branch. I have this module, but the controllers themselves don't seem to appear, and it is like the driver never really probes them.
17:02mazthey probably are on the mass storage, but since I made the initrd on the Mini, tons of things may be missing from there.
17:07jannauhw doesn't differ that much. ethernet and sd card reader are the only things I can think of which use separate module
17:09arti1208 has quit [Quit: Konversation terminated!]
17:43mazyup, definitely a module dependency issue. with jannau's config, I can boot by debian install all the way.
17:47kit_ty_kate has quit [Quit: WeeChat 3.2.1]
17:47kit_ty_kate has joined #asahi-dev
17:53roxfan2 has quit [Remote host closed the connection]
17:53svenif you don't mind hacks you can try https://github.com/AsahiLinux/linux/tree/atc-WIP to get usb3 speeds back
17:53svenhrm, although i dunno if someone already found the right fuses and build the devicetree for the ultra
17:58roxfan has joined #asahi-dev
18:18maz4:17 for a full debian kernel. not bad. I think I'm limited by the I/O here. already 30% faster than my current box, with only a fraction of the CPUs.
19:18nico_32_ has joined #asahi-dev
19:18nico_32 has quit [Ping timeout: 480 seconds]
19:45jakebot has quit [Quit: The Lounge - https://thelounge.chat]
19:59rdltromw^ has quit [Remote host closed the connection]
21:04Telvana2 has joined #asahi-dev
21:04Telvana has quit [Ping timeout: 480 seconds]
21:06yuyichao_ has joined #asahi-dev
21:10yuyichao has quit [Ping timeout: 480 seconds]
21:34jakebot has joined #asahi-dev
21:36jakebot has quit []
21:40jakebot has joined #asahi-dev
22:36tanty has quit [Remote host closed the connection]
22:38tanty has joined #asahi-dev
22:46Telvana2 has quit [Ping timeout: 480 seconds]
23:18ricekot has quit [Quit: Connection closed for inactivity]
23:31Eighth_Doctormarcan, svenpeter: so I know that linux-5.18 is coming up in a couple of weeks, I was wondering if you folks would be so kind as to be willing to prepare a branch off the 5.18 tag with the remaining non-upstream Asahi stuff that exists so far?
23:31Eighth_Doctorthat way I can cherry-pick it all onto the Fedora kernel tree once we start our 5.18 rebase
23:32Eighth_Doctorfor the kernel-asahi package I'm working on
23:33Eighth_Doctoroh it is?
23:34Telvana has joined #asahi-dev
23:34j`eyhttps://github.com/AsahiLinux/linux/commits/asahi?after=3a1d9c235673bad7f7c9d7226efd9797039c293c+139&branch=asahi&qualified_name=refs%2Fheads%2Fasahi
23:35Eighth_Doctorso it is (5.18-rc5) as of right now
23:35Eighth_DoctorI should have just checked instead of asking a question that apparently already has an answer :)
23:41Telvana has quit [Read error: Connection reset by peer]
23:43Telvana has joined #asahi-dev
23:56Telvana has quit [Read error: Connection reset by peer]
23:56Telvana has joined #asahi-dev