06:45fdobridge_: <orowith2os> any Turing+ NVIDIA workstation GPUs are free game for NVK too, right?
06:49fdobridge_: <orowith2os> looking at ebay and the like and hoping I can buy something Soon™ 🥹
06:51fdobridge_: <orowith2os> well, that or some Insanely Old GPUs that don't need firmware to reclock
06:52raket: Maybe unrelated, i'm using gtx 780ti to play something that uses opengl and i'm more than happy about it :-)
06:53fdobridge_: <orowith2os> it would appear workstation stuff (that's Turing+) is Still Expensive anyways
06:53fdobridge_: <orowith2os> I'd be better off with some normal gaming cards
06:54fdobridge_: <orowith2os> or, hear me out.... somehow I actually save my money
06:54fdobridge_: <orowith2os> 😳
08:29fdobridge_: <karolherbst🐧🦀> heh 😄
08:29fdobridge_: <karolherbst🐧🦀> @orowith2os if you promise to work on Nouveau, I could give you a GPU 😄
08:31fdobridge_: <karolherbst🐧🦀> though the beefiest I got I could hand over is the GeForce GTX Titan, comparable to a 2060 with less features
10:01fdobridge_: <Sid> testing counts as working on it, right?
10:01fdobridge_: <Sid> right?
10:01fdobridge_: <Sid> :p
10:04fdobridge_: <karolherbst🐧🦀> let me guess, the "testing" you speak of is mostly playing games for hours 😛
10:05fdobridge_: <Sid> I can also do compute workloads :D
10:16fdobridge_: <karolherbst🐧🦀> mhhh
13:59fdobridge_: <zmike.> ```
13:59fdobridge_: <zmike.> Slowest tests:
13:59fdobridge_: <zmike.> dEQP-GLES3.functional.shaders.texture_functions.texturesize.sampler3d_fixed_fragment (14104.74s)
13:59fdobridge_: <zmike.> ```
14:00fdobridge_: <karolherbst🐧🦀> could be worse
14:03fdobridge_: <mohamexiety> damn, you could fit in an entire [multithreaded] Vk CTS run in that \:o
14:40fdobridge_: <!DodoNVK (she) 🇱🇹> Is it slow on every driver? 🤔
15:06fdobridge_: <orowith2os> I'd 100% be willing to bug test the things that are known to almost-work in daily use
15:06fdobridge_: <orowith2os> And provide logs and assistance and the like
15:07fdobridge_: <orowith2os> But I also just got approved for a second job, so my time there is limited
15:08fdobridge_: <karolherbst🐧🦀> I see...
15:35EisNerd: any chance to get sth useful regarding vulkan, nvk with a kepler card? And how to enable it?
15:37DodoGTA: EisNerd: It's currently experimental for pre-Turing so you have to set an environment variable
15:39fdobridge_: <gfxstrand> EisNerd: Kepler does work if you set `NVK_I_WANT_A_BROKEN_VULKAN_DRIVER=1` but it's a bit sketchy.
15:40karolherbst: I wished I had more time for stuff 🙃
15:41EisNerd: fdobridge_: no need to recompile?
15:41karolherbst: correct
15:41fdobridge_: <gfxstrand> Nope! Just set the environment variable and off you go.
15:42EisNerd: NVK_I_WANT_A_BROKEN_VULKAN_DRIVER=1 vulkaninfo should work? on a optimus setup?
15:42karolherbst: in theory
15:43EisNerd: it still shows me only the intel
15:43karolherbst: what kernel version are you running on?
15:43karolherbst: you'll need something super recent like 6.6 or so?
15:45EisNerd: 6.7 and 23.3.2 mesa
15:45EisNerd: with intel and nouveau
15:46karolherbst: mhh, you'd have to check if your distribution enables nvk at all
15:46karolherbst: like if there is an icd file inside /usr/share/vulkan/icd.d/
15:46EisNerd: configure log?
15:47EisNerd: only intel icd files
15:47karolherbst: yeah.. then you probably don't have nvk installed at all
15:47karolherbst: the files should start with nouveau_icd.
15:47EisNerd: ok how to change this?
15:48EisNerd: some configure I guess
15:48karolherbst: yeah
15:48karolherbst: "nouveau-experimental" needs to be added to `vulkan-drivers`
15:49EisNerd: ??
15:49EisNerd: guess I need to check configure phase
15:49karolherbst: yeah
15:49karolherbst: check the packaging and see if you can do something there. Depending on the distribution it's trivial to do that or not
15:49karolherbst: but there might be third-party repositories enabling it
15:50karolherbst: but that all depends on the distribution you are on
15:50EisNerd: it is trivial I would guess => Gnetoo FTW
15:51karolherbst: ahh yeah
15:52EisNerd: anything needed in the kernel config?
15:52Sid127: nope
15:53Sid127: also hello funny people in my terminal
15:53EisNerd: -Dvulkan-drivers=intel,intel_hasvk should also list nouveau?
15:53karolherbst: EisNerd: "vulkan_enable video_cards_nouveau nouveau-experimental" would need to be added where all those vulkan_enable things are I think
15:53karolherbst: Sid127: hiii
15:54karolherbst: (in the ebuild)
15:54Sid127: EisNerd: -Dvulkan-drivers=intel,intel_hasvk,nouveau-experimental should do it
15:54EisNerd: ok I'll try
15:55Sid127: I wanna test something out for nouveau since I have some free time rn but I don't wanna test games again because I already know what happens :\
15:55Sid127: any ideas?
15:55karolherbst: somebody might want to add it to gentoo properly, but not sure if nvk is ready enough for general usage yet :D
15:55Sid127: any weird kernel module thing that needs testing? patches? idk
15:55karolherbst: Sid127: always hard to answer such questions, but worst case you can plug in all the displays you have and see if that works :D
15:56Sid127: I have exactly 1 display :D
15:56karolherbst: mhhh
15:56karolherbst: TVs or other funky hardware?
15:56Sid127: do have a dummy edid plug though, supports upto 4k@60
15:56karolherbst: same
15:56Sid127: nothing in the dorms sadly
15:56Sid127: unless I can use my phone as a display, but that's unlikely
15:57karolherbst: yeah...
15:57EisNerd: I'd guess it should be a onelliner
15:57EisNerd: vulkan-drivers : intel,intel_hasvk,nouveau-experimental
15:57karolherbst: Sid127: could always see how well zink works driving a desktop
15:57EisNerd: yepp
15:57Sid127: could do, yeah
15:57Sid127: could also test how well nvk runs wlroots based compositors
15:57Sid127: I know sway has a vulkan renderer
15:58karolherbst: ahh yeah, that would be helpful
15:58Sid127: so, plasma wayland + zink or sway vulkan
15:58karolherbst: sounds like a good idea
15:59Sid127: both it is then
15:59karolherbst: yeah.. so if we really want to go with zink as the main GL impl, we shouldn't regress running a desktop and stuff :D
15:59Sid127: now to see how the heck I can get plasma wayland to render on my dGPU while also using zink
15:59Sid127: e-e
15:59karolherbst: uhhh
15:59karolherbst: put your laptop into discrete only mode in the firmware :D
16:00Sid127: that doesn't output anything on the laptop display
16:00karolherbst: mhhhh
16:00Sid127: I did try it a while ago to see if it'd improve framerates
16:00karolherbst: it should tho
16:00Sid127: sadly doesn't :\
16:00Sid127: damn you Acer from 2019
16:00karolherbst: sounds like a nouveau bug to me then
16:00karolherbst: or just broken on the firmware level?
16:00Sid127: oh, it doesn't even on proprietary
16:01karolherbst: pain
16:01Sid127: it renders to hdmi, not laptop display
16:01karolherbst: oh no...
16:01karolherbst: seems like the internal display doesn't mux then...
16:01karolherbst: however
16:01karolherbst: plasma would still run on your dGPU this way :P
16:01Sid127: something like that
16:01Sid127: well, it sure would, but I'd have no way to see what's wrong
16:02karolherbst: mhh?
16:02karolherbst: I thought it would then just display on your HDMI display?
16:02Sid127: I'd have no way to see if it renders correctly
16:02Sid127: it would if I had an HDMI display e-e
16:02karolherbst: ohhhh
16:02karolherbst: I see
16:03Sid127: yeah, I've only got the laptop panel with me
16:03karolherbst: mhhh
16:15EisNerd: loader interface version should be 5
16:15EisNerd: but is 4
16:16fdobridge_: <tom3026> well dont forget DRI_PRIME=1
16:17Sid127: vulkaninfo should show it without that too
16:18EisNerd: it does
16:18Sid127: loader interface warning can be ignored for now iirc
16:18EisNerd: but only vulakn 1.0 version
16:23EisNerd: WARNING: NVK is not a conformant Vulkan implementation, testing use only. \n Selected GPU 0: Quadro K2100M, type: DiscreteGpu
16:23EisNerd: vkcube, works
16:25EisNerd: now I only need to get the missign text in heroic-launcher fixed, then I can try sth real
16:41fdobridge_: <zmike.> @gfxstrand how far off do you think you are from getting your common shobj thing landed? I think we're about to duplicate it all in radv
17:05i509vcb: I need to find some time to try to make T234 run on nouveau. It's GSP based and the firmware does exist. The only issue is that the display hardware is different from past tegra chips...
17:09fdobridge_: <gfxstrand> Hoping to have an MR posted today
17:10fdobridge_: <gfxstrand> I'm doing a bit of cleanup right now. Will do another CTS run (last one looked mostly okay) and add some comments places and post it.
17:16fdobridge_: <zmike.> Awesome
17:55fdobridge_: <airlied> T234 is not gsp based at all
18:25fdobridge_: <makinbacon21> is it not
18:26fdobridge_: <makinbacon21> it looked from driver that it did some gsp-ish stuff
18:26fdobridge_: <makinbacon21> but loaded that weird acr gsp thing
18:28fdobridge_: <makinbacon21> been looking into it
18:29fdobridge_: <makinbacon21> the display side of things is essentially the same as desktop
18:29fdobridge_: <makinbacon21> the render side is still nvgpu
18:29fdobridge_: <makinbacon21> i figure the render stuff would prolly mostly be gp10b kang with changes for ampere
18:30fdobridge_: <makinbacon21> also fwiw i think tegradrm has been getting changes in nvidia's sources, so possible the display side of things will resolve itself to some extent
18:31fdobridge_: <makinbacon21> https://nv-tegra.nvidia.com/r/gitweb?p=linux-nv-oot.git;a=history;f=drivers/gpu/drm/tegra;h=cf22c7be2188cab302096166a5d6d7a20e84cef8;hb=f255a170a7d1603400812a301bb88f2ec3043b36
18:31fdobridge_: <makinbacon21> but i guess thats more vic and nvenc and not the display stuff itself
18:43i509vcb: acr gsp stuff?
18:44i509vcb: I guess the 234 is not GSP based then, but at least nvgpu exists for reference
19:03fdobridge_: <karolherbst🐧🦀> @airlied why shouldn't T234 be tegra based though?
19:03fdobridge_: <karolherbst🐧🦀> @airlied why shouldn't T234 be gsp based though? (edited)
19:03fdobridge_: <karolherbst🐧🦀> it's an ampere one
19:03fdobridge_: <karolherbst🐧🦀> or are the tegra ones just special?
19:05i509vcb: Yeah this discussion is confusing since I definitely saw gsp stuff in nvgpu, but I'm certain still lost lol
19:10i509vcb: Anyways I do have T234 hardware so I guess if someone else has something I'm around
19:44fdobridge_: <zmike.> more simple unit test fails https://gitlab.freedesktop.org/mesa/mesa/-/issues/10426
19:58fdobridge_: <airlied> @karolherbst is t234 is orin, the software nvidia releases for it is not GSP based, and it's not supported by their current GSP effort, it might have a GSP, but nvidia aren't currently using it like they do on discrete
19:59fdobridge_: <karolherbst🐧🦀> yeah, fair
19:59fdobridge_: <airlied> @karolherbst if t234 is orin, the software nvidia releases for it is not GSP based, and it's not supported by their current GSP effort, it might have a GSP, but nvidia aren't currently using it like they do on discrete (edited)
20:02i509vcb: T234 is Orin, yes
20:03i509vcb: I guess if nvidia isn't using GSP in it's releases for T234 then I guess there isn't some weird signed reclocking madness then
20:05fdobridge_: <airlied> nvgpu I assume supports it
20:55fdobridge_: <makinbacon21> yes, but only r34 and up of
20:55fdobridge_: <makinbacon21> yes, but only r34 and up ofc (edited)
20:56fdobridge_: <makinbacon21> there are fw bins for t234 that comprise a blob named acr-gsp
20:57fdobridge_: <makinbacon21> @airlied there is a ton of gsp stuff in nvgpu
20:57fdobridge_: <makinbacon21> looks like support was added for gv100
20:57fdobridge_: <makinbacon21> https://gitlab.incom.co/search?group_id=5&project_id=518&repository_ref=lineage-21&scope=commits&search=gsp
20:58fdobridge_: <makinbacon21> and they very clearly support ga10b
20:58fdobridge_: <makinbacon21> and they very clearly support ga10b with gsp stuff (edited)
20:59fdobridge_: <makinbacon21> example
20:59fdobridge_: <makinbacon21> https://gitlab.incom.co/CM-Shield/android_kernel_nvidia_nvgpu/-/commit/2a98d20263ef4355e2d2c38b29350afc39a75f7c
20:59fdobridge_: <makinbacon21> it looks like the split acr gsp fw thing was originally implemented with this: https://gitlab.incom.co/CM-Shield/android_kernel_nvidia_nvgpu/-/commit/4efdc362175c67f93d3546727c8825686619c1cb
20:59fdobridge_: <airlied> yeah I think they have fw for the gsp processor just not the same as elsewhere
20:59fdobridge_: <makinbacon21> it looks like the split acr gsp fw thing was originally implemented with this: https://gitlab.incom.co/CM-Shield/android_kernel_nvidia_nvgpu/-/commit/4efdc362175c67f93d3546727c8825686619c1cb
20:59fdobridge_: <makinbacon21> then iterated upon (edited)
21:00fdobridge_: <makinbacon21> it looks like the split acr gsp fw thing was originally implemented with this: https://gitlab.incom.co/CM-Shield/android_kernel_nvidia_nvgpu/-/commit/4efdc362175c67f93d3546727c8825686619c1cb
21:00fdobridge_: <makinbacon21> then iterated upon (edited)
21:00fdobridge_: <airlied> and they are using it for some features
21:00fdobridge_: <makinbacon21> ya
21:02fdobridge_: <makinbacon21> but yea not sure how much would be needed to add support
22:17fdobridge_: <airlied> #define LSF_FALCON_ID_GSPLITE 🙂
22:17fdobridge_: <airlied> kinda implies a smaller gsp
22:21Lyude: BTW - is there any reason we're on a slightly older version of the kernel? or has stuff just not been rebased quite yet? (noticed that it's asking for slightly older versions of the rust tools)
22:44Lyude: eyyy rust analyzer works :)
23:40Lyude: ah, I've gotta implement a type for a platform driver I see
23:54Lyude: airlied, dakr: either of you know how to fix this? ERROR: modpost: "rust_build_error" [drivers/gpu/drm/nova/nova.ko] undefined!