Monitor is no longer going to sleep

For about a week now my monitor is not going to sleep anymore. It goes black after the idle timeout or if I do “xset dpms force suspend” but after a few seconds it systematically turns back on. It’s like a ghost is moving the mouse every time the monitor is about to turn off. I think it started to do that right after an apt-upgrade last week.

I tried with a brand new fresh account I created to test if it was a bad setting on my regular account but same thing. I tried to install the most recent AMD graphics driver (I use a Ryzen 3 3200G CPU) with:

sudo apt install ppa-purge

sudo ppa-purge ppa:oibaf/graphics-drivers

But the problem is still there. I tried to unplug mouse, keyboard and internet cable but same issue. I also tried with the CentOS 8 I have installed on the same machine but on a different drive and the monitor goes to sleep without any issue with this OS so it’s related either to the drive or Ubuntu (but I highly doubt my drive is causing that, especially that it was working just fine last week).

I really don’t know what else to do beside turning off the screen manually with the power button so any ideas would be very appreciated.

Go to Source of this post
Author Of this post: Jerome Gauthier
Title Of post: Monitor is no longer going to sleep
Author Link: {authorlink}