#
…

2024-01-04

00:07possiblemeatball1 has joined #asahi-gpu
00:07possiblemeatball has quit [Read error: Connection reset by peer]
00:49pthariensflame has joined #asahi-gpu
01:09possiblemeatball1 has quit [Read error: Connection reset by peer]
01:10possiblemeatball has joined #asahi-gpu
01:21kidplayer666 has quit [Quit: Connection closed for inactivity]
01:34alyssa has joined #asahi-gpu
01:39alyssai509vcb: there are lots of NaN values
01:39alyssaand the hw canonicalizes
01:39alyssaso NaNs don't roundtrip
01:40alyssawhich is why you have to cast float formats to e.g. uint on both sides of the copy
01:40alyssaditto for snorm since there are two -1.0
01:40alyssavulkan copies are supposed to be a memcpy, bit exact
01:40i509vcbWhat's odd here is I am casting both sides of the copy
01:40i509vcbAll four combinations of casts seem to do this
01:40alyssaagxdecode?
01:41i509vcbI'll grab that in a bit, gotta do something
01:41* alyssahappy to take a look at the trace
01:46pthariensflame has quit [Quit: Textual IRC Client: www.textualapp.com]
02:25maximbaz has quit [Quit: bye]
03:26i509vcbalyssa: ^
04:00chadmed has quit [Quit: Konversation terminated!]
04:10crabbedhaloablut has joined #asahi-gpu
04:17marvin24_ has joined #asahi-gpu
04:20marvin24 has quit [Ping timeout: 480 seconds]
04:20john-cabaj has quit [Ping timeout: 480 seconds]
05:00chadmed has joined #asahi-gpu
05:19possiblemeatball has quit [Quit: Quit]
05:22chadmed has quit [Remote host closed the connection]
06:28kidplayer666 has joined #asahi-gpu
06:33DarkShadow44 has quit [Quit: ZNC - https://znc.in]
06:34DarkShadow44 has joined #asahi-gpu
08:02chadmed has joined #asahi-gpu
08:43cr1901 has quit [Read error: Connection reset by peer]
09:28cr1901 has joined #asahi-gpu
12:01alethkit has quit [Remote host closed the connection]
12:01okt has quit [Read error: Connection reset by peer]
12:01ella-0 has quit [Remote host closed the connection]
12:01dorkbutt has quit [Read error: Connection reset by peer]
12:01tsujp has quit [Remote host closed the connection]
12:01pldtf has quit [Remote host closed the connection]
12:01coder_kalyan has quit [Read error: Connection reset by peer]
12:01akspecs has quit [Write error: connection closed]
12:01kuruczgy has quit [Remote host closed the connection]
12:01handlerug has quit [Remote host closed the connection]
12:01d4ve has quit [Remote host closed the connection]
12:01amada95 has quit [Remote host closed the connection]
12:01rosefromthedead has quit [Write error: connection closed]
12:01amada95 has joined #asahi-gpu
12:01handlerug has joined #asahi-gpu
12:01alethkit has joined #asahi-gpu
12:01kuruczgy has joined #asahi-gpu
12:01rosefromthedead has joined #asahi-gpu
12:01coder_kalyan has joined #asahi-gpu
12:01akspecs has joined #asahi-gpu
12:01pldtf has joined #asahi-gpu
12:01d4ve has joined #asahi-gpu
12:01tsujp has joined #asahi-gpu
12:01dorkbutt has joined #asahi-gpu
12:01okt has joined #asahi-gpu
12:01ella-0 has joined #asahi-gpu
12:18crabbedhaloablut has quit [Read error: Connection reset by peer]
12:19crabbedhaloablut has joined #asahi-gpu
13:07alyssai509vcb: You need to do the same snorm/float casting logic for CopyBufferToImage and for CopyImageToBuffer, otherwise those will canonicalize NaNs/-1.0 too
13:08alyssain e.g. agx.agxv_CmdEndRendering.0002 we're uploading floats as floats so the NaNs are getting canonicalized (and denorms flushed)
13:09alyssathen in agx.agxv_CmdEndRendering.0012, we're downloading flots as floats, again canonicalizing/flushing
14:16linuxgemini1 has joined #asahi-gpu
14:21linuxgemini has quit [Ping timeout: 480 seconds]
14:44derwolfe has joined #asahi-gpu
14:47derwolfe is now known as herrwolfe
14:59john-cabaj has joined #asahi-gpu
15:05Misthios has quit [Quit: Misthios]
15:05Misthios has joined #asahi-gpu
15:13r0ni has joined #asahi-gpu
16:41possiblemeatball has joined #asahi-gpu
17:44maximbaz has joined #asahi-gpu
18:35maximbaz has quit [Ping timeout: 480 seconds]
18:42i509vcbalyssa: yep I forgot that and that fixed nearly every failure
18:42alyssai509vcb: awesome!
18:42i509vcbSadly a few formats always fail, I think the hardware has no SINT/UINT equivalent for these
18:42j`eyi509vcb: nice going!
18:43i509vcbb8g8r8a8_snorm can't be copied via meta-copy
18:44i509vcbr32g32b32a32_sfloat still fails for some weird reason
18:44i509vcbAlthough r32g32b32a32_sfloat has a hardware equvilant
18:45skipwich has quit [Remote host closed the connection]
18:46skipwich has joined #asahi-gpu
18:47i509vcbhttps://pixfmtdb.emersion.fr/VK_FORMAT_B8G8R8A8_SNORM seems to show it's not much and Zink docs doesn't seem to that format is needed
18:59AnuthaDev has joined #asahi-gpu
19:22maximbaz has joined #asahi-gpu
19:39i509vcbstupid typo for r32g32b32a32
19:53i509vcbPass: 8754, Fail: 372, Skip: 41386, Flake: 2, Duration: 3:10, Remaining: 0
19:53i509vcbFor dEQP-VK.api.copy_and_blit.core.image_to_image.*
19:53i509vcb(3d and stencil/depth are the largest groups I need to get fixed still)
19:55j`eythere's 50k tests in that subgroup?? or in total
19:55i509vcbgrepped out image_to_image in the api subgroup
19:55alyssaj`ey: the vulkan cts is.... intense.
19:56alyssathe full thing is millions of tests
19:56alyssa..and growing
19:57i509vcbIt will probably take several hours to run when agxv is done enough to try to do a full cts run
20:00j`eyi509vcb: what machine are you using?
20:00i509vcbM2 Air with 16GB of ram
20:06i509vcbAh right compressed formats, let me see how many failures I get again if I turn those back on
20:11AnuthaDev has quit []
20:15maximbaz has quit [Quit: bye]
20:16possiblemeatball has quit [Quit: Quit]
20:18alyssai509vcb: what's wrong with bgra_snorm?
20:18alyssashould be compatible with e.g. rgba8_unorm?
20:37i509vcbI'll need to check (won't I need a swizzle for that), but I guess for that case it would make sense to have getting the copy format for snorm and sfloat formats be driver specific
20:55thevar1able_ has quit [Remote host closed the connection]
20:58thevar1able_ has joined #asahi-gpu
21:06thevar1able_ has quit [Remote host closed the connection]
21:08thevar1able_ has joined #asahi-gpu
21:20i509vcbhmm no swizzle needed
21:21crabbedhaloablut has quit []
21:33WindowPa- has joined #asahi-gpu
21:37WindowPain has quit [Ping timeout: 480 seconds]
22:06possiblemeatball has joined #asahi-gpu
22:26i509vcbvk_meta_draw_volume seems to do an instance per layer, I guess that's whats stopping 3D from working since I see nothing related to getting the instance number in the shader so far
22:31handlerug has left #asahi-gpu [#asahi-gpu]
22:37darkapex has quit [Remote host closed the connection]
22:37darkapex has joined #asahi-gpu
22:46i509vcbcan't get the instance id in a fragment shader...
22:53pthariensflame has joined #asahi-gpu
22:54pthariensflame has quit []
23:09alyssai509vcb: vk copies are like memcpys
23:09alyssano swizzling
23:10alyssai509vcb: load the layer ID
23:10alyssavk_meta_blit_resolve uses nir_load_layer_id
23:10alyssawhich we'll need to lower to load_input() in the driver
23:10alyssas/the driver/agxv/
23:11alyssagrep nouveau/vulkan for load_layer_id to see how
23:52lawrence has quit [Remote host closed the connection]
…