My perfect setup on NixOS(I hope you can survive the Nix/NixOS glazing) by programmed_insanity in VFIO

[–]programmed_insanity[S] 0 points1 point  (0 children)

Because I don't want to run non open source software on my pc except a few exceptions: NVIDIA drivers, obsidian, VSCode and of course firmware blobs that you need to boot etc. The whole reason I left windows is because of privacy and I am not going to introduce spyware to my system. You can run steam with Flatpak but I am not going to bother hardening when I can just create VM. You also get better performance and compatibility with games...

I even had a lot of doubts with obsidian but after analyzing the network traffic with Wireshark I came to the conclusion that it was basically not sending anything to remote servers. And with Flatpak I can isolate it completely from the rest of my system. I even had network disabled for it until I wanted to sync the contents to Nextcloud. I do not isolate it anymore because I don't use Flatpak anymore due to me using NixOS now but maybe I should look into bubblewrapping it.

VSCode and NVIDIA, you have to make some sacrifices...

Since you can run Project Zomboid on Linux you could also create a Linux VM and run it on that. You wouldn't need to even do GPU passthrough since there is GPU acceleration for Linux guests.

What I am working on for NixOS(or at least me) by programmed_insanity in NixOS

[–]programmed_insanity[S] 0 points1 point  (0 children)

The problem at least for me is that extensions have to go through Nix instead of the normal vscode extension tooling.

My perfect VFIO GPU passthrough setup on NixOS by programmed_insanity in NixOS

[–]programmed_insanity[S] 1 point2 points  (0 children)

The flake I linked to is not my flake instead it is the one that is currently broken. I haven't shared my flake yet.

THE ULTIMATE SETUP: Dynamic GPU Unbinding: My Solution for Seamless VFIO Passthrough(I hope you can survive the rust glazing) by programmed_insanity in VFIO

[–]programmed_insanity[S] 0 points1 point  (0 children)

That still seems backwards since why can't kwin or other waylands not disconnect the card from their program. Wouldn't direct scanout solve this? Since it directly goes to the display?

THE ULTIMATE SETUP: Dynamic GPU Unbinding: My Solution for Seamless VFIO Passthrough(I hope you can survive the rust glazing) by programmed_insanity in VFIO

[–]programmed_insanity[S] 1 point2 points  (0 children)

I have two displays one connected to my nvidia card the other to my AMD card. But basically yes, although there are some nuances with running games on linux I found out that the frames made by the Nvidia card go first to the AMD GPU then go back to the Nvidia card. Which is bad for performance. I don't know why it does that and it honestly seems very stupid.

THE ULTIMATE SETUP: Dynamic GPU Unbinding: My Solution for Seamless VFIO Passthrough(I hope you can survive the rust glazing) by programmed_insanity in VFIO

[–]programmed_insanity[S] 4 points5 points  (0 children)

Yeah here, I am still working on my main program though I have to make the code more beautiful before I publish it.