#
…

2025-12-20

00:06hdbngr has quit [Ping timeout: 480 seconds]
00:14hdbngr has joined #asahi-dev
00:23hdbngr has quit [Ping timeout: 480 seconds]
00:31hdbngr has joined #asahi-dev
00:33mixi has quit [Ping timeout: 480 seconds]
00:43hdbngr has quit [Ping timeout: 480 seconds]
00:43mixi has joined #asahi-dev
00:52hdbngr has joined #asahi-dev
01:00hdbngr has quit [Ping timeout: 480 seconds]
01:01hdbngr has joined #asahi-dev
01:10hdbngr has quit [Ping timeout: 480 seconds]
01:18hdbngr has joined #asahi-dev
01:27hdbngr has quit [Ping timeout: 480 seconds]
01:34hdbngr has joined #asahi-dev
01:43hdbngr has quit [Ping timeout: 480 seconds]
01:51hdbngr has joined #asahi-dev
02:00hdbngr has quit [Ping timeout: 480 seconds]
02:09hdbngr has joined #asahi-dev
02:18hdbngr has quit [Ping timeout: 480 seconds]
02:25hdbngr has joined #asahi-dev
02:34hdbngr has quit [Ping timeout: 480 seconds]
02:42hdbngr has joined #asahi-dev
02:51hdbngr has quit [Ping timeout: 480 seconds]
03:00mesa has quit [Ping timeout: 480 seconds]
03:00hdbngr has joined #asahi-dev
03:09hdbngr has quit [Ping timeout: 480 seconds]
03:09mesa has joined #asahi-dev
03:16hdbngr has joined #asahi-dev
03:18mesa has quit [Ping timeout: 480 seconds]
03:25hdbngr has quit [Ping timeout: 480 seconds]
03:31tobhe_ has joined #asahi-dev
03:32hdbngr has joined #asahi-dev
03:38tobhe has quit [Ping timeout: 480 seconds]
03:41hdbngr has quit [Ping timeout: 480 seconds]
03:50hdbngr has joined #asahi-dev
03:59hdbngr has quit [Ping timeout: 480 seconds]
04:03ansg191_ has joined #asahi-dev
04:06ansg191 has quit [Ping timeout: 480 seconds]
04:07ansg191_ is now known as ansg191
04:07hdbngr has joined #asahi-dev
04:08mesa has joined #asahi-dev
04:16hdbngr has quit [Ping timeout: 480 seconds]
04:23hdbngr has joined #asahi-dev
04:32hdbngr has quit [Ping timeout: 480 seconds]
04:39hdbngr has joined #asahi-dev
04:43pb17 has quit [Ping timeout: 480 seconds]
04:48hdbngr has quit [Ping timeout: 480 seconds]
04:50nora has joined #asahi-dev
04:52nora_ has quit [Ping timeout: 480 seconds]
04:56hdbngr has joined #asahi-dev
05:04pb17 has joined #asahi-dev
05:09hdbngr has quit [Ping timeout: 480 seconds]
05:16hdbngr has joined #asahi-dev
05:24hdbngr has quit [Ping timeout: 480 seconds]
05:29hdbngr has joined #asahi-dev
05:38hdbngr has quit [Ping timeout: 480 seconds]
05:45hdbngr has joined #asahi-dev
05:52lm_ has quit [Quit: ZNC 1.10.1 - https://znc.in]
05:54hdbngr has quit [Ping timeout: 480 seconds]
06:01hdbngr has joined #asahi-dev
06:10hdbngr has quit [Ping timeout: 480 seconds]
06:18hdbngr has joined #asahi-dev
06:27hdbngr has quit [Ping timeout: 480 seconds]
06:35hdbngr has joined #asahi-dev
06:43hdbngr has quit [Ping timeout: 480 seconds]
06:51hdbngr has joined #asahi-dev
07:00hdbngr has quit [Ping timeout: 480 seconds]
07:02hdbngr has joined #asahi-dev
07:10hdbngr has quit [Ping timeout: 480 seconds]
07:19chadmed has quit [Quit: Konversation terminated!]
07:19chadmed has joined #asahi-dev
07:19hdbngr has joined #asahi-dev
07:28hdbngr has quit [Ping timeout: 480 seconds]
07:35hdbngr has joined #asahi-dev
07:44hdbngr has quit [Ping timeout: 480 seconds]
07:51hdbngr has joined #asahi-dev
07:59hdbngr has quit [Ping timeout: 480 seconds]
08:00weirdtreething has quit [Remote host closed the connection]
08:00weirdtreething has joined #asahi-dev
08:03hdbngr has joined #asahi-dev
08:11hdbngr has quit [Ping timeout: 480 seconds]
08:19hdbngr has joined #asahi-dev
08:27hdbngr has quit [Ping timeout: 480 seconds]
08:36hdbngr has joined #asahi-dev
08:44hdbngr has quit [Ping timeout: 480 seconds]
08:52hdbngr has joined #asahi-dev
09:00hdbngr has quit [Ping timeout: 480 seconds]
09:04hdbngr has joined #asahi-dev
09:12hdbngr has quit [Ping timeout: 480 seconds]
09:20nst has quit [Ping timeout: 480 seconds]
09:21hdbngr has joined #asahi-dev
09:26k1nch0 has joined #asahi-dev
09:30hdbngr has quit [Ping timeout: 480 seconds]
09:30nst has joined #asahi-dev
09:39hdbngr has joined #asahi-dev
09:47hdbngr has quit [Ping timeout: 480 seconds]
09:56hdbngr has joined #asahi-dev
10:04hdbngr has quit [Ping timeout: 480 seconds]
10:05hdbngr has joined #asahi-dev
10:13hdbngr has quit [Ping timeout: 480 seconds]
10:21hdbngr has joined #asahi-dev
10:29hdbngr has quit [Ping timeout: 480 seconds]
10:38hdbngr has joined #asahi-dev
10:52hdbngr has quit [Ping timeout: 480 seconds]
11:00hdbngr has joined #asahi-dev
11:14hdbngr has quit [Ping timeout: 480 seconds]
11:16hdbngr has joined #asahi-dev
11:24hdbngr has quit [Ping timeout: 480 seconds]
11:27hdbngr has joined #asahi-dev
11:30pb17 has quit [Ping timeout: 480 seconds]
11:44psykose has joined #asahi-dev
11:56pb17 has joined #asahi-dev
12:16oliver_jannau: regarding your comment on setting the timestamps only for the internal display: i am now checking for dcp->main_display, is valid too?
12:17jannauoliver_: I think the resolution of the internal displays is unique enough
12:18oliver_iff main_display is already true for the internal display, that seems cleaner?
12:18jannauthis is going to change soon anyway since I plan to split apple_connector
12:18oliver_ah i see
12:19oliver_so you would really prefer the resolution check
12:19jannauyou still have to limit it to 14-/16-inch macbook pros, doesn't matter much anyway
12:20oliver_thank you, then i'll adjust it again
12:20jannauI don't remember if main_display might be true for the HDMI port of M1 desktop devices
12:20oliver_according to the comment, it shouldnt be
12:21oliver_`eDP display without DP-HDMI conversion`
12:39hdbngr has quit [Ping timeout: 480 seconds]
12:41k1nch0 has quit [Quit: Lost terminal]
12:48hdbngr has joined #asahi-dev
13:00hdbngr has quit [Ping timeout: 480 seconds]
13:07hdbngr has joined #asahi-dev
13:15hdbngr has quit [Ping timeout: 480 seconds]
13:23hdbngr has joined #asahi-dev
13:42lm has joined #asahi-dev
13:47lm_ has joined #asahi-dev
13:50lm has quit [Ping timeout: 480 seconds]
13:55hdbngr has quit [Ping timeout: 480 seconds]
13:57pb17 has quit [Ping timeout: 480 seconds]
13:58nickchanokay so I dug into the mem corruption issue i have with t8015 nvme and appearetly it may not have anything to do with my own code at all?
13:59nickchansimply calling p.free(p.memalign(0x4000, 0x1000)) crashes on t6000 on upstream m1n1
14:11nickchanthat causes m1n1 1.0 to crash as well
14:11pb17 has joined #asahi-dev
14:17lm_ has quit [Ping timeout: 480 seconds]
14:17nickchanokay i don't think freeing memalign ever worked
14:33hdbngr has joined #asahi-dev
14:42hdbngr has quit [Ping timeout: 480 seconds]
14:52nickchanokay i don't understand how rust free ever worked
14:52nickchanin rust/src/dlmalloc.rs it can be seen that rust uses posix_memalign() to obtain memory
14:53nickchanhowever when I
14:54nickchanfrom m1n1.loadobjs import * lp = LinkedProgram(u) posix_memalign = next(x for x in lp.symbols if x[1] == "posix_memalign")[0] pp = u.malloc(8) p.call(posix_memalign, pp, 0x4000, 0x4000) p.free(p.read64(pp))
14:54nickchanthe last p.free would cause a data abort
15:00alxdrl has joined #asahi-dev
15:01nickchanokay this is even more cursed, if i p.call the free symbol at the last step instead of using p.free then *that* works
15:06nickchan... p.free actually calls memalign
15:07nickchanOf course this explodes
15:09nickchangit blame says that it's like this since the beginning of time
15:17hdbngr has joined #asahi-dev
15:20alxdrl has left #asahi-dev [Textual IRC Client: www.textualapp.com]
15:27hdbngr has quit [Ping timeout: 480 seconds]
15:31chadmed has quit [Quit: Konversation terminated!]
15:31chadmed has joined #asahi-dev
15:48hdbngr has joined #asahi-dev
15:57hdbngr has quit [Ping timeout: 480 seconds]
16:24nickchananyways i think i found the actual issue im experiencing with t8015 nvme
16:24nickchanfor 4096 bytes i should set cdw12 to 0 instead of 1
16:24nickchanthis nvme is less quirky so it is 0 based as described in the spec
16:30chadmed has quit [Quit: Konversation terminated!]
16:30chadmed has joined #asahi-dev
16:33chadmed has quit []
16:33chadmed has joined #asahi-dev
16:43lm has joined #asahi-dev
16:47jannaumerged. I guess we don't really call proxy.free() that often
16:49hdbngr has joined #asahi-dev
16:50nickchanin this case i need to check linux to see there's no overflow issues there
16:58hdbngr has quit [Ping timeout: 480 seconds]
17:30rany_ has joined #asahi-dev
17:32rany has quit [Ping timeout: 480 seconds]
17:32rany_ is now known as rany
17:34nickchan4096 bytes of data gets read and dma'd
17:34nickchanand linux's behavior would be 0 there for a 4096-byte read there's no special 1-index treatment
17:35rany_ has joined #asahi-dev
17:36nickchansven: any reason why cmd.cdw12 is 1 in the first place? the normal nvme spec does say it is 0-indexed and linux's behavior is also 0-index
17:36svendon’t remember
17:37svenmight just be a bug
17:40rany has quit [Ping timeout: 480 seconds]
17:44rany has joined #asahi-dev
17:44rany_ has quit [Ping timeout: 480 seconds]
17:50hdbngr has joined #asahi-dev
17:59hdbngr has quit [Ping timeout: 480 seconds]
18:51hdbngr has joined #asahi-dev
19:00hdbngr has quit [Ping timeout: 480 seconds]
19:01ansg191 has quit [Ping timeout: 480 seconds]
19:31ansg191 has joined #asahi-dev
19:38hdbngr has joined #asahi-dev
19:54hightower4 has quit [Remote host closed the connection]
19:54hightower4 has joined #asahi-dev
19:57hightower4 has quit [Remote host closed the connection]
19:57hightower4 has joined #asahi-dev
20:06deanrock094 has joined #asahi-dev
20:11hightower4 has quit [Remote host closed the connection]
20:11hightower4 has joined #asahi-dev
20:13deanrock09 has quit [Ping timeout: 480 seconds]
20:13deanrock094 is now known as deanrock09
20:14hightower4 has quit [Remote host closed the connection]
20:14Pokemod977362084712 has quit []
20:15hightower4 has joined #asahi-dev
20:30hightower3 has joined #asahi-dev
20:36hightower4 has quit [Ping timeout: 480 seconds]
20:42Pokemod977362084712 has joined #asahi-dev
21:23hdbngr has quit [Ping timeout: 480 seconds]
21:32oliver_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
21:40oliver has joined #asahi-dev
22:31rany_ has joined #asahi-dev
22:34rany has quit [Ping timeout: 480 seconds]
22:36rany has joined #asahi-dev
22:41rany_ has quit [Ping timeout: 480 seconds]
22:56hdbngr has joined #asahi-dev
23:05hdbngr has quit [Ping timeout: 480 seconds]
23:10hightower4 has joined #asahi-dev
23:17hightower3 has quit [Ping timeout: 480 seconds]
23:29ansg191 has quit [Ping timeout: 480 seconds]
23:35ansg191 has joined #asahi-dev
23:51ansg191 has quit [Remote host closed the connection]
…