News for hackers. Stuff that matters.
Re:Vulkan is now available on NetBSD by qiu3344 on Thursday July 02, 2026 @04:18PM (#48766807)
> Vulkan is now available

looks inside:

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

Re:Vulkan is now available on NetBSD by LoganDark on Thursday July 02, 2026 @05:16PM (#48767469)
Technically, it isn't wrong, if you consider Vulkan the technology rather than the service
Re:Vulkan is now available on NetBSD by NooneAtAll3 on Friday July 03, 2026 @04:27AM (#48772417)
isn't Vulkan the api?
Re:Vulkan is now available on NetBSD by LoganDark on Friday July 03, 2026 @05:19AM (#48772812)
'Vulkan' can refer to at least:

- Vulkan as a runtime service: 'the ability' for programs to do Vulkan things

- Vulkan as an API / specification: how programs interact with the service to do those things, or how the service interacts with programs

- Vulkan as a technology: how the API calls are implemented

Generally Vulkan refers to the specification much like how Linux refers to the kernel, but there is still Linux (kernel) vs Linux (syscall ABI) vs Linux (runtime service)

Re:Vulkan is now available on NetBSD by wbolt on Thursday July 02, 2026 @04:17PM (#48766796)
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.
Re:Vulkan is now available on NetBSD by rjsw on Thursday July 02, 2026 @03:39PM (#48766346)
There are already Vulkan components in pkgsrc and wip.
Re:Vulkan is now available on NetBSD by segaboy81 on Thursday July 02, 2026 @09:11PM (#48769444)
Which ones? I'm asking, because I wouldn't have done anything at all if this was pre-existing.
Re:Vulkan is now available on NetBSD by rjsw on Friday July 03, 2026 @07:16AM (#48773669)
See graphics/MesaLib.
Re:Vulkan is now available on NetBSD by Tiberium on Thursday July 02, 2026 @04:19PM (#48766824)
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?

Re:Vulkan is now available on NetBSD by saidnooneever on Friday July 03, 2026 @02:56AM (#48771748)
this is what i would recommend. hoist it over from freebsd. it works well vulkan is fully usable, mesa works nicely. Even seen people playing with CUDA tho i didnt get that workin myself yey.
Re:Vulkan is now available on NetBSD by ChocolateGod on Friday July 03, 2026 @04:36AM (#48772478)
FreeBSD relies on being able to run the Linux graphics drivers though via a compat layer.
Re:Vulkan is now available on NetBSD by rjsw on Friday July 03, 2026 @07:16AM (#48773661)
NetBSD uses the Linux graphics drivers too.
Re:Vulkan is now available on NetBSD by MBCook on Thursday July 02, 2026 @04:26PM (#48766917)
I expected this to be official from the title but it doesn’t seem to be.
Re:Vulkan is now available on NetBSD by klibertp on Thursday July 02, 2026 @04:28PM (#48766941)
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

Re:Vulkan is now available on NetBSD by yjftsjthsd-h on Thursday July 02, 2026 @06:07PM (#48767991)
I dunno, that feels very BSD to me. Presumably, they had a ftp utility first, and then when somebody wanted to download files over http they looked around and decided that the obvious thing to do was to add it to the existing file transfer/download program. Same as continuing to add functions to ifconfig rather than inventing a new ip tool.
Re:Vulkan is now available on NetBSD by dessimus on Friday July 03, 2026 @05:18AM (#48772809)
Sure, if those functions added were related to configuring network interfaces, but it would be odd if someone added functions for configuring storage controllers.
Re:Vulkan is now available on NetBSD by lmm on Friday July 03, 2026 @08:47AM (#48774374)
Imagine using an ftp program to transfer files.
Re:Vulkan is now available on NetBSD by dessimus on Friday July 03, 2026 @02:15PM (#48778069)
BitTorrent transfers files, so should a BT client be bolted on too? Typically the Unix philosophy has been do one thing well, not do all the things.
Re:Vulkan is now available on NetBSD by yjftsjthsd-h on Sunday July 05, 2026 @12:38AM (#48791301)
The sticking point is always what "one thing" is. I can certainly see an argument for "download a file over http" (or, for another program, ftp), but I can also see an argument for "download files over the internet". In which case, honestly the only reason I'd even quirk an eyebrow at a BSD's ftp(1) adding bittorrent support is that bittorrent usually means running a daemon that that does feel out of character for it. But even then I wouldn't be that surprised to see it added.
Re:Vulkan is now available on NetBSD by iberator on Thursday July 02, 2026 @04:37PM (#48767046)
Oldest supported machine for NetBSD is VAX 780 from 1978(!!!). One of the first system supporting mmu, 32 bit cpu, virtual memory etc etc

This machine is so slow that it takes a lot of time to generate ssh keys etc. We talking here hours hehe

NetBSD is known to support like 60 architectures - many of them low end embedded systems: so ftp AS A CHOICE (you have other options!) is very smart and easy

Re:Vulkan is now available on NetBSD by spijdar on Thursday July 02, 2026 @05:03PM (#48767345)
I think GP is confused why the ftp command also handles http(s) :)

I hate to imagine what a 780 running NetBSD would be like, too.

I tried netbooting NetBSD on my MicroVAX 3400, which is about 2.5x the performance of the 780. It did, literally, take 6+ hours to slog through making RSA keys.

Re:Vulkan is now available on NetBSD by klibertp on Thursday July 02, 2026 @05:14PM (#48767449)
> I think GP is confused why the ftp command also handles http(s) :)

Exactly - I even suspected for a second that `ftp` on NetBSD is something else entirely, not an actual FTP client with HTTP/HTTPS URLs bolted on. It's not - it still accepts a host as an argument and opens a CLI if there's an FTP server to talk to.

Re:Vulkan is now available on NetBSD by saidnooneever on Friday July 03, 2026 @02:58AM (#48771770)
maybe rather than protocol its program. then it all makes sense no. File Transfer Program. voila.
Re:Vulkan is now available on NetBSD by kevin_thibedeau on Thursday July 02, 2026 @08:59PM (#48769377)
Elliptic curve key gen is much faster on slow hardware. You're waiting around on primality tests that aren't necessary with modern keys.
Re:Vulkan is now available on NetBSD by spijdar on Friday July 03, 2026 @12:33AM (#48770741)
Yep, it's a loooot faster. But then, when you decide to boot NetBSD on these boxes, you're not really doing it for practical reasons anyway, so part of the experience is waiting a few hours for /etc/rc.d/sshd to do its thing.

Probably more relevant on more "borderline" hosts. My SPARCstation 2 can just barely run NetBSD 10 at what I'd call "tolerable speeds" for some concept of "real work", and it's something like 50x the speed of the 780!

Re:Vulkan is now available on NetBSD by anthk on Friday July 03, 2026 @02:52AM (#48771729)
Disable some booted services at /etc/rc.conf:

https://luke8086.dev/netbsd-on-thinkpad-380z.html

Re:Vulkan is now available on NetBSD by anthk on Friday July 03, 2026 @02:48AM (#48771706)
Easier with SIMH.
Re:Vulkan is now available on NetBSD by JdeBP on Friday July 03, 2026 @07:02AM (#48773571)
Actually, it's orthodox; and it's fetch that isn't. FreeBSD is actually the odd one out, for having an extra tool for doing the same thing. The ftp tool in all of the BSDs, including FreeBSD, speaks HTTP, and has done since Luke Mewburn did lukemftp (later to be named tnftp) and Theo de Raadt did likewise, both based on the original 4.2BSD ftp, back in the middle 1990s.

* https://cgit.freebsd.org/src/tree/contrib/tnftp/ChangeLog#n1...

* https://cvsweb.netbsd.org/bsdweb.cgi/src/usr.bin/ftp/main.c?...

* https://cvsweb.openbsd.org/log/src/usr.bin/ftp/main.c,v?sort...

Re:Vulkan is now available on NetBSD by klibertp on Friday July 03, 2026 @08:38AM (#48774296)
Nice! Thank you, that explains it. FreeBSD was my first *BSD and the only one I had long-term contact with, so I unconsciously use it as my "BSD standard". My bad on that :)
Re:Vulkan is now available on NetBSD by iamnothere on Thursday July 02, 2026 @04:44PM (#48767128)
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.

Re:Vulkan is now available on NetBSD by Tiberium on Thursday July 02, 2026 @04:54PM (#48767235)
NetBSD already has relevant packages officially.
Re:Vulkan is now available on NetBSD by segaboy81 on Thursday July 02, 2026 @09:12PM (#48769449)
Which packages? I couldn't find what I needed, and that's the whole reason for building all this.
Re:Vulkan is now available on NetBSD by spiral09 on Thursday July 02, 2026 @05:17PM (#48767476)
Lavapipe? So it's just Mesa software rendering stuff
Re:Vulkan is now available on NetBSD by segaboy81 on Thursday July 02, 2026 @09:12PM (#48769456)
That's the start. The idea is to get Vulkan running first. More to follow.
Re:Vulkan is now available on NetBSD by yjftsjthsd-h on Friday July 03, 2026 @03:09AM (#48771829)
I think both points are valid; that is the sensible way to start, but it's worth noting that the work is early so people don't misunderstand the current state of things.
Re:Vulkan is now available on NetBSD by anthk on Friday July 03, 2026 @02:50AM (#48771716)
Didn't modular-xorg, MESA and DRM drivers handle this?
Re:Vulkan is now available on NetBSD by rvz on Friday July 03, 2026 @04:10AM (#48772293)
This is 100% AI slop.
Re:Vulkan is now available on NetBSD by sylware on Friday July 03, 2026 @08:49AM (#48774397)
The vulkan stack is rather lean (there are still c++ though, valve removed a lot of c++ for less c++, it would have been correct with plain and simple C).

The big chunk is DRM kernel code.

AMD seems to be working on _userland_ hardware command ring buffers, which should makes userland vulkan even simpler. Dunno how they will work around the VMID stuff though.