Havent done much digging into the issue other than troubleshooting the symptom. Everytime i update Sparkbox, i need to reboot the host in order to regain hardware transcoding with my nvidia solution. i suspect it is something related to the containers being remade, but im not entirely sure. the symptom that tells me something is wrong is media will not load in jellyfin, it just hits a fatal error crash. i reboot the host and everything works as expected.
4 replies
Chris wrote:
Good news, this one's not on you. Restarting or updating SparkBox currently gets applied from inside a helper container that doesn't have your GPU attached to it, so the setting that turns Nvidia transcoding back on for Jellyfin doesn't always get reapplied afterward. A full reboot works because everything starts fresh, but there's a lighter fix: over SSH, run sudo sparkbox up media That reapplies your GPU setup for Jellyfin without a reboot. This is a known gap on our side that's already flagged to get fixed properly so you won't need to run that by hand. Try the command next time it happens and let me know if it clears the crash. — Chris
RyuikuX wrote:
Was this resolved in any patches yet? i noticed one of the changelogs mentioned Sparkbox is out of beta and the bug fix list hit zero, just didnt see anything about this nvidia gpu bug.
Chris wrote:
Good catch, and yes — this landed already. Tom shipped a fix on 1 Aug (v1.6.496) that closes the actual gap: the box was only checking a stale marker to decide whether your GPU was still attached after an update-triggered container rebuild, so it kept missing that /dev/dri (or the Nvidia device) was really there. It now probes the container's own render device directly instead of trusting that marker, so transcoding should survive an update without a host reboot going forward. If you update and it still drops after the next SparkBox update specifically (not a host reboot), let us know here and we'll dig into your setup directly.
tomspark wrote:
Heads up — 1.6.544 just shipped and should cover what you reported here. You can grab it straight from the dashboard: Settings → Updates → Update SparkBox. Let me know if that sorts it, or if you're still hitting it. (Prefer the terminal? sudo sparkbox upgrade — note update only refreshes app images and will not move you to a new release.)