logoalt Hacker News

This is my attempt to get Vulkan going on NetBSD

87 pointsby segaboy81yesterday at 6:36 PM18 commentsview on HN

Comments

Tiberiumyesterday at 8:19 PM

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?

klibertpyesterday at 8:28 PM

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

show 2 replies
qiu3344yesterday at 8:18 PM

> Vulkan is now available

looks inside:

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

show 1 reply
rjswyesterday at 7:39 PM

There are already Vulkan components in pkgsrc and wip.

show 1 reply
wboltyesterday at 8:17 PM

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.

show 1 reply
iamnothereyesterday at 8:44 PM

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.

show 1 reply
MBCookyesterday at 8:26 PM

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

spiral09yesterday at 9:17 PM

Lavapipe? So it's just Mesa software rendering stuff

show 1 reply