#
…

2021-10-12

00:45doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
01:27yuyichao has joined #asahi-dev
02:26PhilippvK has joined #asahi-dev
02:28phiologe has quit [Ping timeout: 480 seconds]
03:40kov has quit [Quit: Coyote finally caught me]
03:40kov has joined #asahi-dev
04:13chadmedincredible 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
05:28marcanawesome! :D
05:28marcanchadmed: this stuff isn't hard... if you *have* people working on it
05:29marcanI 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
05:30marcan(and funding, which means there is no excuse for progress to stop)
05:30marcanand yeah, audio doesn't work on my intel iMac :>
05:30marcanI don't care because I use an external interface anyway
05:31marcanmaybe 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
06:15jacoxon has joined #asahi-dev
06:24chadmedmarcan: 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
06:25marcanheh, yeah
06:25marcanit helps that apple actually put out something unique though
06:25marcanit's a lot harder to get people interested in "intel, but shiny aluminum"
06:25svenhaving that hypervisor also helps a lot. reverse engineering kexts is terribly annoying
06:25marcanglad that was a month well spent
06:26sveneven finding those dumb %s.debug=0xff arguments isn't fun because there's like two or three layers of vtables involved
06:26chadmedyeah 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
06:26marcansven: you do have a script to fix the stupid PAC-ished vtables, right?
06:27marcan(I have one on ghidra)
06:27marcanbut even with that following them is annoying
06:27marcanchadmed: I heard that power management is even more amazing on that one
06:27marcanand the thing is, anything that is good by phone standards is killer by laptop standards
06:27svenmine requires me to manually specify the vtable once (for which i use the hv), but yeah
06:28marcane.g. if you can have a phone survive idle for a day, with laptop sized batteries that's a week
06:28marcanah, mine does it automagically
06:28sveni was too lazy to do that :D
06:28marcanI just took someone else's script :p
06:28chadmeda 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
06:29marcanit helps that apple are optimizing the crap out of that use case
06:29marcanit's basically the CPU kicking hardware engines that do everything
06:29marcanthe GPU is literally off while streaming video on these devices
06:29marcan(e.g. on safari on macos)
06:29marcanit just goes straight to a DCP plane
06:29marcanmight be a bit tricky since you need special bypass paths
06:30marcanbut it would be nice if e.g. firefox grew support for this on M1s on Linux
06:33marcanchadmed: tbh I'd been waiting for a nice ARM box for over a decade now
06:33marcanI just was not expecting Apple to be the one to do it back then, but here we are
06:35chadmedpretty considerate of them to release these machines right around when i was starting to grow tired of x86/amd64 too
06:39marcanpretty 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 :)
06:40marcanunrelated: looking at the pstates again I have a theory about why 3.2GHz is single core
06:40marcan3.0 GHz+ is at the same voltage
06:40marcanthat doesn't make any sense for actual CPU core voltage, you have to increase the voltage to go higher
06:41marcanso 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
06:41marcanand that IR drop is lower if only one core is active
06:41marcanso effectively by shutting down cores they boost the voltage, without increasing the actual input
06:41marcanbut that really does need the other cores to be pretty much dead to get enough of a boost to safely increase the clock
06:42marcanof 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?
06:43marcanso 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
06:43marcanjust due to physics
06:47chadmedis 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
06:50marcanyeah, it could be a safety thing, unclear
07:11bps has joined #asahi-dev
07:32povik has joined #asahi-dev
07:51kendfinger has quit [Read error: Connection reset by peer]
07:51kendfinger has joined #asahi-dev
07:51Ariadne has quit [Read error: Connection reset by peer]
07:51balrog has quit [Quit: Bye]
07:51robher has quit [Read error: Connection reset by peer]
07:51jabashque has quit [Read error: Connection reset by peer]
07:51Ariadne has joined #asahi-dev
07:51robher has joined #asahi-dev
07:51jabashque has joined #asahi-dev
07:51Chainsaw has quit [Read error: Connection reset by peer]
07:51jkkm has quit [Read error: Connection reset by peer]
07:51Chainsaw has joined #asahi-dev
07:52jkkm has joined #asahi-dev
07:52balrog has joined #asahi-dev
11:34povik has quit [Remote host closed the connection]
12:06gruetze_ has joined #asahi-dev
13:16jbowen has joined #asahi-dev
14:12aleasto has joined #asahi-dev
14:34povik has joined #asahi-dev
17:04brinly has quit [Read error: Connection reset by peer]
17:04brinly has joined #asahi-dev
17:07yuyichao has quit [Ping timeout: 480 seconds]
17:31yuyichao has joined #asahi-dev
17:47doggkruse has joined #asahi-dev
18:12jbowen has quit [Ping timeout: 480 seconds]
18:25doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:46nepeat has quit [Quit: ZNC 1.8.2 - https://znc.in]
18:46nepeat has joined #asahi-dev
19:11jbowen has joined #asahi-dev
19:25jbowen has quit [Ping timeout: 480 seconds]
19:36jbowen has joined #asahi-dev
21:19jbowen has quit [Quit: leaving]
21:41jacoxon has quit []
21:41jacoxon has joined #asahi-dev
21:43jacoxon has quit []
23:17aleasto has quit [Quit: Konversation terminated!]
…