The invention relates to an ophthalmic system for controlling an infusion liquid pressure at a distal end of an ophthalmic irrigation device penetrating an eye and being connected to an irrigation line for feeding the device with an infusion liquid. The system comprises a processor that is arranged for estimating a compensation pressure for compensating an internal pressure loss in the eye due to surgical acts in the eye. The estimation result is used for dynamically adjusting, in response to the estimated compensation pressure, the pressure of the irrigation liquid in the irrigation line. The estimation step is based on a configuration and/or actual operation of an ophthalmic surgical device performing the surgical acts in the eye.