I’m having a problem whenever I put my laptop to hibernate or suspend. When powering up the laptop again, I see the manufacturer logo for a few seconds and then nothing, black screen.
I am able to switch to a tty and I tried to run startx but it gives me the following error:
xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
I am using nVidia hybrid prime drivers 450 and Optimus Manager set to auto. Tried to go back at version 440 and delete the free drivers from the MHWD but the problem remains. The kernel was updated yesterday I think but I didn’t check if the problem was also happening on the previous version.
Update: The problem only happens when the nVidia GPU is used with optimus-manager. I guess there is a problem when powering on the GPU again after suspend or hibernate.
Here is my config:
CPU: Intel Core i5-7300HQ
Graphics:Device-1: Intel HD Graphics 630
Device-2: NVIDIA GP107M GeForce GTX 1050 Mobile