... for a farce is that in poetry which grotesque is in a picture. The persons and action of a farce are all unnatural, and the manners false, that is, inconsisting with the characters of mankind. [Dryden, "A Parallel of Poetry and Painting"]According to OED and other sources, the pseudo-Latin farsia was applied 13c. in France and England to praise phrases inserted into liturgical formulae (for example between kyrie and eleison) at the principal festivals, then in Old French farce was extended to the impromptu buffoonery among actors that was a feature of religious stage plays. Generalized sense of "a ridiculous sham" is from 1690s in English.