Spatiotemporal chaos in a ring cavity