ChanServ changed the topic of #asahi-dev to: Asahi Linux: porting Linux to Apple Silicon macs | General development | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-dev
doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yuyichao has joined #asahi-dev
PhilippvK has joined #asahi-dev
phiologe has quit [Ping timeout: 480 seconds]
kov has quit [Quit: Coyote finally caught me]
kov has joined #asahi-dev
<chadmed> incredible that its only taken a couple of weeks to get audio on these macs in a state roughly equivalent to their Intel counterparts, which has taken almost a decade and still doesnt work properly :P
<marcan> awesome! :D
<marcan> chadmed: this stuff isn't hard... if you *have* people working on it
<marcan> I think a lot of people don't realize that Mac support on Linux has largely been a haphazard thing until now, but this time we have a whole bunch of people working together
<marcan> (and funding, which means there is no excuse for progress to stop)
<marcan> and yeah, audio doesn't work on my intel iMac :>
<marcan> I don't care because I use an external interface anyway
<marcan> maybe if a few years down the line I actually find myself without Asahi stuff to do for a week I'll take a look at it :p
jacoxon has joined #asahi-dev
<chadmed> marcan: yeah i just think its funny that the platform has received more love in 9 months than it has had for the past 10+ years. i use an external dac at my main workstation regardless but i dont have a dock for my macbook so its a bit messy and un-ergonomic to have a bunch of USB cables sticking out of a hub
<marcan> heh, yeah
<marcan> it helps that apple actually put out something unique though
<marcan> it's a lot harder to get people interested in "intel, but shiny aluminum"
<sven> having that hypervisor also helps a lot. reverse engineering kexts is terribly annoying
<marcan> :>
<marcan> glad that was a month well spent
<sven> even finding those dumb %s.debug=0xff arguments isn't fun because there's like two or three layers of vtables involved
<chadmed> yeah the novelty of an actually fast arm workstation probably attracted most of the interest at this point. if the performance and efficiency of the A15 is anything to go by it looks like that novelty will be sustained for at least a few generations of hardware
<marcan> yeah
<marcan> sven: you do have a script to fix the stupid PAC-ished vtables, right?
<marcan> (I have one on ghidra)
<marcan> but even with that following them is annoying
<marcan> chadmed: I heard that power management is even more amazing on that one
<marcan> and the thing is, anything that is good by phone standards is killer by laptop standards
<sven> mine requires me to manually specify the vtable once (for which i use the hv), but yeah
<marcan> e.g. if you can have a phone survive idle for a day, with laptop sized batteries that's a week
<marcan> ah, mine does it automagically
<sven> i was too lazy to do that :D
<marcan> I just took someone else's script :p
<sven> :>
<chadmed> a friend of mine quite simply does not believe it is possible to have 30 hours of video streaming out of a phone battery. they flatly deny it. maybe i buy an iphone 13 and set up a live stream where i just have it play back videos until the battery dies to prove a point :P
<marcan> ahahaha
<marcan> it helps that apple are optimizing the crap out of that use case
<sven> lol
<marcan> it's basically the CPU kicking hardware engines that do everything
<marcan> the GPU is literally off while streaming video on these devices
<marcan> (e.g. on safari on macos)
<marcan> it just goes straight to a DCP plane
<marcan> might be a bit tricky since you need special bypass paths
<marcan> but it would be nice if e.g. firefox grew support for this on M1s on Linux
<marcan> chadmed: tbh I'd been waiting for a nice ARM box for over a decade now
<marcan> I just was not expecting Apple to be the one to do it back then, but here we are
<chadmed> pretty considerate of them to release these machines right around when i was starting to grow tired of x86/amd64 too
<marcan> pretty considerate of them to release these machines when I'd gotten tired of jailbreak platforms but I still wanted to spend time porting linux to new hardware :)
<marcan> unrelated: looking at the pstates again I have a theory about why 3.2GHz is single core
<marcan> 3.0 GHz+ is at the same voltage
<marcan> that doesn't make any sense for actual CPU core voltage, you have to increase the voltage to go higher
<marcan> so instead I bet the story is that it's the voltage at the package/cluster level, but then there is IR drop to the actual core
<marcan> and that IR drop is lower if only one core is active
<marcan> so effectively by shutting down cores they boost the voltage, without increasing the actual input
<marcan> but that really does need the other cores to be pretty much dead to get enough of a boost to safely increase the clock
<marcan> of course then the question becomes why don't they just boost the voltage higher anyway to be able to fire off more cores, but maybe they thought at that point the power curve would get too out of control?
<marcan> so effectively one way of thinking about this is that this is a 3.0GHz 4-core CPU that "just happens" to be able to boost to 3.2GHz single core for free, at the same settings, on a single core at a time
<marcan> just due to physics
<chadmed> is the reduction in vdroop really significant enough that just setting that "new" voltage on all cores would tank the efficiency? it could also just be a safe level that all chips validate so that the only binning they have to do is for defective AGX cores
<marcan> yeah, it could be a safety thing, unclear
bps has joined #asahi-dev
povik has joined #asahi-dev
kendfinger has quit [Read error: Connection reset by peer]
kendfinger has joined #asahi-dev
Ariadne has quit [Read error: Connection reset by peer]
balrog has quit [Quit: Bye]
robher has quit [Read error: Connection reset by peer]
jabashque has quit [Read error: Connection reset by peer]
Ariadne has joined #asahi-dev
robher has joined #asahi-dev
jabashque has joined #asahi-dev
Chainsaw has quit [Read error: Connection reset by peer]
jkkm has quit [Read error: Connection reset by peer]
Chainsaw has joined #asahi-dev
jkkm has joined #asahi-dev
balrog has joined #asahi-dev
povik has quit [Remote host closed the connection]
gruetze_ has joined #asahi-dev
jbowen has joined #asahi-dev
aleasto has joined #asahi-dev
povik has joined #asahi-dev
brinly has quit [Read error: Connection reset by peer]
brinly has joined #asahi-dev
yuyichao has quit [Ping timeout: 480 seconds]
yuyichao has joined #asahi-dev
doggkruse has joined #asahi-dev
jbowen has quit [Ping timeout: 480 seconds]
doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nepeat has quit [Quit: ZNC 1.8.2 - https://znc.in]
nepeat has joined #asahi-dev
jbowen has joined #asahi-dev
jbowen has quit [Ping timeout: 480 seconds]
jbowen has joined #asahi-dev
jbowen has quit [Quit: leaving]
jacoxon has quit []
jacoxon has joined #asahi-dev
jacoxon has quit []
aleasto has quit [Quit: Konversation terminated!]