-
Notifications
You must be signed in to change notification settings - Fork 164
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
vainfo vaGetDriverNames error #356
Comments
suppose it is vainfo issue, should transfer to https://github.com/intel/libva-utils |
I believe I have the similar error. Cross-posting my old debug session.
|
reply #356 (comment) |
from this description , looks |
A work around is suggested here but would it not be better to fix this for real? |
Indeed, as I said in intel/libva#617 the rationale was completely misplaced. |
I have also been running into this issue, and I thought I'd post my debugging results here. First, this behavior occurs irrespective of (and is arguably easier to observe without) environment variables:
Second, this is definitely caused by the X11 display hook. The order of the display hooks in this array determines the order in which There are clearly no issues with the DRM display hook, meaning the Wayland and/or X11 display hooks'
This error message is only printed if
So the X11 display hook's Anyway, as the error message notes, While it is tempting to recompile I want to compare a few things with my laptop before I proceed. Will post an update soon. |
I already linked the relative PR, and I already commented that the libva rationale was wrong. As for firefox, of course recompiling system libraries doesn't affect the snap environment that ships their own. |
`Case 1: vainfo
Trying display: wayland
Trying display: x11
and failing detection:
libva error: vaGetDriverNames() failed with unknown libva error
Case 2: vainfo --display drm
All good when forcing to display drm.
Why is testing not done for drm in Case 1?
Should be:
Trying display: wayland
Trying display: x11
Trying display: drm
Case 1: vainfo
Trying display: wayland
Trying display: x11
libva info: VA-API version 1.21.0
libva error: vaGetDriverNames() failed with unknown libva error
libva info: User environment variable requested driver 'nvidia'
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_1_0
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.21 (libva 2.21.0.pre1)
vainfo: Driver version: VA-API NVDEC driver [direct backend]
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileH264Main : VAEntrypointVLD
VAProfileH264High : VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointVLD
VAProfileVP9Profile0 : VAEntrypointVLD
VAProfileHEVCMain10 : VAEntrypointVLD
VAProfileHEVCMain12 : VAEntrypointVLD
Case 2: vainfo --display drm
Trying display: drm
libva info: VA-API version 1.21.0
libva info: User environment variable requested driver 'nvidia'
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_1_0
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.21 (libva 2.21.0.pre1)
vainfo: Driver version: VA-API NVDEC driver [direct backend]
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileH264Main : VAEntrypointVLD
VAProfileH264High : VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointVLD
VAProfileVP9Profile0 : VAEntrypointVLD
VAProfileHEVCMain10 : VAEntrypointVLD
VAProfileHEVCMain12 : VAEntrypointVLD
`
The text was updated successfully, but these errors were encountered: