Screen doesn’t go out of stand by when resuming linux

So the screen stays off when you try to resume your session (not the full on hibernation mode, just tjhe « turn off the screen after xx minutes ».
It seems to be a kernel issue with nvidia drivers.
To dwitch back to a working kernel: at the grub menu, select other option, select the one you want to startup with and remember the number.
(doing a uname -r in a terminal will give you the kernel you’re running on)
Then, in synaptic, do a research on « linux-image » and remove the problematic kernel, idem with a reseach on « linux-header ».
Finally, do a sudo update-grub in a terminal to update your grub.
Don’t forget to not install the kernel updates