Police were confronted by flies and a strong smell coming from a Gold Coast surfer's home when they went to check on him, a murder trial has heard.
Edward Lockyer's maggot-infested body was found in a pool of blood in his Dixon Street, Coolangatta unit on February 1, 2018.
Darren Kenneth Mitchell, 48, has pleaded not guilty to murdering 46-year-old Mr Lockyer.
He offered to plead guilty to manslaughter, but that plea was rejected by the prosecution.
Mr Lockyer's friends alerted police because they hadn't been able to contact him for days.
There was "fairly obvious fly activity" at a window near the locked door of Mr Lockyer's home when officers arrived, Senior Sergeant Angelique Maloney told the Brisbane Supreme Court on Tuesday.
There was also a very strong smell.
After opening the unit with the help of a locksmith police found blood-spattered walls that "bespoke of a wild end to his life", crown prosecutor Philip McCarthy QC earlier told the jury.
He said Mr Lockyer lived on a fortnightly pension and cash he made selling cannabis kept in containers inside his lounge chairs.
There was no sign of his wallet, money or drugs when police found the body.
Mr McCarthy said Mitchell and Mr Lockyer were not strangers, having lived together for at least a month sometime before the killing.
Mr Lockyer sustained "at least 10 impacts" to his head consistent with being kicked or stomped on with hardened footwear, Mr McCarthy told the court.
He said Mitchell told police numerous versions about what occurred and the reason for the killing may never be known.
Mitchell claimed he went to Mr Lockyer to ask for cannabis and while there asked about an allegation Mr Lockyer had sexually abused a child about a year earlier, Mr McCarthy told the jury.
Mr McCarthy said Mitchell told police he blacked out, couldn't explain what happened and didn't go through Mr Lockyer's house looking for money or cannabis.
He admitted wearing black steel-capped boots but told police he put them in the bin afterwards.
The trial continues before Justice Soraya Ryan.