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
weitcis has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
Extern has quit [Quit: WeeChat 4.1.1]
weitcis has joined #asahi-dev
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
HitokiriKincho has joined #asahi-dev
aptzero has quit [Ping timeout: 480 seconds]
Halian has joined #asahi-dev
Halian has quit []
hightower4 has joined #asahi-dev
aptzero has joined #asahi-dev
hightower3 has quit [Ping timeout: 480 seconds]
aptzero has quit [Ping timeout: 480 seconds]
Halian has joined #asahi-dev
chrisl has joined #asahi-dev
pb17 has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
aptzero has joined #asahi-dev
sand4rt has quit [Ping timeout: 480 seconds]
kujeger has joined #asahi-dev
pb17 has joined #asahi-dev
kujeger- has quit [Ping timeout: 480 seconds]
aptzero has quit [Ping timeout: 480 seconds]
ddxtanx has joined #asahi-dev
Halian has quit [Quit: I'll be back.]
Halian has joined #asahi-dev
aptzero has joined #asahi-dev
aptzero has quit [Ping timeout: 480 seconds]
gabuscus has quit []
aptzero has joined #asahi-dev
chadmed_ has quit [Quit: Page closed]
pb17 has quit [Ping timeout: 480 seconds]
aptzero has quit [Ping timeout: 480 seconds]
m5zs7k has quit [Ping timeout: 480 seconds]
minecrell has quit [Read error: Connection reset by peer]
minecrell has joined #asahi-dev
tobhe has joined #asahi-dev
pb17 has joined #asahi-dev
m5zs7k has joined #asahi-dev
tobhe_ has quit [Ping timeout: 480 seconds]
aptzero has joined #asahi-dev
meze has joined #asahi-dev
m5zs7k has quit [Ping timeout: 480 seconds]
gabuscus has joined #asahi-dev
nora has joined #asahi-dev
nora_ has quit [Ping timeout: 480 seconds]
aptzero has quit [Ping timeout: 480 seconds]
m5zs7k has joined #asahi-dev
Halian has quit [Ping timeout: 480 seconds]
aptzero has joined #asahi-dev
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
aptzero has quit [Ping timeout: 480 seconds]
HitokiriKincho has quit [Quit: Leaving...]
pb17 has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-dev
aptzero has joined #asahi-dev
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
aptzero has quit [Ping timeout: 480 seconds]
aptzero has joined #asahi-dev
Method has joined #asahi-dev
Method_ has quit [Ping timeout: 480 seconds]
aptzero has quit [Ping timeout: 480 seconds]
aleph-complex has quit [Quit: The Lounge - https://thelounge.chat]
aleph-complex has joined #asahi-dev
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
aptzero has joined #asahi-dev
pb17 has quit [Ping timeout: 480 seconds]
sudtho has joined #asahi-dev
chadmed has quit [Quit: Konversation terminated!]
chadmed has joined #asahi-dev
chadmed has quit []
chadmed has joined #asahi-dev
chadmed has quit []
chadmed has joined #asahi-dev
chadmed has quit []
chadmed has joined #asahi-dev
Halian has joined #asahi-dev
chadmed has quit [Read error: Connection reset by peer]
chadmed has joined #asahi-dev
chadmed has quit []
chadmed has joined #asahi-dev
sudtho has quit [Ping timeout: 480 seconds]
aptzero has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-dev
aptzero has joined #asahi-dev
chrisl has joined #asahi-dev
aptzero has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
aptzero has joined #asahi-dev
Sebastian2 has joined #asahi-dev
aptzero has quit [Ping timeout: 480 seconds]
Sebastian2 has quit [Quit: Sebastian2]
gladiac has quit [Quit: Ping timeout (120 seconds)]
gladiac has joined #asahi-dev
CME has quit []
CME has joined #asahi-dev
millefy14 has joined #asahi-dev
pb17 has quit [Ping timeout: 480 seconds]
chaos_princess has quit [Quit: chaos_princess]
aptzero has joined #asahi-dev
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
chaos_princess has joined #asahi-dev
pb17 has joined #asahi-dev
sand4rt has joined #asahi-dev
aptzero has quit [Ping timeout: 480 seconds]
halloy5503 has joined #asahi-dev
aptzero has joined #asahi-dev
chadmed has quit [Quit: Konversation terminated!]
chadmed has joined #asahi-dev
aptzero has quit [Ping timeout: 480 seconds]
aptzero has joined #asahi-dev
ddxtanx has quit [Read error: Connection reset by peer]
ddxtanx has joined #asahi-dev
PaulFertser has quit [Read error: Connection reset by peer]
minecrell7 has joined #asahi-dev
ncopa9 has joined #asahi-dev
minecrell has quit [Quit: Ping timeout (120 seconds)]
schroes has quit [Remote host closed the connection]
ncopa has quit [Quit: Ping timeout (120 seconds)]
schroes has joined #asahi-dev
chrisl has joined #asahi-dev
aptzero has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
aptzero has joined #asahi-dev
sand4rt has quit [Ping timeout: 480 seconds]
pb17 has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-dev
chrisl has joined #asahi-dev
aptzero has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
sand4rt has joined #asahi-dev
intrestor has joined #asahi-dev
<intrestor> hey
<intrestor> i would like to look into mic development for asahi
<chaos_princess> it's effectively done at this point, the only remaining bits are the configuration of the dsp processing on a few models
<chadmed> intrestor: theres not a lot else to do
<chadmed> what chaos_princess said
<chadmed> if youre well versed in DSP youre welcome to check out https://github.com/chadmed/triforce and see if theres anything that can be improved
<chadmed> (there's almost certainly a lot that can be improved)
aptzero has joined #asahi-dev
<intrestor> oh alright
<intrestor> i know reverse engineering and stuff but not enough for apple. i did imessage RE but not much else
<intrestor> ill look into it see what can be done
<chaos_princess> there are no RE required there, just signal processing
<intrestor> tho it looks the repo you sent is not supported for m1?
<intrestor> talking to chadmed
<chaos_princess> those have a different mic array shape
<intrestor> sure, so for apple m1 its still need to be looked into?
<chaos_princess> pmuch
<intrestor> ok, maybe i can look into it
aptzero has quit [Ping timeout: 480 seconds]
<intrestor> tho i'm not well into DSP, so i thought maybe touch id would be something worth to look into?
<chaos_princess> Hahahaha
<chaos_princess> good luck?
<intrestor> what? lol
<chadmed> requires SEP and SIO, buffers are encrypted
<chaos_princess> And sep requires an apfs driver (kinda)
<intrestor> SEP is already implemented for asahi no?
<intrestor> i mean the firmware exists, we only need a driver
<chaos_princess> that is a very load-bearing _only_
<chadmed> SEP is really a bunch of subdevices and we've only really got two working at all - the RNG and the mic hardware switch
<intrestor> uh i understand
<intrestor> i thought maybe touch id is a component by itself, only requiring a few signals
<intrestor> like "recognise fingeprint" or "setup fingerprint"
<intrestor> and the whole other stuff is done by the firmware
<chaos_princess> the touch id is effectively only controlled by SEP, with the AP effectively only slingin encrypted buffers between them
<chadmed> all of that is done via sep. the application processors basically just forward encrypted buffers between the two components
<chadmed> once again what chaos_princess said :p
<intrestor> that's some shitload of work
<chaos_princess> yours truly may or may not be procrastinating on writing an apfs driver to proceed with xart/gigalocker RE
<intrestor> how you actually RE it?
<intrestor> isn't SEP RE very very hard?
<chadmed> the interface is mostly the same as other apple coprocessors. it's hard in part because macos tries to talk to it 100 billion trillion times a second and tracing it grinds the system to a halt
<chaos_princess> yes, and we need to figure out the format of xars/xarm messages to bring up other endpoints.
<chadmed> and then each endpoint/subdevice has its own nuances
<chaos_princess> oh, you just ignore most endpoints like hdcp, and it becomes more tolerable
aptzero has joined #asahi-dev
<chadmed> yeah i turned off a bunch when i was looking at touch id a couple of years ago but it was still pretty awful
<chaos_princess> there is a lot of stuff that does not apply to us
<intrestor> what software you use for tracing those calls?
<j`ey> m1n1
<intrestor> right
<chaos_princess> that one does not have pnon documented yet - it is boot policy stuff, can also be ignored
<chaos_princess> "debug" is also wrong, it is endpoint discovery and buffer sizes
pb17 has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-dev
Sebastian2 has joined #asahi-dev
<intrestor> thats looks good
sand4rt has quit [Ping timeout: 480 seconds]
<intrestor> you think something like usb c displays would be a nice coming?
sand4rt has joined #asahi-dev
<intrestor> omg
<intrestor> it looks like anything that hasn't been implemented yet is because its a painful mess
<chaos_princess> you are not wrong :P
<intrestor> xD
<chaos_princess> (aside from some things that i am not sure why nobody looked into)
<intrestor> i'm looking for a nice intro, you got something for me?
<chaos_princess> well, its not an intro, those are kinda almost all done, but i am not sure why we do not have 120hz/vrr yet, if i understand it correctly, it should not need major changes, but one still needs to understand the dcp protocol to make it work
sand4rt has quit [Ping timeout: 480 seconds]
<intrestor> there are macs that support 120hz?
<chaos_princess> m1+ pro/max support 120hz vrr on internal display
<chaos_princess> asahi only does 60hz on those, since the 120hz mode hard-requires vrr to work, and that is not supported
<j`ey> oh, i didnt realise air didn't do 120hz vrr
john-cabaj has joined #asahi-dev
<intrestor> where should i start looking?
<chaos_princess> https://github.com/AsahiLinux/m1n1/blob/main/proxyclient/hv/trace_dcp.py - this is the dcp call tracer, and try looking into what the timestamps do in the dcp swap message, there is a suspicion that they are responsible for it somehow
sand4rt has joined #asahi-dev
<intrestor> sounds weird that the timestamps are responsible for vrr
halloy5503 has quit [Remote host closed the connection]
<chaos_princess> not at all, you need them to know when to present the frame.
<leio> I'd appreciate vrr getting made to work on my external display too
<leio> (I drive it at 120Hz non-vrr over HDMI port meanwhile)
<intrestor> what is actually the suspicion?
<intrestor> that some timestamps are ignored?
<chaos_princess> no, we just set all timestamps to zero, and it works for non-vrr modes, but causes the vrr mode to only refresh at 60 hz. The suspicion is that setting timestamps correctly will make it go to 120
<intrestor> where it is being set? i can see setSwapTimestamp but not where it is being actually set to 0
chrisl has joined #asahi-dev
<chaos_princess> https://github.com/AsahiLinux/linux/blob/asahi/drivers/gpu/drm/apple/iomfb_template.h - ts1 and ts2 are timestamps, unk_10 also contains at least two timestamps, and they are set by zero by getting the memory from kzalloc and never writing anything there.
chrisl has quit [Ping timeout: 480 seconds]
Sebastian2 has quit [Quit: Sebastian2]
<intrestor> so it sets the framebuffer to 0 to avoid a race condition?
fugi has quit [Quit: bye]
fugi has joined #asahi-dev
intrestor has quit [Remote host closed the connection]
aminoa has joined #asahi-dev
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
PMartin has joined #asahi-dev
<PMartin> Hope I'm in the right place, but has anyone been able to use Orca on Remix?
PMartin has quit [Remote host closed the connection]
sudtho has joined #asahi-dev
sudtho has quit [Ping timeout: 480 seconds]
sudtho has joined #asahi-dev
pjakobsson_ has joined #asahi-dev
DannyBATL has joined #asahi-dev
DannyB has quit [Ping timeout: 480 seconds]
pjakobsson has quit [Ping timeout: 480 seconds]
pb17 has quit [Ping timeout: 480 seconds]
pjakobsson_ has quit []
sudtho has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-dev
sudtho has joined #asahi-dev
pb17 has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
sudtho has quit [Ping timeout: 480 seconds]
malfunction54 has joined #asahi-dev
sudtho has joined #asahi-dev
sand4rt has quit [Quit: WeeChat 4.5.1]
sand4rt has joined #asahi-dev
pjakobsson has joined #asahi-dev
sudtho has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-dev
john-cabaj has quit [Read error: Connection reset by peer]
john-cabaj has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-dev
sand4rt has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
sudtho has joined #asahi-dev
BesterGester83962 has quit []
BesterGester83962 has joined #asahi-dev
midou has quit [Ping timeout: 480 seconds]
pb17 has quit [Ping timeout: 480 seconds]
Sebastian2 has joined #asahi-dev
Sebastian2 has quit [Quit: Sebastian2]
BesterGester83962 is now known as BesterGester
pb17 has joined #asahi-dev
JayBeeFOSS has quit [Ping timeout: 480 seconds]
JayBeeFOSS has joined #asahi-dev
<flokli> chadmed: is there an easy way to get some recordings of some scenarios from all three microphones? I might know someone who'd be up to tinker with the algorithm.
Marko2155 has joined #asahi-dev
<Marko2155> hello
Marko2155 has quit []
sand4rt has joined #asahi-dev
<chadmed> flokli: audacity
<flokli> chadmed: some custom branch to have them exposed?
chrisl has joined #asahi-dev
<chadmed> nah i think they just need enabling in the DT
chrisl has quit [Ping timeout: 480 seconds]
<jannau> see the "enable AOP" commits in https://github.com/jannau/linux/commits/mics-asahi-6.12.8-1/
sand4rt has quit [Quit: WeeChat 4.5.1]
sand4rt has joined #asahi-dev
sand4rt has quit []
sand4rt has joined #asahi-dev
sudtho has quit [Ping timeout: 480 seconds]
sudtho has joined #asahi-dev
sudtho has quit [Ping timeout: 480 seconds]
sudtho has joined #asahi-dev
pb17 has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
sudtho has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-dev
sudtho has joined #asahi-dev
john-cabaj has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-dev
sudtho has quit [Read error: Connection reset by peer]
sudtho has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
sand4rt has quit [Quit: WeeChat 4.5.1]
sand4rt has joined #asahi-dev
aptzero has quit [Ping timeout: 480 seconds]