• 0 Posts
  • 14 Comments
Joined 1 year ago
cake
Cake day: October 4th, 2023

help-circle
  • I have the 2020 G14 and I got this working once. I’m afraid easy and simple are not a thing here, as you need to understand what you’re doing if you want it to work well. The basics are:

    • Prevent the host system from loading any drivers that touch the discrete GPU. This is done by attaching it to the VFIO driver and uninstalling/blacklisting the Nvidia and Nouveau drivers.
    • Make sure you have the correct kernel parameters to support virtualisation and PCI-e passthrough.
    • Create a Windows VM and attach the Nvidia GPU to it.
    • Setup Looking Glass so you can play with the best possible latency. This will likely require a dummy USB-C display stick.

    Personally, I don’t think it’s worth the hassle. I keep a Windows install for when it’s needed, and do most of my gaming on a separate system.







  • antsu@lemmy.wtftoLinux@lemmy.mlFriendly reminder
    link
    fedilink
    arrow-up
    13
    ·
    11 months ago

    Timeshift with BTRFS kicks ass. I have mine set for daily snapshots, retained for a week. Only the changes between snapshots are stored, so the extra disk usage is minimal, and easily justified by the peace of mind in case of fuck-ups or broken updates.



  • antsu@lemmy.wtftoLinux@lemmy.mlZFS Swap on Linux
    link
    fedilink
    arrow-up
    3
    ·
    11 months ago

    I don’t have the source right now, but I had the same idea not long ago, and the tl;dr is swap on a zvol is a very bad idea. If your system ever runs low on memory and actually needs to do heavy swapping, you’re setting yourself up for a catastrophe.





  • This looks about right, I have a similar setup for unauthenticated services here, with the difference that I’m using NGINX Proxy Manager instead of Caddy. The things I would try/check are:

    • Make sure you’ve enabled the proxy provider in the local outpost config in Authentik.
    • Declare a common network between the two containers, so that they can communicate without having to go out through the host’s IP. This way you can reference the VS Code container directly by its service name in Authentik.
    • I’m not familiar with Caddy, but I would also try changing the code.test.example.com entry to point directly to Authentik’s IP and port (in other words, both entries would look the same). In the config your posted, it seems like Caddy is redirecting through itself.