# Plex HTPC Arch package

**URL:** <https://forums.plex.tv/t/plex-htpc-arch-package/777227>\
**Category:** Plex Players\
**Tags:** plex-htpc\
**Created:** [February 19, 2022, 3:20pm UTC](https://forums.plex.tv/t/plex-htpc-arch-package/777227 "2022-02-19T15:20:37Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![LudvigH](https://avatars.discourse-cdn.com/v4/letter/l/c68b51/32.png) [@LudvigH](https://forums.plex.tv/u/LudvigH)\
**Post date:** [February 19, 2022, 6:00pm UTC](https://forums.plex.tv/t/plex-htpc-arch-package/777227/2 "2022-02-19T18:00:04Z")

</div>

**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](https://forums.plex.tv/t/testing-linux-egl/776726). (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)

---

_[View the full topic](https://forums.plex.tv/t/plex-htpc-arch-package/777227)._
