Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Nice one! Added instructions for this in the article as well."Transcode Drivers for x25" package, with HDR Tone Mapping, is available on my Community Package Repository (for DSM 7.2.2 and DSM 7.3).
View attachment 34264
Go to "Package Center > Settings > Package Sources > Add" and add:
Name: 007revadLocation: https://spkrepo.007daver.workers.dev/View attachment 34265
Hello, I couldn't get the first line of the script to work. Looking at the directory structure, I noticed that the folder is called "TranscodeDrivers" and not "Transcode-drivers". Using "TranscodeDrivers" works. However, what does this offer compared to the script we've been using for the past few months (which we could run at startup with the task scheduler)?During installation the wizard ui shows this:
View attachment 34266
Clicking on the "Set package permissions" link takes you to a page that has steps for setting the required permissions via SSH or via Task Scheduler. See Transcode_for_x25/set_package_permissions.md at main · 007revad/Transcode_for_x25
The nice thing about installing the driver modules via a package is it manages the loading and unloading automatically.
When you start the package it:
When you stop the package it:
- Unloads the default i915 drivers.
- Loads the good i915 drivers.
- Unloads the good i915 drivers.
- Loads the default i915 drivers.
Loading good modules:
Loaded /volume1/script/Transcode_for_x25-3.0.11/x25_drivers_v3_dsm73/i2c-algo-bit.ko
insmod: ERROR: could not insert module /volume1/script/Transcode_for_x25-3.0.11/x25_drivers_v3_dsm73/drm_panel_orientation_quirks.ko: File exists
ERROR Failed to load /volume1/script/Transcode_for_x25-3.0.11/x25_drivers_v3_dsm73/drm_panel_orientation_quirks.ko
insmod: ERROR: could not insert module /volume1/script/Transcode_for_x25-3.0.11/x25_drivers_v3_dsm73/dmabuf.ko: File exists
ERROR Failed to load /volume1/script/Transcode_for_x25-3.0.11/x25_drivers_v3_dsm73/dmabuf.ko
insmod: ERROR: could not insert module /volume1/script/Transcode_for_x25-3.0.11/x25_drivers_v3_dsm73/drm.ko: File exists
ERROR Failed to load /volume1/script/Transcode_for_x25-3.0.11/x25_drivers_v3_dsm73/drm.ko
insmod: ERROR: could not insert module /volume1/script/Transcode_for_x25-3.0.11/x25_drivers_v3_dsm73/drm_kms_helper.ko: File exists
ERROR Failed to load /volume1/script/Transcode_for_x25-3.0.11/x25_drivers_v3_dsm73/drm_kms_helper.ko
insmod: ERROR: could not insert module /volume1/script/Transcode_for_x25-3.0.11/x25_drivers_v3_dsm73/drm_display_helper.ko: File exists
ERROR Failed to load /volume1/script/Transcode_for_x25-3.0.11/x25_drivers_v3_dsm73/drm_display_helper.ko
insmod: ERROR: could not insert module /volume1/script/Transcode_for_x25-3.0.11/x25_drivers_v3_dsm73/drm_buddy.ko: File exists
ERROR Failed to load /volume1/script/Transcode_for_x25-3.0.11/x25_drivers_v3_dsm73/drm_buddy.ko
insmod: ERROR: could not insert module /volume1/script/Transcode_for_x25-3.0.11/x25_drivers_v3_dsm73/ttm.ko: File exists
ERROR Failed to load /volume1/script/Transcode_for_x25-3.0.11/x25_drivers_v3_dsm73/ttm.ko
insmod: ERROR: could not insert module /volume1/script/Transcode_for_x25-3.0.11/x25_drivers_v3_dsm73/intel-gtt.ko: File exists
ERROR Failed to load /volume1/script/Transcode_for_x25-3.0.11/x25_drivers_v3_dsm73/intel-gtt.ko
insmod: ERROR: could not insert module /volume1/script/Transcode_for_x25-3.0.11/x25_drivers_v3_dsm73/i915-compat.ko: File exists
ERROR Failed to load /volume1/script/Transcode_for_x25-3.0.11/x25_drivers_v3_dsm73/i915-compat.ko
Loaded /volume1/script/Transcode_for_x25-3.0.11/x25_drivers_v3_dsm73/i915.ko
Finished
ls -la /dev/dri/
Dave@SENNA:~$ ls -la /dev/dri/
total 0
drwxr-xr-x 2 root root 80 May 1 23:00 .
drwxr-xr-x 19 root root 14860 May 1 23:02 ..
crw------- 1 root root 226, 0 May 1 23:00 card0
crw-rw---- 1 root videodriver 226, 128 May 1 23:00 renderD128
Thanks for pointing me in the right direction and the driver indeed loaded correctly. It turns out I have to use a yaml to build the Tdarr container and map the /dev/drv to it before it can see the GPU. It's working flawlessly now but the compression is nowhere near as good as the CPU.Those errors are just noise (false errors) because those modules were already loaded. The fact that i915.ko loaded without any error means all the other modules were loaded.
If you run this in a scheduled task, or via SSH,and the output includes renderD128 and card0 then the drives are loaded correctly.Bash:ls -la /dev/dri/
Bash:Dave@SENNA:~$ ls -la /dev/dri/ total 0 drwxr-xr-x 2 root root 80 May 1 23:00 . drwxr-xr-x 19 root root 14860 May 1 23:02 .. crw------- 1 root root 226, 0 May 1 23:00 card0 crw-rw---- 1 root videodriver 226, 128 May 1 23:00 renderD128
Which would mean that maybe you don't have hardware assisted transcoding enabled in Plex (or Jellyfin).
We use essential cookies to make this site work, and optional cookies to enhance your experience.