Some hacks around using NVIDIA GPU for Emby Container with QNAP
Make sure you have NVIDIA driver installed already
find /share/ -name "NVIDIA_GPU_DRV"
{ | |
"id": "000552d3-5320-5e42-1830-d8cb8ac3e5bf::1743131424510436799", | |
"uuid": "000552d3-5320-5e42-1830-d8cb8ac3e5bf", | |
"cluster_incarnation_id": 1498442469760578, | |
"cluster_uuid": "000552d3-5320-5e42-1830-d8cb8ac3e5bf", | |
"name": "CE-Lab", | |
"cluster_external_ipaddress": null, | |
"cluster_external_data_services_ipaddress": null, | |
"timezone": "Australia/Melbourne", | |
"support_verbosity_type": "BASIC_COREDUMP", |
#!/bin/bash | |
# download and run the SaltStack bootstrap installer | |
curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com | |
sh bootstrap-salt.sh git develop | |
# stop the salt-minion service in preparation for reconfiguration | |
systemctl stop salt-minion | |
# create the required directory for Salt state files to live |
# substitute the template variables for actual cluster data | |
template = source_html.safe_substitute( | |
day=day, | |
now=time, | |
name=name, | |
username=getpass.getuser(), | |
cluster_name=str(cluster_in["name"]), | |
cluster_ip=str(cluster_in["clusterExternalIPAddress"]) if cluster_in["clusterExternalIPAddress"] else "Not set", | |
nodes=str(cluster_in["numNodes"]), | |
nos=str(cluster_in["version"]), |