Dma-buf local display

Charles Frey cfrey at elv.telecom-lille.fr
Tue May 15 15:24:16 UTC 2018


After some time trying with drmModeAddFB2WithModifiers() I still can't display dmabufs on my screen, the error code is the same. 

I double checked arguments to no avail and tried displaying dumb buffers created with drmIoctl and have no problem doing so. 
Maybe is there something I missed ? Shouldn't I be able to create the framebuffers without specifying a fourcc code ? 



De: "Zhang, Tina" <tina.zhang at intel.com> 
À: "Charles Frey" <cfrey at elv.telecom-lille.fr>, intel-gvt-dev at lists.freedesktop.org 
Envoyé: Jeudi 10 Mai 2018 05:18:19 
Objet: RE: Dma-buf local display 



You need to use “drmModeAddFB2WithModifiers()” instead of “drmModeAddFB()” in case your framebuffer needs to use fourcc codes as pixel format specifiers. 

Thanks. 



BR, 

Tina 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gvt-dev/attachments/20180515/1356d0c1/attachment.html>


More information about the intel-gvt-dev mailing list