Hundreds of protesters against the Manus Island and Nauru detention centres have gathered in Brisbane to demand better treatment of refugees.

Key points: Hundreds rally hours after death of Omid

Hundreds rally hours after death of Omid PNG Prime Minister Peter O'Neill says a delegation of Australian Government officials will visit Port Moresby next week

PNG Prime Minister Peter O'Neill says a delegation of Australian Government officials will visit Port Moresby next week Mr O'Neill says matter needs to move forward in "an urgent manner"

Chants of "close the camps, bring them here" rang out across King George Square in the heart of the city on Friday evening.

The event was planned in response to the Papua New Guinea Supreme Court earlier this week ruling Australia's detention of asylum seekers on Manus Island was illegal.

The rally came just hours after the death of Iranian refugee Omid, who set himself on fire at the Nauru detention centre earlier this week.

The 23-year-old was airlifted to Brisbane on Thursday, a day after he sustained the burns.

Earlier on Friday, Immigration Minister Peter Dutton confirmed Omid had died in hospital.

Refugee Action Collective's Margaret McPherson said the Government was to blame for the "desperation" that drove Omid to set himself on fire.

"I say to people 'if your family was in a situation where they were going be killed or the house burned down, you'd pick them up and you'd get out of there as quick as you could and if you had the opportunity to get on a boat and go somewhere else, you would," she said.

"We have to remember these people are not doing anything except trying to get away from terrible situations."

Hundreds of people turned out for the rally in Brisbane's King George Square. ( ABC News: Gordon Fuad )

PNG Prime Minister Peter O'Neill said a delegation of Australian Government officials would visit Port Moresby next week to meet with PNG officials.

He said he had already spoken with Prime Minister Malcolm Turnbull about complying with the Supreme Court decision.

"Australia understands the court decision and the meeting next week will consider options and processes required to move forward in an urgent manner as required by the Supreme Court ruling," Mr O'Neill said.

Labor's immigration spokesman Richard Marles described Omid's death as "an absolute tragedy".

Mr Marles said Mr Turnbull had to act quickly.

"It is clear that the Turnbull Government's policy, focused only on deterrence with no feasible pathway to permanent migration in a resettlement country is leaving people desperate and without hope," he said.

"Mr Turnbull must urgently seek a viable agreement to resolve the fate of people on Manus Island and Nauru."

Greens immigration spokeswoman Sarah Hanson-Young directed comments on social media towards Mr Turnbull, tweeting "yes Prime Minister I am misty-eyed as I can only imagine his loved ones are too".