Department of Corrections staff had not supplied them any food since the rioting started and were attempting to negotiate with the prisoners.
It is not known why the prisoners started rioting but the reason could be an alleged lack of access to phones, Corrections chief executive Jeremy Lightfoot said.
The department was not aware prisoners were about to riot until after they were contacted by media about midday on Tuesday.
Checks immediately afterwards found nothing. But when prisoners were in the yard that afternoon they started lighting fires.
About 20 prisoners were thought to be in the yard at the time but not all were involved in the riot.
On Tuesday night, some of the prisoners from the yard and others who broke out of their cells made their way to the roof where they set alight mattresses.
The prisoners also allegedly took toilet doors off their hinges and used them as weapons against Corrections staff.
Specialist Advanced Control and Restraint teams, made up of staff from a range of prisons, have been at the jail since early Tuesday afternoon.
Prison Corrections Association union representative Alan Whitley said guards work in "horrible" conditions where the rioting is taking place.
He said the section of the facility is well past its use-by date.