Plex HTPC Arch package

UPDATE

There was a typo in the source in the PKGBUILD (so the download would give a 404). That’s fixed now.

Also, HW decoding works now (tested on intel with vaapi-egl). Most likely it will work fine on nvidia and AMD as long as you have the right drivers for your system.

For HW decoding you need the libva package and the corresponding driver for your GPU

  • intel-media-driver: backend for Intel GPUs (>= Broadwell)
  • libva-vdpau-driver: backend for Nvidia and AMD GPUs
  • libva-intel-driver: backend for Intel GPUs (<= Haswell)

and run the app with the QT_XCB_GL_INTEGRATION=xcb_egl en var as detailed here. (Only X11 so far. for wayland support I believe we need to be able to set MPVs output to GPU (vo=gpu) so that we can use the right gpu-context.

For nvidia GPUs, since we’re not using the bundled version of mpv, you can also set hwdec=nvdec-copy in ~/.local/share/plex/mpv.conf to use nvdec. (This also works for prime render offloading e.g. prime-run)

2 Likes