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.
<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)
<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]