Intel Quciksync Passthrough Help

Thank for taking the time to read this. I am new to LXC, but so far I am really enjoying it the control and the ability to layer profiles. But I am struggling in getting quicksync to work inside the container. I can see the device, but am getting the error below with everything I try. Attached is my config, I look forward to learning more.

Failed to initialize PMU! (Permission denied)

╰─ lxc config show arch-test ─╯
architecture: x86_64
config:
image.architecture: x86_64
image.description: Arch Linux
image.name: archlinux–x86_64-default-20210724_0050
image.os: archlinux
image.serial: “20210724_0050”
image.variant: default
raw.lxc: |-
lxc.cgroup.devices.allow = c 226:* rwm
lxc.mount.entry = /dev/dri/card0 dev/dri/card0 none bind,optional,create=file
lxc.mount.entry = /dev/dri/RenderD126 dev/RenderD126 none bind,optional,create=file
volatile.base_image: f16f09a5fca2e274a3f79d7eae08b3557423e48d807edbf1a82745b195e5a6ac
volatile.eth0.host_name: macd6615669
volatile.eth0.hwaddr: 00:16:3e:fe:a0:6e
volatile.eth0.last_state.created: “true”
volatile.eth0.name: eth0
volatile.idmap.base: “0”
volatile.idmap.current: ‘[{“Isuid”:true,“Isgid”:false,“Hostid”:100000,“Nsid”:0,“Maprange”:65536},{“Isuid”:false,“Isgid”:true,“Hostid”:100000,“Nsid”:0,“Maprange”:65536}]’
volatile.idmap.next: ‘[{“Isuid”:true,“Isgid”:false,“Hostid”:100000,“Nsid”:0,“Maprange”:65536},{“Isuid”:false,“Isgid”:true,“Hostid”:100000,“Nsid”:0,“Maprange”:65536}]’
volatile.last_state.idmap: ‘[{“Isuid”:true,“Isgid”:false,“Hostid”:100000,“Nsid”:0,“Maprange”:65536},{“Isuid”:false,“Isgid”:true,“Hostid”:100000,“Nsid”:0,“Maprange”:65536}]’
volatile.last_state.power: RUNNING
volatile.uuid: 84e7da29-daa2-4eb0-b503-4fd87cf2291b
devices: {}
ephemeral: false
profiles:

  • gpu_passthrough
  • media_mount
  • default
  • server_macvlan
    stateful: false
    description: “”

Are your qemu cpu settings for the Plex VM set to an Intel version that supports Quicksync?