How to disable efifb on ubuntu 18.04 LTS

Even if i set grub options to disable it, it still runs on background, preveting me to use my gtx 1070 for gpu passtrought, the screen just turns this static purple image.

My GRUB looks like this

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash amd_iommu=on nofb video=vesafb:off,vesa:off, efifb:off, noveaufb:off

Asus b350 prime plus
AMD Ryzen 5 1600
GTX 1070 as guest gpu
GT220 as host gpu
Latest bios/uefi
For vm im using omvf

Is GTX1070 your boot VGA, or not?

In my case (GTX 1080Ti boot VGA) I’m using

GRUB_CMDLINE_LINUX_DEFAULT="… earlymodules=vfio-pci video=efifb:off,vesafb:off gfxpayload=text …"

and for passthrough I’m using this patcher for VGA_BIOS

Which kernel driver is used after boot (GPU dedicated for passthrough)? lspci -kv

Probably best HowTo https://wiki.archlinux.org/index.php/PCI_passthrough_via_OVMF

Yes GTX1070 is the boot vga!