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…]
<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
<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? :)