also i ran ffmpeg -init_hw_device vaapi=foo:/dev/dri/renderD128
and it threw this error
No VA display found for device: /dev/dri/renderD128
hmmmmmmm
also i ran ffmpeg -init_hw_device vaapi=foo:/dev/dri/renderD128
and it threw this error
No VA display found for device: /dev/dri/renderD128
hmmmmmmm
looks like i’m missing /dev/dri/
Did you get this sorted? Similar discussion over here Plex in FreeNAS jail and vaapi Intel hardware acceleration support
Might be making some progress
yes and no…
yes: i loaded the modules,
no: I’m missing /dev/dri
I’m sorry this thread got lost for so long, I kept replying elsewhere and I was now searching for HWT+FreeBSD related posts and found this again.
Where you able to get this sorted?
![]()
No, I’m about up to where everyone else is. Basically ffmpeg can work, but not Plex. There was posts above that discuss it.
If you look into the other thread (or threads) many users have this working now, and I’ve posted some steps how to do it (I have it working inside a jail)
With that said, do you have plex in a Jail or host it self?
Regardless of it is a jail or not you always need:
drm-fbsd12.0-kmod
Add this to rc.conf:
kld_list="/boot/modules/i915kms.ko"
One of these:
libva-intel-driver-2.3.0_3 VAAPI legacy driver for Intel GMA 4500 (Gen4) or newer
libva-intel-media-driver-18.4.1 VAAPI driver for Intel HD 5000 (Gen8) or newer
Install only the one you need as having both seems to cause issues how the devices is then… well for the lack of a better term mapped in the system (tl;dr is that the correct device needs to be used in /dev/dri/renderD128 )
Now if this is a Jail, in the host you need to pass the dev paths to the jail, you can use devfs.rules for that, I.E.:
[devfsrules_jail=10]
..... Other Rules ....
add path 'dri*' unhide
add path 'dri/*' unhide
add path 'drm*' unhide
add path 'drm/*' unhide
This assumes the ruleset for the jail is “10” it can be anything you want though, just make sure it matches.
You might also need to adddevfs_load_rulesets="YES"to rc.conf
You also need to make sure the plex user belongs to the video group (in the jail or the host)
Thanks for the detailed solution. Great to see this functionality working on FreeBSD as well as Linux.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.