Added a fallback with basic configuration if requested config failed. Also better check if choose config is success (num_configs can be >0 even if egl config is null)