We are simulating ice nucleation in the presence of different surfaces in immersion and contact nucleation modes. Simulations with the mW potential show that surface geometry can largely explain the high nucleation activity of AgI, whereas activity of K-feldspar is due to other factors. Contact nucleation mode simulations show nucleation activity at higher temperatures than immersion, in agreement with experiments.