Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Script does not setup the Hardware Transcode on Truenas 12.2 #16

Open
Ap0ph1s-W4ite opened this issue Mar 9, 2022 · 0 comments
Open

Comments

@Ap0ph1s-W4ite
Copy link

Ap0ph1s-W4ite commented Mar 9, 2022

I receveid the message that the script was made for Truenas 12.0 but there is any way to active the hardware transcode for plex jail?
I have made a install of Plex in a Jail v12.0 and followed the following links but all without success. The Jail cannot be stooped after do this.

LINKS:
https://www.truenas.com/community/threads/activating-plex-hardware-acceleration-on-truenas-12-core.88029/
https://www.truenas.com/community/threads/issues-with-plex-danb35-truenas-12-0-and-12-2-release.89095/

Any way to do this at this moment?

EDIT: Did the following steps after install plex:

`@@@ INTEL GPU OFFLOAD NOTES @@@

If you have a supported Intel GPU, you can leverage hardware
accelerated encoding/decoding in Plex Media Server on FreeBSD 12.0+.

The requirements are as follows:

* Install multimedia/drm-kmod: e.g., pkg install drm-fbsd12.0-kmod

* Enable loading of kernel module on boot: sysrc kld_list+="i915kms"
** If Plex will run in a jail, you must load the module outside the jail!

* Load the kernel module now (although reboot is advised): kldload i915kms

* Add plex user to the video group: pw groupmod -n video -m plex

* For jails, make a devfs ruleset to expose /dev/dri/* devices.

e.g., /dev/devfs.rules on the host:

[plex_drm=10]
add include $devfsrules_hide_all
add include $devfsrules_unhide_basic
add include $devfsrules_unhide_login
add include $devfsrules_jail
add path 'dri*' unhide
add path 'dri/*' unhide
add path 'drm*' unhide
add path 'drm/*' unhide

* Enable the devfs ruleset for your jail. e.g., devfs_ruleset=10 in your
/etc/jail.conf or for iocage, iocage set devfs_ruleset="10"

Please refer to documentation for all other FreeBSD jail management
utilities.

* Make sure hardware transcoding is enabled in the server settings

@@@ INTEL GPU OFFLOAD NOTES @@@`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant