Home Server 4.0 Home Server 4.0

Home Server 4.0

Continuing from a previous post

GPU acceleration only lasted for that session and died after rebooting the VM. I tried my best to figure out the issue but in the end decided to give up on some wants in order to build a stable platform.

Design Simplification

I wanted to scale back the amount of abstraction layers I’m working with to deploy apps. Now that I have a little experience with Proxmox CTs and found the Proxmox VE Helper Scripts, I think I want to migrate all apps to Proxmox LXCs.

Planning

The first step was to verify that all of the apps I want to deploy are available as helper scripts. Specifically I’m confirming there are LXC versions of them.

One very useful feature of k8s is the ingress reverse proxy, and without it I need to plan for how the containers will be networked and accessed. For now I carved out a chunk of my local IP space for apps to statically assign them during install of the CT.

I shut down the K8s VM and started adding container apps.

Installation

Using the helper scripts I was able to install all of the media apps into proxmox as containers. I learned that they really don’t like having IPs changed so setting them during install is important.

Once the containers were installed, I copied the mount point from my file share CT to the ones that need access to the media.

Setup

I needed to set up each application again since they were all “fresh” installs this time. Since I backed up the config files to github, I could easy copy what I needed into the new apps.

The media apps were easy to reconfigure and they imported the media without issues. I did some testing to make sure everything works and media can play, 4k playback is a little rough but that is okay for now.

I set up homepage as a dashboard, manually this time since it isn’t in a k8s cluster.

Next I set up the cloudflared CT and Cloudflare Access. This has the double benefit of managing SSL for DNS names, and providing secure remote access (and it is free).

Lastly I scheduled backups for the containers in proxmox.

Conclusion

Everything is running and connected again, remote access is set up and the old VM is cleaned up.

The next goal is to tackle proxmox itself seeing the iGPU so I can enable hardware acceleration for Plex and Frigate.

Bye for now

Late night epiphany

I realized that I made more changes to try and pass the GPU to the VM than I first remembered. Not only was I blacklisting the iGPU from the host, but I still assigning it to the vfio driver.

Once these changes were undone, the host could see the iGPU and plex was using hardware transcoding. This just leaves figuring out how to do the same for Frigate.

To be Continued


← Back to blog