ChanServ changed the topic of #asahi-dev to: Asahi Linux: porting Linux to Apple Silicon macs | Non-development talk: #asahi | General development | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-dev
soonercane has quit [Quit: Bye]
soonercane has joined #asahi-dev
zalyx has quit [Quit: later alligator]
zalyx has joined #asahi-dev
eiln has joined #asahi-dev
t has joined #asahi-dev
<eiln> please don't go cheap on storage; macos itself and xcode (which they force for git, curl, brew) is no joke
<tpw_rules> nix darwin my beloved
<t> hello sorry if someone asked this before but what hardware do i need to develop and reverse?
<eiln> also ssd r/w times are a joke on macos. on a $400 ssd i bought from the apple site
seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
seeeath has joined #asahi-dev
<chadmed> eiln: macos is pretty awful in a lot of ways these days. their strategy to prevent hackintosh (apart from the whole arm thing) seems to have become just make macos so shit no one wants to use it
<chadmed> between leopard and mountain lion it was really good...
hertz has joined #asahi-dev
eiln has quit [Remote host closed the connection]
zkrx has quit [Ping timeout: 480 seconds]
zkrx has joined #asahi-dev
caef^ has joined #asahi-dev
cylm has joined #asahi-dev
bluetail9 has quit []
bluetail has joined #asahi-dev
<TellowKrinkle> To put more concrete numbers on xcode requiring a lot of space, the application itself takes 12GB, but for whatever reason the App Store won't install or update it unless you have ~40GB free. It's not required for git/curl though, those come with the command line tools package which is a lot smaller.
bluetail has quit [Quit: The Lounge - https://thelounge.chat]
bluetail has joined #asahi-dev
amarioguy has joined #asahi-dev
nicolas17 has joined #asahi-dev
hertz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hertz has joined #asahi-dev
<nicolas17> TellowKrinkle: you can also ignore the appstore and install from the .xip :P
<nicolas17> t: that depends on what you want to reverse, but for many things *any* ARM Mac will do
hertz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tbodt_ has joined #asahi-dev
<t> ok ty
nate8 has joined #asahi-dev
kettenis has quit [Ping timeout: 480 seconds]
nyx_o has quit [Quit: WeeChat 3.5]
t has quit [Quit: t]
tbodt_ has quit [Ping timeout: 480 seconds]
whomst has joined #asahi-dev
nicolas17 has quit [Quit: Konversation terminated!]
cylm has quit [Ping timeout: 480 seconds]
kettenis has joined #asahi-dev
caef^ has quit [Ping timeout: 480 seconds]
faruk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
faruk has joined #asahi-dev
MajorBiscuit has joined #asahi-dev
Ry_Darcy has quit [Quit: Page closed]
abby has quit [Ping timeout: 480 seconds]
ChaosPrincess has quit [Quit: WeeChat 3.8]
ChaosPrincess has joined #asahi-dev
whomst has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
abby has joined #asahi-dev
leitao has joined #asahi-dev
faruk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nate8 has quit [Quit: Leaving]
nate8 has joined #asahi-dev
eiln has joined #asahi-dev
___nick___ has joined #asahi-dev
___nick___ has quit []
___nick___ has joined #asahi-dev
bisko has joined #asahi-dev
faruk has joined #asahi-dev
__nick__ has joined #asahi-dev
___nick___ has quit [Ping timeout: 480 seconds]
eiln has quit [Quit: Page closed]
kh has joined #asahi-dev
faruk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<kh> marcan: Seems like s2idle was not working at all
<kh> I tried making it work without a cpuidle driver but I failed, the kernel doesn't boot anymore
<kh> It ended up being a really messy implementation since Arm removed support for the generic cpuidle driver
<kh> Seems like PSCI cpuidle has to be added before enabling suspend
<j`ey> but it does go into s2idle?
<j`ey> or some kind of idle mode
<kh> It does but it's completely broken, for example CLOCK_MONOTONIC keeps ticking even though it has to be stopped because we ended up exiting early in cpuidle_idle_call() before we have a chance to stop it
<kh> That causes programs like systemd to crash at times, and if I'm unlucky systemd-logind will crash and then I'm no longer able to login
<j`ey> theres a call to tick_nohz_idle_stop_tick. it isnt that, that stops CLOCK_MONO..?
<kh> I don't think so, CLOCK_MONOTONIC only should stop during suspend, not idle
<kh> sched_clock_suspend() is what stops the clock I think
<kh> That gets called in call_cpuidle_s2idle()
<marcan> kh: sigh. lovely...
<marcan> so it just pretends to work but half of it breaks
<marcan> (there is no excuse for this, it *should* be able to work with just WFI)
<marcan> cc maz
<marcan> chadmed: please don't tell people to switch to asahi-dev re: https://www.reddit.com/r/AsahiLinux/comments/10l8s2d/minimal_install_failure_with_asahidev/
<kettenis> technically CLOCK_MONOTONIC should never stop, but I guess that ship has sailed
<kettenis> doesn't mean they're right ;)
<kettenis> Linux got this aspect of POSIX wrong, but the past attempts to fix it caused all sorts of breakage
<jannau> it's documented as stopping on suspend in the kernel: https://docs.kernel.org/core-api/timekeeping.html
<kettenis> yup, and it means that the Linux CLOCK_MONOTONIC isn't POSIX compatible
<maz> please report this sort of stuff on the list, cc'ing null, Sudeep Holla, and maybe Saravana Kannan...
<maz> marcan: ^^
<marcan> ack
<maz> thanks!
<marcan> (I also still need to write that big email about the psci issue...)
<kh> marcan: If you report it can you cc me too
<kettenis> marcan: I'm at the point where I could really use a PSCI for OpenBSD
<kettenis> and probably at the stage where I understand enough of how it is supposed to work that I could write that mail
nyx_o has joined #asahi-dev
kh has quit [Quit: Quit]
bcrumb has joined #asahi-dev
seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
seeeath has joined #asahi-dev
chadmed_ has quit [Ping timeout: 480 seconds]
bcrumb has quit [Ping timeout: 480 seconds]
<sven> okay, what the hell Apple. so there's a vendor specific "cable information" register that I was writing to on hotplug with bits having specific meaning (e.g. cable orientation, etc.)
<sven> if I just don't do that more than once and write random parameters in there it doesn't seem to crash after hotplug anymore...
<sven> and it keeps working if I switch the cable type or orientation. so, uh, I guess that's actually a "write N times here to crash the co-processor" register? :P
nicolas17 has joined #asahi-dev
bcrumb has joined #asahi-dev
MajorBiscuit has quit [Quit: WeeChat 3.6]
bcrumb_ has joined #asahi-dev
bcrumb has quit [Read error: Connection reset by peer]
bcrumb_ has quit []
compassion has joined #asahi-dev
seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<nicolas17> it's not possible to enter 1TR before doing initial macOS setup and setting a password etc right?
hightower2 has joined #asahi-dev
seeeath has joined #asahi-dev
whomst has joined #asahi-dev
whomst has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
zzywysm_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zzywysm has joined #asahi-dev
bcrumb has joined #asahi-dev
bcrumb has quit []
<sven> hrm, looks like we’ll need a OOB notification from nhi to pcie after all to make complex tunnels (like the old Thunderbolt Display) reliable
<sven> if pcie isn’t kept in “tunnel reset” until the thunderbolt tunnel is ready it can crash the firmware
<sven> and there are no interrupts triggered in that state unfortunately
whomst has joined #asahi-dev
chengsun has quit [Ping timeout: 480 seconds]
<sven> hah, looks like it’s stable with that notification now!
<sven> ~30 hotplug events and nothing broke :)
whomst has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
seeeath has joined #asahi-dev
<marcan> nice!
bcrumb has joined #asahi-dev
bcrumb has quit []
hertz has joined #asahi-dev
<maz> Champagne!
jluthra has quit [Remote host closed the connection]
jluthra has joined #asahi-dev
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
leitao has joined #asahi-dev
hertz_ has joined #asahi-dev
hertz has quit [Ping timeout: 480 seconds]
hertz_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
whomst has joined #asahi-dev
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
whomst has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
__nick__ has quit [Ping timeout: 480 seconds]
nate8 has quit [Quit: Leaving]
mkurz has quit [Remote host closed the connection]
mkurz has joined #asahi-dev
eiln has joined #asahi-dev
faruk has joined #asahi-dev
blazra has quit [Read error: Connection reset by peer]
blazra has joined #asahi-dev