00:48
leah2 has quit [Ping timeout: 480 seconds]
00:56
StupidYui has joined #asahi-dev
00:58
StupidYui has left #asahi-dev [#asahi-dev]
01:00
StupidYui has joined #asahi-dev
01:04
StupidYui has quit []
01:05
italicsjenga has joined #asahi-dev
01:10
StupidYui has joined #asahi-dev
01:11
StupidYui has quit []
01:29
amarioguy has joined #asahi-dev
01:55
compassion17 has quit [Quit: lounge quit]
02:00
gabuscus has quit []
02:06
compassion178 has joined #asahi-dev
02:20
gabuscus has joined #asahi-dev
02:42
Mary has joined #asahi-dev
02:43
italicsjenga has quit [Quit: italicsjenga]
04:14
nick_ has joined #asahi-dev
04:15
nick1234567 has joined #asahi-dev
04:15
nick1234567 has quit []
04:17
systwi has quit [Ping timeout: 480 seconds]
04:17
systwi has joined #asahi-dev
04:33
mikelee has joined #asahi-dev
04:33
nst has quit [Ping timeout: 480 seconds]
04:36
nst has joined #asahi-dev
04:40
mikelee_ has quit [Ping timeout: 480 seconds]
04:43
systwi_ has joined #asahi-dev
04:46
systwi has quit [Ping timeout: 480 seconds]
04:47
systwi_ has quit []
04:48
systwi has joined #asahi-dev
04:57
leah2 has joined #asahi-dev
05:01
SalimTer- has joined #asahi-dev
05:01
salimterryli has quit [Remote host closed the connection]
05:43
rootbeerdan has joined #asahi-dev
05:48
uziam has joined #asahi-dev
07:26
roxfan has quit [Ping timeout: 480 seconds]
07:26
roxfan has joined #asahi-dev
07:27
bisko has joined #asahi-dev
07:28
cylm_ has quit [Ping timeout: 480 seconds]
08:12
hightower2 has joined #asahi-dev
08:40
nsklaus has joined #asahi-dev
08:57
leitao has joined #asahi-dev
10:27
cylm_ has joined #asahi-dev
10:55
rootbeerdan1 has joined #asahi-dev
11:02
rootbeerdan has quit [Ping timeout: 480 seconds]
11:02
rootbeerdan1 is now known as rootbeerdan
11:04
<
chadmed >
hmmmm sooooo the calf bass extender actually sounds very good on j314...
11:10
rootbeerdan has quit [Ping timeout: 480 seconds]
11:52
apalos_ has joined #asahi-dev
12:02
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
12:21
ydalton has joined #asahi-dev
12:21
<
chadmed >
ydalton: also keep in mind that when discussing mmio ranges for the device its worth offsetting by the base address referenced by the device tree, because the SIPs are wired up to different addresses for different socs
12:23
leitao has joined #asahi-dev
12:23
<
chadmed >
silicon intellectual property
12:23
<
chadmed >
the hw block
12:23
<
ydalton >
ah alright
12:23
<
chadmed >
e.g. the firmware for avd gets loaded at ${BASE_ADDR} + 0x108000
12:23
<
chadmed >
0x1080000*
12:23
<
ydalton >
ah thanks for the clarification
12:24
<
chadmed >
where base_addr is the address after the @ in the device tree
12:24
<
ydalton >
yeah, because i've noticed on different linux device trees the base addresses are different
12:25
<
chadmed >
is your machine an m1 pro/max?
12:25
<
ydalton >
an m2 air
12:25
<
ydalton >
and that is why each device needs its own linux device tree written for it
12:26
<
chadmed >
yeah and why we reference addresses in mmio as an offset from the base address
12:26
<
chadmed >
so that anything you do in m1n1 is maximally portable
12:28
<
ydalton >
i.e. not hardcoded in the hv scripts
12:29
<
chadmed >
yeah, if you have a look at some of the other tracers you can see how we get the base address for whatever we're tracing from the machine
12:29
<
chadmed >
m1n1 knows about the device tree so we can just ask it to retrieve the address for us
12:30
<
ydalton >
hm, i see in the script avd is referenced as "/arm-io/avd0" while on mine it's just "/arm-io/avd"
12:31
<
ydalton >
do some models have more than one?
12:31
<
chadmed >
t600x (m1 pro/max/ultra) has two AVDs
12:33
<
sven >
ADTs are also sometimes not very consistent and changes names between xnu releases fwiw
12:34
<
sven >
so a slightly different name isn’t too unusual
12:43
ydalton has quit [Remote host closed the connection]
12:53
hightower2 has quit [Ping timeout: 480 seconds]
13:01
ydalton has joined #asahi-dev
13:01
<
ydalton >
well, i tried the tracer script (with some tweaks) and it works, it's quite verbose
13:02
<
ydalton >
it seems to dump the page tables seemingly every millisecond
13:02
<
ydalton >
chadmed: thank you!
13:11
bisko has quit [Ping timeout: 480 seconds]
13:12
ydalton has quit [Remote host closed the connection]
13:12
<
chadmed >
ydalton: no problem, have fun
13:12
ydalton has joined #asahi-dev
13:12
ydalton has left #asahi-dev [#asahi-dev]
13:31
hightower2 has joined #asahi-dev
13:32
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
13:33
lena6 has joined #asahi-dev
13:43
leitao has joined #asahi-dev
14:09
dylanchapell has quit [Read error: Connection reset by peer]
14:18
nsklaus has quit [Quit: WeeChat 3.8]
14:21
cylm_ has quit [Ping timeout: 480 seconds]
14:24
compassion1785 has joined #asahi-dev
14:24
dylanchapell has joined #asahi-dev
14:26
compassion178 has quit [Ping timeout: 480 seconds]
14:26
compassion1785 is now known as compassion178
14:41
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:43
leitao has joined #asahi-dev
14:59
mikelee_ has joined #asahi-dev
15:06
mikelee has quit [Ping timeout: 480 seconds]
15:10
compassion178 has quit [Quit: lounge quit]
15:21
nsklaus has joined #asahi-dev
15:34
ydalton has joined #asahi-dev
15:37
compassion1785 has joined #asahi-dev
15:45
<
ydalton >
okay, so i was able to extrapolate a few things from the frame param dumps:
15:45
<
ydalton >
1. they are definitely not the decoded video info.
15:45
<
ydalton >
2. only a few bytes in the frame param dumps are actually relevant: most of them are just zeroed out
15:45
<
ydalton >
3. a lot of the bytes stay constant between dumps
15:45
<
ydalton >
4. the ones that don't seem to cycle between 6 forms
15:45
<
ydalton >
5. byte 16 counts up from 1, probably the number of different chunks processed
15:47
<
ydalton >
sorry for the multiple lines, idk how to do everything in my IRC client
15:50
compassion1785 has quit [Ping timeout: 480 seconds]
15:53
hightower2 has quit [Ping timeout: 480 seconds]
16:03
<
ydalton >
hm, i guess since you can upload your own firmware to the AVD coprocessor, i guess it's a pretty expensive arduino lol
16:05
ydalton has left #asahi-dev [ERC 5.4 (IRC client for GNU Emacs 28.2)]
16:09
roxfan has quit [Ping timeout: 480 seconds]
16:13
roxfan has joined #asahi-dev
16:20
compassion1785 has joined #asahi-dev
16:24
hightower2 has joined #asahi-dev
16:25
pbsds has joined #asahi-dev
16:29
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:30
leitao has joined #asahi-dev
16:42
rhysmdnz has quit [Quit: Bridge terminating on SIGTERM]
16:42
Guest5071 has quit [Quit: Bridge terminating on SIGTERM]
16:43
sid-linux has joined #asahi-dev
16:45
Jamie has joined #asahi-dev
16:45
rhysmdnz has joined #asahi-dev
16:46
Jamie is now known as Guest5162
16:49
ydalton has joined #asahi-dev
16:53
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:58
leitao has joined #asahi-dev
17:19
ydalton has quit [Remote host closed the connection]
17:19
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:26
leitao has joined #asahi-dev
17:41
jlco has quit [Quit: No Ping reply in 180 seconds.]
17:43
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:44
leitao has joined #asahi-dev
17:51
skoobasteeve has joined #asahi-dev
17:58
jlco has joined #asahi-dev
18:01
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:04
leitao has joined #asahi-dev
18:05
Cyrinux9 has quit []
18:08
Cyrinux9 has joined #asahi-dev
18:10
jlco_ has joined #asahi-dev
18:11
jlco_ has joined #asahi-dev
18:12
mikelee_ has quit [Remote host closed the connection]
18:14
jlco has quit [Ping timeout: 480 seconds]
18:14
mikelee has joined #asahi-dev
18:19
roxfan has quit [Ping timeout: 480 seconds]
18:21
jlco has joined #asahi-dev
18:23
jlco has joined #asahi-dev
18:40
zumi has quit [Remote host closed the connection]
18:43
zumi has joined #asahi-dev
18:46
___nick___ has joined #asahi-dev
18:55
sid-linux has quit [Quit: User exited]
19:03
bisko has joined #asahi-dev
19:10
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:32
___nick___ has quit []
19:34
___nick___ has joined #asahi-dev
19:35
___nick___ has quit []
19:37
___nick___ has joined #asahi-dev
20:08
___nick___ has quit [Ping timeout: 480 seconds]
20:26
derzahl has joined #asahi-dev
21:12
mkurz has quit [Ping timeout: 480 seconds]
21:40
lena6 has quit [Ping timeout: 480 seconds]
21:54
cylm_ has joined #asahi-dev
22:24
roban has joined #asahi-dev
22:34
roban has quit [Quit: roban]
22:41
roban has joined #asahi-dev
23:04
artemis has joined #asahi-dev
23:05
artemis has quit []
23:05
roban has left #asahi-dev [#asahi-dev]
23:08
cylm_ has quit [Ping timeout: 480 seconds]
23:20
nsklaus has quit [Remote host closed the connection]
23:31
abd has joined #asahi-dev