2022-03-20
00:27phire has quit [Server closed connection]
00:27phire has joined #asahi-re
00:32amw has quit [Server closed connection]
00:32amw has joined #asahi-re
00:35_whitelogger has joined #asahi-re
00:41rikkaa has joined #asahi-re
00:59arekm has quit [Remote host closed the connection]
00:59arekm has joined #asahi-re
01:03chadmed has joined #asahi-re
01:03MikaB[m] has joined #asahi-re
01:12m6wiq has quit []
02:05robinp_ has joined #asahi-re
02:07robinp_ is now known as robinp
02:52riker77_ has joined #asahi-re
02:57riker77 has quit [Ping timeout: 480 seconds]
02:57riker77_ is now known as riker77
03:13PhilippvK has joined #asahi-re
03:17phiologe has quit [Ping timeout: 480 seconds]
03:37nicolas17 has quit [Ping timeout: 480 seconds]
03:55kylealanhale has joined #asahi-re
03:57rqou_tracing with trace_device works, but i'm trying to understand how to create a more complicated tracing tool
03:59rqou_i guess i'm clearly struggling trying to figure out how the m1n1 tooling works, since addresses that i can trace the macos kernel accessing crash whenever i try to read32 them
04:10kylealanhale has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:09rqou_finally figured out how to use the mmio tracing framework. is there an example of how to use _reloadcls? i can't seem to figure out how that's intended to be used
05:48kameks has joined #asahi-re
06:37r0ni has quit [Quit: Textual IRC Client: www.textualapp.com]
06:46kameks has quit [Ping timeout: 480 seconds]
07:11doggkruse has quit [Quit: Konversation terminated!]
07:13doggkruse has joined #asahi-re
07:17the_lanetly_052 has joined #asahi-re
07:28doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
07:56aycippo[m] has joined #asahi-re
08:01the_lanetly_052 has quit [Ping timeout: 480 seconds]
08:19swampertx[m] has joined #asahi-re
08:25kylealanhale has joined #asahi-re
08:45riker77 has quit [Quit: Quitting IRC - gone for good...]
08:56MajorBiscuit has joined #asahi-re
09:01riker77 has joined #asahi-re
09:11rikkaa has quit [Quit: Connection closed for inactivity]
09:19jannauthat's from simpler times when there was only m1 or it was only ever used on m1 and not m1 pro/max
09:41rqou_success! (note contains reverse engineered macos driver code) https://gist.github.com/rqou/2dafd40cfe0362cc84c3ee26c68b2b36
09:46rqou_i _barely_ understand how to drive this hardware and basically just duplicated exactly what happens when you run alyssa's poc
09:51the_lanetly_052 has joined #asahi-re
09:58kameks has joined #asahi-re
10:03rqou_btw if anybody is deeply familiar with jpeg and can tell me why there's a 11-entry matrix involved in the process, that would be appreciated
10:07henje[m]JPEG encodes blocks of 8x8 pixels using a discrete cosine transformation. The cosine coefficients form a matrix and are multiplied with a quantization matrix, which effectively eliminates unneeded coefficients. But both matrices should be 8x8.
10:13henje[m]So if it’s a quantization matrix in some form, later entries should effect higher frequency contents, i.e. sharp edges
10:21abrasiveinverting that matrix gives me ['0x100', '0x0', '0x166', '0x100', '-0x58', '-0xb6', '0xff', '0x1c5', '0x0']
10:35rikkaa has joined #asahi-re
10:42henje[m]It should be if it’s just a matrix, because one does RGB -> YCbCr, and the other does YCbCr -> RGB, which need another matrix
10:48m6wiq has joined #asahi-re
10:56ExeciN[m] has joined #asahi-re
11:10rqou_i found the register that controls the output alpha value (0x158) and the register that makes the output ARGB instead of BGRA (0x154)
11:23Axe has joined #asahi-re
11:29kloenk has quit [Remote host closed the connection]
11:30Axe has quit [Remote host closed the connection]
12:24kameks has quit [Ping timeout: 480 seconds]
12:27kylealanhale has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
12:52chadmed has quit [Ping timeout: 480 seconds]
13:24qiuren[m] has joined #asahi-re
13:36the_lanetly_052 has quit [Ping timeout: 480 seconds]
13:49JasonAntwi-Appah[m] has joined #asahi-re
14:06m6wiq1 has joined #asahi-re
14:08m6wiq has quit [Read error: Connection reset by peer]
14:18m6wiq1 has quit [Remote host closed the connection]
14:24justeinkemp[m] has joined #asahi-re
14:24skipwich has quit [Quit: DISCONNECT]
14:25skipwich has joined #asahi-re
14:47MajorBiscuit has quit [Ping timeout: 480 seconds]
14:51rikkaa has quit [Quit: Connection closed for inactivity]
15:26kloenk has joined #asahi-re
15:33brstream[m] has joined #asahi-re
16:41cadawerum1[m] has joined #asahi-re
16:56AdwyzzOLEDEdition[m] is now known as AdryzzOLEDEdition[m]
17:02kylealanhale has joined #asahi-re
17:07doggkruse has joined #asahi-re
17:23nicolas17 has joined #asahi-re
18:11meenmachine has joined #asahi-re
18:17meenmachine has quit [Read error: Connection reset by peer]
18:27m6wiq has joined #asahi-re
18:46meenmachine has joined #asahi-re
18:56yuyichao_ has joined #asahi-re
18:57meenmachine has quit [Quit: Textual IRC Client: www.textualapp.com]
18:57yuyichao has quit [Read error: Connection reset by peer]
18:57meenmachine has joined #asahi-re
19:47meenmachine has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:51doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:53doggkruse has joined #asahi-re
19:58m6wiq has quit []
20:09doggkruse has quit [Ping timeout: 480 seconds]
20:13m6wiq has joined #asahi-re
20:23kylealanhale has quit [Quit: Textual IRC Client: www.textualapp.com]
20:38chengsun has quit [Quit: Quit]
20:38chengsun has joined #asahi-re
20:38m6wiq has quit []
20:42meenmachine has joined #asahi-re
20:58M1bn3mar[m]hey, i found a way to adjust the brightness in asahi i thought that it might be useful in development :)
21:20m6wiq has joined #asahi-re
21:42meenmachine has quit [Read error: Connection reset by peer]
21:54m6wiq has quit []
22:11sirn has quit [Server closed connection]
22:11sirn has joined #asahi-re
22:27abrasive has quit [Server closed connection]
22:28abrasive has joined #asahi-re
22:34phire has quit [Server closed connection]
22:34phire has joined #asahi-re
22:40robinp has quit [Server closed connection]
22:40robinp has joined #asahi-re
22:44chengsun has quit [Quit: Quit]
22:44chengsun has joined #asahi-re
23:00yrlf has quit [Quit: The Lounge - https://thelounge.chat]
23:02yrlf has joined #asahi-re
23:20nicolas17is there any public 'trace file' from m1n1, for example from the DCP tracer? (I don't have M1 hardware myself >.>)
23:21nicolas17IIUC trace_dcp.py dumps raw binary data sent to the DCP mailbox and shared memory, and then a different script parses it into something readable
23:35pphilipss has joined #asahi-re