Take the city bus to Bazovizza. Go out when it leaves the road to enter the village. A bit before this spots there is woods where you can easy stealthcamp.
Barcola park might also work, but it might be too urban.
Busking works and is very relaxed in Trieste. Even fire shows won't have the police coming.