This is my attempt to get Vulkan going on NetBSD(github.com) |
This is my attempt to get Vulkan going on NetBSD(github.com) |
> 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?
looks inside:
> What this is NOT (yet): Running Vulkan programs
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.
* 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...
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
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.
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.
This looks like an unofficial effort but hopefully it gets refined and integrated.
- 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)
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.
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!