#
#asahi-gpu · 2022-10-12 16:54
alyssa(but of course cursors are differently broken in DCP hence the copy?)
#asahi-gpu · 2022-10-12 16:53
alyssaor is there a bug drawing the cursor in GL and using a plane offloads from AGX to DCP to workaround?
#asahi-gpu · 2022-10-12 16:53
alyssaWhat do cursor planes have to do with it?
#asahi-gpu · 2022-10-12 16:53
alyssaI assumed glamor was blocked on mesa bugs
#asahi-gpu · 2022-10-12 16:53
jannaunot sure if I should publish that though
#asahi-gpu · 2022-10-12 16:53
alyssaI am missing a lot of context I think
#asahi-gpu · 2022-10-12 16:52
jannauI might have a workaround for the most glaring glamor bug. I hooked the cursor plane up and copy its framebuffer if it's too much off-screen
#asahi-gpu · 2022-10-12 16:50
alyssai've got macOS side work to do, not actually looking forward to fixing glamor anyway :p
#asahi-gpu · 2022-10-12 16:49
alyssasure
#asahi-gpu · 2022-10-12 16:48
jannauthat unfortunately requires devicetree changes compared to what lina merged so it might take a few days until everything is sorted out
#asahi-gpu · 2022-10-12 16:46
jannauit makes sense to wait at least a few days, we're going to merge iommu mapping handling in m1n1 soon
#asahi-gpu · 2022-10-12 16:45
alyssahmm, ok
#asahi-gpu · 2022-10-12 16:44
jannauand lina should have the fix
#asahi-gpu · 2022-10-12 16:44
alyssai haven't uprevved in a while, will need to for agx though ;)
#asahi-gpu · 2022-10-12 16:44
alyssaOK
#asahi-gpu · 2022-10-12 16:43
jannaualyssa: I think I've fixed that
#asahi-gpu · 2022-10-12 16:43
alyssamight that be the same bug as glmark2 is hitting?
#asahi-gpu · 2022-10-12 16:43
alyssajannau: even without agx in the loop, closing compositors (eg quitting sway to return to the tty) crashes dcp... I don't think that happened on my original prototype but IDK what would've changed. I think you mentioned you know about this issue?
#asahi-gpu · 2022-10-12 16:42
jannauI didn't stop the video, I spotted an atomic_disable
#asahi-gpu · 2022-10-12 16:42
alyssaoh, yeah, ok
#asahi-gpu · 2022-10-12 16:42
linaglmark2 makes it go explodey
#asahi-gpu · 2022-10-12 16:39
alyssawhat's the issue?
#asahi-gpu · 2022-10-12 16:39
linaI think it's your problem, but it's not a blocker for what I'm trying to do ^^
#asahi-gpu · 2022-10-12 16:36
jannaulina: is the dcp issue my or your problem? just started watching the last ~20 minutes
#asahi-gpu · 2022-10-07 17:27
phireYep. And pretty brain dead threading
#asahi-gpu · 2022-10-07 17:27
jnthree branch delay slots…
#asahi-gpu · 2022-10-07 17:27
phireYeah
#asahi-gpu · 2022-10-07 17:26
jnphire: the shaders run on the QPUs, right?
#asahi-gpu · 2022-10-07 17:26
phireWrote shaders in raw machine code
#asahi-gpu · 2022-10-07 17:25
phireLiterally just poking registers from userspace
#asahi-gpu · 2022-10-07 17:24
phireYou are the expert compared to me. The most gpu driver I've ever actually done was a hello triangle on videocore 4
#asahi-gpu · 2022-10-07 17:12
Ella[m]phire: I've pushed my cleanups from today if you want to have a look at something a little more clean. If you are going to read it, feel free to tell me when I've done something completely wrong.
#asahi-gpu · 2022-10-07 16:59
bluetailI'mma gonna stop being a fan bird. Doesn't seem to any helpful. Effectively I don't have the time and health to contribute in a meaningful way. That's why I tried to cheer / motivate. Perhaps I should not be so selective. Everybody who contributes is indeed, great. Sigh.
#asahi-gpu · 2022-10-07 16:46
phireI'm tempted to also offer to help work on the vulkan driver.... Something in the water at xdc
#asahi-gpu · 2022-10-07 16:45
Ella[m]ah that's very messy code :3
#asahi-gpu · 2022-10-07 16:44
phireBTW Ella, I was reading that commit which tells me not to read it. Sorry ;-)
#asahi-gpu · 2022-10-07 15:36
alyssaI think I know but jekstrand is the expert here
#asahi-gpu · 2022-10-07 15:36
alyssanod
#asahi-gpu · 2022-10-07 15:18
Ella[m]alyssa: Yeah we should. I'm not really sure at all how to map it to the hw. I have some ideas but they don't seem pretty and probably aren't the correct way of going about these things.
#asahi-gpu · 2022-10-07 15:14
bluetailI really like your blog alyssa. What have you found out later, that proven really valuable, that should I know in life?
#asahi-gpu · 2022-10-07 15:11
alyssa[If I were writing the VK driver myself, I'd figure this out over a 1-on-1 call with jekstrand :-p]
#asahi-gpu · 2022-10-07 15:11
alyssabut neither is clear from the GL driver
#asahi-gpu · 2022-10-07 15:11
alyssaI know the hw and jekstrand knows the Vulkan so together we should figure out the right way to do it
#asahi-gpu · 2022-10-07 15:10
alyssaWe should get on a call with jekstrand about descriptor sets
#asahi-gpu · 2022-10-07 15:10
alyssaMmh, ok
#asahi-gpu · 2022-10-07 15:09
Ella[m]I prefer working on VK driver dev and doing a little r/e but I'm not very experienced on the compiler side. Starting VK from scratch might be an option if you want idk?
#asahi-gpu · 2022-10-07 15:06
Ella[m]uhhh not sure, currently I'm trying to figure out how best to do descriptor sets and I haven't done much more than hook up the compiler and do state emission. I haven't implemented vk_sync on top of macos stuff either yet.
#asahi-gpu · 2022-10-07 15:05
alyssa(and honestly I much prefer those two topics to either GL or VK driver dev so..)
#asahi-gpu · 2022-10-07 15:04
alyssa(There is a LOT of work to do for both compiler and r/e stuff and it's all needed regardless of API so I guess there's that..)
#asahi-gpu · 2022-10-07 15:03
alyssaor would it be more helpful for me to stay on compiler + r/e duty and continue with the GL driver as reference code for you?

plus ›