-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot use VAAPI on headless amdgpu devices #134
Comments
It's under I have no idea why that is the case, this was added in a really old commit and nothing that actually reads the value is ifdef'd, it's literally only the sysctl itself. Please do try removing the ifdef and using the functionality. |
With https://reviews.freebsd.org/D34248 + https://reviews.freebsd.org/D34252 + #146 it will work. |
Wonderful! Sorry for not trying the quick fix on my end, both $HOME and $WORK have been oversaturated with more important stuff, but glad to see we've gotten there anyways! |
amdgpu's virtual display feature uses pci_name() to match a module parameter string, and the documentation shows an example of `0000:26:00.0` for the name. In our case the name was just `drmn`, which is not actually unique across devices. The other consumers are wireless drivers, which will benefit from this change. Generate the expected string for pci_name() to return. Related to: freebsd/drm-kmod#134 Sponsored by: https://www.patreon.com/valpackett Reviewed by: bz, hselasky, manu (earlier) MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D34248
amdgpu's virtual display feature uses pci_name() to match a module parameter string, and the documentation shows an example of `0000:26:00.0` for the name. In our case the name was just `drmn`, which is not actually unique across devices. The other consumers are wireless drivers, which will benefit from this change. Generate the expected string for pci_name() to return. Related to: freebsd/drm-kmod#134 Sponsored by: https://www.patreon.com/valpackett Reviewed by: bz, hselasky, manu (earlier) MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D34248 (cherry picked from commit 393b0ba)
amdgpu's virtual display feature uses pci_name() to match a module parameter string, and the documentation shows an example of `0000:26:00.0` for the name. In our case the name was just `drmn`, which is not actually unique across devices. The other consumers are wireless drivers, which will benefit from this change. Generate the expected string for pci_name() to return. Related to: freebsd/drm-kmod#134 Sponsored by: https://www.patreon.com/valpackett Reviewed by: bz, hselasky, manu (earlier) Approved by: re (cperciva) Differential Revision: https://reviews.freebsd.org/D34248 (cherry picked from commit 393b0ba) (cherry picked from commit 30960c5)
amdgpu's virtual display feature uses pci_name() to match a module parameter string, and the documentation shows an example of `0000:26:00.0` for the name. In our case the name was just `drmn`, which is not actually unique across devices. The other consumers are wireless drivers, which will benefit from this change. Generate the expected string for pci_name() to return. Related to: freebsd/drm-kmod#134 Sponsored by: https://www.patreon.com/valpackett Reviewed by: bz, hselasky, manu (earlier) MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D34248
Describe the bug
VAAPI calls may never return if there's no display attached. This is at least true for the WX 2100.
There's an option in
amdgpu_drv.c
but I wasn't able to get it working.FreeBSD version
stable/13-n248443-c89c8b894cf GENERIC amd64
PCI Info
pciconf -lv
DRM KMOD version
To Reproduce
LIBVA_TRACE=1 LIBVA_DRIVER_NAME=radeonsi vainfo
The text was updated successfully, but these errors were encountered: