Skip to content
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

vaapi broken in 16.09 with kodi #19480

Closed
cpages opened this issue Oct 12, 2016 · 2 comments
Closed

vaapi broken in 16.09 with kodi #19480

cpages opened this issue Oct 12, 2016 · 2 comments
Labels
0.kind: bug Something is broken 3.skill: good-first-bug This seems like it's fixable by a non-expert 9.needs: package (update) This needs a package to be updated 9.needs: reporter feedback This issue needs the person who filed it to respond

Comments

@cpages
Copy link
Contributor

cpages commented Oct 12, 2016

Vaapi seems to be broken in 16.09.741.354fd37, at least used from kodi and mpv. However, vainfo from libva seems to show no issues. Here's the output, fwiw:

libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /run/opengl-driver/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.39 (libva 1.7.0)
vainfo: Driver version: Intel i965 driver for Intel(R) CherryView - 1.7.0
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Simple            : VAEntrypointEncSlice
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointEncSlice
      VAProfileH264High               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointEncSlice
      VAProfileH264MultiviewHigh      : VAEntrypointVLD
      VAProfileH264MultiviewHigh      : VAEntrypointEncSlice
      VAProfileH264StereoHigh         : VAEntrypointVLD
      VAProfileH264StereoHigh         : VAEntrypointEncSlice
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD
      VAProfileNone                   : VAEntrypointVideoProc
      VAProfileJPEGBaseline           : VAEntrypointVLD
      VAProfileJPEGBaseline           : VAEntrypointEncPicture
      VAProfileVP8Version0_3          : VAEntrypointVLD
      VAProfileVP8Version0_3          : VAEntrypointEncSlice
      VAProfileHEVCMain               : VAEntrypointVLD

This is on an atom based N3000 pc, where it used to work before (checking old kodi logs), but now it's only telling me this:

12:18:29 T:140029070399232   DEBUG: VAAPI - open decoder
12:18:29 T:140029070399232   ERROR: VAAPI::CheckSuccess error: unknown libva error
12:18:29 T:140029070399232  NOTICE: VAAPI::Close

Trying to run mpv with --hwdec=vaapi, it tells me it's using software decoder. Strill have to check if I can get more info on why it's failing.

Any hints on what could I check?

@NeQuissimus NeQuissimus added 0.kind: bug Something is broken 9.needs: reporter feedback This issue needs the person who filed it to respond 3.skill: good-first-bug This seems like it's fixable by a non-expert 9.needs: package (update) This needs a package to be updated labels Oct 12, 2016
@cpages cpages changed the title vaapi broken in 16.09 with kodi, mpv vaapi broken in 16.09 with kodi Oct 12, 2016
@cpages
Copy link
Contributor Author

cpages commented Oct 12, 2016

Damn, mpv vaapi support is not built by default. Updated info as it works ok when enabled.

@cpages
Copy link
Contributor Author

cpages commented Oct 12, 2016

libva is in buildinputs, but from http://hydra.nixos.org/build/41894624/log/raw:

checking for LIBVA... no
== Could not find libva. VAAPI support disabled. ==

@cpages cpages closed this as completed in d037837 Oct 13, 2016
cpages added a commit that referenced this issue Oct 13, 2016
Fixes #19480 (vaapi support)

(cherry picked from commit d037837)
adrianpk added a commit to adrianpk/nixpkgs that referenced this issue May 31, 2024
Fixes NixOS#19480 (vaapi support)

(cherry picked from commit d037837)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken 3.skill: good-first-bug This seems like it's fixable by a non-expert 9.needs: package (update) This needs a package to be updated 9.needs: reporter feedback This issue needs the person who filed it to respond
Projects
None yet
Development

No branches or pull requests

2 participants