HOWTO: Keylase Nvidia Patch

The following is when I run it manually.

root@truenas[]# ./patch.sh 
Already up to date.
mount: /usr: cannot remount sysext read-write, is write-protected.
       dmesg(1) may have more information after failed mount system call.

I don’t see any logs from the post-init script, but I’m assuming it’s running into the same issue.

You have it working without do anything with the unmerge/merge that was mentioned a few comments up? The way I’m actually testing it is opening my tdarr docker container that has ffmpeg and running 9 dummy encodes, and when it fails on that 9th on I know it didn’t work. Let me know if I should be testing it differently though lol.

ffmpeg -y -vsync 0 -hwaccel cuda -hwaccel_output_format cuda \
      -f lavfi -i testsrc -t 50 \
      -vf hwupload -c:a copy -c:v h264_nvenc -b:v 1M -f null - \
      -vf hwupload -c:a copy -c:v h264_nvenc -b:v 2M -f null - \
      -vf hwupload -c:a copy -c:v h264_nvenc -b:v 3M -f null - \
      -vf hwupload -c:a copy -c:v h264_nvenc -b:v 4M -f null - \
      -vf hwupload -c:a copy -c:v h264_nvenc -b:v 5M -f null - \
      -vf hwupload -c:a copy -c:v h264_nvenc -b:v 6M -f null - \
      -vf hwupload -c:a copy -c:v h264_nvenc -b:v 7M -f null - \
      -vf hwupload -c:a copy -c:v h264_nvenc -b:v 8M -f null - \
      -vf hwupload -c:a copy -c:v h264_nvenc -b:v 9M -f null -

[h264_nvenc @ 0x5575163385c0] OpenEncodeSessionEx failed: incompatible client key (21): (no details)
[vost#8:0/h264_nvenc @ 0x5575163382c0] Error initializing output stream: Error while opening encoder for output stream #8:0 - maybe incorrect parameters such as bit_rate, rate, width or height

I’ll have to take a look. It’s working on my box, but I upgraded all the way back from Cobia and the releases between EE.