ChanServ changed the topic of #asahi-gpu to: Asahi Linux: porting Linux to Apple Silicon macs | GPU / 3D graphics stack black-box RE and development (NO binary reversing) | Keep things on topic | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-gpu
cylm_ has joined #asahi-gpu
cylm__ has joined #asahi-gpu
cylm___ has joined #asahi-gpu
cylm has quit [Ping timeout: 480 seconds]
cylm has joined #asahi-gpu
cylm_ has quit [Ping timeout: 480 seconds]
cylm_ has joined #asahi-gpu
cylm__ has quit [Ping timeout: 480 seconds]
cylm___ has quit [Ping timeout: 480 seconds]
cylm has quit [Ping timeout: 480 seconds]
chadmed has joined #asahi-gpu
<lina> alyssa: Aaaa sorry I forgot to push m1n1!!! T_T
<lina> It's pushed now...
<alyssa> lina: thanks ^^
nyx_o has joined #asahi-gpu
zzywysm has joined #asahi-gpu
nyx_o has quit [Quit: WeeChat 3.5]
nyx_o has joined #asahi-gpu
cylm_ has quit [Ping timeout: 480 seconds]
bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chengsun has joined #asahi-gpu
chengsun has quit []
millenialhacker has joined #asahi-gpu
millenialhacker has quit []
bisko has joined #asahi-gpu
bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chengsun has joined #asahi-gpu
chengsun has quit []
bisko has joined #asahi-gpu
bisko has quit []
SSJ_GZ has joined #asahi-gpu
MajorBiscuit has joined #asahi-gpu
bisko has joined #asahi-gpu
bisko has quit []
bisko has joined #asahi-gpu
bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bisko has joined #asahi-gpu
bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bisko has joined #asahi-gpu
bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ChaosPrincess has quit [Quit: WeeChat 3.6]
ChaosPrincess has joined #asahi-gpu
bisko has joined #asahi-gpu
bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bisko has joined #asahi-gpu
bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bisko has joined #asahi-gpu
bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bisko has joined #asahi-gpu
bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bisko has joined #asahi-gpu
bisko has quit []
bisko has joined #asahi-gpu
DarkShadow44 has quit [Quit: ZNC - https://znc.in]
DarkShadow44 has joined #asahi-gpu
<alyssa> Okay, kernel boots with the new m1n1
<alyssa> need to sort out wifi firmware first
<alyssa> also my sound broke with the upgrade
<alyssa> oh, wi-fi firmware Just Works
<alyssa> so wifi is back and good
<alyssa> lina: is your latest mesa pushed?
<alyssa> Oh my gosh, 3D acceleration! this is awesome!!
<alyssa> lina: i love rust now! ;-D
<lina> Yay!!!! ^^
<alyssa> lina: okay. I love having GPU drivers. haven't touched Rust yet :-p
<lina> ^^;;
<karolherbst> alyssa: hi, how are you today?
<lina> I still need to fix the allocator to not be totally silly, I'll do that next week...
<alyssa> karolherbst: I intend to finish MRT before wiring up compute kernels
<lina> But I think the driver doesn't do anything silly as far as stability so I hope the kernel side works well for you!
<alyssa> :-F
<alyssa> I like silly
<karolherbst> alyssa: I was more thinking if you'd like to code some rust, but that's good to know as well :)
<alyssa> nak
<lina> I think there's like a dozen buffers that get allocated from shmem/mapped/freed for every render w
<karolherbst> ah you want to work on nak instead? that's cool as well!
<lina> wwwwwwwwwwww
<alyssa> stop nerdsniping me :V
<karolherbst> :'(
<lina> :lunapat:
alyssa has left #asahi-gpu [#asahi-gpu]
alyssa has joined #asahi-gpu
<alyssa> lina: Debugging the regression you hit whlie rebasing
<alyssa> 1000 commits on main in between, rip
<alyssa> glmark2 -bdesktop is totally hosed
<alyssa> but I think that still works on macOS
<alyssa> so I suspect some UAPI shenanigan
<alyssa> trying to bisect
<alyssa> but that's ... nontrivial for obvious reasons
<alyssa> Preamble shaders did not break things
<alyssa> At least, glmark2 -bdesktop still works rebased on top of preamble shaders
<alyssa> Once I fix the rebase I'd like to upstream as much of this as possible
<alyssa> got it down to a range of 481 commits
<alyssa> 475
<alyssa> but know the guilty commit
<alyssa> ARB_buffer_storage support
<alyssa> lina: Going to need to tag you in on this one
<alyssa> I can walk you through exactly what's happening in Mesa but I think this is a kernel problem
<alyssa> okay fixed
<alyssa> not a kernel problem, modifiers bug
<alyssa> unsure how any of this worked before tbh
<karolherbst> I guess you didn't allocate that as linear?
<alyssa> lina: Pushed alyssa/asahi/rebased
<alyssa> squashed commits because I'm about to do git surgery to upstream as much as possible
<alyssa> Okay this driver is all sorts of broken :sparkles:
<alyssa> Stuff on the far end of the screen being blurry, that's a fun one
<alyssa> Texture coordinate precision issue, if I had to guess
<alyssa> right. Disabling lower_mediump_io "fixes" that
<alyssa> Maybe an application bug (in sway) but meh
* alyssa does git surgery
<lina> alyssa: Thank you!
<lina> I'm so happy to see you hacking on Linux <3
<alyssa> It is what I am here for ;)
<lina> You probably saw the UABI version thing, if you have a minute you can actually add the check to make it complain loudly if it mismatches. Then next time I break the UABI it will be obvious if there's a mismatch ^^
<alyssa> heh
<alyssa> right now I'm just trying to separate out the UAPI stuff from other Mesa changes
<alyssa> and clean up the other changes and merge them
<alyssa> give you less to rebase
<lina> Yeah, I think some things might be a bit tricky... you probably also have better ideas of how to integrate it side by side with the macOS stuff
<lina> The cmdbuf thing I did is, well... quite nonsense
<alyssa> heh
<lina> Thank you <3
<alyssa> lina: Got bored rebasing and implemented some batch tracking
<alyssa> which mitigates the Slow from the transfer_map batch
gtk2 has quit [Remote host closed the connection]
gtk2 has joined #asahi-gpu
<alyssa> crashing only when I don't use valgrind, that's a classic isn't it
mkurz has joined #asahi-gpu
MajorBiscuit has quit [Ping timeout: 480 seconds]
amarioguy has quit [Remote host closed the connection]
amarioguy has joined #asahi-gpu
Dcow has joined #asahi-gpu
bisko has quit [Ping timeout: 480 seconds]
<alyssa> Also trying to figure out why glamor is failing
zshrc has joined #asahi-gpu
<alyssa> got some splat for you
<alyssa> kodi, which incidentally is totally broken rn
<jannau> isn't that dcp as agx doesn't use dart?
<alyssa> got some splat for you
<alyssa> kodi, which incidentally is totally broken rn
<sven> lol
zshrc has quit [Ping timeout: 480 seconds]
<jannau> I guess "WARN_ON(paddr >> cfg->oas)" is very unlikely, what could cause "WARN_ON(pgsize != cfg->pgsize_bitmap)" to trigger? large pages?
<sven> or something abusing the iommu api
<alyssa> sven: something like my dcp code?
<alyssa> i mean
<alyssa> jannau's, sven's, and lina's dcp code
<sven> like, say, creating 4K pages, stuffing them into the sg table and then trying to mal that thing
<alyssa> i'm just a userspace person right
<sven> *map
<sven> right, I forgot that you claim that DCP is all jannau these days :P
<alyssa> sven: I don't know anything about that, that's my story and I'm sticking to it :-p
<sven> :D
mkurz has quit [Quit: Leaving]
zjstraus has joined #asahi-gpu
zshrc has joined #asahi-gpu
zshrc is now known as Guest898
zshrc has joined #asahi-gpu
steffen[m] has joined #asahi-gpu
zshrc has quit [Quit: leaving]
Guest898 has quit [Quit: leaving]
zshrc has joined #asahi-gpu
<alyssa> lina: Your kernel driver is so much stabler than panfrost.ko, and that's been in prod for years
<alyssa> Major kudos
<alyssa> to you and to Rust :-)
<alyssa> alyssa/asahi/rebased has my rebased
<karolherbst> the magic of rust :3
zshrc has quit [Quit: Bye]
nsklaus has joined #asahi-gpu
nsklaus_ has quit [Ping timeout: 480 seconds]
<alyssa> lina: Please review https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19606 at your convenience
<alyssa> and replace your Mesa branch with https://gitlab.freedesktop.org/alyssa/mesa/-/tree/asahi/rebased
<alyssa> (which is !19606 + uapi commits)
<alyssa> Tested on t8103, no promises about t6000 but most of today was playing the git rebase game (it's mostly your code, I only rewrote local sections where it made sense) ... so it should still be ok there too
<alyssa> the git history is mostly nonsense since I wrote all the commit messages but set --author 'Asahi Lina' for the ones that were originally your code ...
<maximbaz> Hello, I tried to test the driver on M1 Pro / T6000, which gets only to initializing MMU [1], at which step it crashes on memremap [2] with "Failed to remap handoff region", as per dmesg output [3]. I wonder if I could be doing something wrong, could anyone give me a hint? :)
SSJ_GZ has quit [Ping timeout: 480 seconds]
<jannau> maximbaz: does the device have 32GB RAM? is there a warning in dmesg?
cr1901 has quit [Read error: Connection reset by peer]
cr1901 has joined #asahi-gpu