Under which conditions the break of virial theorem implies break of ergodicity?
I've seen this question, but it is very limited and not sufficient. To constrain the discussion I'm interested in 1D hamiltonians of the form (2 degrees of freedom)-
$$H=a p^2+bx^2+cx^4$$
That is, confining potential with a steady state. The virial predicts essentially - $$E_k=\frac{1}{2}\langle x\frac{\partial H}{\partial x}\rangle_t = b \langle x^2\rangle_t+2c\langle x^4\rangle_t$$ Here $\langle \cdots \rangle_t$ is time average. Assuming ergodicity, that is (for my purposes) $\langle \cdots\rangle_t = \langle \cdots\rangle$ with $\langle \cdots\rangle$ being ensemble average, we get the prediction that - $$a\langle p^2\rangle=b\langle x^2\rangle+2c \langle x^4\rangle$$
Under which conditions the break of this relation will imply break of ergodicity? Will any violation suffice?
EDIT: I notice it wasn't clear that the system is coupled to some non-thermal bath, which induces stationary drive and dissipation such that the system has time independent steady state, however not Boltzmann-Gibbs. Thus the dynamics are not Newtonian.