Virtualbox and VA-API

This is for discussing general topics about how to use VirtualBox.
Post Reply
simonprewo
Posts: 1
Joined: 14. Aug 2016, 21:55

Virtualbox and VA-API

Post by simonprewo »

Hello together,

I am trying to get VA-API to run in a virtual box... I do not need the perfomance - the libarary is just needed by some of my tools.

Output of vainfo

Code: Select all

app@app-VirtualBox:~$ vainfo
libva info: VA-API version 0.35.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/vboxvideo_drv_video.so
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit
I have the following configuration:
Host: Windows 9 (64 Bit), Graphic Card NVIDIA Quadrio K2100M
Guest: Ubuntu 16.4 (64 Bit), 3D-Acceleration enabled (in preferences)

My question are:
  • Do I need to install any graphic driver on the VM?
  • Does the VM uses the graphic card or emulates it on the CPU?
  • How do I get this to work?
Thanks a lot for any help
Simon
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Virtualbox and VA-API

Post by socratis »

I really hope that VA-API stands for "Video Acceleration API", otherwise I'm in the wrong...
simonprewo wrote:Do I need to install any graphic driver on the VM?
You can't. I believe that the newest drivers are the ones that come with a newer VirtualBox version.
simonprewo wrote:Does the VM uses the graphic card or emulates it on the CPU?
It emulates it on the CPU.
simonprewo wrote:How do I get this to work?
No clue. Is there maybe a VB-API stub library?
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
vijpatel
Posts: 2
Joined: 26. Feb 2024, 07:33

Re: Virtualbox and VA-API

Post by vijpatel »

Is there any update? Like can we use VA-API in virtualbox with any special drivers or setup?
Post Reply