Hi, I am developing using qemu with virglrenderer on linux systems that do not support dmabufs or GBM. I have been successful making this work using glx and ignoring egl/dmabuf/gbm use in qemu. Unfortunately, there is currently no way to configure qemu to use opengl but disable egl/dmabuf/gbm. This use case could be handled with a straight-forward configure fix, but I am not sure what the preferred approach would be. Here are some options for example:
1) Check for gbm in configure, if it is unavailable disable ui/egl* since this egl implementation depends on gbm. 2) Check for gbm in configure, modify ui/egl* to work when gbm is missing. 3) Add disable-egl flag to configure, ignore gbm package when egl is disabled. For our use case, option 3 is the simplest, since we don't need either egl or gbm and gbm is only used with egl in qemu. We also encountered an additional issue with either gtk or qemu (I forget which) attempting to share glx and egl contexts. Naturally, we want to come up with a solution that is most generally useful, feedback is greatly appreciated. Cheers, -Joe Kniss