> ## Content Index
> Fetch the complete content index at: https://blog.coopnet.us/llms.txt
> Use this file to discover other available public pages before exploring further.

# Running a Pascal GPU on TrueNAS 25.10 with the legacy driver
- URL: https://blog.coopnet.us/truenas-pascal-gpu-legacy-driver/
- Published: 2026-11-20T13:10:32.000Z
- Updated: 2026-11-20T13:10:32.000Z
- Description: My GTX 1070 Ti had no driver on TrueNAS 25.10, which only ships NVIDIA's open modules for Turing and newer. A community sysext built on the NAS from NVIDIA's legacy 580 branch got Plex transcoding on it again. A kernel bump takes every app down with it, so an alert tells me when to rebuild.
- Author: Renstur
- Tags: Proxmox & storage, truenas, nvidia, plex

The GTX 1070 Ti in my NAS spent a while as an expensive bracket. TrueNAS 25.10 has NVIDIA support built in, just not for this card, so Plex was doing every transcode on the CPU.

This is how I got it working again. If you only copy one piece, copy the alert near the end, because sooner or later a TrueNAS update breaks the driver.

```tested-on
truenas community edition: 25.10.8 (goldeye)
kernel: 6.12.113
nvidia driver: 580.178.04 (legacy-580 branch, proprietary kmod)
nvidia-driver-support: v81
gpu: GeForce GTX 1070 Ti (Pascal)

```

## Why 25.10 has no driver for a Pascal card

TrueNAS 25.10 ships NVIDIA's open kernel modules. Those only support Turing and newer. Pascal cards like the 1070 Ti need NVIDIA's proprietary kernel module, and that isn't in the image. The official answer is to pass the card through to a VM and install the driver there. That needs a second GPU for the console, and it isn't what I wanted for a Plex app.

You can't just install the driver either. TrueNAS keeps `/usr` read only and replaces it on every update, so anything you bolt on the normal Linux way is gone after the next upgrade.

A system extension does work. TrueNAS already delivers its own NVIDIA bits as a sysext, a raw image that gets merged over `/usr` at boot. The community project `truenas-community-sysexts/nvidia-driver-support` builds a replacement. It runs on the NAS itself, pulls NVIDIA's official `.run` installer and the matching TrueNAS kernel headers, and produces a sysext with the driver branch you pick.

For Pascal that's the `legacy-580` branch, the last one NVIDIA ships with support for these cards. I'm on 580.178.04 with the proprietary kmod.

## Before you run anything

This is someone else's project running as root on my storage box, so I read it first. I downloaded the release assets into a working folder in my home directory and went through the scripts. I checked where they download from (GitHub, NVIDIA's download host, TrueNAS's update servers and nvidia.github.io) and what they touch on disk.

I used release v81\. As I write this it's still the one marked Latest. v82 and v83 are prereleases. v82 moves the `legacy-580` build from 580.178.04 to 580.196.07, so a fresh install may land on a newer 580 than mine once it's promoted. The project's CI also only tests against 25.10.4, so later point releases are on you.

If you're doing this later, list the releases, take the newest one that isn't marked prerelease, and check it supports your TrueNAS train:

```console
$ gh api repos/truenas-community-sysexts/nvidia-driver-support/releases

```

Also check nothing else has claimed the card:

```console
$ lspci -nnk -s 01:00.0
...
	Kernel driver in use: nvidia

```

That's the output you want after the install. If it says `vfio-pci`, something reserved the card for a VM. A runtime override clears on reboot. A saved isolation setting doesn't.

## Building the driver

The project keeps its state in a persist directory on a pool, which is what lets it survive updates. Mine is `/mnt/tank/.config/nvidia-gpu/`. It holds the custom `nvidia.raw`, a backup of the stock `nvidia.raw`, and the helper scripts.

First, back up the stock sysext. This downloads the TrueNAS update image to pull it out, about 2 GB, and took around three minutes:

```console
$ cd ~/nvsx/scripts
$ sudo ./recover-stock-nvidia.sh --pool=tank

```

Then a dry run, which tells you what it would do without doing it:

```console
$ sudo ./install-nvidia-driver.sh --dry-run --release=v81 \
    --catalog=$HOME/nvsx/catalog/driver-catalog.json \
    --branch=legacy-580 --pool=tank --yes

```

If that reads right, run the same command without `--dry-run`. The first build took about eight minutes. Near the end it restarts Docker, so every app blips. Do it when nobody is watching anything.

Then reboot. On my first install I used midclt's `system.reboot`, which returned success and didn't reboot. I had to walk over and do it by hand. Since then I schedule it through systemd and watch for the SSH session to drop:

```console
$ sudo systemd-run --on-active=3 --unit=nas-reboot /usr/bin/systemctl reboot

```

It came back in under a minute and a half.

## Pointing Plex at the card

After the reboot, `nvidia-smi` should show the card on the 580 driver:

```console
$ sudo nvidia-smi

```

In the TrueNAS Plex app, I select the GPU by its UUID (it looks like `GPU-xxxxxxxx-xxxx-...`) rather than handing the app every GPU. Then check the container can see it:

```console
$ docker exec ix-plex-plex-1 nvidia-smi -L
GPU 0: NVIDIA GeForce GTX 1070 Ti (UUID: GPU-xxxxxxxx-...)

```

