Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#818035: libva not working

286 views
Skip to first unread message

Jürgen Bausa

unread,
Apr 17, 2016, 2:40:03 PM4/17/16
to
> >
> > I get an error running vainfo on plain jessie.
>
> So what was the error?

Now I reinstalled plain jessie packages. This is the error I get (now I am
running backport kernel 4.4. When initially reporting the bug it was 4.3):


jba@lisa:~$ vainfo
libva info: VA-API version 0.36.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_36
libva error: /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so init failed
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit

>
> > Therefore I made backports of libva from
> > testing and installed them, but it still doesnt work. I only get a
> > different error message.>
> Did you also backport intel-vaapi-driver?

Yes.

Regards,

Juergen

Sebastian Ramacher

unread,
Apr 17, 2016, 2:50:03 PM4/17/16
to
On 2016-04-17 20:35:13, Jürgen Bausa wrote:
> > >
> > > I get an error running vainfo on plain jessie.
> >
> > So what was the error?
>
> Now I reinstalled plain jessie packages. This is the error I get (now I am
> running backport kernel 4.4. When initially reporting the bug it was 4.3):
>
>
> jba@lisa:~$ vainfo
> libva info: VA-API version 0.36.0
> libva info: va_getDriverName() returns 0
> libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
> libva info: Found init function __vaDriverInit_0_36
> libva error: /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so init failed
> libva info: va_openDriver() returns -1
> vaInitialize failed with error code -1 (unknown libva error),exit

Do you get anything more if you run VA_INTEL_DEBUG=1 vainfo?

Regards
--
Sebastian Ramacher
signature.asc

Jürgen Bausa

unread,
Apr 18, 2016, 3:50:02 PM4/18/16
to
Am Sonntag, 17. April 2016, 20:45:36 schrieben Sie:
>
> Do you get anything more if you run VA_INTEL_DEBUG=1 vainfo?
>

No.

jba@lisa:~$ VA_INTEL_DEBUG=1 vainfo
libva info: VA-API version 0.36.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_36
g_intel_debug_option_flags:1
libva error: /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so init failed
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit

Juergen

Sebastian Ramacher

unread,
May 22, 2016, 12:00:03 PM5/22/16
to
On 2016-05-22 17:19:50, Jürgen Bausa wrote:
> Am Sonntag, 22. Mai 2016, 13:54:52 schrieb Sebastian Ramacher:
> >
> > 1.7.0 added a bunch of new Skylake IDs, so this issue might be fixed in
> > 1.7.0. I'm closing it for now. If that's not the case, please feel free to
> > reopen the bug report.
> >
> > Cheers
>
> No luck with version 1.7.0 (deb from stretch, installed on my jessie system
> without any problem)

Could you please try with a clean sid/stretch system? You may also need a newer
libdrm from sid and an updated X stack.

If it works with a sid/stretch system, i395-va-driver is probably missing some
versioned dependencies. If it's not working, this should be taken upstream.

Regards

>
>
> jba@lisa:/usr/src/vaapi$ apt-cache policy i965-va-driver
> i965-va-driver:
> Installiert: 1.7.0-1
> Installationskandidat: 1.7.0-1
> Versionstabelle:
> *** 1.7.0-1 0
> 100 /var/lib/dpkg/status
> 1.4.1-2 0
> 500 http://ftp.de.debian.org/debian/ jessie/main amd64 Packages
> jba@lisa:/usr/src/vaapi$ apt-cache policy libva1
> libva1:
> Installiert: 1.7.0-2
> Installationskandidat: 1.7.0-2
> Versionstabelle:
> *** 1.7.0-2 0
> 100 /var/lib/dpkg/status
> 1.4.1-1 0
> 500 http://ftp.de.debian.org/debian/ jessie/main amd64 Packages
> jba@lisa:/usr/src/vaapi$ VA_INTEL_DEBUG=1 vainfo
> libva info: VA-API version 0.39.0
> libva info: va_getDriverName() returns 0
> libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
> libva info: Found init function __vaDriverInit_0_39
> g_intel_debug_option_flags:1
> vainfo: intel_memman.c:39: intel_memman_init: Assertion `intel->bufmgr'
> failed.
> Abgebrochen
>
> I am running backports kernel 4.5 now.
>
> Regards,
>
> juergen

--
Sebastian Ramacher

Jürgen Bausa

unread,
May 23, 2016, 4:40:03 AM5/23/16
to
Am Sonntag, 22. Mai 2016, 17:46:28 schrieb Sebastian Ramacher:
> On 2016-05-22 17:19:50, Jürgen Bausa wrote:
> > Am Sonntag, 22. Mai 2016, 13:54:52 schrieb Sebastian Ramacher:
> > No luck with version 1.7.0 (deb from stretch, installed on my jessie
> > system
>
> Could you please try with a clean sid/stretch system? You may also need a
> newer libdrm from sid and an updated X stack.
>
> If it works with a sid/stretch system, i395-va-driver is probably missing
> some versioned dependencies. If it's not working, this should be taken
> upstream.
>

On clean stretch it works. So it must be some other packages as you already
suspected.

Wouldnt this be a reason to pull i965-va-driver and its dependencies from
stretch for the next jessie release, as the current package does not work?

Jürgen
0 new messages