Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Oct 2021 11:17:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        x11@FreeBSD.org
Subject:   [Bug 258947] multimedia/libva: va_openDriver() returns 2
Message-ID:  <bug-258947-7141-eZLiCM0FWH@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-258947-7141@https.bugs.freebsd.org/bugzilla/>
References:  <bug-258947-7141@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258947

--- Comment #6 from Dan Kotowski <dan.kotowski@a9development.com> ---
We can reject this bug.

In a moment of clarity, I realized and learned a few things:

1. I had not properly added the necessary users to the `video` group.

2. In order to use libva with DRM in a jail, not only must you expose the d=
rm
and dri devs to the jail, but also the pci device, like so:

```
add path 'dri*' unhide
add path 'dri/*' unhide
add path 'drm*' unhide
add path 'drm/*' unhide
add path 'pci' unhide
```

It seems this is to satisfy the `drm_get_pci_id_for_fd` method here:
https://github.com/mesa3d/mesa/blob/mesa-21.1.5/src/loader/loader.c#L388-L4=
07

I'll leave it to the rest of you to decide whether this 2nd point should be
added to libva or mesa-gallium-va's post-install messages. There's already
something there for Intel iGPUs, perhaps we should have something for PCI
DRM-based drivers too (eg amdgpu).

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-258947-7141-eZLiCM0FWH>