Dissipative nonlinear waves in a gravitating quantum fluid