Same problem here after updating to h6.0.3.3670. I found the cause and a fix.
What happened: The update moved the NVIDIA driver to 580.159.04. The kernel module and the GPU Driver app both match, so the driver itself is fine. But Container Station keeps its own NVIDIA library cache, and that cache still listed the old 575.64.05 files, which no longer exist. That’s what causes the libnvidia-tls.so.575.64.05: no such file or directory error in the first post. Rebooting, reinstalling the drivers and running NVIDIA_GPU_DRV.sh start all left that cache unchanged, so it has to be rebuilt by hand.
Fix: Run these over SSH as an administrator. I’m just a user, not QNAP, so use at your own risk.
1. Set the paths (this works whatever your pool is called):
NV=$(getcfg NVIDIA_GPU_DRV Install_Path -f /etc/config/qpkg.conf)
CS=$(getcfg container-station Install_Path -f /etc/config/qpkg.conf)
C="$CS/opt/nvidia/etc/ld.so.cache"
2. Check it’s the same problem:
cat /proc/driver/nvidia/version # should show 580.159.04
sudo grep -E '(root|ldcache) *=' "$CS/etc/nvidia-container-runtime/config.toml"
grep -c 575.64.05 "$C" # anything above 0 = stale cache
The config line should show root = "/" and an ldcache line pointing at that same ld.so.cache. If the kernel module isn’t 580.159.04, you have a different problem and this won’t help.
3. Back up and rebuild the cache:
sudo cp "$C" "$C.bak"
sudo /sbin/ldconfig -X -C "$C" "$NV/usr/nvidia"
grep -c 575.64.05 "$C"; grep -c 580.159.04 "$C" # want 0, then a number above 0
-C makes ldconfig write only to Container Station’s cache file, and -X stops it changing any symlinks, so nothing else on the system is touched.
4. Start your GPU containers from Container Station. You don’t need to restart Container Station itself. Mine came straight back up.
To undo, run sudo cp "$C.bak" "$C". A future driver or Container Station update may leave the cache stale again. If so, repeat step 3.
Credit to mjellybaby’s PaddlePaddle guide, which mentions this cache going stale after GPU driver updates. A reboot didn’t fix it for me, though: Getting GPU-Accelerated PaddlePaddle Working in Docker on QNAP NAS
For QNAP: The root cause is that Container Station’s NVIDIA ld.so.cache isn’t rebuilt when the GPU driver package is updated. Please make driver or Container Station updates regenerate it automatically.