libGL error: No matching fbConfigs or visuals found libGL error: failed to load driver: swrast

Also, do you think its related to having nvidia-340-xx driver?? I had nvidia 390-xx originally but I am using nvidia-340 xx driver as the main software I am using is more compatible with nvidia 340-xx driver!!