#asahi-gpu · 2024-02-16 00:05
chergertthe older renderer which i worked on in GTK works fine, it's just our new one (which admitadly pushes things much harder to do more dmabuf stuff)#asahi-gpu · 2024-02-16 00:04
chergertalyssa: it works on intel Arc and iGPU it looks like here #asahi-gpu · 2024-02-16 00:02
alyssa(intel, amd?)#asahi-gpu · 2024-02-16 00:02
alyssachergert: does it happen with non-asahi mesa drivers?#asahi-gpu · 2024-02-16 00:01
alyssathat sounds vaguely familiar but I don't remember why#asahi-gpu · 2024-02-15 23:29
chergertis building mesa here so can definitely try different things to test stuff #asahi-gpu · 2024-02-15 23:29
chergertdoes that sound like a driver bug or an app/library bug?#asahi-gpu · 2024-02-15 23:29
chergert ../src/mesa/state_tracker/st_gen_mipmap.c:114: st_generate_mipmap: Assertion `pt->last_level >= lastLevel' failed.#asahi-gpu · 2024-02-15 23:29
chergerti notice this assertion when testing the new GTK renderer for GNOME 46 and the tab overview used in various apps#asahi-gpu · 2024-02-15 23:08
i509vcb(for the clamp value)#asahi-gpu · 2024-02-15 23:07
i509vcbtelling lowering to output nir_imm_int(b, UINT32_MAX) just results in black, so it's probably not that#asahi-gpu · 2024-02-15 23:04
alyssatry stuff? or throw me a branch#asahi-gpu · 2024-02-15 23:03
alyssalooks plausible, idk#asahi-gpu · 2024-02-15 23:03
alyssawhich is plausible#asahi-gpu · 2024-02-15 23:03
alyssa 584: 0501200d08c03200 device_load 0, i32, xy, r0_r1, u0_u1, 130, signed#asahi-gpu · 2024-02-15 23:03
alyssafrom the preamble, u18 is equal to#asahi-gpu · 2024-02-15 23:02
alyssa 0: 12014a421a4a403a icmpsel ult, r0, r5, u18, r5, u18#asahi-gpu · 2024-02-15 23:02
alyssafirst vertex shader instruction is the clamp:#asahi-gpu · 2024-02-15 22:55
i509vcbwith disassembler: https://gist.github.com/i509VCB/c55b4a934dda40e81a1808f73959d2ff#asahi-gpu · 2024-02-15 22:52
i509vcbsame as depth bias#asahi-gpu · 2024-02-15 22:52
i509vcbyup that's a memory leak, the number of scissors is never trimmed and it's in a dynarray#asahi-gpu · 2024-02-15 22:50
i509vcbScissor count seems to increase every few draws#asahi-gpu · 2024-02-15 22:42
alyssaworth looking into#asahi-gpu · 2024-02-15 22:41
i509vcbunless the example is doing that for some reason#asahi-gpu · 2024-02-15 22:41
i509vcbno...#asahi-gpu · 2024-02-15 22:41
alyssado you really upload 455+ scissors?#asahi-gpu · 2024-02-15 22:41
alyssa Scissor: 454#asahi-gpu · 2024-02-15 22:41
alyssaDepth bias/scissor#asahi-gpu · 2024-02-15 22:40
alyssacherrypick "HACK: Wire dougallj's disassembler into wrap+compiler" from my next branch and setup applegpu#asahi-gpu · 2024-02-15 22:39
alyssaoh uh can you build with disasembler#asahi-gpu · 2024-02-15 22:39
alyssawell I'm first going to look at the VS because we're talking about it#asahi-gpu · 2024-02-15 22:37
i509vcbI have no idea what I should be looking for in agx decode dumps#asahi-gpu · 2024-02-15 22:37
i509vcbhttps://gist.github.com/i509VCB/6c8e60fe7cdd996f6642469beee3248e triangle example in sascha willem's examples, did set clamp to infinity and output is just black#asahi-gpu · 2024-02-15 22:20
i509vcbHmm setting clamp to infinity I guess shows more problems still exist in agxv#asahi-gpu · 2024-02-15 22:16
alyssa(or set the clamp to infinity or whatever)#asahi-gpu · 2024-02-15 22:16
alyssabut agxv doesn't advertise robustness yet so you can just hack that out#asahi-gpu · 2024-02-15 22:15
alyssai509vcb: ultimately vkCmdBindVertexBuffers2, but it should be in the vk_graphics_state#asahi-gpu · 2024-02-15 21:58
i509vcbagxv_CmdBindVertexBuffers2 seems like where I'd do that?#asahi-gpu · 2024-02-15 21:58
i509vcbNot sure where I'd get the values to upload in sysvals to give load_attrib_clamp_agx something to load other than 0#asahi-gpu · 2024-02-15 15:33
alyssaok, will do in a bit#asahi-gpu · 2024-02-15 15:33
i509vcbfine to push that#asahi-gpu · 2024-02-15 15:32
alyssai509vcb: lmk if you want me to push that#asahi-gpu · 2024-02-15 15:32
alyssa:)#asahi-gpu · 2024-02-15 15:31
i509vcb https://gitlab.freedesktop.org/i509VCB/mesa/-/commits/rebase-10010#asahi-gpu · 2024-02-15 15:31
i509vcbalyssa: rebased agxv is on my rebase-10010 branch#asahi-gpu · 2024-02-15 14:08
alyssawoo#asahi-gpu · 2024-02-15 14:07
i509vcbI'll squash the two extra commits in like an hour#asahi-gpu · 2024-02-15 14:07
i509vcbvkcube works now#asahi-gpu · 2024-02-15 14:06
i509vcbah no wrong order of ppp fields#asahi-gpu · 2024-02-15 14:06
i509vcbokay so now just gray output in vkcube