VA-API - iHD | invalid VAContextID | XPS 13 7390

Help with issues regarding installation of Debian

VA-API - iHD | invalid VAContextID | XPS 13 7390

Postby Latrina » 2019-10-26 11:37

Hello everyone,
I recently bought this new Dell XPS 7390 and I am running Debian Buster on it, with kernel 5.2.0-0.bpo.3-amd64. It all works fine aside from HW acceleration, resulting in lags when reproducing video on YouTube etc,

I tried both intel-media-va-driver-non-free as well as intel-media-va-driver/stable with pretty much the same result.

Code: Select all
psammarco@dell:~$ vainfo
libva info: VA-API version 1.4.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'iHD'
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_4
libva error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
libva info: va_openDriver() returns 5
vaInitialize failed with error code 5 (invalid VAContextID),exit
psammarco@dell:~$


On Chrome in chrome://gpu I have the following settings:

Code: Select all
Graphics Feature Status
Canvas: Hardware accelerated
Flash: Hardware accelerated
Flash Stage3D: Hardware accelerated
Flash Stage3D Baseline profile: Hardware accelerated
Compositing: Hardware accelerated
Multiple Raster Threads: Enabled
Out-of-process Rasterization: Hardware accelerated
Hardware Protected Video Decode: Hardware accelerated
Rasterization: Hardware accelerated
Skia Renderer: Enabled
Video Decode: Hardware accelerated
Viz Display Compositor: Enabled
Viz Hit-test Surface Layer: Enabled
WebGL: Hardware accelerated
WebGL2: Hardware accelerated


Few information regarding the GPU here:

Code: Select all
psammarco@dell:~$ sudo lshw |grep -i display -A12
        *-display           
             description: VGA compatible controller
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 2
             bus info: pci@0000:00:02.0
             logical name: /dev/fb0
             version: 02
             width: 64 bits
             clock: 33MHz
             capabilities: pciexpress msi pm vga_controller bus_master cap_list rom fb
             configuration: depth=32 driver=i915 latency=0 mode=1920x1080 visual=truecolor xres=1920 yres=1080
             resources: iomemory:600-5ff iomemory:400-3ff irq:149 memory:604a000000-604affffff memory:4000000000-400fffffff ioport:3000(size=64) memory:c0000-dffff


Code: Select all
psammarco@dell:~$ inxi -G
Graphics:  Device-1: Intel driver: i915 v: kernel
           Display: wayland server: X.Org 1.20.4 driver: i915 resolution: 1920x1080~60Hz
           OpenGL: renderer: llvmpipe (LLVM 7.0 256 bits) v: 3.3 Mesa 18.3.6
psammarco@dell:~$


Anyone knows what I am doing wrong?

Thanks
Latrina
 
Posts: 3
Joined: 2019-10-26 11:09

Re: VA-API - iHD | invalid VAContextID | XPS 13 7390

Postby Head_on_a_Stick » 2019-10-26 18:05

You probably need newer Mesa packages but they aren't in buster-backports yet. I think stevepusser has them in a buster-compatible repository though.
Don't break DebianHow to report bugs

SharpBang GNU/Linux — a pre-configured Openbox/Tint2 desktop running on Debian stable
User avatar
Head_on_a_Stick
 
Posts: 10613
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: VA-API - iHD | invalid VAContextID | XPS 13 7390

Postby Latrina » 2019-10-26 20:18

Head_on_a_Stick wrote:You probably need newer Mesa packages but they aren't in buster-backports yet. I think stevepusser has them in a buster-compatible repository though.


Wow that did it... I upgraded the following packages from buster to sid:
Code: Select all
libegl-mesa0/unstable
libegl1-mesa/unstable
libgl1-mesa-dev/unstable
libgl1-mesa-dri/unstable
libgl1-mesa-glx/unstable
libglapi-mesa/unstable
libglx-mesa0/unstable
mesa-common-dev/unstable
mesa-va-drivers/unstable
mesa-vdpau-drivers/unstable
libopengl0/unstable
libva2/unstable
vainfo/unstable
intel-media-va-driver/unstable


And now videoplayback on Chrome is butter smooth
Code: Select all
psammarco@dell:~$ vainfo
libva info: VA-API version 1.5.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'iHD'
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_5
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.5 (libva 2.5.0)
vainfo: Driver version: Intel iHD driver - 1.0.0
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :   VAEntrypointVLD
      VAProfileMPEG2Main              :   VAEntrypointVLD
      VAProfileH264Main               :   VAEntrypointVLD
      VAProfileH264Main               :   VAEntrypointEncSliceLP
      VAProfileH264High               :   VAEntrypointVLD
      VAProfileH264High               :   VAEntrypointEncSliceLP
      VAProfileJPEGBaseline           :   VAEntrypointVLD
      VAProfileJPEGBaseline           :   VAEntrypointEncPicture
      VAProfileH264ConstrainedBaseline:   VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:   VAEntrypointEncSliceLP
      VAProfileVP8Version0_3          :   VAEntrypointVLD
      VAProfileHEVCMain               :   VAEntrypointVLD
      VAProfileHEVCMain10             :   VAEntrypointVLD
      VAProfileVP9Profile0            :   VAEntrypointVLD
      VAProfileVP9Profile2            :   VAEntrypointVLD
psammarco@dell:~$


Thank you so much for the hint :)
Latrina
 
Posts: 3
Joined: 2019-10-26 11:09

Re: VA-API - iHD | invalid VAContextID | XPS 13 7390

Postby Head_on_a_Stick » 2019-10-27 10:54

Latrina wrote:I upgraded the following packages from buster to sid

Did you rebuild the sid source in your buster system? If not were any other dependencies pulled in?

Using sid packages in Debian stable is generally considered a Bad Idea, see the first link in my signature for more on this.
Don't break DebianHow to report bugs

SharpBang GNU/Linux — a pre-configured Openbox/Tint2 desktop running on Debian stable
User avatar
Head_on_a_Stick
 
Posts: 10613
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: VA-API - iHD | invalid VAContextID | XPS 13 7390

Postby Latrina » 2019-10-27 15:36

Head_on_a_Stick wrote:
Latrina wrote:I upgraded the following packages from buster to sid

Did you rebuild the sid source in your buster system? If not were any other dependencies pulled in?

Using sid packages in Debian stable is generally considered a Bad Idea, see the first link in my signature for more on this.


Uhm nope I did not rebuild them. I literally just pulled them off of the sid repo, and removed the sid repo once done with it. How would I want to rebuild a sid package for stable? I am a new debian user, sorry for the noob question.
Latrina
 
Posts: 3
Joined: 2019-10-26 11:09

Re: VA-API - iHD | invalid VAContextID | XPS 13 7390

Postby Head_on_a_Stick » 2019-10-28 17:53

Latrina wrote:How would I want to rebuild a sid package for stable?

https://wiki.debian.org/SimpleBackportCreation

Or check stevepusser's most excellent backporting guide in the HowTo section.
Don't break DebianHow to report bugs

SharpBang GNU/Linux — a pre-configured Openbox/Tint2 desktop running on Debian stable
User avatar
Head_on_a_Stick
 
Posts: 10613
Joined: 2014-06-01 17:46
Location: /dev/chair


Return to Installation

Who is online

Users browsing this forum: No registered users and 2 guests

fashionable