Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Linux support is coming to Snapdragon X2 Series(qualcomm.com)
    147comments
  2. Early rogue AI agent activity and attempts to hack found on urlquery.net(transluce.org)
    15comments
  3. Claude discovers a novel enzyme system with CRISPR-like repeats(anthropic.com)
    624comments
  4. ArXiv receives multiyear commitments to support it as an independent nonprofit(arxiv.org)
    16comments
  5. Contrastive Language Models(contrastive-lm.notion.site)
    6comments
  6. Ideas on modernizing the open-source desktop(lwn.net)
    46comments
  7. VSCode's SSH Agent Is Bananas (2025)(fly.io)
    126comments
  8. Meta VR Glasses(meta.com)
    310comments
  9. Lazydraw: Terminal ASCII editor for drawing diagrams and sketches(github.com/mpospirit)
    3comments
  10. Virtio-nvgpu: Near-native Nvidia GPU access inside a KVM guest(github.com/nestrilabs)
    31comments
  11. Making portable my unportable transputer C compiler(nanochess.org)
    4comments
  12. The "Windows XP Box" (2003)(mini-itx.com)
    18comments
  13. Feds Target AI Critics as "Foreign Agents"(kenklippenstein.com)
    249comments
  14. Can open-source prompt-injection detectors catch realistic AI agent attacks?(github.com/rudratoshs)
    1comments
  15. Fixing the Portobello Police Station Clock(pointinthecloud.com)
    98comments
  16. OpenAI breaches Medicare, Albanese reveals(smh.com.au)
    123comments
  17. Why 'What's Opera, Doc?' looks like that(animationobsessive.substack.com)
    5comments
  18. Mercury 2.5 LLM hits 770 tokens per second(artificialanalysis.ai)
    55comments
  19. Making Tailscale Faster(tailscale.com)
    55comments
  20. Women Who Sold Books Door to Door(jstor.org)
    discuss
  21. The mystery animal on an ancient god's head(signoregalilei.com)
    26comments
  22. Italian parliament votes for return to nuclear energy(apnews.com)
    490comments
  23. Six-year-old breaks women's world Rubik's Cube record [video](youtube.com)
    12comments
  24. Lambda MicroEgg(philipzucker.com)
    1comments
  25. A brief history of Windows scroll bar shortcuts(devblogs.microsoft.com/oldnewthing)
    69comments
  26. Tokens too cheap to meter(jyn.dev)
    194comments
  27. Data liberation: Apache Kafka's native cluster mirroring(redhat.com)
    1comments
  28. Solving for faster SHA-1 collision detection(sam.dev)
    6comments
  29. Gemini 3.8 text-to-speech(blog.google)
    132comments
  30. LensVLM: Compressing long context as images, expanding only relevant pages(huggingface.co)
    7comments

Virtio-nvgpu: Near-native Nvidia GPU access inside a KVM guest

67 pointsby 6h agogithub.com
29 comments
5h agoHN ↗

Amazing project! But man, that README is just a textbook example of LLM word salad. It's wild how these tools are so incredibly capable at many things, but their writing sticks out like a sore thumb

5h agoHN ↗

My bad, i am not a native English speaker... I did my best to try and brush it up. Terribly sorry if it did not match your flow.

4h agoHN ↗

All good friend! I'm as guilty as anyone. It's a super cool project though.

Now that I have you on the hook, is there any benefit to this over virtio for a single KVM passthrough situation? I previously ran a proxmox based gaming PC setup (docs here: https://github.com/mtrudel/rabble/tree/4d9329f3dd0fb09123a8f...), and was lucky enough that the GPU passthrough part of that build 'just worked'. I'd started down a path of trying to share the GPU between VMs based on a naive 'one VM owns it at a time' setup, but never really got it off the ground.

4h agoHN ↗

The benefit is that you do not have a limit to how many VMs you can run at the same time. However, virtio-nvgpu has no Windows support as of yet, please check back in a while :)

