2021-10-18
00:10rohin2 has quit [Ping timeout: 480 seconds]
00:11rohin2 has joined #asahi
00:18jmr2 has quit [Quit: Page closed]
01:10rohin2 has quit [Ping timeout: 480 seconds]
01:27Serentty[m]I’ve partitioned space for it and installed M1N1. How should I go about installing Linux. Is there a write-up somewhere? I’m okay with something manual like extracting a tarball and setting it up from the command line. I’m just not sure what I should download in terms of a kernel, if I need any patches, and stuff like that.
01:44Serentty[m]This guide seems to be quite out of date.
01:45Serentty[m]Or is it not?
02:05jmr2 has joined #asahi
02:08jmr2I had a doubt whether dcp->chunks.length was 8-bit or 32-bit, but I really feel it's 8-bit.
02:09jmr2Stards with D3 as expected, and I dumped twice with different segment size. Both dumps were identical, so I'm fairly confident I got it right.
02:12c10l has quit [Quit: The Lounge - https://thelounge.chat]
02:13c10l has joined #asahi
02:18chadmedSerentty: if youve already got m1n1 installed then the developer quickstart guide should still be accurate to follow on from. nothing about that process has changed materially, marcan just made a script to automate some of it
02:18PhilippvK has joined #asahi
02:20marcanI guess I should scrape all existing IPSWs and first determine if iBoot version always bumps together with DCP version
02:20alyssaAt least on whatever version jmr2 is on, DCP doesn't tell you for the internal panel on the macbook
02:22phiologe has quit [Ping timeout: 480 seconds]
02:30rohin has quit [Quit: Konversation terminated!]
02:33rohin2 has joined #asahi
02:39Serentty[m]<chadmed> "Serentty: if youve already got m..." <- Can I boot it without sending commands over a serial connection? That’s what the instructions seem to say to do.
02:39jmr2alyssa: just installed a 11.4 stub, and the three lengths are the same. I'll need a bit more time to compare the contents.
02:39alyssaswitch to drm_bridge, use display connector bridge, describe HDMI in the mini DT, describe panels in the macbook DTs, everyone is happy.
02:40alyssahandling the macbook case properly takes a lot more work (see ^^), but for now you can just skip it tbh
02:40chadmedSerentty: you can concatenate the device tree, kernel and m1n1 into a single macho binary and have m1n1 chainload the kernel. its in the quickstart, a bit further down i believe
02:43chadmedSerentty: https://github.com/AsahiLinux/docs/wiki/Developer-Quickstart#direct-payload-booting
02:48Serentty[m]Alright. I’m going to build the kernel now. It’s complaining about the lack of a GNU toolchain targeting AArch64 Linux. Can I use Clang and LLD instead?
02:49chadmedm1n1 has some problems with clang i think though so it might be worth investing the time into building an AArch64 gnu toolchain
02:50nobodynada has joined #asahi
02:50jmr2alyssa: ah, beat you to it! If you check in my "for when you're bored" patch & dmesg from earlier today, I was already forcing non-zero values into width_cm and height_cm.
02:50jmr2That leads to a frozen display, an unhandled D211 callback, vblank wait timouts and lots of interesting stuff.
02:51jmr2(same result currently - I'm still forcing those, even if I no longer do the corruption that you pointed out)
02:56Serentty[m]Hm... It says “restart config” and it wants me to go through the kernel configuration. I copied the file to .config like it said.
02:56chadmedyou should run menuconfig or nconfig and set the kernel up properly. it will stop it from doing that. theres probably some new options in the kernel that arent in your .config or vise versa
03:06Serentty[m]chadmed: Now I’m going through the kernel configuration. Is page size something worth thinking about?
03:06chadmedthe M1 uses 16K pages so as long as that's set you should be fine. not sure on the status of sven's 4K patches rn.
03:16Serentty[m]scripts/sorttable.c:27:10: fatal error: 'elf.h' file not found
03:16Serentty[m]That’s strange.
03:17jmr2alyssa: and unless I screwed up, the ColorElements/TimingElements/DisplayAttributes are the same regardless if I boot from an 11.4 or an 11.5.2 stub.
03:20marvin24 has joined #asahi
03:21Serentty[m]Oh man, I’m running into all of the errors described in this article which I found by searching.
03:22Serentty[m]Are you saying that I need to be on Linux already to compile Linux?
03:24marvin24_ has quit [Ping timeout: 480 seconds]
03:32jmr2 has quit [Remote host closed the connection]
03:35kov has quit [Quit: Coyote finally caught me]
03:36kov has joined #asahi
04:08Glanzmannrross101: Thank you I improved my instructions also based on what you found out: https://ab34.de/u/asahi.txt
04:14phire has quit [Ping timeout: 480 seconds]
04:17Serentty[m]I get a 404.
04:20sajattack[m]Serentty: why do I keep running into you everywhere? 🤣
04:21Serentty[m]Because I’m everywhere.
04:23Serentty[m]Oh, this is using the proxy client, though. I need to do concatenation to get it to work.
04:23Serentty[m]I don’t have a serial cable.
04:24marcanSerentty[m]: I was going to say, yeah, *usually* you'd be building linux kernels on linux
04:24Serentty[m]Oh, it just occurred to me. Does anyone have a Mach-O image with M1N1, the kernel, the device tree, and the initramfs? I just tried it with the kernel I built, but it didn’t detect it.
04:25Serentty[m]Yes.
04:26Serentty[m]I don’t think it is. Just booting in general.
04:26Serentty[m]Glanzmann: I don’t actually have any other computers in the house with a USB-C port.
04:27Serentty[m]How can I boot standalone, then?
04:28marcanfor an end-user system, you'd embed U-Boot into m1n1 and use that as a second stage, but we don't really have guides for that nor is it in the installer because right now we only expect kernel devs to be booting things and developing using another system as a host
04:28Glanzmannmarcan: How can someone pass linux command line parameters with a concatted m1n1? So how can I run this with concatted m1n1? M1N1DEVICE=/dev/ttyACM0 proxyclient/tools/linux.py --bootargs="net.ifnames=0 rw root=/dev/nvme0n1p4 rootwait rootfstype=ext4" Image.gz t8103-j274.dtb
04:28marcanGlanzmann: you can't, you need to put them in the device tree right now. I've been meaning to add some mechanism for that.
04:28Glanzmannmarcan: But I think the linux kernel can embedd a linux default command line, can't it?
04:30Serentty[m]So right now, the only way to boot is with serial every time? Or making M1N1 binary with U-Boot?
04:30GlanzmannSerentty[m]: No, as marcan said you put the kernel command line in the dt under /chosen/boot-args
04:30marcanI mean you *can* embed a kernel into m1n1 and boot it, but it'd be silly because you'd have to go to 1TR and run kmutil every time you want to change the kernel
04:30GlanzmannThan you concat m1n1, kernel and dt and copy to the boot volume and bless it with kmutil.
04:31GlanzmannIn your case you have to do that two times, one for booting from usb, and than for the final one booting from the nvme.
04:32marcanin my opinion there really isn't a good reason for people to be putting kernels straight into the boot object, especially at this point in the game... but I won't stop you if you really want to do it that way :)
04:32GlanzmannSerentty[m]: But it is much easier if you just go to amazon and buy a cable, if you don't have one. You just need a second linux box with a usb port and the right cable to hook it up to the m1.
04:32marcanand yes, any USB-C to USB-A or USB-C cable (depending on your other side) will work, nothing fancy
04:33Glanzmannmarcan: I mean the m1n1 as desktop is usable, I'm typing on it right now. And if you don't play a lot with the kernel, maybe you just want to be able to turn it on and use it. But yes, probably you will compile kernels every few days.
04:34marcanlike, I won't stop people from doing it, but it's going to make debugging a nightmare and just isn't terribly useful, so you're kind of on your own if you really want to do that
04:34marcanwhat this is telling me is I need to get the U-Boot flow sorted out because enough people want to use this already :p
04:35chadmedyeah i dont see a reason for directly embedding the kernel unless you really, _really_ hate u-boot or something
04:36Glanzmannmarcan: How will that work? m1n1 loads uboot, uboot has a nvme driver and reads the kernel from the nvme?
04:36Serentty[m]This is the command that I ran:
04:36Serentty[m]cat m1n1.macho Image.gz t8103-j274.dtb initramfs-linux.img.gz > ~/payload
04:37Serentty[m]And then I put the payload file on my APFS volume and call it m1n1.macho.
04:37Serentty[m]Okay, thanks.
04:37chadmedGlanzmann: you can build u-boot so that it runs non-interactively, when was the last time you had to point your android phone to its device tree and kernel?
04:37Serentty[m]marcan: Nope. But it did find M1N1 and boot it.
04:38marcanm1n1.macho doesn't do anything on its own, you need to install the boot object from 1TR (booting with the power button held down). This is why this is a pain in the ass and not recommended.
04:38marcanwhen you run step2.sh it copies m1n1.macho into the proper place and updates the boot policy
04:38marcanthis is part of secureboot and requires authenticating against the SEP and only works from 1TR
04:39Serentty[m]cat m1n1.macho t8103-j274.dtb initramfs-linux.img.gz Image.gz > ~/payload
04:39Serentty[m]Is that the correct order?
04:40Serentty[m]marcan: Can I run the step2.sh file on my Linux volume from recovery to update this?
04:40marcanyes, as long as you put m1n1.macho next to it (you might need to remount read-write as macos likes to mount system volumes read-only by default)
04:48Serentty[m]Well, now it’s saying that the custom kernel failed to boot, so that’s progress.
04:48marcanu-boot works, it's just not upstream yet and I haven't integrated it with the installer / build stuff
04:49Serentty[m]It’s only about 25 MiB.
04:53Serentty[m]By the way, there’s no filesystem or anything for it to boot off of. That shouldn’t be the issue, right? Like, if that were the issue, I would see Linux try to boot but complain, right? It wouldn’t just reboot without showing anything?
04:54Serentty[m]I think I’ll leave it here for today.
04:54Serentty[m]I’ve learned a bit more about the boot process.
04:55Serentty[m]I could try the USB method next time. The funny thing is that the only other Linux machine that I have in this house (other than mobile stuff) is a PowerMac G3. Using that would be kind of funny.
04:56Glanzmannpovik: I would like to try the audio driver, where can I get it from and do you have any instructions for it?
04:57Serentty[m]Using a PowerMac to boot an ARM Mac, completely skipping over x86. There’s some poetry to it.
05:08rohin2 has quit [Ping timeout: 480 seconds]
05:10Serentty[m]I’ll probably use the PowerMac G3 then. It’s not fast, but it should be fast enought to run this I would imagine.
05:13Serentty[m]It’s kind of neat how this machine which came with Mac OS 8 can still be useful thanks to Linux. :D
05:16Serentty[m]Oh, I compiled the kernel earlier in a Linux VM on my M1 Mac.
05:16Serentty[m]I’ll just transfer it over.
05:16Serentty[m]But that’s for another day at this point.
05:21Glanzmannjmr2: If you do any progress on the macbook air, let me know, I would like to reproduce that.
05:23Glanzmannmaz: Can you send me the URL to your m1 kernel tree, please? I would like to try it out.
06:15svenpovik: but can just use marcan's reset controller to make ANS work again after it's been initialized once
06:22Glanzmannsven: I only noticed that random writes under Linux feel slow. I compiled fio yesterday under macos to compare performance, but it does not run.
06:23Glanzmann80 4k randrom writes: Jobs: 80 (f=80): [w(80)][0.0%][w=5765KiB/s][w=1441 IOPS][eta 01d:17h:36m:30s]
06:23bps has joined #asahi
06:23sveni'll first focus on getting a working version upstream. then i can look into making it faster if required
06:27GlanzmannI compiled it yesterday, but it does not run: https://pbot.rmdir.de/DvieNwRso9vFe6NzwEkolQ
06:52gabuscus_ has joined #asahi
06:56gabuscus has quit [Ping timeout: 480 seconds]
07:16Glanzmannsven: Allocating 80GB of ram when you have only 16 might be a bad idea. If I only allocate 1 GB of RAM, fio works on macos. There is a hugh performance difference: 4k random writes: 50 vs 34.4k. See here: https://ab34.de/u/m1-nvme-performance-linux-vs-macos-2021-10-18.txt
07:18DarkShadow44 has quit [Quit: ZNC - https://znc.in]
07:19DarkShadow44 has joined #asahi
07:45svenespecially because all that performance stuff should be handled by the regular linux nvme code
07:46mazGlanzmann: try *what* out? my tree is at git://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git , but there is no single M1 branch. rather a collection of series.
07:55Glanzmannmaz: I heard you have a frankenstein kernel with some corellium parts and asahi, I would like to try that.
07:57Glanzmannsven: Yes, i noticed when I installed my first deb using apt, but could not pinpoint it until I got fio working on macos.
08:00rross101 has joined #asahi
08:01Glanzmannsven: Maybe it has something todo with large pages? Linear is better and has higher iops even with 1MB block size. So for linear writes with 1MB block size it is 2.7GB/s (macos) vs 1.7 GB/s (Linux). https://ab34.de/u/m1-nvme-performance-linux-vs-macos-2021-10-18.txt
08:10aleasto has joined #asahi
08:10Glanzmannsven: I did some more testing, good news the random writes is the only one where we're really slow. All others have room for improvement but have the same ball park figures: https://ab34.de/u/m1-nvme-performance-linux-vs-macos-2021-10-18.txt
08:11GlanzmannBasically I did linear read/write with 1MB block size and random read/write with 4k block size. all queue depth 1.
08:12Glanzmannpovik: [RE audio branch and config] I'm currently sitting in the car waiting for my wife to finish some doctors appointment but once I'm back on my desk, I'll try that, thank you.
08:17mazj_ey: booting into macos involves finding a keyboard and a screen... I think I like sven's approach better.
08:24svenyou could also write a spi driver and write to that nor flash to disable the bootup sound from linux - but where's the fun in that?
08:26everslick_ has quit [Remote host closed the connection]
08:26mazI'm not indifferent to non-invasive surgery, but given that I already have the tooling... :D
08:26everslick_ has joined #asahi
08:27rross101 has quit [Quit: Page closed]
08:44Glanzmannj_ey: Do you have wifi running on the mabook air? If so do you have instructions how to get it running?
08:48j_eyGlanzmann: I dont have wifi, but I think jmr2 did. alyssas branch has the code but you need the firmware and some way to set it up
08:49j_eymy branch is here.. https://gitlab.arm.com/linux-arm/jg-open/-/tree/m1-keyboard but maybe I should spend a bit of time to redo it to make it easier to cherry-pick
10:00bps has quit [Ping timeout: 480 seconds]
10:10bps has joined #asahi
10:23bps has quit [Remote host closed the connection]
10:24bps has joined #asahi
10:58kovj_ey, btw, real life got in the way, but I managed to do a few builds and poking at config, I couldn't get the keyboard to work even after figuring out all of the dependencies to get KEYBOARD_APPLESPI enabled properly, would you mind sharing your .config? maybe there is some hidden dependency that I failed to enable
11:05kovj_ey, I tried a lot of trees, that config may be a bit mixed with other builds, but that is indeed not set, I'll try with it
11:40bgb has joined #asahi
11:44kovj_ey, it worked! I wonder if it was COMMON_CLK_APPLE_CLKGATE all along but menuconfig somehow fixed it for me
12:03rross101 has joined #asahi
12:07rross101 has quit []
12:21bps has quit [Ping timeout: 480 seconds]
12:24arndI just looked at the corellium rtc driver, the code looks "obvious", but I think we'd need to replace the two DT properties with normal "reg" properties, and of course it needs the spmi driver first, and that seems likely to need more changes, or at least a more detailed review
12:27jmr2 has joined #asahi
12:33bgb has quit [Ping timeout: 480 seconds]
12:34jmr2Glanzmann: The only real progress I made on the air is to get the wifi working by reproducing alyssa's steps. Just need to activate with smc.py prior to booting, and putting the correct firmware files in an initramfs. See the T2linux wiki.
12:36jmr2alyssa: OK, I'll try later today. Would you mind sharing your best trampoline_* guess for D211 ? Is the tool you're using to lookup the function names accessible?
12:41alyssaproxyclient/hv/trace_dcp.py: "D211": "void IOMFB::UPPipe2::update_backlight_factor_prop(int)",
12:42bgb has joined #asahi
12:43alyssaor maybe I'm just saying that because their spmi driver broke the boot because of a serious locking failure
12:43arndI have no business in drm-misc, or at least I keep saying no whenever I'm offered commit access
12:47brentr123[m]Vote for skip it?
12:50jmr2 has quit [Quit: Page closed]
12:59Misthios has quit [Ping timeout: 480 seconds]
12:59bgb has quit [Ping timeout: 480 seconds]
13:07arndalyssa: I had not even noticed that MFD regmap bit, only the main driver. Any idea what the MFD side is good for? For the actual spmi driver, it's mostly the irqchip bits that I suspect need changes after a thorough review. The interrupt-hopping data transfer looks inefficient, but there is probably not much to be done about that in the driver.
13:07bgb has joined #asahi
13:16bgb has quit [Ping timeout: 480 seconds]
13:23bgb has joined #asahi
13:31bgb has quit [Ping timeout: 480 seconds]
13:34chadmedi have phsyiology lab time booked at 10am tomorrow, it is currently 11:30pm and the mac event is at 3am. my dilemma right now is do i make myself another green tea and stay up to watch it, or go to the lab well rested and ready to sit around collecting data?
13:39bgb has joined #asahi
13:44Leidenfrost has joined #asahi
13:46LeidenfrostHello guys. Question: Will HD video (via vdpau or vaapi) will come after 3d acceleration or is it a project expected to be started in parallel?
13:47LeidenfrostOh sorry wrong channel
13:47bgb has quit [Ping timeout: 480 seconds]
13:58bgb has joined #asahi
14:06bgb has quit [Ping timeout: 480 seconds]
14:15bgb has joined #asahi
14:23Misthios has joined #asahi
14:23bgb has quit [Ping timeout: 480 seconds]
14:25Misthios has quit []
14:26Misthios has joined #asahi
14:32bgb has joined #asahi
14:37bps has joined #asahi
14:40bgb has quit [Ping timeout: 480 seconds]
14:45alyssa_ has joined #asahi
14:46bps has quit [Ping timeout: 480 seconds]
14:48rimani has joined #asahi
14:49bgb has joined #asahi
14:57bgb has quit [Ping timeout: 480 seconds]
14:58kenjigashu has joined #asahi
15:03rimani has left #asahi [Leaving]
15:05bgb has joined #asahi
15:05alyssa has quit [Remote host closed the connection]
15:10alyssa_ is now known as alyssa
15:11* everslick_is gone, searching for himself. if you see him, before he gets back, keep him here.
15:11marcanalyssa, sven, maz, povik, kettenis, j_ey, arnd: how about we try to shift more dev chat to -dev, since this channel is getting a bit noisy lately? This is why I made them separate initially :)
15:13bgb has quit [Ping timeout: 480 seconds]
15:13alyssa has left #asahi [#asahi]
15:21bgb has joined #asahi
15:29bgb has quit [Ping timeout: 480 seconds]
15:33Glanzmann has quit [Quit: leaving]
15:38bgb has joined #asahi
15:50bgb has quit [Ping timeout: 480 seconds]
15:58bgb has joined #asahi
16:06bgb has quit [Ping timeout: 480 seconds]
16:12kenjigashu has quit []
16:16bgb has joined #asahi
16:24bgb has quit [Ping timeout: 480 seconds]
16:33bgb has joined #asahi
16:39___nick___ has joined #asahi
16:41bgb has quit [Ping timeout: 480 seconds]
16:44rohin has joined #asahi
16:49bgb has joined #asahi
16:53FLHerne has joined #asahi
16:56yuyichao has quit [Ping timeout: 480 seconds]
16:57bgb has quit [Ping timeout: 480 seconds]
17:06bgb has joined #asahi
17:12yuyichao has joined #asahi
17:14bgb has quit [Ping timeout: 480 seconds]
17:15nobodynadahere come the macs!
17:17i509vcb[m]Apple upgrade name starter pack: "Pro, Ultra, +"
17:18phire has joined #asahi
17:22fridtjof[m]wow, labelled axises(?)
17:23i509vcb[m]discrete as in the huge 3 slot gpus?
17:23bgb has joined #asahi
17:23i509vcb[m]leah2: LOL mining eth on the m1 gpus
17:24fridtjof[m]they did specify which laptop models, so we could look it up
17:25marcanI think I'm going to feel silly saying "m1 max" and "m1 pro", can we switch to saner names?
17:25i509vcb[m]reject alphabet embrace magic numbers
17:26fridtjof[m]m1x2, m1x4? :P
17:30brentr123[m]j_ey: I’m sure we can get around that somehow
17:30phire_ has joined #asahi
17:31opticronso current tally on that chopped off bit is 2x memory controllers, 2x display controllers, 32x functional GPU cores
17:31bgb has quit [Ping timeout: 480 seconds]
17:31doggkruse has joined #asahi
17:32i509vcb[m]dottedmag: "use our technology and don't go to others"
17:33i509vcb[m]hol up
17:33i509vcb[m]notch on laptops?
17:33i509vcb[m]concern
17:33brentr123[m]YESSS
17:34brentr123[m]REGULAR F1 KEYSS
17:35marcannot gonna lie, I thought I'd end up with a new iMac but at this rate my new main box might be the big MBP replacing my old laptop and driving a 4K display or so
17:36i509vcb[m]Please other laptop manufacturers DO NOT start using notches
17:36EmantorThey fixed the keyboard, SD slot, HDMI, touchbar gone, more display controllers than current gen intel… not bad.
17:37i509vcb[m]120hz isn't the worst thing
17:37i509vcb[m]Arguably should be standard
17:37i509vcb[m](with vrr for battery life)
17:38VinDuvWhen they brought back the FireWire and the SD card slot on the 2009 MBP I don’t think they mentioned it so clearly, at least
17:38marcanyou know, I kind of hope once we get all the core stuff working smoothly, this inspires more devs to care about things like color management and HDR
17:39i509vcb[m]You do need to get some protocol for everyone to agree to in wayland or else it will be just like screen capture
17:41bgb has joined #asahi
17:41opticronI still have a dream of eventually building an exotic home theater system with at least a rotary sub and a plasma tweeter
17:42marcancan I get away with a big max one and a small pro one... or do I need both configs for the small one too...
17:42i509vcb[m]I do wonder has anyone ever figured out the touch bar or is it still a black box
17:42Glanzmann has joined #asahi
17:43marcanj_ey: definitely, but I'm smelling it not getting announced today... but I guess we'll see?
17:43brentr123[m]this is why people need to keep donating to marcans patreon
17:44i509vcb[m]So the drivers exist on T2 but not M1?
17:47i509vcb[m]I do wonder is there a future where all the iDevices and macs share the same cpus? Given the M1 ipad has come to exist
17:47i509vcb[m]sure cores and gpus varying
17:49bgb has quit [Ping timeout: 480 seconds]
17:49i509vcb[m]jeh[m]: "Pretend it exists when rendering"
17:50kovbecause it will be ok for gnome and kde I think, but as soon as you go fullscreen on a game it's game over
17:50JTLIs there prior art for the Linux dispaly stack or other components handling notches in displays?
17:51phire_I don't have that much of a problem with the notch. I see it as the top border being pushed up along most of the top
17:51GlanzmannHow much do think the pro or max or whatever it is called (the best machine) will cost with everything maxed out?
17:52fridtjof[m]shipping with a 140W USB-C power adapter??
17:53fridtjof[m]doesn't PD only go up to 100W?
17:54fridtjof[m]oh, also USB-C to magsafe 3
17:54fridtjof[m]interesting
17:54opticronthe previous PD technically goes up to 150W or so, but I think it requires non-standard power profiles
17:54marcandefinitely going to be a total idiot on the 16-inch though, because hey this actually sounds like a machine I'd use
17:56VinDuvok that’s a bit deceptive, going from M1 Pro to M1 Max adds 230€ but it forces 32 GB RAM which adds 460€
17:56brentr123[m]Most should
17:56svenpretty sure i'd get a call from bank if i put that on my card just because it's unusual activity :D
17:57bgb has joined #asahi
17:57svenmy bank is pretty reasonable. i think i went over the card limit once because i had to put some business travel on it and all they did was call me and ask me to confirm
18:04* tophevich[m]is curious how much impact these newly released macbook pro models will have on developers getting itchy to contribute to this project, as they get hungry to have that hardware as daily drivers :D
18:05bgb has quit [Ping timeout: 480 seconds]
18:06marcanthe problem is precisely that I've been paying for *everything* with card lately, and due to the way they count the limit over more than one month, that kinda sucks for it
18:06rohini think i will give it a couple months, like the ipad pro hype, it went 200 bucks off 3 months after launch lol
18:07marcanwhy doesn't apple allow paying via bank transfer like most big ticket japanese businesses, sigh
18:08marcanI guess this is the part where I start putting "get better credit cards" on the business expenses list... :/
18:09tophevich[m]hm apple online shop seems to struggle right now (at least for me)
18:10___nick___ has quit []
18:10Glanzmannmarcan: I used to have good credits card, but they required a not rooted phone to purchase in the internet as only option, as a result I cancled it. These days I have to debit visa cards, both never let me down even for very high charges.
18:11Glanzmannmarcan: In Germany I had also problems getting a decent credit card for a very long time, but than I financed a flat with one bank and from then on, it is private banking. If I want something from them (credit card, credit, ...) I call them and two days later I have it.
18:13bgb has joined #asahi
18:15jixI have a credit card where I can extend the limit on the fly by transfering funds into a separate account, essentially turning it into a debit card... but it still has a normal credit limit when I don't do that and it's still accepted at places that don't accept debit cards
18:19Glanzmannjix: I hated that, because the credit card account was also the one where you got the interest. So I had a lot of money on that account and so I never used the credit card because I was afraid of abuse. And once I used it in russia, guess what ...
18:19GlanzmannGot the money back, only a few thousand bugs, but I had to go the police and file a report, proof that I was not in russia when the transactions happened, etc, etc. cost me whole day.
18:19marcanapparently I can get a prepaid Visa from my bank, maybe that's the safe option for this kind of thing
18:21bgb has quit [Ping timeout: 480 seconds]
18:21kovapparently brazil's telecom agency hasn't approved the new macbooks yet so they aren't even allowed to accept pre-orders gah
18:21svenuh. i got a credit card in .de with like a 2k eur limit as a student without any kind of income. there are enough sketchy/awesome banks around :D
18:22tophevich[m]hm ... airpods pro cost the exact same in my country as the airpods 3rd gen o_O
18:22marcanand I've been using that card for almost everything (because it gives me some points), so most of that limit is already gone
18:23___nick___ has joined #asahi
18:23Glanzmannsven: When I was 18 I was declined from every bank I applied for a credit card. But then came barcalay card and others around. 1600 EUR/ month ...
18:23marcanI wish I could just press a button and pay off the whole balance early and reset everything
18:23svenyeah barclays was the bank that gave me that credit card when i was 19 or so as well *shrug*
18:23jixGlanzmann: ah well, I'm not leaving any money in that account, and being able to quickly raise my limit when I need it was really convenient a few times
18:24* tophevich[m]can't buy anything directly at apple because they only support credit cards for payment ...
18:24phire_ has quit [Ping timeout: 480 seconds]
18:24dottedmagI remember having a credit card without a limit (probably they'd call me if I tried to buy an island with it though), was quite convenient.
18:27marcandepending on timing, since I'm busy that weekend, the bring-up might be the following monday
18:28jixmilek7: "Virtual or prepaid credit or debit cards aren't accepted as payment for Azure subscriptions." is one place where I ran into that
18:28nobodynadaI get mine a week from tomorrow
18:30kode54not the least of which was that the display controller told not-macOS that it was a single channel 4k panel
18:31bgb has joined #asahi
18:31___nick___ has quit []
18:31kode54for instance, the onboarding wizard with the fading background, you could see the two halves were fading out of sync
18:33___nick___ has joined #asahi
18:36nobodynadaquestion, how likely am I to need a UART adapter? it looks like that USB-C controller board on the Asahi website has been chip-shortaged out of existence
18:36nobodynadacan I run Linux in the hypervisor and use its vUART?
18:38nobodynadaawesome, thanks
18:38marcangpu performance switching also doesn't work... that's another one I need to annoy the amdgpu guys about one day...
18:38nobodynadaI have a Cypress PSoC devkit whose USB controller might be...repurposable, but I really don't want to do that if I don't have to
18:39bgb has quit [Ping timeout: 480 seconds]
18:40marcanI have a 2015 one that I maxed out the CPU on last year (got it from a friend) and it's not throttling too badly
18:40nobodynadaI just preordered a pro
18:41nobodynadaj_ey: I don't have one, though maybe I can ask some friends who do if they'd be down for kernel hacking sessions
18:42j_eynobodynada: because what Glanzmann was alluding to, was that two M1 machines can act like a hardware uart
18:43nobodynadaj_ey: yeah, I saw that on the website
18:43nobodynadaj_ey: awesome, thanks!
18:43j_eynobodynada: the good thing about the hardware uart is that you can reboot the target machine remotely without using the hypervisor
18:44nobodynadaj_ey: can you do that with a 2nd mac, or do you need the hardware adapter?
18:46Glanzmannnobodynada: But you need one of these good usb cables. The one that shipped with my eizo works for me.
18:46doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:47nobodynadaGlanzmann: ugh, guess I'm making a trip to best buy then
18:47bgb has joined #asahi
18:49Glanzmannnobodynada: The good usb cable you only need to use a second m1 as a uart replacement. vuart works with a normal cable.
18:51___nick___ has quit [Ping timeout: 480 seconds]
18:52nobodynadawow, it looks like they're already selling out
18:52nobodynadasome of the models are showing shipment dates in November now
18:53LeidenfrostYeah I prefer to wait until the frenzy ends and the price drops
18:56bgb has quit [Ping timeout: 480 seconds]
18:58tomtastic_ has joined #asahi
19:00tomtastic has quit [Ping timeout: 480 seconds]
19:00tomtastic_ has quit [Remote host closed the connection]
19:00tomtastic has joined #asahi
19:03bgb has joined #asahi
19:07nehsou^ has quit [Ping timeout: 480 seconds]
19:07nehsou^ has joined #asahi
19:11jelly-hme is now known as jelly
19:12bgb has quit [Ping timeout: 480 seconds]
19:19tomtastic_ has joined #asahi
19:20bgb has joined #asahi
19:22bps has joined #asahi
19:24doggkruse has joined #asahi
19:24tomtastic has quit [Ping timeout: 480 seconds]
19:26doggkruse has quit []
19:28tomtastic has joined #asahi
19:28bgb has quit [Ping timeout: 480 seconds]
19:30tomtastic_ has quit [Ping timeout: 480 seconds]
19:32bgb has joined #asahi
19:39minithe store is working pretty well in the UK now at least, it melted quite badly immediately after the stream finished
19:40bgb has quit [Ping timeout: 480 seconds]
19:43malvo has quit [Ping timeout: 480 seconds]
19:46Glanzmannkettenis: I see. I used the mini on Linux for a few days, works good so far. Did not had any issues beside the dcp, but once the display is up it is stable.
19:49Glanzmannkettenis: Could you try this command and let me know how many iops do you get? fio --ioengine=sync --direct=0 --fsync_on_close=1 --randrepeat=0 --nrfiles=1 --name=randwrite --rw=randwrite --bs=4K --size=1G --end_fsync=1 --fallocate=none --overwrite=0 --numjobs=1 --sync=1 --directory=/mnt
19:50bgb has joined #asahi
19:55jmr2 has joined #asahi
19:56jmr2Glanzmann: here's a slighly more detailed version of the steps to get wifi working on the air: http://paste.debian.net/plainh/df6b642b
19:57jmr2I don't plan to maintain that doc - feel free to merge it in yours - or in the project's wiki.
19:58bgb has quit [Ping timeout: 480 seconds]
20:07mjg59marcan: I'm sure you mentioned this at some point, but I can't find anything online - does M1 implement Trustzone?
20:08bgb has joined #asahi
20:08svenmjg59: they don't have EL3. the only part of trustzone that they implement is the memory protection.
20:16bgb has quit [Ping timeout: 480 seconds]
20:24bgb has joined #asahi
20:28bps has quit [Ping timeout: 480 seconds]
20:32bgb has quit [Ping timeout: 480 seconds]
20:41bgb has joined #asahi
20:49bgb has quit [Ping timeout: 480 seconds]
20:58bgb has joined #asahi
20:58Glanzmannsven / jey: I did not pin the core, but the point is the random write 4k are really bad.
20:58jmr2 has quit [Remote host closed the connection]
20:59sventhe number is still low but if it was running on a heavily underclocked performance core who knows
21:00bps has joined #asahi
21:00malvo has joined #asahi
21:06bgb has quit [Ping timeout: 480 seconds]
21:14landscape15[m]Do you think the less efficiency cores in the new chips will affect a lot the CPU drivers?
21:16bgb has joined #asahi
21:18Glanzmannsven: I ran it multiple times. I notices the bad performance immediatly after I was installing my first debian package using apt. I ran 80 threads in parallel. I get 1000 IOPS. Look at the CPU: https://ab34.de/u/screenshot-nuc-2021-10-18-23_16_33.png
21:22Leidenfrost has quit [Quit: Connection closed]
21:22GlanzmannThis is how it looks with one thread. https://ab34.de/u/screenshot-nuc-2021-10-18-23_22_16.png
21:24bgb has quit [Ping timeout: 480 seconds]
21:26GlanzmannBut if you want I can kick out the cpufreq driver and run the cpufreq experiment in m1n1, as I used to and reproduce the issue.
21:30GlanzmannI thought we don't have thunderbolt yet? But I have no thudnerbold drive, but I have a usb stick. Lets try that.
21:30bps has quit [Ping timeout: 480 seconds]
21:30Glanzmann has quit [Quit: Lost terminal]
21:32jacoxon has joined #asahi
21:32bgb has joined #asahi
21:32Glanzmann has joined #asahi
21:33GlanzmannI did the test on the usb stick: 250 IOPS vs (50 on the nvme): https://pbot.rmdir.de/u/-eBt-nonVsZadqu1OheYLA
21:40bgb has quit [Ping timeout: 480 seconds]
21:45Glanzmann has quit [Quit: EOF]
21:48bgb has joined #asahi
21:53nsklaus_it seems these new m1s will heat and consume a bit more energy than the base model, while still staying way down compared to the competion
21:54jacoxon has quit []
21:57bgb has quit [Ping timeout: 480 seconds]
22:05bgb has joined #asahi
22:06aleasto has quit [Quit: Konversation terminated!]
22:13bgb has quit [Ping timeout: 480 seconds]
22:21bgb has joined #asahi
22:23kenjigashu has joined #asahi
22:23kenjigashu has quit [Remote host closed the connection]
22:29bgb has quit [Ping timeout: 480 seconds]
22:39bgb has joined #asahi
22:47bgb has quit [Ping timeout: 480 seconds]
22:49kenjigashu has joined #asahi
22:55bgb has joined #asahi
23:03bgb has quit [Ping timeout: 480 seconds]
23:04yuyichao has quit [Ping timeout: 480 seconds]
23:11bgb has joined #asahi
23:18amw has joined #asahi
23:19bgb has quit [Ping timeout: 480 seconds]
23:20kenjigashu has quit []
23:28bgb has joined #asahi
23:30yuyichao has joined #asahi
23:31avalos has joined #asahi
23:33avalosThis project sucks. I mean, it's extraordinary and all, but it's missing the most important part of any project:
23:35avalos has left #asahi [#asahi]
23:36bgb has quit [Ping timeout: 480 seconds]
23:41yuyichao has quit [Quit: Konversation terminated!]
23:43yuyichao has joined #asahi
23:45bgb has joined #asahi
23:51malvo has quit [Read error: Connection reset by peer]
23:51malvo has joined #asahi
23:53bgb has quit [Ping timeout: 480 seconds]