Re-cap. I have been following this
Guide and bought hardware that 'worked' for HW transcode and installed Truenas 12.0 on system 1 (as per signature). I have used
@danb35 script to setup the Plex jail with hardware transcode being setup manually as per the guide. As per message 311, igpu is visable in the jail with relevant output folders. So I thought I was good to go.
I had some networking issues which I raised in this
thread which
@Redcoat helped to initially solve. And then odd instability behaviour with Plex / all jails in this
thread with starting and stopping jails which
@HolyK solved with many hours of troubleshooting and TENACITY which I am most grateful for.
Now back to HW transcode:
-With HW transcode not enabled in plex, software transcode of videos worked and jail could be stopped and started
-With HW transcode enabled in plex, after a single short video (30 secs) transcoded, no other video can be transcoded or played - it just crashes. The jail wont stop (not even with force flag)
-- Errors from console
Code:
root@truenas[~]# iocage stop pms
* Stopping pms
+ Executing prestop OK
+ Stopping services FAILED
ERROR:
Please use --force flag to force stop jail
root@truenas[~]# iocage stop pms --force
* Stopping pms
+ Tearing down VNET OK
+ Removing devfs_ruleset: 1000 OK
+ Removing jail process FAILED:
umount: unmount of /mnt/tank/iocage/jails/pms/root/dev failed: Device busy
jail: ioc-pms: /sbin/
root@truenas[~]# lsof /mnt/tank/iocage/jails/pms/root/dev
lsof: WARNING: compiled for FreeBSD release 12.0-RELEASE; this is 12.2-RELEASE-p3.
lsof: no pwd entry for UID 972
lsof: no pwd entry for UID 972
lsof: no pwd entry for UID 972
lsof: no pwd entry for UID 972
lsof: no pwd entry for UID 972
lsof: no pwd entry for UID 972
lsof: no pwd entry for UID 972
lsof: no pwd entry for UID 972
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
lsof: no pwd entry for UID 972
Plex\x20M 6031 972 0u VCHR 0,49 0t0 49 /mnt/tank/iocage/jails/pms/root/dev (devfs) (like character special /dev/null)
lsof: no pwd entry for UID 972
Plex\x20M 6031 972 1u VCHR 0,49 0t0 49 /mnt/tank/iocage/jails/pms/root/dev (devfs) (like character special /dev/null)
lsof: no pwd entry for UID 972
Plex\x20M 6031 972 2u VCHR 0,49 0t0 49 /mnt/tank/iocage/jails/pms/root/dev (devfs) (like character special /dev/null)
lsof: no pwd entry for UID 972
Plex\x20M 6031 972 3r VCHR 0,5 0t0 5 /mnt/tank/iocage/jails/pms/root/dev (devfs) (like character special /dev/fd/2)
lsof: no pwd entry for UID 972
Plex\x20T 6085 972 0u VCHR 0,49 0t0 49 /mnt/tank/iocage/jails/pms/root/dev (devfs) (like character special /dev/null)
lsof: no pwd entry for UID 972
Plex\x20T 6085 972 1u VCHR 0,49 0t0 49 /mnt/tank/iocage/jails/pms/root/dev (devfs) (like character special /dev/null)
lsof: no pwd entry for UID 972
Plex\x20T 6085 972 2u VCHR 0,49 0t0 49 /mnt/tank/iocage/jails/pms/root/dev (devfs) (like character special /dev/null)
lsof: no pwd entry for UID 972
Plex\x20T 6085 972 3r VCHR 0,5 0t0 5 /mnt/tank/iocage/jails/pms/root/dev (devfs) (like character special /dev/fd/2)
root@truenas[~]#
Really hope I get support to solve this having come so far. Thanks in advance