00:55 magic_rb: could someone quickly shoot me an invite to the discord again? i just got to it
00:55 magic_rb: nevermind the one by sid still works
01:00 fdobridge: <m​agic_rb.> i should be here now
01:07 fdobridge: <m​agic_rb.> ```
01:07 fdobridge: <m​agic_rb.> MESA: error: ZINK: vkQueueSubmit failed (VK_ERROR_DEVICE_LOST)
01:07 fdobridge: <m​agic_rb.> MESA: error: zink: DEVICE LOST!
01:07 fdobridge: <m​agic_rb.> MESA: error: zink: DEVICE LOST!
01:07 fdobridge: <m​agic_rb.> MESA: error: zink: DEVICE LOST!
01:07 fdobridge: <m​agic_rb.> MESA: error: zink: DEVICE LOST!
01:07 fdobridge: <m​agic_rb.> ```
01:07 fdobridge: <m​agic_rb.>
01:07 fdobridge: <m​agic_rb.> again hit that, and
01:07 fdobridge: <m​agic_rb.>
01:07 fdobridge: <m​agic_rb.> ```
01:07 fdobridge: <m​agic_rb.> [Thu Mar 14 15:31:21 2024] nouveau 0000:01:00.0: java[933141]: job timeout, channel 32 killed!
01:07 fdobridge: <m​agic_rb.> ```
01:07 fdobridge: <m​agic_rb.>
01:07 fdobridge: <m​agic_rb.> and this, which is probably unrelated
01:07 fdobridge: <m​agic_rb.>
01:07 fdobridge: <m​agic_rb.> ```
01:07 fdobridge: <m​agic_rb.> [Thu Mar 14 14:00:32 2024] Asynchronous wait on fence 0000:00:02.0:picom[917222]:648c4 timed out (hint:intel_atomic_commit_ready [i915])
01:07 fdobridge: <m​agic_rb.> [Thu Mar 14 14:00:32 2024] Asynchronous wait on fence drm_sched:nouveau_sched:48253c timed out (hint:submit_notify [i915]
01:07 fdobridge: <m​agic_rb.> ```
01:07 fdobridge: <m​agic_rb.>
01:07 fdobridge: <m​agic_rb.> please ignore the random times, something seems to be very wrong with how dmesg reports time :/
01:07 fdobridge: <m​agic_rb.> ```
01:07 fdobridge: <m​agic_rb.> MESA: error: ZINK: vkQueueSubmit failed (VK_ERROR_DEVICE_LOST)
01:07 fdobridge: <m​agic_rb.> MESA: error: zink: DEVICE LOST!
01:07 fdobridge: <m​agic_rb.> MESA: error: zink: DEVICE LOST!
01:07 fdobridge: <m​agic_rb.> MESA: error: zink: DEVICE LOST!
01:07 fdobridge: <m​agic_rb.> MESA: error: zink: DEVICE LOST!
01:07 fdobridge: <m​agic_rb.> ```
01:07 fdobridge: <m​agic_rb.>
01:07 fdobridge: <m​agic_rb.> again hit that, and
01:07 fdobridge: <m​agic_rb.>
01:07 fdobridge: <m​agic_rb.> ```
01:07 fdobridge: <m​agic_rb.> [Thu Mar 14 15:31:21 2024] nouveau 0000:01:00.0: java[933141]: job timeout, channel 32 killed!
01:07 fdobridge: <m​agic_rb.> ```
01:07 fdobridge: <m​agic_rb.>
01:07 fdobridge: <m​agic_rb.> and this, which is probably unrelated
01:07 fdobridge: <m​agic_rb.>
01:07 fdobridge: <m​agic_rb.> ```
01:07 fdobridge: <m​agic_rb.> [Thu Mar 14 14:00:32 2024] Asynchronous wait on fence 0000:00:02.0:picom[917222]:648c4 timed out (hint:intel_atomic_commit_ready [i915])
01:07 fdobridge: <m​agic_rb.> [Thu Mar 14 14:00:32 2024] Asynchronous wait on fence drm_sched:nouveau_sched:48253c timed out (hint:submit_notify [i915]
01:07 fdobridge: <m​agic_rb.> ```
01:08 fdobridge: <m​agic_rb.>
01:08 fdobridge: <m​agic_rb.> please ignore the random times, something seems to be very wrong with how dmesg reports time :/ (edited)
01:47 fdobridge: <a​irlied> okay 2080 Ti fix is on the list
03:32 fdobridge: <g​fxstrand> Run my NVK branch: https://gitlab.freedesktop.org/gfxstrand/linux/-/commits/nvk/?ref_type=heads
03:40 fdobridge: <a​irlied> @gfxstrand would be good if you could drop the 2080 ti fix on there
04:01 fdobridge: <g​fxstrand> link?
04:02 fdobridge: <a​irlied> https://patchwork.freedesktop.org/patch/582855/
04:03 fdobridge: <r​edsheep> If you have an igpu and you don't need it for display output try disabling it. I had a very similar issue.
04:04 fdobridge: <J​oshie with Max-Q Design> https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28164 Gamescope needs this now btw
04:04 fdobridge: <J​oshie with Max-Q Design> We should realllllllly do like... common feature enablement for WSI extensions at some point
04:04 fdobridge: <g​fxstrand> Yeah
04:05 fdobridge: <J​oshie with Max-Q Design> Will go add the other few drivers I missed I guess also
04:06 fdobridge: <g​fxstrand> Done
04:43 fdobridge: <g​fxstrand> @zmike.
04:43 fdobridge: <g​fxstrand> https://cdn.discordapp.com/attachments/1034184951790305330/1217694558121496637/0001-Fix-sparse_texture2-tests-for-GL_TEXTURE_2D_MULTISAM.patch?ex=6604f56e&is=65f2806e&hm=53410b58b7f57fe29768165e84fb6fd626c6d4f68344a0175f4ca77ee7fc7825&
04:43 fdobridge: <g​fxstrand> That fixes a bunch of sparse_texture2. I'm still fighting with KHR-GL46.sparse_texture2_tests.SparseTexture2Commitment
04:44 fdobridge: <g​fxstrand> I have no idea where the bug is at this point. Everything I'm seeing looks fine but it still fails. 😭
05:06 StackDoubleFlow: hello
05:06 StackDoubleFlow: is the discord invite public?
05:08 fdobridge: <S​id> no, but here you go: https://discord.gg/vXqMgfUpGe
05:08 StackDoubleFlow: Thank you
05:13 fdobridge: <g​fxstrand> I just realized while getting ready for bed that it may be due to the test doing "real" sampling without binding the miptail.
05:14 fdobridge: <g​fxstrand> However, I'm going to be a good girl and go to bed and leave debugging it the rest of the way for tomorrow.
07:26 fdobridge: <n​ishii_ko> i assume you've done this via bios? i'm not at my pc currently so i can't check stuff, but i'm not seeing anything for disabling the igpu via anything else
07:27 fdobridge: <n​ishii_ko> well actually, the issue with the ebuild was that it didn't have any nvk support at all yet, so i think i'll probably still have to wait anyways
07:45 fdobridge: <v​alentineburley> Does this work for you guys on NVK? I built your branch and I'm getting segfaults on `dEQP-VK.wsi.*.maintenance1.*.` I think because of the reason I mentioned on https://gitlab.freedesktop.org/mesa/mesa/-/issues/10806
07:46 fdobridge: <v​alentineburley> I also tried flipping them on earlier but maybe I'm missing something
07:47 fdobridge: <v​alentineburley> `dEQP-VK.wsi.*.swapchain.*` also segfaults for me on `Test case 'dEQP-VK.wsi.xlib.swapchain.create.image_swapchain_create_info'.. Segmentation fault (core dumped)`
07:49 fdobridge: <J​oshie with Max-Q Design> Oh, I only tested Gamescope + VKD3D-Proton stuff on Turnip -- can you comment that on my MR that we need to solve that?
07:49 fdobridge: <v​alentineburley> Sure!
07:49 fdobridge: <J​oshie with Max-Q Design> ty
11:38 fdobridge: <z​mike.> ugh I thought I'd fixed all of these
11:38 fdobridge: <z​mike.> how do they pass on blob?
13:25 fdobridge: <g​fxstrand> 🤷🏻‍♀️
13:26 fdobridge: <g​fxstrand> That shouldn't be too hard. You just have to detect the case in `CreateImage` and call a WSI helper. Look at how ANV does it.
13:27 fdobridge: <g​fxstrand> And then you have to add a special case to `BindImage`. Again, not hard.
13:31 fdobridge: <z​mike.> I'll wait a bit in case you find other things that need fixing before submitting this unless you were planning on gerriting yourself
13:31 fdobridge: <g​fxstrand> I'll Gerrit myself once I'm passing the tests.
13:31 fdobridge: <z​mike.> ok
13:31 fdobridge: <!​DodoNVK (she) 🇱🇹> Can common Vulkan runtime enable features/extensions without the driver needing to do that? 🍩
13:31 fdobridge: <g​fxstrand> These tests feel like nobody's run them.
13:31 fdobridge: <z​mike.> I think 4.6.2 branch is what I was using for my other sparse fixes
13:32 fdobridge: <z​mike.> haha
13:32 fdobridge: <z​mike.> imagine how bad they were before all my fixes
13:32 fdobridge: <z​mike.> they didn't even print errors
13:32 fdobridge: <g​fxstrand> No, not at present
14:45 fdobridge: <g​fxstrand> Damn. They're using TXL with lod=0. That *should* be fine.
14:58 fdobridge: <m​arysaka> uurgh vulkaninfo doesn't query VK_KHR_cooperative_matrix properties :nya_sad:
14:59 fdobridge: <m​arysaka> I think I might need an Ada card at some point
15:01 karolherbst: Lyude: sooo.. it seems like I have a laptop with an Nvidia GPU capable of doing HDMI 2.1 and a TV capable of doing so as well... any tldr of things I'd need to do inside nouveau to make it all work? :D
15:03 fdobridge: <g​fxstrand> @zmike. How do I disable threaded context?
15:06 fdobridge:<g​fxstrand> inserts some `glFinish()` in the CTS
15:32 fdobridge: <z​mike.> you probably want `mesa_glthread=0 GALLIUM_THREAD=0`
15:39 fdobridge: <g​fxstrand> Uh oh... `_mesa_get_fallback_texture`...
15:39 fdobridge: <z​mike.> :stressheadache:
16:15 fdobridge: <g​fxstrand> Once again, NVK has no bugs.
16:17 karolherbst: Lyude: mhh.. what's this scdc and scrambling business anyway and how does it relate to things like HDMI FRL?
16:21 fdobridge: <z​mike.> what was the problem this time
16:29 fdobridge: <g​fxstrand> Trying to use an integer texture format with GL_LINEAR. Mesa (correctly) declares your sampler incomplete and binds the fallback texture instead of the nice fancy sparse one you were trying to sample from.
16:29 fdobridge: <g​fxstrand> Quality software, that CTS....
16:30 fdobridge: <z​mike.> 🤕
16:30 fdobridge: <g​fxstrand> https://cdn.discordapp.com/attachments/1034184951790305330/1217872583119208548/Z.png?ex=66059b3a&is=65f3263a&hm=e51ff55cb902061b4508d61ba13298c5f0ae0ccc20c4b620c64ca49db65e0d5c&
16:31 fdobridge: <z​mike.> because you wanna do your pal zmike a solid after he's fixed so many other tests for you, obviously
16:34 fdobridge: <z​mike.> I think all the buffer map test fixes have now landed?
16:35 fdobridge: <z​mike.> which means this should be the only one outstanding
16:38 fdobridge: <g​fxstrand> I fixed !28123. I just messed up the case for new style depth textures that return a scalar (vec2 with sparse info)
16:41 fdobridge: <z​mike.> and it now passes all the sparse test glob?
16:49 fdobridge: <g​fxstrand> ```
16:49 fdobridge: <g​fxstrand> Test run totals:
16:49 fdobridge: <g​fxstrand> Passed: 14/15 (93.3%)
16:49 fdobridge: <g​fxstrand> Failed: 0/15 (0.0%)
16:49 fdobridge: <g​fxstrand> Not supported: 1/15 (6.7%)
16:49 fdobridge: <g​fxstrand> Warnings: 0/15 (0.0%)
16:49 fdobridge: <g​fxstrand> Waived: 0/15 (0.0%)
16:49 fdobridge: <g​fxstrand> ```
16:49 fdobridge: <g​fxstrand> `KHR-GL46.sparse_texture\*`
16:49 fdobridge: <g​fxstrand> Let me make that `KHR-GL46.sparse\*` and run again just for grins
16:50 fdobridge: <z​mike.> huge
16:54 fdobridge: <g​fxstrand> ```
16:54 fdobridge: <g​fxstrand> Test run totals:
16:54 fdobridge: <g​fxstrand> Passed: 17/18 (94.4%)
16:54 fdobridge: <g​fxstrand> Failed: 0/18 (0.0%)
16:54 fdobridge: <g​fxstrand> Not supported: 1/18 (5.6%)
16:54 fdobridge: <g​fxstrand> Warnings: 0/18 (0.0%)
16:54 fdobridge: <g​fxstrand> Waived: 0/18 (0.0%)
16:54 fdobridge: <g​fxstrand> ```
16:54 fdobridge: <r​edsheep> How close does that get you to full GL conformance?
16:57 fdobridge: <r​edsheep> The fails list on main was still a few hundred lines last night but I know you have quite a few fixes cooking
17:01 fdobridge: <z​mike.> the fails list has been mostly piglit fails since last week
17:06 fdobridge: <r​edsheep> Are the lines with @ piglit? If I'm reading that right sparse was the last 4.6 conformance blocker?
17:07 fdobridge: <z​mike.> yes
17:07 fdobridge: <z​mike.> and then there's some samplemask ones for ES
17:07 fdobridge: <r​edsheep> That's awesome
17:19 fdobridge: <g​fxstrand> Okay, I need to go get some groceries and probably some lunch. I'll make CTS issues and gerrits once I'm back.
17:25 fdobridge: <z​mike.> 💪 :nvk: :muscleright:
17:54 karolherbst: Lyude: ohh.. looks like there is a NV0073_CTRL_CMD_SPECIFIC_SET_HDMI_FRL_CONFIG thing
17:55 karolherbst: no wonder I didn't get it to work...
17:57 karolherbst: mhh.. `nvHdmiFrlSetConfig`
17:57 karolherbst: guess there is a bit more to it
17:57 karolherbst: but at least I know what I'm missing
17:58 karolherbst: I'm wondering if we have to enable the FRL mode somewhere
18:16 Lyude: karolherbst: yeah you probably know a bit more about it then I do - that ctrl cmd is the most I've really seen of it
18:16 karolherbst: heh
18:16 karolherbst: it's also the most _i've_ seen so far :D
18:16 karolherbst: though there are also caps we have to set...
18:17 karolherbst: but anyway.. it doesn't look to complicated overall
18:18 karolherbst: mhh NV0073_CTRL_CMD_SPECIFIC_GET_HDMI_GPU_CAPS
18:20 karolherbst: "This command is used to perform HDMI FRL link training and enable FRL mode for the specified displayId. The link configuration will be returned after link training success." 🙃
18:20 karolherbst: awesome
18:21 karolherbst: Lyude: soo.. I think my cable can't do HDMI 2.1 FRL so maybe that's enough to get me to fail link training.....
19:42 fdobridge: <g​fxstrand> I already fixed over a million Vulkan CTS tests. You're welcome. 😜
19:43 fdobridge: <g​fxstrand> (Why are there over a million Vulkan CTS tests? Well, that's a better question...)
19:43 fdobridge: <g​fxstrand> *(Why are there over a million Vulkan CTS tests? Well, that's a better question...)* (edited)
19:44 fdobridge: <z​mike.> smh you weren't there in the early days of shader object tests
19:44 fdobridge: <g​fxstrand> No but I've been there in the early days of most of the other extensions.
19:45 fdobridge: <g​fxstrand> I just had most of a decade of Vulkan spec to catch up on in less than 2 years. No biggie.
19:47 fdobridge: <z​mike.> then surely you can weigh in on whether GPL CTS times were worse than ESO CTS times
19:48 fdobridge: <z​mike.> oh no more failures
19:48 fdobridge: <z​mike.> :fullheadache:
19:53 fdobridge: <g​fxstrand> They both suck and we should only have done one of them.
19:53 fdobridge: <g​fxstrand> 🧠
19:54 fdobridge: <z​mike.> can't wait for KHR Pipeline Chunks
20:06 fdobridge: <g​fxstrand> @zmike. gerrit 14159 and 14160 if you're interested
20:12 fdobridge: <z​mike.> you have to mark them active
20:12 fdobridge: <z​mike.> and add the opengl reviewers
20:17 fdobridge: <g​fxstrand> Done.
20:17 fdobridge: <g​fxstrand> I always forget that step. 🙄
20:22 fdobridge: <z​mike.> gerrit is so intuitive
20:24 fdobridge: <z​mike.> I think that just leaves the samplemask ES fails and then you can avoid ever looking at glcts again until one of your optimization passes breaks something
20:42 fdobridge: <v​alentineburley> So uh, why are 29 out of 30 of my sanity checks failing in Piglit?
20:42 fdobridge: <v​alentineburley> And how would I only run the NV_compute_shader_derivatives tests?
20:55 fdobridge: <g​fxstrand> What samplemask ES fails?
21:04 fdobridge: <a​irlied> dEQP-GLES31.functional.shaders.sample_variables.sample_mask_in.bit_count_per_two_samples.multisample_rbo_4,Fail
21:06 fdobridge: <z​mike.> yeah those
21:07 fdobridge: <z​mike.> you can do something like `./piglit run gpu -t '.*compute_shader_derivative.*' results`
21:08 fdobridge: <g​fxstrand> Okay, I was thinking it was the `interpolateAtSample()` thing I already triaged. I can look at that one.
21:08 fdobridge: <z​mike.> I was hoping it was the same issue, but sadly it isn't
21:14 fdobridge: <g​fxstrand> Ugh... Why am I getting EGL_NOT_INITIALIZED with the ES CTS but not the GL CTS
21:15 fdobridge:<g​fxstrand> hates dEQP
21:16 fdobridge: <k​arolherbst🐧🦀> it could be worse
21:20 fdobridge: <g​fxstrand> probably
21:20 fdobridge: <k​arolherbst🐧🦀> imagine people would have written CTS tests like for CL just insstead of 50 binaries you got 2000 😛
21:21 fdobridge: <g​fxstrand> I mean, have you looked at the dEQP copy_image test?
21:21 fdobridge: <g​fxstrand> Yes, I said "test" not "tests"
21:21 fdobridge: <k​arolherbst🐧🦀> is this the one running for ~~hours~~ minutes?
21:23 fdobridge: <g​fxstrand> Yeah, it's like 10 minutes of copy image in a single test
21:23 fdobridge: <d​adschoorse> doesn't cl also literally try all inputs for some alu ops?
21:24 fdobridge: <k​arolherbst🐧🦀> it's not that bad
21:25 fdobridge: <k​arolherbst🐧🦀> it's actually configurable
21:36 fdobridge: <z​mike.> that's one of the ones I'm abusing my 🪑 powers to split
21:39 HdkR: Mike coming in to the ring with the folding chair! Oh the humanity!
21:41 fdobridge: <z​mike.> as god as my witness that test is broken in half!
21:41 fdobridge: <k​arolherbst🐧🦀> wasn't there also some `smoke` test which runs forever?
21:43 fdobridge: <g​fxstrand> @zmike. You're setting `minSampleShading` in the pipeline but `rasterizationSamples = 0`
21:44 fdobridge: <z​mike.> 🤔
21:44 fdobridge: <z​mike.> well at least it's something simple
21:49 fdobridge: <g​fxstrand> How are `vkCmdSetRasterizationSamples()` and `minSampleShading` supposed to interact? This is GPL+EDS3 world. Who knows!
21:49 fdobridge: <z​mike.> if I had the spec in front of me I'd know, but unfortunately I'm on the couch
21:50 fdobridge: <g​fxstrand> I need to think a bit about how this should work on NV. I might be able to make it work.
21:51 fdobridge: <z​mike.> I'll 🙏
21:57 fdobridge: <g​fxstrand> Okay, I deleted 3 lines of code and now the test passes. If the CTS is happy with the patch, I'll write a massive comment and push it out.
21:57 fdobridge: <g​fxstrand> But ANV and others may have heartburn about that, too. I know in ANV I figured out how to solve it with way too much pain. IDK about anyone else.
21:58 fdobridge: <i​llwieckz> patch: 1 line
21:58 fdobridge: <i​llwieckz> comment: 3 books (4th one upcoming)
21:58 fdobridge: <g​fxstrand> Pretty much
21:59 fdobridge: <i​llwieckz> Also sometime:
21:59 fdobridge: <i​llwieckz> time spent on fixing the bug and understanding all implications required for a proper fix: 10 years
21:59 fdobridge: <i​llwieckz> size of the patch fixing the bug: 1 line
22:00 fdobridge: <g​fxstrand> That's pretty much true of any bug fix regarding multisample interpolation (which this is). Also, all code touching multisample interpolation is probably wrong.
22:30 fdobridge: <g​fxstrand> https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28192
22:33 fdobridge: <z​mike.> should this get cts coverage
22:36 fdobridge: <g​fxstrand> I'm not sure if it needs CTS coverage or a VU but it needs one of the two.
22:36 fdobridge: <g​fxstrand> I suspect this is a "write the CTS tests and see who blows up" kind of deal.
22:38 fdobridge: <z​mike.> mobile vendors will all explode
22:38 fdobridge: <z​mike.> everyone else is fine since nvk was the only driver failing this
22:45 fdobridge: <g​fxstrand> Want to start with a spec issue or a CTS issue?
22:46 fdobridge: <z​mike.> probably exploratory cts since it'll lead there anyway
22:48 fdobridge: <g​fxstrand> Lol. Fair.
22:49 fdobridge: <g​fxstrand> I don't want to run the risk of the CTS folks debating spec, though.
22:49 fdobridge: <g​fxstrand> How about I file both?
22:49 fdobridge: <z​mike.> just file a cts ticket and label it "exploratory"
22:49 fdobridge: <g​fxstrand> okay
22:49 fdobridge: <z​mike.> then they won't have to debate
22:50 fdobridge: <z​mike.> once we get results then we'll have something actionable for a ticket instead of arguing on a WG call for 20 minutes over nothing
22:51 fdobridge: <z​mike.> though I do enjoy arguing over nothing for extended periods on WG calls... 🤔
22:54 fdobridge: <g​fxstrand> https://gitlab.khronos.org/Tracker/vk-gl-cts/-/issues/5019
22:55 fdobridge: <g​fxstrand> I'm gonna file a spec ticket, too. This feels like something people might have opinions on even though they haven't implemented EDS3 yet
22:58 fdobridge: <g​fxstrand> https://gitlab.khronos.org/vulkan/vulkan/-/issues/3826
22:59 fdobridge:<z​mike.> subscribes
23:00 fdobridge: <g​fxstrand> I've seen `if (sampleShadingEnable && minSampleShading * rasterizationSamples > 1.0)` enough times in Mesa that I'm a little afraid to make assumptions.
23:02 fdobridge: <z​mike.> will the results be as exciting as exploratory sparse testing?
23:02 fdobridge: <z​mike.> stay tuned to find out!
23:04 fdobridge: <g​fxstrand> It's multisample interpolation. That's like the habanero of specs. It does get spicier but not by much.
23:27 fdobridge: <g​fxstrand> Anyway, CTS is happy so I'm going to Marge it.
23:28 fdobridge: <g​fxstrand> Looks like some uniform control-flow tests are failing, though. Should have CTS'd that, I guess.
23:32 fdobridge: <g​fxstrand> Wow, those tests are crazypants.
23:32 fdobridge: <g​fxstrand> I'm not debugging that today