#
✕ nick:alyssa
#asahi-gpu · 2025-02-18 16:14
alyssa..want to upstream a kernel driver? *cry*
#asahi-gpu · 2025-01-14 23:16
alyssai think that's probably time to call it a day
#asahi-gpu · 2025-01-14 23:16
alyssashould probably verify this works at all on macOS
#asahi-gpu · 2025-01-14 23:16
alyssamaybe not :-/
#asahi-gpu · 2025-01-14 23:13
alyssaperhaps this has the answers I seek..
#asahi-gpu · 2025-01-14 23:12
alyssaumm... here it's derefing 4 pages before despite a pt size of 1 page... uhhh
#asahi-gpu · 2025-01-14 23:07
alyssaoh this is.... deeply questionable. seemingly it's accessing page tables one page before where I tell it. hahah wtf
#asahi-gpu · 2025-01-14 22:59
alyssawait here's a no block
#asahi-gpu · 2025-01-14 22:59
alyssaand it's just non-block writes that no
#asahi-gpu · 2025-01-14 22:59
alyssaok so maybe sparse + block writes are working fine
#asahi-gpu · 2025-01-14 22:53
alyssaumm
#asahi-gpu · 2025-01-14 22:53
alyssablock writes are attempting to read my page table, pixel writes aren't
#asahi-gpu · 2025-01-14 22:52
alyssauhh
#asahi-gpu · 2025-01-14 22:51
alyssaooh but if I run a whole bunch of tests in sequence it tries to read it. wtf?
#asahi-gpu · 2025-01-14 22:50
alyssait's not that i can't workaround it, it's that this is clearly intended to work and doesn't :/
#asahi-gpu · 2025-01-14 22:48
alyssathis is bizarre! it's not even making an attempt to read my page table
#asahi-gpu · 2025-01-14 22:45
alyssaclearly i'm doing *something* wrong..
#asahi-gpu · 2025-01-14 22:39
alyssamy PBE descriptors look identical
#asahi-gpu · 2025-01-14 22:39
alyssaso.. i'm kind of stuck now tbh
#asahi-gpu · 2025-01-14 22:37
alyssabut that doesn't help, something is going wrong on linux before we even get that far
#asahi-gpu · 2025-01-14 22:26
alyssaapple also sets bit 30. not sure what that does
#asahi-gpu · 2025-01-14 22:25
alyssathe format is basically what I got from black box
#asahi-gpu · 2025-01-14 22:25
alyssadid an abominatio to dump apple-generated page tables
#asahi-gpu · 2025-01-14 22:25
alyssapoking at sparse again
#asahi-gpu · 2024-12-13 20:23
alyssadefinitely not the usual twiddling but also seems nonlinear
#asahi-gpu · 2024-12-13 20:22
alyssaok, so the "null" layout is indeed a new tiling layout
#asahi-gpu · 2024-12-13 20:16
alyssado we.. need to do something special with the page tables or something too? :/
#asahi-gpu · 2024-12-13 20:15
alyssasetting that new texture bit causes vkcube to blow up so clearly i'm missing something still
#asahi-gpu · 2024-12-13 20:13
alyssawtf?
#asahi-gpu · 2024-12-13 20:13
alyssasetting those bits now instead of faulting in dcmp/cmp, i'm faulting in GSL2
#asahi-gpu · 2024-12-13 20:11
alyssalet's try stuff on linux
#asahi-gpu · 2024-12-13 20:11
alyssaidk about the layout
#asahi-gpu · 2024-12-13 20:11
alyssanormal/sparse/.../null
#asahi-gpu · 2024-12-13 20:11
alyssagoing to guess those are both 2-bit enums that are like
#asahi-gpu · 2024-12-13 20:03
alyssa...well ok then
#asahi-gpu · 2024-12-13 20:03
alyssa* same new bits set
#asahi-gpu · 2024-12-13 20:03
alyssa* null layouts (both, but compressed 1 is set)
#asahi-gpu · 2024-12-13 20:03
alyssawith compressed
#asahi-gpu · 2024-12-13 20:03
alyssathat was with uncompressed
#asahi-gpu · 2024-12-13 19:58
alyssathis is raising more questions than answers for me
#asahi-gpu · 2024-12-13 19:58
alyssa* PBE word 1 bad mask 0x30000000 so two new bits set
#asahi-gpu · 2024-12-13 19:58
alyssa* Texture word 3 bit 8 set
#asahi-gpu · 2024-12-13 19:58
alyssa* Null bit set (texture)
#asahi-gpu · 2024-12-13 19:57
alyssa (both tex and pbe)
#asahi-gpu · 2024-12-13 19:57
alyssa* layout to Null instead of twiddled (???)
#asahi-gpu · 2024-12-13 19:57
alyssafor some reason when creating from sparse apple sets...
#asahi-gpu · 2024-12-13 19:57
alyssalooking at sparse stuff in metal
#asahi-gpu · 2024-10-28 14:14
alyssaif you look at old mesa that still supported macos, `magic.c` is the macOS stuff
#asahi-gpu · 2024-10-28 14:14
alyssaand is.. notably not a command buffer, it's a "control stream"
#asahi-gpu · 2024-10-28 14:14
alyssathe content within the "encoder" is hardware and just pased to hardware and OS independent

plus ›