This happened after i installed nvidia proprietary drivers
I know i might be able to solve it with the nouveau drivers but i like to occasionally play video games and that works better with proprietary drivers.