  The damping of the oscillations of a small permanent magnet (spherical shape,
radius 0.1 mm) levitating between two parallel YBCO surfaces is measured as a
function of oscillation amplitude and temperature. The losses in the samples
(epitaxial thin films, bulk granular and bulk melt-textured) are analyzed in
terms of oscillating shielding currents flowing through trapped flux lines
whose motion gives rise to electric fields. We find dissipation to originate
from different mechanisms of flux dynamics. At small amplitudes there is a
linear regime described by a surface resistance varying from 10^-9 Ohm for bulk
samples down to 10^-13 Ohm for the thin films at low temperatures. With
increasing amplitude various nonlinear regimes are observed, firstly collective
pinning with diverging energy barriers, secondly in bulk samples above 85 K
hysteretic damping, and finally in thin films exponentially large losses which
can be described by pinning energies vanishing linearly at large currents.
