#
…

2024-02-15

00:16i509vcbI think I got the rebase done, just going through each commit and fixing compiler errors I see along the way
00:16i509vcbalthough that's quite involved
00:33alexaltea_ has joined #asahi-gpu
00:33alexaltea has quit [Ping timeout: 480 seconds]
00:39chergert has joined #asahi-gpu
00:52i509vcbhmm what is TEXTURE_TYPE_XR? Not related to the rebase, just don't know
00:53aratuk has joined #asahi-gpu
00:53i509vcbI assume it's not VR related?
01:06aratukCongrats on 4.6 conformance! @alyssa, in your post it seems as though you might be conspicuously avoiding the name of "the vendor". If you don't mind my asking, did Apple ask you not to use their trademark even in describing your work, or something along those lines?
01:10alyssaaratuk: Thanks, and no
01:10alyssai509vcb: imho just squash agxv
01:10alyssathe history isnt' worth preserving at this point
01:10alyssavs the rebase hell
01:30i509vcbOkay if you are fine with the squashing
01:30alyssaI am yeah
01:31chergert has quit [Quit: chergert]
01:31alyssaI don't think preserving history is reasonable at this stage, tbh.
01:31alyssagiven the XML is changing externally, etc
01:32aratuk has quit []
01:42wrender has joined #asahi-gpu
01:49ju has quit [Read error: Connection reset by peer]
01:49ju has joined #asahi-gpu
01:50i509vcbrebase is done
01:50i509vcblet me smoke test vkcube quickly
01:51wrender has quit [Ping timeout: 480 seconds]
01:52i509vcbvkcube seems to die in the compiler
01:59kidplayer666 has quit [Quit: Connection closed for inactivity]
02:00KxCORP has quit [Quit: Bye!]
02:00KxCORP has joined #asahi-gpu
02:02i509vcbmismatched ppp size?
02:06Bertrand___ has quit [Ping timeout: 480 seconds]
02:06Bertrand___ has joined #asahi-gpu
02:07wrender has joined #asahi-gpu
02:15fossdd_ has quit [Ping timeout: 480 seconds]
02:16fossdd has joined #asahi-gpu
02:19alyssai509vcb: new_ppp_update takes a # of control words, needs to be high enough
02:36jeisom has quit [Ping timeout: 480 seconds]
02:53i509vcb4 bytes short from gdb
02:56i509vcb(not shown in the branch, setting viewport_count = 1)
03:28pthariensflame has joined #asahi-gpu
03:50pthariensflame has quit [Quit: Textual IRC Client: www.textualapp.com]
04:02Bertrand___ has quit [Read error: Connection reset by peer]
04:05Bertrand___ has joined #asahi-gpu
04:49marvin24 has joined #asahi-gpu
04:52marvin24_ has quit [Ping timeout: 480 seconds]
05:05tertl8 has quit [Quit: Connection closed for inactivity]
05:17wrender has quit [Ping timeout: 480 seconds]
06:57kidplayer666 has joined #asahi-gpu
07:04ciara has quit [Remote host closed the connection]
07:08ciara has joined #asahi-gpu
07:22Bertrand___ has quit [Ping timeout: 480 seconds]
07:23Bertrand___ has joined #asahi-gpu
07:46possiblemeatball has quit [Quit: Quit]
07:49jcajka has joined #asahi-gpu
08:31mkurz_ has quit [Ping timeout: 480 seconds]
09:41jeisom has joined #asahi-gpu
12:11adewart has joined #asahi-gpu
12:12jeisom has quit [Ping timeout: 480 seconds]
12:24alyssai509vcb: VIEWPORT now also has a VIEWPORT_CONTROL word, see agx_state.c (and blame if you want to know who to blame)
13:56kidplayer666 has quit [Quit: Connection closed for inactivity]
14:06i509vcbokay so now just gray output in vkcube
14:06i509vcbah no wrong order of ppp fields
14:07kidplayer666 has joined #asahi-gpu
14:07i509vcbvkcube works now
14:07i509vcbI'll squash the two extra commits in like an hour
14:40wrender has joined #asahi-gpu
14:56wrender has quit [Ping timeout: 480 seconds]
15:18jeisom has joined #asahi-gpu
15:31i509vcbalyssa: rebased agxv is on my rebase-10010 branch
15:32alyssai509vcb: lmk if you want me to push that
15:33i509vcbfine to push that
15:33alyssaok, will do in a bit
15:41Guest2526 has quit [Quit: Bridge terminating on SIGTERM]
15:41rhysmdnz has quit [Quit: Bridge terminating on SIGTERM]
15:42rhysmdnz has joined #asahi-gpu
15:43Jamie has joined #asahi-gpu
15:43Jamie is now known as Guest2890
16:03wrender has joined #asahi-gpu
16:11wrender has quit [Ping timeout: 480 seconds]
16:18possiblemeatball has joined #asahi-gpu
16:55anders__2 has quit [Ping timeout: 480 seconds]
17:06kidplayer666 has quit [Quit: Connection closed for inactivity]
18:10possiblemeatball has quit [Quit: Quit]
18:17chergert has joined #asahi-gpu
18:18Bertrand___ has quit [Ping timeout: 480 seconds]
18:19Bertrand___ has joined #asahi-gpu
18:23possiblemeatball has joined #asahi-gpu
18:24possiblemeatball has quit []
18:24jcajka has quit [Remote host closed the connection]
18:28Bertrand___ has quit [Ping timeout: 480 seconds]
18:45wrender has joined #asahi-gpu
18:49anders2 has joined #asahi-gpu
18:58wrender has quit [Ping timeout: 480 seconds]
18:59chergert has quit [Quit: chergert]
19:03wrender has joined #asahi-gpu
19:05cyrinux has quit []
19:07cyrinux has joined #asahi-gpu
19:25wrender has quit [Ping timeout: 480 seconds]
19:51anders_2 has joined #asahi-gpu
19:57chergert has joined #asahi-gpu
19:59anders2 has quit [Ping timeout: 480 seconds]
20:01Dementor99 has joined #asahi-gpu
20:06Dementor9 has quit [Ping timeout: 480 seconds]
20:07wrender has joined #asahi-gpu
20:13Dementor99 has quit [Ping timeout: 480 seconds]
20:22Dementor9 has joined #asahi-gpu
20:24chergert has quit [Quit: chergert]
20:54possiblemeatball has joined #asahi-gpu
21:18mkurz_ has joined #asahi-gpu
21:19john-cabaj has quit [Remote host closed the connection]
21:19john-cabaj has joined #asahi-gpu
21:29darkapex has quit [Remote host closed the connection]
21:29darkapex has joined #asahi-gpu
21:31ciara has quit [Ping timeout: 480 seconds]
21:58i509vcbNot sure where I'd get the values to upload in sysvals to give load_attrib_clamp_agx something to load other than 0
21:58i509vcbagxv_CmdBindVertexBuffers2 seems like where I'd do that?
22:04chergert has joined #asahi-gpu
22:15alyssai509vcb: ultimately vkCmdBindVertexBuffers2, but it should be in the vk_graphics_state
22:16alyssabut agxv doesn't advertise robustness yet so you can just hack that out
22:16alyssa(or set the clamp to infinity or whatever)
22:20i509vcbHmm setting clamp to infinity I guess shows more problems still exist in agxv
22:21wrender has quit [Ping timeout: 481 seconds]
22:24wrender has joined #asahi-gpu
22:37i509vcbhttps://gist.github.com/i509VCB/6c8e60fe7cdd996f6642469beee3248e triangle example in sascha willem's examples, did set clamp to infinity and output is just black
22:37i509vcbI have no idea what I should be looking for in agx decode dumps
22:39alyssawell I'm first going to look at the VS because we're talking about it
22:39alyssaoh uh can you build with disasembler
22:40alyssacherrypick "HACK: Wire dougallj's disassembler into wrap+compiler" from my next branch and setup applegpu
22:41alyssaDepth bias/scissor
22:41alyssa Scissor: 454
22:41alyssado you really upload 455+ scissors?
22:41i509vcbunless the example is doing that for some reason
22:42alyssaworth looking into
22:44wrender has quit [Remote host closed the connection]
22:44wrender has joined #asahi-gpu
22:50i509vcbScissor count seems to increase every few draws
22:52i509vcbyup that's a memory leak, the number of scissors is never trimmed and it's in a dynarray
22:52i509vcbsame as depth bias
23:02alyssafirst vertex shader instruction is the clamp:
23:02alyssa 0: 12014a421a4a403a icmpsel ult, r0, r5, u18, r5, u18
23:03alyssafrom the preamble, u18 is equal to
23:03alyssa 584: 0501200d08c03200 device_load 0, i32, xy, r0_r1, u0_u1, 130, signed
23:03wrender has quit [Ping timeout: 480 seconds]
23:03alyssawhich is plausible
23:03alyssalooks plausible, idk
23:04alyssatry stuff? or throw me a branch
23:07i509vcbtelling lowering to output nir_imm_int(b, UINT32_MAX) just results in black, so it's probably not that
23:08i509vcb(for the clamp value)
23:18wrender has joined #asahi-gpu
23:29chergerti notice this assertion when testing the new GTK renderer for GNOME 46 and the tab overview used in various apps
23:29chergert ../src/mesa/state_tracker/st_gen_mipmap.c:114: st_generate_mipmap: Assertion `pt->last_level >= lastLevel' failed.
23:29chergertdoes that sound like a driver bug or an app/library bug?
23:29* chergertis building mesa here so can definitely try different things to test stuff
23:39zzywysm has quit [Quit: Textual IRC Client: www.textualapp.com]
23:52zzywysm has joined #asahi-gpu
23:52wrender has quit [Ping timeout: 480 seconds]
…