00:06fdobridge_: <benjaminl> how's SM50 stuff going? I've been swamped with work stuff, and haven't really been following anything recently
00:07fdobridge_: <benjaminl> maybe I'll have time to poke at NVK this weekend though
01:06fdobridge_: <karolherbst🐧🦀> it already landed
01:06fdobridge_: <karolherbst🐧🦀> I htink?
01:09fdobridge_: <benjaminl> yeah, I think I saw the PR for the initial implementation
01:12fdobridge_: <benjaminl> looks like the only thing since then is https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26723
15:44fdobridge_: <!DodoNVK (she) 🇱🇹> I wonder why no one noticed this :ferris:
15:44fdobridge_: <!DodoNVK (she) 🇱🇹> https://cdn.discordapp.com/attachments/1034184951790305330/1193218574140047502/message.txt?ex=65abea65&is=65997565&hm=3d8928c5da213329b3d0fad62d579ede8005d00caec63a61b48bc9d60f19351f&
16:09fdobridge_: <esdrastarsis> dead code is normal atm
16:11fdobridge_: <!DodoNVK (she) 🇱🇹> There wasn't any before though
16:28fdobridge_: <esdrastarsis> There was a lot of dead code in NAK on Faith's branch (nak/main) iirc
16:28fdobridge_: <!DodoNVK (she) 🇱🇹> That's not upstream though
18:13fdobridge_: <gfxstrand> @marysaka can mesh shaders write clip/cull dinstances?
18:13fdobridge_: <gfxstrand> @marysaka can mesh shaders write clip/cull distances? (edited)
18:14fdobridge_: <gfxstrand> Maybe older/newer rust compilers don't warn because it's inline? IDK. I'm not seeing a warning here.
18:18fdobridge_: <gfxstrand> Looks like yes. I'm seeing mesh interactions in the SPIR-V spec.
18:20fdobridge_: <marysaka> yes
18:23fdobridge_: <gfxstrand> And `gl_Layer`?
18:24fdobridge_: <gfxstrand> But no XFB. That would be insane. No XFB, right?
18:24fdobridge_: <gfxstrand> (Insert Padme/Anakin meme here)
18:32fdobridge_: <!DodoNVK (she) 🇱🇹> 1.75.0 here
18:41fdobridge_: <marysaka> There is layer not sure for XFB but I *think* I saw some conformances test for that
18:41fdobridge_: <marysaka> will have to recheck
18:43fdobridge_: <!DodoNVK (she) 🇱🇹> <https://youtu.be/Z6XLwkyo6Nw?t=196>
19:01fdobridge_: <gfxstrand> Yes, that.
19:52fdobridge_: <gfxstrand> https://cdn.discordapp.com/attachments/1034184951790305330/1193281076118966292/8bhvxq.jpg?ex=65ac249a&is=6599af9a&hm=5da786d17595a75194afa3310b4b04faaaa211aab5ab6d34ba2579c5514b8100&
19:56fdobridge_: <rhed0x> wait, it does? o_o
20:00fdobridge_: <marysaka> I'm still having issues with the "multiple local invocations in one hardware local invocation" pass :vReiAgony:
20:00fdobridge_: <gfxstrand> Yeah, we should talk about that next week.
20:00fdobridge_: <karolherbst🐧🦀> pain
20:00fdobridge_: <marysaka> (phi instruction being big pain atm because I am not handling cursors across blocks)
20:01fdobridge_: <gfxstrand> I don't think so. I'm really hoping I'm not wrong. 😅
20:01fdobridge_: <marysaka> but i have some ideas to at least handle local variables duplication properly 😓
20:06fdobridge_: <karolherbst🐧🦀> do we have mesh shaders for GL?
20:08fdobridge_: <gfxstrand> No
20:08fdobridge_: <gfxstrand> Well, there's an extension but it's NV and I'd probably NAK anyway
20:08fdobridge_: <karolherbst🐧🦀> wait until an GL game uses it
20:09fdobridge_: <gfxstrand> What GL games?
20:09fdobridge_: <karolherbst🐧🦀> good point
20:09fdobridge_: <marysaka> uuurgh Minecraft mods?
20:09fdobridge_: <karolherbst🐧🦀> 😄
20:09fdobridge_: <marysaka> I can only think of that...
20:09fdobridge_: <karolherbst🐧🦀> pain
20:09fdobridge_: <karolherbst🐧🦀> are there minecraft mods using raytracing?
20:09fdobridge_: <Sid> I know there's a minecraft mod that uses mesh shaders
20:09fdobridge_: <karolherbst🐧🦀> pain
20:09fdobridge_: <karolherbst🐧🦀> 😄
20:10fdobridge_: <marysaka> pretty sure I had some friends working on something related yeah
20:10fdobridge_: <Sid> https://github.com/MCRcortex/nvidium
20:10fdobridge_: <karolherbst🐧🦀> 😄
20:10fdobridge_: <karolherbst🐧🦀> `#extension GL_NV_mesh_shader : require` pain
20:10fdobridge_: <karolherbst🐧🦀> @gfxstrand does that answer your question? 😄
20:11fdobridge_: <Sid> mod works great at improving perf too, I tried it out a while ago
20:11fdobridge_: <karolherbst🐧🦀> at least for zink that's not too hard to implement
20:11fdobridge_: <karolherbst🐧🦀> maybe we just add some exts and make them zink-only?
20:11fdobridge_: <Sid> numbers are framerate
20:11fdobridge_: <Sid> https://cdn.discordapp.com/attachments/1034184951790305330/1193285826243735702/image.png?ex=65ac2907&is=6599b407&hm=df30e0cb7bc29cf6a52b7a0472bcd6335e341379f5f50c4c59383d13142d9c3f&
20:12fdobridge_: <karolherbst🐧🦀> can mesh shaders be enabled/disabled?
20:12fdobridge_: <Sid> on laptop 1660Ti
20:12fdobridge_: <karolherbst🐧🦀> I guess them being NV only that's probably the case
20:12fdobridge_: <karolherbst🐧🦀> but it would be kinda cursed if using mesh shaders makes it actually faster as well...
20:14fdobridge_: <Sid> I think I had a long list of perf-related mods installed as well, but those numbers are taken only by toggling that one mod
20:14fdobridge_: <karolherbst🐧🦀> right...
20:14fdobridge_: <karolherbst🐧🦀> I'm just wondering if supporting mesh shaders actually provides any benefits here
20:14fdobridge_: <Sid> I *can* try with *just* that mod and its requirements 🙃
20:15fdobridge_: <gfxstrand> Adding everything to the GLSL compiler wouldn't be trivial.
20:15fdobridge_: <karolherbst🐧🦀> yeah..... not saying it's trivial
20:15fdobridge_: <karolherbst🐧🦀> but adding support in every driver is also quite the work
20:18fdobridge_: <karolherbst🐧🦀> but anyway, if minecraft runs at 480 fps with that mod without mesh and 490 with mesh it's "whatever"
20:18fdobridge_: <karolherbst🐧🦀> but if some games have huge perf benefits from it it's a different story
20:19fdobridge_: <gfxstrand> I don't care about minor perf improvements in the vertex pipeline if you're already at 490 FPS.
20:19fdobridge_: <karolherbst🐧🦀> 😄 fair
20:20fdobridge_: <karolherbst🐧🦀> I'm sure you can throw enough mods at minecraft to make that drop to 30 fps tho
20:21fdobridge_: <!DodoNVK (she) 🇱🇹> Nvidium + Sodium + SEUS PTGI would be interesting 🔦
20:21fdobridge_: <karolherbst🐧🦀> (or run at 4K@120)
20:21fdobridge_: <gfxstrand> Yeah but it's a tiny vertex improvement going to fix that?
20:21fdobridge_: <gfxstrand> Yeah but is a tiny vertex improvement going to fix that? (edited)
20:22fdobridge_: <karolherbst🐧🦀> I hope not
20:22fdobridge_: <karolherbst🐧🦀> but I'd be interested in the numbers here
20:22fdobridge_: <gfxstrand> Don't get me wrong, mesh is a great match for Minecraft's voxel model.
20:22fdobridge_: <karolherbst🐧🦀> yeah, at this point I'm mostly curious
20:29fdobridge_: <Sid> dunno, I saw a ~40% perf increase (frametime, not framerate)
20:29fdobridge_: <Sid> and I don't think you can toggle mesh shaders separately in that mod
20:30fdobridge_: <Sid> https://cdn.discordapp.com/attachments/1034184951790305330/1193290461658480801/image.png?ex=65ac2d58&is=6599b858&hm=30f2d99fca82cd8d693f9658720b4cc9f03f92a4d45d109d46be803dccf3b699&
20:30fdobridge_: <karolherbst🐧🦀> mhhhh.. so the mod only works on Nvidia GPUs, or is the mod enabling/disabling it on its own
20:30fdobridge_: <karolherbst🐧🦀> ahhhh.....
20:30fdobridge_: <karolherbst🐧🦀> pain
20:30fdobridge_: <Sid> only works on nv because only nv has `GL_NV_mesh_shader` 🙃
20:31fdobridge_: <karolherbst🐧🦀> mhhh which brings us back to zink...
20:31fdobridge_: <karolherbst🐧🦀> so it's a +33% fps improvement using that mod?
20:31fdobridge_: <Sid> ~38%, yeah
20:32fdobridge_: <Sid> uh
20:32fdobridge_: <Sid> frametime
20:32fdobridge_: <karolherbst🐧🦀> though one could argue there are other mods improving perf as well without using mesh I guess
20:32fdobridge_: <Sid> I don't measure perf in framerate 🙃
20:32fdobridge_: <karolherbst🐧🦀> so that's not in fps?
20:33fdobridge_: <Sid> those numbers are framerate because friend wanted to know
20:33fdobridge_: <karolherbst🐧🦀> ahh
20:33fdobridge_: <Sid> this is based on frametime calculated off of average framerate
20:34fdobridge_: <Sid> [(1000/300 - 1000/490)/(1000/300)]
20:34fdobridge_: <Sid> :P
20:36fdobridge_: <karolherbst🐧🦀> I see
20:37fdobridge_: <Sid> let me boot it up again and check, gimme a moment
20:38fdobridge_: <Sid> ok, disabled every other mod
20:39fdobridge_: <Sid> only sodium + nvidium, because that's what nvidium requires
20:42fdobridge_: <Sid> heck, *something* is vsync-ing this
20:42fdobridge_: <Sid> let me try it on x11
20:50fdobridge_: <Sid> 5.3ms frametime with it enabled
20:52fdobridge_: <Sid> 7.1ms without
20:52fdobridge_: <Sid> still a 25% difference
20:53fdobridge_: <Sid> \s/difference/increase
20:53fdobridge_: <Sid> s/difference/increase (edited)
20:53fdobridge_: <Sid> still a 25% difference in perf (edited)
21:15fdobridge_: <karolherbst🐧🦀> yeah...
21:15fdobridge_: <karolherbst🐧🦀> well.. it's one data point
21:15fdobridge_: <karolherbst🐧🦀> I guess there are other mods being used improving perf for e.g. AMD gpus?
21:15fdobridge_: <karolherbst🐧🦀> would be also nice to know how those compare
21:30fdobridge_: <redsheep> You're only seeing 7.1ms/140 fps while on sodium alone? Adding Starlight is probably a more reasonable way to improve perf there than implementing a whole new extension in zink
21:31fdobridge_: <redsheep> Especially since the nv mesh shaders extension is pretty different from the current standard mesh shaders, right?
21:31fdobridge_: <Sid> I know, I use all those funny perf improving mods
21:31fdobridge_: <Sid> that's how I play at 300fps 🐸
21:32fdobridge_: <Sid> I was just testing what difference GL_NV_mesh_shader makes
21:33fdobridge_: <redsheep> Right, ok. I remember seeing discussion of this elsewhere, it seems weird to support a pretty different mesh shader implementation for one application
21:34fdobridge_: <redsheep> I'm the long run mods that replace GL with vulkan are probably a better idea that relying on gl_nv_mesh_shader
21:39fdobridge_: <gfxstrand> The fact that there's a Vulkan mod scares me a little. 😅
21:41fdobridge_: <redsheep> Why is that? It is pretty ambitious, if that's what you mean. The game badly needs it though, it's so brutally CPU bound.
21:48fdobridge_: <gfxstrand> Mostly the fact that it's that extensible is kinda crazy.
21:57fdobridge_: <redsheep> Based on the change logs over there I doubt they have a path using mesh shaders, but with how different their bottlenecks probably are they might not even help much.
22:10EisNerd: Hi I'm looking for a workarround for https://gitlab.freedesktop.org/drm/nouveau/-/issues/188, as I'd like to get my card back usable (hoping it supports dx11 feature lev 10 via vulkan/proton)
22:10EisNerd: if I got it right, this is sth with the hdmi audio stuff, can I disable it?
23:36fdobridge_: <karolherbst🐧🦀> that's java for you 😄