You should check out Nestri [1], another project we are working on, that helps you do exactly that. It helps run multiple gaming sessions for you and your friends on the same GPU, without anyone meddling in the other person's session. Everyone gets to stream their game to whatever desktop or device they want. It is still a work-in-progress though.

[1] https://github.com/nestrilabs/nestri

4h agoHN ↗

LLMs are pretty good at translation, they're just pretty awful at generating natural-sounding English prose from scratch. In my opinion, probably the best solution is to simply write the README in your native tongue and use an LLM to translate it.

1h agoHN ↗

This! Claude word salad is worse than maybe subpar translations, with which I'm sure PRs can help.

4h agoHN ↗

The percentage-overhead comparison is pretty choice nonsense. It has only percentages to try and "explain" that overheads don't matter if the system is slow anyhow.

A fair comparison would be this project vs virtio.

4h agoHN ↗

Virtio? what virtio? virtio native drm native context, is that what you mean? We actually use it in nesbox[1] for AMD/Intel cards.

Venus is the only one we could directly compare to, as it is the only one that supports Nvidia GPUs. vDRM works only on AMD/Intel GPUs and has a similar performance (~98% baremetal performance) to virtio-nvgpu.

[1] https://github.com/nestrilabs/nesbox

4h agoHN ↗

it's not just literary authorship, it's pretty easy to spot LLM driven programming paradigms too, especially if you look at the test suites of a given package.

4h agoHN ↗

When the lines in the ASCII charts don't even line up my immediate assumption is that the author didn't even bother to glance at it.

3h agoHN ↗

Claude is much worse for having a distinctive style you can spot from a mile away. I’ve found GPT-6 to not suffer from this or it’s insanely verbose markdown salad.

2h agoHN ↗

I see everyone saying this but I've been using 6-astra lately and afaict it's not much better

4h agoHN ↗

Can this be used with a Windows guest?

4h agoHN ↗

No not yet, but that is in the roadmap.

4h agoHN ↗

We borrowed a lot of the architectural design from nvproxy, then built it to support graphical workloads. Plus it is reusable in such a way you can hot plug it into any microVM, cloud-hypervisor, maybe even Firecracker

4h agoHN ↗

What are the isolation implications?

2h agoHN ↗

Why not use normal GPU passthrough? I don't see how you can use this to share a GPU between multiple VMs, so what is the benefit of using this software over normal GPU passthrough with vfio-pci drivers?

1h agoHN ↗

README mentions it supports up to 4 guests at a time sharing the GPU.

58m agoHN ↗

I am wondering how they managed to achieve that without using Nvidia vGPU drivers.

1h agoHN ↗

With normal passthrough, your host loses access to the gpu, no? So you need to have two gpus, one for the host and one for the guest. Correct me, if I am wrong, but this should make the host fully operational on a single gpu and still let vm guests have headless access to the host gpu.

1h agoHN ↗

Is it really that simple to split an Nvidia GPU between multiple users like that? I thought that you have to have specific drivers which support that.

1h agoHN ↗

Hrm, something of a lack of discussion about what level of access the card has to the host in the absence of IOMMU-restricted passthrough.

57m agoHN ↗

I am very sceptical about this. I have some experience in GPU virtualization and passthrough with Nvidia GPUs and they are really not designed to be able to share them with multiple guests/host without Nvidia's blessing (licenced drivers).

49m agoHN ↗

Yes they are not... we run the Nvidia drivers unmodified. Only thing we have done is make the guest driver think it's running on the host, talking to the host's GPU kernel.

It works really well with a ~2% performance penalty. Nvproxy by google/gvisor has been doing this for years.

You should try running it yourself and see how it goes :D

29m agoHN ↗

Does "how it goes" include the guest being able to DMA over the host kernel?

21m agoHN ↗

So you can share the GPU between multiple VMs? I can have 4 VMs simultaneously do work on the GPU?

And each one would have its own Nvidia driver? How do they not interfere with each other? I mean I am by no means an expert in GPU architecture or anything similar, but I thought the problems with sharing a GPU come from the differences between GPU vs CPU architecture. On the other hand, multiple processes on a host can run on the same GPU, but that is all using the same kernel. I am just very confused.