  We devise and analyze a class of interior penalty discontinuous Galerkin
methods for nonlinear and nonsmooth variational problems. Discrete duality
relations are derived that lead to optimal error estimates in the case of
total-variation regularized minimization or obstacle problems. The analysis
provides explicit estimates that precisely determine the role of stabilization
parameters. Numerical experiments suppport the optimality of the estimates.
