Understanding non-radiative recombination processes of the optoelectronic materials from first principles