This is my attempt to get Vulkan going on NetBSD

github.com

81 points by segaboy81 6 hours ago


Tiberium - 4 hours ago

Lavapipe is CPU rendering, it doesn't really prove much. But also, Vulkan on BSDs is totally possible and isn't something esoteric, FreeBSD has it.

> Build goal only: This targets compilation and linkage of the Vulkan stack. Runtime GPU acceleration is not available under VirtualBox; the software driver (Lavapipe) is the target.

I don't understand why this would ever be a problem, even without LLM assistance it's something that sounds like a weekend project?

klibertp - 4 hours ago

Installation instructions:

    ftp https://raw.githubusercontent.com/segaboy/vulkan-netbsd/main/scripts/setup-env.sh
       !^^^^^!
That's... a bit unorthodox. FreeBSD has a `fetch`[1] utility for this, I wasn't aware NetBSD puts that in `ftp`[2].

Interesting choice. I wonder what led to it.

[1] https://man.freebsd.org/cgi/man.cgi?fetch

[2] https://man.netbsd.org/ftp.1

qiu3344 - 4 hours ago

> Vulkan is now available

looks inside:

> What this is NOT (yet): Running Vulkan programs

wbolt - 4 hours ago

This is a nice project but looks like is either AI written or AI assisted and I haven’t seen mention of that in any of the docs.

rjsw - 5 hours ago

There are already Vulkan components in pkgsrc and wip.

iamnothere - 4 hours ago

I have never had a need for NetBSD, but in case I ever do, I’m glad it’s there. Especially with Linux deprecating old platforms.

This looks like an unofficial effort but hopefully it gets refined and integrated.

MBCook - 4 hours ago

I expected this to be official from the title but it doesn’t seem to be.

spiral09 - 3 hours ago

Lavapipe? So it's just Mesa software rendering stuff