Lines 15-55
Link Here
|
15 |
|
15 |
|
16 |
@@@ INTEL GPU OFFLOAD NOTES @@@ |
16 |
@@@ INTEL GPU OFFLOAD NOTES @@@ |
17 |
|
17 |
|
18 |
If you have a supported Intel GPU, you can leverage hardware |
18 |
This feature was removed in version 1.32.2.7002 |
19 |
accelerated encoding/decoding in Plex Media Server on FreeBSD 12.0+. |
|
|
20 |
|
21 |
The requirements are as follows: |
22 |
|
23 |
* Install multimedia/drm-kmod: e.g., pkg install drm-fbsd12.0-kmod |
24 |
|
25 |
* Enable loading of kernel module on boot: sysrc kld_list+="i915kms" |
26 |
** If Plex will run in a jail, you must load the module outside the jail! |
27 |
|
28 |
* Load the kernel module now (although reboot is advised): kldload i915kms |
29 |
|
30 |
* Add plex user to the video group: pw groupmod -n video -m plex |
31 |
|
32 |
* For jails, make a devfs ruleset to expose /dev/dri/* devices. |
33 |
|
34 |
e.g., /dev/devfs.rules on the host: |
35 |
|
36 |
[plex_drm=10] |
37 |
add include $devfsrules_hide_all |
38 |
add include $devfsrules_unhide_basic |
39 |
add include $devfsrules_unhide_login |
40 |
add include $devfsrules_jail |
41 |
add path 'dri*' unhide |
42 |
add path 'dri/*' unhide |
43 |
add path 'drm*' unhide |
44 |
add path 'drm/*' unhide |
45 |
|
46 |
* Enable the devfs ruleset for your jail. e.g., devfs_ruleset=10 in your |
47 |
/etc/jail.conf or for iocage, iocage set devfs_ruleset="10" |
48 |
|
49 |
Please refer to documentation for all other FreeBSD jail management |
50 |
utilities. |
51 |
|
52 |
* Make sure hardware transcoding is enabled in the server settings |
53 |
|
19 |
|
54 |
@@@ INTEL GPU OFFLOAD NOTES @@@ |
20 |
@@@ INTEL GPU OFFLOAD NOTES @@@ |
55 |
EOM |
21 |
EOM |