#asahi-gpu · 2023-10-22 16:06
alyssagl driver does 2, that's fine then #asahi-gpu · 2023-10-22 16:06
alyssaedit: nope#asahi-gpu · 2023-10-22 16:05
alyssabut yeah probably want just 1 vdm state update per draw ..#asahi-gpu · 2023-10-22 16:05
alyssai509vcb: post an agxdecode trace#asahi-gpu · 2023-10-21 19:56
kidplayer666Games like Super Tux Kart or Endless sky#asahi-gpu · 2023-10-21 19:56
kidplayer666Just added a comment to the GPU issue cause the gamma or the saturation by some reason are getting reduced upon launching the game#asahi-gpu · 2023-10-21 01:59
i509vcbCan't be layout, MTLDrawIndexedPrimitivesIndirectArguments is the same layout as VkDrawIndexedIndirectCommand#asahi-gpu · 2023-10-20 23:09
i509vcbThe only other thing I could think of for my CmdDrawIndirectIndexed implementation being wrong is that Apple expects a different layout for the indirect buffer in IndirectIndexed than what Vulkan and GL provide?#asahi-gpu · 2023-10-20 19:59
ella-0the command stream should be able to have multiple VDM_STATE stuff I think though agxv_emit should only write at most one to the command buffer each time#asahi-gpu · 2023-10-20 19:06
i509vcbI'm suspecting the command stream having two VDM_STATEs might be causing my problems?#asahi-gpu · 2023-10-20 19:06
i509vcbella-0: For agxv should only one VDM_STATE exist per axv_emit?#asahi-gpu · 2023-10-17 19:46
i509vcbVUID-vkCmdDrawIndirect-drawCount-00476 pretty much#asahi-gpu · 2023-10-17 19:45
i509vcbit seems to work with something equvilant to VkDrawIndirectCommand but the spec allows setting a stride as long it's a multiple of 4#asahi-gpu · 2023-10-17 19:43
i509vcbFor CmdDrawIndirect, I'm not sure where I'm supposed to tell agx about the stride?#asahi-gpu · 2023-10-17 17:56
ella-0I have zram enabled but that is all#asahi-gpu · 2023-10-17 17:37
i509vcbella-0: when I last had out of host memory it was because I forgot to enable swap when installing lol#asahi-gpu · 2023-10-17 15:46
i509vcbNow to get back to image stuff in the driver so txs works#asahi-gpu · 2023-10-17 15:46
i509vcbJust watched the XDC talk, pretty cool stuff#asahi-gpu · 2023-10-17 13:19
ella-0also some cases end up with buffer range being out of bounds somehow? I have a slightly hacky patch for that using VK_WHOLE_SIZE https://gitlab.freedesktop.org/Ella-0/mesa/-/commit/9c466ac6032719c5bd245f43b173f74f94e70aaf#asahi-gpu · 2023-10-17 13:16
ella-0anyway this is the layer assertion that lots of CTS hits https://gitlab.freedesktop.org/asahi/mesa/-/blob/agxv/main/src/vulkan/runtime/vk_meta_copy_image_to_buffer.c?ref_type=heads#L386 I have a hacky patch for it somewhere#asahi-gpu · 2023-10-17 13:06
ella-0doing some CTS runs to work out what meta stuff to work on and uhh well ... VK_ERROR_OUT_OF_HOST_MEMORY yayyyy time to close my browser tabs#asahi-gpu · 2023-10-16 03:26
AllakTo be a ghost with a pulse, get in a situation where the mind gives the perceived death signal, by watching a scary movie alone in the dark, and when it does just ignore it or pay no attention to it.- Daniel Alan Gabriel- ghostpeople@gmx.com#asahi-gpu · 2023-10-13 15:26
ydaltonella-0: thanks!#asahi-gpu · 2023-10-13 15:07
i509vcb(Or I'll figure out in a few hours)#asahi-gpu · 2023-10-13 15:06
i509vcbMy arch install imploded so I moved :)#asahi-gpu · 2023-10-13 15:06
i509vcbI assume the fedora spin has a new enough abi for agxv?#asahi-gpu · 2023-10-13 13:59
ella-0yup that's correct#asahi-gpu · 2023-10-13 12:38
ydaltonif i understood correctly, vk_entrypoints_gen.py takes a driver prefix (agxv in this example) and it creates two C files and that's where the mapping happens, is my understanding correct?#asahi-gpu · 2023-10-13 12:32
ydaltonalyssa: i think that answers my question, thanks!#asahi-gpu · 2023-10-13 12:14
alyssaydalton: https://indico.freedesktop.org/event/2/contributions/57/attachments/57/145/2022-10-04%20XDC%202022.pdf#asahi-gpu · 2023-10-13 12:10
ydaltona question for the agxv devs: i see in agxv_instance.c a function called agxv_CreateInstance() is defined which is presumably what is called when you call vkCreateInstance in a vulkan application. my question is, how does the vulkan driver know to call that function? is there a struct that lays out function pointers to driver specific functions? similar to the file_operations struct in the linux kernel. thanks!#asahi-gpu · 2023-10-13 11:10
alyssachromium needs `--use-gl=egl --in-process-gpu` for webgl2 tho#asahi-gpu · 2023-10-13 11:09
alyssaait different resolutio#asahi-gpu · 2023-10-13 11:08
alyssafirefox's webgl has always been.. special#asahi-gpu · 2023-10-13 11:08
alyssaRetr0id: 60fps in chromium#asahi-gpu · 2023-10-13 11:05
alyssaI did a pile of scheduling work which I guess fixed stuff#asahi-gpu · 2023-10-13 11:04
Retr0idnice#asahi-gpu · 2023-10-13 11:04
alyssa16.9fps on m1#asahi-gpu · 2023-10-13 11:04
alyssausing exactly the whole reg file no spill#asahi-gpu · 2023-10-13 11:04
alyssaRetr0id: incidentally that shader toy seems to work on my dev build#asahi-gpu · 2023-10-13 10:54
Retr0id🙏#asahi-gpu · 2023-10-13 10:53
alyssaRetr0id: https://gitlab.freedesktop.org/asahi/mesa/-/merge_requests/199#asahi-gpu · 2023-10-13 10:22
Retr0idahh#asahi-gpu · 2023-10-13 10:10
alyssathat blows up an assert on debug builds but asserts are compiled out of release builds#asahi-gpu · 2023-10-13 10:09
alyssaRetr0id: going to guess we run out of registers#asahi-gpu · 2023-10-11 10:34
Retr0idi509vcb, of course it's a driver bug lol, it's (seemingly) stack corruption in the register allocator - the question is whether that's security-relevant#asahi-gpu · 2023-10-11 07:52
rowanG337So with the new Iphone SoC Apple claims it's a new architecture. Since it's released now was anyone able to confirm that? #asahi-gpu · 2023-10-11 05:44
i509vcbit looks like a plain ol shader on my amd system#asahi-gpu · 2023-10-11 05:41
i509vcbProbably a driver bug#asahi-gpu · 2023-10-11 05:07
Retr0idjust flagging this one here in case it got missed on the issue tracker https://github.com/AsahiLinux/linux/issues/72#issuecomment-1751725628 - I still haven't tried to do proper root-cause analysis but it feels like a potentially security-relevant bug?