passthrough graphics card to virtualbox
This feature is not yet supported in Virtualbox.
Your only alternative virtualization software that supports this that I am aware of are Qemu and Xen and possibly VMWare. Most success tales of passing through GPUs to virtual machines come from either Qemu or Xen so I would suggest you turn towards that until Virtualbox supports this.
There is a blog devoted to the subject(that is their 2015 tutorial on how to do this with qemu as a focus) which you may want to look into.
Keep in mind that VGA Passthrough is still very experimental technology and it requires Motherboard/CPU combinations that support very specific features, and usually it also requires a custom kernel configuration to actually be able to access these features from within Linux (to be able to use them in the virtual machine).
In light of this, please try not to overcommit. You are very likely to run into bugs or issues that can render either your physical or virtual system unstable or in some ways inoperable while using VGA Passthrough. Don't expect it to work completely, nor easily. You need luck for that to really happen.