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
cylm has quit [Read error: Connection reset by peer]
seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<marcan> j`ey: fixed those myself
seeeath has joined #asahi-dev
seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
seeeath has joined #asahi-dev
seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
seeeath has joined #asahi-dev
Kazyek has joined #asahi-dev
___nick___ has joined #asahi-dev
___nick___ has quit []
___nick___ has joined #asahi-dev
Kazyek has quit [Remote host closed the connection]
bluetail12 has quit [Ping timeout: 480 seconds]
leviz has joined #asahi-dev
<leviz> hi!
leviz has quit [Quit: Igloo IRC: https://iglooirc.com]
leviz has joined #asahi-dev
leviz has quit []
seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
seeeath has joined #asahi-dev
seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
t has joined #asahi-dev
t has quit [Quit: t]
t has joined #asahi-dev
t has quit [Remote host closed the connection]
t has joined #asahi-dev
<t> i cant do ssm315 bc i dont have imac
<t> is yak list up to date?
t has quit [Quit: t]
t has joined #asahi-dev
<t> ah sorry i already asked for some reason my iirc is only showing what i type but i see it was answered in the logs
<t> @sven can i work on tipd?
<jannau> thanks j`ey, marcan. I was already off
hexafox has joined #asahi-dev
maor26 has joined #asahi-dev
bisko has joined #asahi-dev
t has quit [Remote host closed the connection]
chadmed has joined #asahi-dev
leitao has joined #asahi-dev
leitao has quit []
jluthra_ has quit [Remote host closed the connection]
jluthra_ has joined #asahi-dev
cylm has joined #asahi-dev
leitao has joined #asahi-dev
leitao has quit []
leitao has joined #asahi-dev
<sven> t: sure!
<sven> t: tipd sits on a i2c bus and there's a public datasheet that's close enough (https://www.ti.com/lit/ug/slvuan1a/slvuan1a.pdf).
<sven> https://github.com/AsahiLinux/macvdmtool uses that i2c interface to send apple-specific commands to e.g. enable serial or reboot the target machine
<sven> probably a good start is to look at that macvdmtool and see what those commands are
<sven> then you can probably implement a small proof of concept inside the tipd driver to unconditionally send some of those commands using tps6598x_exec_cmd to make sure they work
<j`ey> you need 2 macs for this right?
<sven> yes
<jannau> https://www.ti.com/lit/ug/slvubh2b/slvubh2b.pdf is the TRM for another variant of the TI chip which has additional bits described and might be a little closer to the variant apple uses
cupermir has quit [Remote host closed the connection]
<sven> and then finally probably create some debugfs file or something like that to trigger the commands from userspace
<sven> jannau: good point. I'm still a bit sad that the USB4 variant's datasheets are hidden behind an NDA :(
chadmed has quit [Remote host closed the connection]
cupermir has joined #asahi-dev
chadmed has joined #asahi-dev
tino has joined #asahi-dev
cupermir is now known as Guest3246
tino is now known as cupermir
Guest3246 has quit [Ping timeout: 480 seconds]
hexafox has quit [Ping timeout: 480 seconds]
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jannau> what did we use to determine capacity-dmips-mhz? I remember coremark but Documentation/devicetree/bindings/arm/cpu-capacity.txt advises for Dhrystone
hightower2 has quit [Ping timeout: 480 seconds]
<chadmed> iirc marcan used dhrystone on stream
<chadmed> i used coremark when doing eas testing but ive been using the dhrystone results and they seem to work fine when pipewire is allowed to nice itself to -11
hightower2 has joined #asahi-dev
hightower3 has joined #asahi-dev
hightower2 has quit [Ping timeout: 480 seconds]
<jannau> I get different results for coremark and dhrystone. e-core capacity of 710 for dhrystone and 756 for coremark
<chadmed> my results differed from those again
<handlerug> is there documentation about how DCP works and how the kernel currently talks to it?
<chadmed> i got 707 for icestorm
<jannau> dhrystone value is a little suspicious since it's less than icestorm but the m2 e-cores should have become faster relative to the p-cores
<chadmed> dhrystone just sucks
<jannau> handlerug: I fear there is only code. C and python code
<chadmed> why yes i love benchmarking the compilers ability to vectorise this is definitely what i wanted to benchmark thank you
<chadmed> coremark should have superseded it a long time ago
<chadmed> not that coremark is _that_ much better
<sven> jannau: there's also the kext and m1n1 traces, how could you forget these :p
<chadmed> given that capacity-dmips-mhz is in essence a dimensionless scaling factor i dont really think it matters what we use to derive it, so long as the values are accurate and representative
<jannau> at least it doesn't produce a ton of warnings like dhrystone, even when compiled with --std=c89
<chadmed> all the more reason to ditch dhrystone
<jannau> sven: there's also the firmware but I suppose binary documentation is even worse than C/python code. it has one advantage though. it is by definition correct
<sven> true. i was mostly joking fwiw ;)
<chadmed> i think arms official docs say the same thing. like "yes its called dmips but just use whatever is going to work and make sense"
<jannau> yes, I'll use the coremark results
bluetail12 has joined #asahi-dev
leitao has joined #asahi-dev
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
leitao has joined #asahi-dev
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
leitao has joined #asahi-dev
leitao has quit []
leviz has joined #asahi-dev
leviz has quit []
leitao has joined #asahi-dev
leitao has quit []
leviz___ has joined #asahi-dev
leitao has joined #asahi-dev
seeeath has joined #asahi-dev
<kettenis> m2 pro mini arrived; guess I have to make my own device tree?
<jannau> you have to start with getting m1n1 to run. see '#define BRINGUP' in config.h
<jannau> I would be surprised if the HDMI port produces any output, m1n1 might even crash during display config
leitao has quit [Remote host closed the connection]
leitao has joined #asahi-dev
leitao has quit [Remote host closed the connection]
leitao has joined #asahi-dev
SalimTerryLi_ has quit [Quit: ZNC - https://znc.in]
salimterryli has joined #asahi-dev
leitao has quit []
seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pg12 has joined #asahi-dev
seeeath has joined #asahi-dev
pg12_ has quit [Ping timeout: 480 seconds]
leitao has joined #asahi-dev
seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
seeeath has joined #asahi-dev
bcrumb has joined #asahi-dev
bcrumb has quit []
bcrumb has joined #asahi-dev
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bcrumb has quit [Quit: WeeChat 3.8]
bcrumb has joined #asahi-dev
bcrumb has quit []
bisko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bisko has joined #asahi-dev
bisko has quit []
bisko has joined #asahi-dev
leitao has joined #asahi-dev
bisko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
maor26 has quit [Remote host closed the connection]
maor26 has joined #asahi-dev
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
t has joined #asahi-dev
<t> ok ty @sven was the comment that 2 macs were needed refer to something else?
<j`ey> no, that's for tipd
t has quit [Remote host closed the connection]
salimterryli has quit [Ping timeout: 480 seconds]
___nick___ has quit [Ping timeout: 480 seconds]
hexafox has joined #asahi-dev
cylm has quit [Read error: Connection reset by peer]
m5zs7k has quit [Remote host closed the connection]
m5zs7k has joined #asahi-dev
<jannau> extracting the asahi desktop root image is very slow on the m2 mac mini on macos 13.2 (local patched installer)
<jannau> took maybe 30 minutes to progress from 73% to 78%
seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
seeeath has joined #asahi-dev
<jannau> at 79.99% now
<kettenis> sounds like you're doing a macOS install instead ;)
<jannau> seems to be dead without finishing. looks broken to me
<jannau> if I'm not mistaken macos 13.2 updates / installs got quite a bit faster
hexafox has quit [Ping timeout: 480 seconds]
seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
seeeath has joined #asahi-dev