The real test is a stream that has to transcode. I played something from my phone on cellular, so the remote route through my proxy forced a lower quality, and checked the encoder:

```console
$ nvidia-smi --query-gpu=encoder.stats.sessionCount --format=csv

```

One NVENC session from Plex Transcoder, with decode running on the card too. The remote setup is its own post, [Plex behind the NetBird reverse proxy](https://blog.coopnet.us/plex-behind-netbird-proxy/).

## Making it survive TrueNAS updates

A TrueNAS update replaces `/usr`, which puts the stock sysext back. So the project leaves you a script that runs as a TrueNAS PREINIT init script. On every boot it puts the custom `nvidia.raw` back from the persist directory.

It can't fix a kernel change. The driver is built against one kernel. If an update moves the kernel, the custom module doesn't match, and the script only logs it:

```console
$ sudo journalctl -b -t nvidia-preinit-driver -o cat

```

On a good boot it says the driver matches the running kernel. On a bad one you get a kernel version mismatch line, and that's your sign to rebuild.

Nobody reads that log on a normal day. I wanted something louder.

## An alert for when the card goes missing

I added a small health script with two triggers. It runs as a POSTINIT init script after every boot, and from a daily cron job in the morning. Each time, it gives `nvidia-smi` up to three minutes to show the card. If the card isn't there, it sends two alerts:

- an email through TrueNAS's own mail settings
- a POST to a Home Assistant webhook, which raises a persistent notification and pushes to my phone

The subject is the whole instruction: the TrueNAS GPU driver needs a rebuild. The script also takes a test argument that sends a fake alert, so I could prove both paths worked before I needed them.

Two channels because each one fails differently. Email depends on TrueNAS mail working. The webhook depends on Home Assistant being up, and Home Assistant doesn't live on the NAS. I don't want my only warning to depend on the box that just broke.

## A kernel bump took down every app

I found this out on the 25.10.7 to 25.10.8 update, which moved the kernel from 6.12.105 to 6.12.113\. I'd assumed the worst case was Plex falling back to the CPU. Every app went down instead.

When the NVIDIA option is on in TrueNAS's Docker settings, every TrueNAS app container is created with the nvidia runtime, not just the one that uses the GPU. If the custom sysext doesn't merge, Docker has no nvidia runtime, and every app crashes with this:

```console
unknown or invalid runtime name: nvidia

```

Plex, the media apps, and a couple of infrastructure containers I care about a lot more than Plex all went down together. The only containers that started were ones I'd run outside the TrueNAS app system.

So now an update is one job, not two. Check nobody is streaming, then update, rebuild and reboot back to back. And keep the previous boot environment. Booting it is the fastest way back if the build fails.

I ran the update from the shell with the train and version spelled out:

```console
$ sudo midclt call --job update.run '{"train":"TrueNAS-SCALE-Goldeye","version":"25.10.8","reboot":false}'

```

It's `--job` with two dashes. Pass both train and version or neither. `reboot` is false on purpose, because the rebuild comes before the reboot.

## My rebuild runbook

This is the list I follow when the alert fires.

1. Diagnose. Run `nvidia-smi`, check `/etc/version` and `uname -r`, and read the preinit log. A kernel mismatch means rebuild. Same kernel and still broken means checking `lspci` for `vfio-pci`, and checking the Docker config still has nvidia turned on (`sudo midclt call docker.config`).
2. Pick the release. The newest one not marked prerelease that supports your train. If you move past the release you reviewed, download and read the new one first.
3. Refresh the stock backup if the TrueNAS version changed, with the same `recover-stock-nvidia.sh` command as before.
4. Dry run, then the real build with `--rebuild` added.
5. Reboot, and confirm the SSH session drops.
6. Verify. `nvidia-smi` shows the card on 580, the preinit log says the kernel matches, the health script prints OK, the Plex app still has the same GPU UUID selected, and a transcode shows an NVENC session. Then dismiss the Home Assistant notification.

One gotcha from the 25.10.8 rebuild. The installer probes for a flag with `printf` piped into `grep -q`, and under pipefail that can fail on a busy host. It then drops `--skip-module-load` and the build dies with `Kernel module load error: Operation not permitted`. This is upstream issue #132.

I applied the two line fix to my local copy of `build-nvidia-sysext.sh` and kept the original next to it. The build log showed `--skip-module-load` being passed. The issue was still open when I wrote this, so if you download fresh scripts, check it first. If it's still open, you'll need the fix again.

After that rebuild everything came back: the card idling in P8 on 580.178.04, the preinit log matching 6.12.113, every app running, and Plex seeing the GPU. The alert never fired, because I rebuilt before it had the chance. That's how I'd like it to go every time.

## Rolling back to stock

If you give up on this, uninstall from the persist directory and reboot:

```console
$ sudo /mnt/tank/.config/nvidia-gpu/scripts/uninstall-nvidia-driver.sh

```

Remove the GPU from the Plex app first. If the app still asks for a GPU that has no driver, it may refuse to deploy.

## Would I do it again

Yes, but only because of the alert. The build is a recipe you follow once. The risk is the update six weeks later, when I've forgotten the card needs special treatment and every app on the NAS goes down at once. If I were starting over, I'd set up the check before I set up Plex.