Chrome browser - video hardware acceleration (vdpau / va-api)

  • I have a old laptop with a NVIDIA GeForce G103M that I'm using for kodi. Using the Generic-legacy image, video playback is running smooth with low CPU usage.

    With chrome the dual core CPU has a high CPU usage for video playback and according to chrome://gpu the video decode is done by software.

    Does libva-vdpau-driver work with nvidia legacy driver? Will this work with chrome to enable va-api video decoding?

    regards

  • I tested installing vainfo executables, from arch package libva-utils to "~/.kodi/addons/browser.chrome/bin" and arch package libva-vdpau-driver to "~/.kodi/addons/browser.chrome/lib/dri" but that did not work to activate the vdpau->libva translation layer.

    The output of vainfo:

    Code
    # vainfo  
    Trying display: x11
    
    libva info: VA-API version 1.17.0
    libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
    vaInitialize failed with error code -1 (unknown libva error),exit

    Perhaps the libva-vdpau-driver files need to be installed to "/usr/lib/dri/"