Re: [Mesa-dev] Unable to find a matching EGL config on Wayland

2020-02-03 Thread The Rasterman
On Fri, 31 Jan 2020 14:48:29 +0530 "Devashish Tiwari" said: Hi Devashish. That fact you have "SGX" for demos hints to me that you have some hardware with an Imagination based GPU and drivers provided by them. Their drivers provide EGL and and the implementation of eglChooseConfig() under the hoo

Re: [Mesa-dev] Unable to find a matching EGL config on Wayland

2020-02-03 Thread Devashish Tiwari
Hi Daniel, My application, as I described, requires a display protocol to run. And it is using wayland. Because if I stop weston and run my application, it throws me following error: Error- Unable to init SDL: No available video device Also, I just checked $WAYLAND_DISPLAY environment variable

Re: [Mesa-dev] Unable to find a matching EGL config on Wayland

2020-01-31 Thread Daniel Stone
Hi Devashish, It sounds like your application, as well as eglinfo, are not even trying to use Wayland. Maybe they are autodetecting the platform incorrectly and trying to use GBM instead. This could perhaps be solved by setting the $WAYLAND_DISPLAY environment variable to the name of the socket Wes

[Mesa-dev] Unable to find a matching EGL config on Wayland

2020-01-31 Thread Devashish Tiwari
Hello, Ihave built a simple application using QT & SDL that has a buttonwhich opens a preview on clicking, whenever camera (system/usb) isconnected to the EVM. Myapp successfully receives correct parameters related to camera(resolution, frame rate, frame format) and I have verified it usingdebu