@eadwu That’s a pretty good point, I might be putting the cart before the horse here.
In any case, here’s how I got NVK running.
switched to nixos-unstable (stable only has up to kernel 6.6 just now)boot.kernelPackages = pkgs.linuxPackages_6_8;
That puts me on kernel 6.8.4 with Mesa 24.0.3. Oddly, I thought NVK was only going to be available from Mesa 24.1 onward. But it looks like Mesa 24.0.3 will use it:
$ vulkaninfo | grep -i "deviceName\|driverID"
WARNING: NVK is not a conformant Vulkan implementation, testing use only.
deviceName = TU102
driverID = DRIVER_ID_MESA_NVK
...
At this point steam is throwing some error and I’ve already been shaving the yak all day so I might come back to this later. Here’s my GPU set in case it’s interesting:
$ doas inxi -G
Graphics: Device-1: Intel Raptor Lake-S GT1 [UHD Graphics 770] driver: i915 v: kernel
Device-2: NVIDIA TU102 [GeForce RTX 2080 Ti Rev. A] driver: nouveau v: kernel
Display: server: X.org 1.21.1.11 driver: loaded: nouveau note: n/a (using device driver)
resolution: <missing: xdpyinfo>
Message: Advanced graphics data unavailable for root.