Installs the modules needed for Plex or Jellyfin hardware transcoding in DS425+ and DS225+ that Synology removed to save 20 cents per year.
Version 3 is available as a script or package.
Version 3 includes the HDR to SDR tone mapping bug fix.
When you start the package it:
- Unloads the default i915 drivers.
- Loads the good i915 drivers.
When you stop the package it:
- Unloads the good i915 drivers.
- Loads the default i915 drivers.
- Download the latest version .spk file from https://github.com/007revad/Transcode_for_x25/releases and save it to your Synology.
- In Package Center click on Manual Install.
- Browse to where you downloaded the .spk file.
- Select the .spk file and click Next.
- If you haven't installed the Transcode Drivers for x25 package before Package Center will warn that the package failed to install.
- It actuallly did install but will show Error in Package Center.
- Set the permissions that the package needs. <-- IMPORTANT
- You can now click Run to start the Transcode Drivers for x25 package.
The script automates the steps outlined by Luka Manestar on Blackvoid.club here: Unlocking plex HW transcoding on X25 Synology models
- Checks it is running as root.
- Checks it is running on a Synology model that needs it (synology_geminilakenk).
- Checks if there is a newer version of this script available.
- Creates a x25_drivers folder in the same folder as the script (if the folder does not already exist).
- Downloads x25_transcode_modules.zip from blackvoid and saves it in the x25_drivers folder (if the zip file does not already exist).
- Unzips the downloaded zip file (if the script downloaded the zip file).
- Unloads the default driver modules.
- Loads the working driver modules.
On subsequent runs steps 4, 5 and 6 would be skipped (because the x25_drivers folder and x25_transcode_modules.zip file already exist).
There are optional flags you can use when running the script:
Options:
-h, --help Show this help message
-v, --version Show the script version
-r, --restore Restore default modules
--autoupdate=AGE Auto update script (useful when script is scheduled)
AGE is how many days old a release must be before
auto-updating. AGE must be a number: 0 or greater
- Download the latest version Source code (zip) from https://github.com/007revad/Transcode_for_x25/releases
- Save the download zip file to a folder on the Synology.
- Unzip the zip file.
You need to schedule this script to run as root at boot. It needs to run every time the NAS boots up.
See How to schedule
Note: If you have scheduled the script to run as root at boot-up you don't need to run the script via SSH.
How to enable SSH and login to DSM via SSH
sudo -s /volume1/scripts/transcode_for_x25.shNote: Replace /volume1/scripts/ with the path to where the script is located.
If the script won't run check the following:
- Make sure you download the zip file and unzipped it to a folder on your Synology (not on your computer).
- If the path to the script contains any spaces you need to enclose the path/scriptname in double quotes:
sudo -s "/volume1/my scripts/transcode_for_x25.sh" - Make sure you unpacked the zip or rar file that you downloaded and are trying to run the transcode_for_x25.sh file.
- Set the script file as executable:
sudo chmod +x "/volume1/scripts/transcode_for_x25.sh"
Permissions instructions
Installing package
Package installed
Plex HW Transcoding working
Running script via SSH
Plex HW Transcoding working




