2021-08-31
00:38gladiac is now known as Guest5850
00:38gladiac has joined #asahi
00:39Guest5850 has quit [Ping timeout: 480 seconds]
01:05Namidairo has quit [Quit: ZNC - https://znc.in]
01:06Namidairo has joined #asahi
01:24dsrt^ has quit [Ping timeout: 480 seconds]
01:29tomtastic_ has joined #asahi
01:31tomtastic has quit [Ping timeout: 480 seconds]
01:38riker77_ has joined #asahi
01:40riker77 has quit [Ping timeout: 480 seconds]
01:40riker77_ is now known as riker77
01:41dsrt^ has joined #asahi
02:04yuyichao has joined #asahi
02:11phiologe has joined #asahi
02:14gladiac has quit [Ping timeout: 480 seconds]
02:15PhilippvK has quit [Ping timeout: 480 seconds]
02:18gladiac has joined #asahi
02:43null has quit [Quit: oh no.]
02:43null has joined #asahi
03:01skipwich has quit [Quit: DISCONNECT]
03:01skipwich has joined #asahi
03:49marvin24 has joined #asahi
03:52marvin24_ has quit [Ping timeout: 480 seconds]
04:33analoq_ has joined #asahi
04:40analoq has quit [Ping timeout: 480 seconds]
05:11marcankettenis_: made the asahi logo stick when booting a kernel (still restores for chainload/HV)
05:13nskl has joined #asahi
05:14nsklaus_ has quit [Ping timeout: 480 seconds]
05:20marcanI haven't written docs on it yet, partially because it's not properly deployed yet and I want a few more people in here to try it before we start publicizing it more :)
05:21citizen1[m]please add an option for 1 time donations
05:21klange<@marcan> jthom[m]: ToaruOS when? (cc klange) <- Can I at least target a raspberry pi or something first...
05:22klangeYes, if you told me that you've found M1 to be less insane I would believe you without question.
05:23marcancitizen1[m]: I have PayPal, but I try not to advertise it too much because having lots of little one-time donations can make managing taxes/etc a bit of a nightmare
05:23marcanAIC is stupid simple, the clock stuff is stupid simple, CPU startup is stupid simple, ...
05:24citizen1[m]how about your create a Ko-Fi account?! $1 from a million users is $1Million !
05:24klange(Though really it'll be one of QEMU's virt targets first... and it'll be a long road... and I have so many other things on my plate at the moment...)
05:26marcancitizen1[m]: A million users aren't going to donate :) but I'll consider ko-fi if more people ask for it
05:26klangeThe one system I found that wasn't a royal pain to set up here was Github Sponsors, which pays out through Stripe and didn't require me to provide a business registration like PayPal wants.
05:27marcanPatreon pays through Payoneer which also didn't ask for anything weird other than the usual identity verification stuff
05:27klangePatreon was problematic for other reasons... they do not correctly provide or accept documents for US citizens living abroad.
05:28klangeThough they do also enjoy screwing their foreign residents, but that's a different matter.
05:29marcanI love all the "I swear I'm not a US Person for tax purposes" boxes I have to tick everywhere
05:29klangeI can say I do get a couple hundred yen every other month from Github, from a grand total of *checks* one sponsor at the moment.
05:34citizen1[m]i had issues transferring $100 to a guy internationally, they make it so hard thus why now I am starting to believe in Crypto... although i am not a crypto person and do not know how to use it
05:34amwI have a 6 partitions (using the whole disk) iSC, APFS (MacOS), APFS (Asahi), MS basic data LB, ... LR, Recovery : Should I blow away the LR + LB or just make a 3GB space?
05:37marcanamw: assuming LB/LR are not in use yet, just blow them away, you can always recreate them from linux once you do a filesystem install
05:38marcanif you don't need to use the hypervisor, you can blow that one away too if you want, and use the installer fresh
05:40amwI'm not sure I'm using the Asahi partition, I think I might be using a APFS volume in the MacOS APFS Container - very confusing
05:47chadmed has joined #asahi
06:13balrog has quit [Quit: Bye]
06:14balrog has joined #asahi
06:54amwIt seems to be the python library that it is not happy with : https://paste.debian.net/1209731/
08:16tomtastic has joined #asahi
08:19tomtastic_ has quit [Ping timeout: 480 seconds]
08:26aleasto has joined #asahi
08:41aleasto has quit [Quit: Konversation terminated!]
08:43aleasto has joined #asahi
08:48gladiac is now known as Guest5882
08:48gladiac has joined #asahi
08:52Guest5882 has quit [Ping timeout: 480 seconds]
08:54simjnd has joined #asahi
08:54simjnd has quit []
09:16kettenis_marcan: any particular reason you're not yet trying to push the "syscon" clocks approach yet?
09:34marcanI set some environment variables to make it find that python lib, which is part of the installer, but maybe whatever OS you're on ignores those?
09:55kettenis_yeah, discussion about DT bindings tends to take a while, so getting things out there early makes some sense
12:06aleasto has quit [Quit: Konversation terminated!]
12:06aleasto has joined #asahi
12:37marcanI've only tested 11.5.2 and 12.0 betas, and I only claim to support 11.4 or newer (we'll eventually require 12.x firmwares anyway)
12:44marcanI just tried it on 11.4 and it does work, so something must be different about your system
12:51marcanokay, it's just that DYLD_FALLBACK_FRAMEWORK_PATH doesn't work but DYLD_FRAMEWORK_PATH does
12:54amwI guess it's a security protection for their programs being tricked into running non-standard libraries?
13:06amwYep in the restart window (I already had one before - should have chosen a different name??)
13:06marcanhowever, keep in mind that now the command it tells you about in the end might not work :-)
13:08marcanmaybe I should detect the condition, give step2.sh a unique name, and tell people to /Volumes/Linux*/step2-abcd.sh in that corner case
13:13pipcet[m]"There was an error starting up your Mac. Reinstall macOS to resolve the issue." That supposed to happen?
13:14amwI don't get the Utilities menu - I get the macOS Recovery page and a picker of three partitions (non with the Asahi logo)
13:14yuyichao has quit [Ping timeout: 480 seconds]
13:15pipcet[m]i don't think so. I appear to have two "Linux" partitions and two "Linux - Data" ones.
13:16marcan/home/marcan/media/images/screenshots/Screenshot_20210831_221635.png it's supposed to look like this
13:17marcanpipcet[m]: the instructions tell you to hold down the power button and run a script from recovery mode at the end of the installer
13:20marcanafter you pick options, it's supposed to spin for a bit on a screen that says "macOS Recovery" at the top, then go into the menu I screenshotted
13:27amwOk - finally there https://raw.githubusercontent.com/amworsley/asahi-wiki/main/images/bootPressed.jpg
13:29pipcet[m]as I said, the message never appeared, it was "select the right volume" or something and nothing else, then "press enter to continue"
13:31pipcet[m]"When the Startup Disk screen appears, choose 'Linux'. You will have to authenticate yourself. Press enter to continue"
13:31amwOK - after selecting the Options I get this : https://raw.githubusercontent.com/amworsley/asahi-wiki/main/images/AfterOptions.jpg
13:31marcanI would not be surprised if `shutdown -h now` kills the system before the terminal has a chance to flush its state
13:33marcanif you didn't see that message and your system shut down anyway, then you weren't paying attention, because it's literally impossible for the script to call down shutdown -h now *without* printing that message and waiting for a keypress first
13:33amwThis is the CLI text I got (I saved before restarting by holding down power button) - https://paste.debian.net/1209775/
13:34alyssaklange: don't forget the famous "I'm revoking my dual US citizenship because it's too much of a tax liability, and they want to charge $5000 for that"
13:36amwmarcan: I believe the system boots to a macOS recovery and you get to choose which one of the recoveries - I think it can run the kmutils from that one you select?
13:37aleasto has quit [Quit: Konversation terminated!]
13:37aleasto has joined #asahi
13:38marcanno offense, but every time the two options have been "something crazy that doesn't make any sense" and "pipcet wasn't following instructions", it's always been the latter
13:38marcanyou're going to have to show me a video or something if you want to convince me it's the former
13:41kettenis_I successfuly switched from "Macintosh HD" to "OpenBSD" using the recovery "Startup Disk" menu option yesterday
13:42marcanI mean it works, it just won't do what you want because at this stage in the install the state is "a macOS kernel with no root filesystem"
13:44amwOk - I picked my macOS one and took me to the 1TR (I think) it has the Utilities menu and Terminal....
13:44marcanwonder what's up with that picker, I've never seen it before, even on the machine with multiple installs
13:47amwHmm there is /Volumes/Linux/step2.sh - But there is also a /Volumes/Linux 1 (which doesn't have that!)
13:50j_eymarcan: ah, so the Volumes are both Linux, and it's mac OS adding the '1' when it mounts it
13:52marcankettenis_: seriously though, if you want we can offer openbsd as one of the options in the installer, if you tell me how to set it up FS-wise (for linux I was just thinking of shipping raw FS images and have it auto-expand on first boot)
13:54kettenis_I think what makes most sense is to just have an option to install m1n1 with an U-Boot payload
13:55kettenis_That is good enough to boot the OpenBSD installer from USB (and maybe network in the future)
13:55kettenis_The OpenBSD installer already knows that it needs to preserve certain Apple partitions
13:57amwok - I have finished it - see https://paste.debian.net/1209781/ - and it boots into a m1n1 - can't tell the version but it says m1n1 vdb52119
13:59marcanbut it's actually version a18033e, it's just our Makefile is a bit dumb here, I should fix that
14:02dsrt^ has quit [Ping timeout: 480 seconds]
14:05amwFor those interested in the new disk partition after the install see - https://paste.debian.net/1209783/
14:10yuyichao has joined #asahi
14:11amwThe 2.5G disk3 (synthesized) is the newly added one I guess, my extra Linux is actually a Volume in disk5 APFS Container - very confusing...
14:18yuyichao has quit [Quit: Konversation terminated!]
14:19yuyichao has joined #asahi
14:19marcanthat means you tried to boot into m1n1 at least once *before* the step2 thing was complete
14:19marcanwhich means you tried to boot the stub macOS which doesn't have a root filesystem and so panics :)
14:20marcanthat's why I have the installer shutdown instead of reboot, so you can go into recovery and never end up in that messy bootloop
14:20marcanthere's a hideous hack in the installer to race the boot picker and kill it before it can reboot the system for that...
14:26marcanthis is why the installer tries hard to show you an OS list with detailed information about what everything is
14:31mazI remember asking this before, but obviously cannot remember the answer: what's the plan for kicking the firestorm CPUs into decent frequencies? I guess this would involve mailbox communication with another core somewhere?
14:35marcanobviously that driver is silly for multiple reasons (e.g. assuming there is only one pcore cluster, pretty sure that assumption will be void in a couple months)
14:35mazsven: marcan: awesome, thanks. I'll have a couple of weeks to write something (the joy of a rainy holiday in the UK).
14:38sventhere's also always this usb phy driver for usb 3 and thunderbolt that i've been avoiding successfully so far if you get really bored, https://github.com/corellium/linux-m1/blob/master/drivers/phy/apple/phy-apple-atc-m1.c
14:41j_eythe only thing that seemed new to me was that the recovery OS can only change the security settings of its paired main OS
14:42marcanyou can install asahi without any reboots on 11.x from 1TR, but that stopped working with 12.0, it requires at least one reboot into the new paired rOS
14:42marcanwhich is a shame, but not worth trying to keep people on 11.x; I'd rather rip off that bandaid and go straight to 12.0 anyway, since we need to pick specific firmware versions and we don't want to get stuck in the past
14:43marcanthis is why the installer does the boot picker *first*, and *then* asks you to go into 1TR and do step2, if you install from macos
14:44marcansince that is required on 12.x (on 11.x you could e.g. just shut down, do the step2 thing and select the next boot volume from there)
14:46marcanone thing that text does not mention is that the system recoveryOS *is* going to be the latest version you've ever had installed, since it's part of SFR
14:48marcanyeah, I mean it isn't mentioned that system rOS is going to be 12.0 on any system with 12.0 installed
15:09chadmed has quit [Quit: Konversation terminated!]
15:23jbowen has quit [Ping timeout: 480 seconds]
15:25kettenis_maz: the MSI controller DT schema in my series makes you the maintainer of the binding since according to MAINTAINERS you're in charge of the generic MSI stuff
15:28jbowen has joined #asahi
16:24dsrt^ has joined #asahi
16:32jmcneill has joined #asahi
16:32dsrt^ has quit [Ping timeout: 480 seconds]
16:41marvin24_ has joined #asahi
16:45marvin24 has quit [Ping timeout: 480 seconds]
17:15jbowen has quit [Ping timeout: 480 seconds]
17:45jbowen has joined #asahi
17:55bps has quit [Ping timeout: 480 seconds]
17:59jbowen has quit [Ping timeout: 480 seconds]
17:59marvin24 has joined #asahi
18:02marvin24_ has quit [Ping timeout: 480 seconds]
18:05jbowen has joined #asahi
18:18jbowen has quit [Remote host closed the connection]
18:25marvin24_ has joined #asahi
18:28marvin24 has quit [Ping timeout: 480 seconds]
18:42jbowen has joined #asahi
19:27aleasto has quit [Quit: Konversation terminated!]
19:58bps has joined #asahi
20:45jbowen has quit [Ping timeout: 480 seconds]
21:03jbowen has joined #asahi
21:37jbowen has quit [Quit: leaving]
23:12alyssa[ 262.932766] apple-dcp 231c00000.dcp: RTKit: syslog message: UPPipeDCP_H13P.cpp:2894: IOMFB verify_scaling: layer 1[ARGB]: (32x256) -> (6x256) (min_scale=1/2, max_scale=4): illegal scaling requested
23:17alyssalikewise [ 92.649505] apple-dcp 231c00000.dcp: RTKit: syslog message: UPPipeDCP_H13P.cpp:2894: IOMFB verify_scaling: layer 1[ARGB]: (64x32) -> (64x6) (min_scale=1/2, max_scale=4): illegal scaling requested
23:22yuyichao has quit [Ping timeout: 480 seconds]