mini laptop P8 black screen, external monitor and nomodeset weirdness
Posted: Fri Jun 28, 2024 12:52 pm
Hello,
I have a generic mini laptop, apparently named "P8", which is doomed by this bug: https://gitlab.freedesktop.org/drm/i915 ... ssues/9063
I can't understand most of what the people say in that bug report. What I understood is: if the i915 driver is loaded, then suspending and resuming fixes the problem temporarily.
I wanted to test that. But I could not do it with the live USB. If I boot without "nomodeset", the screen is black, only an external monitor works and I don't know how to suspend and resume. Closing the lid does nothing. If I boot with "nomodeset", the screen works but only in a default resolution and orientation, and I can't change it. Closing the lid does nothing.
So I installed MX linux (along with the preinstalled Windows. It is a dual boot machine now). To my surprise, it is behaving as if it had "nomodeset" on. I don't know why, because it is not set in the grub boot options. My guess is that the driver fails to load and the system falls back to this. I can't remember if closing the lid does anything, but I understand that if the driver is not loaded in the first place, suspend/resume won't change anything.
So, I ask:
1) is my understanding of the bug report correct? If I can get the driver to load AND the suspend/resume behaviour by closing/opening the lid I should be able to use this machine?
2) how do I set up the suspend/resume with the lid correctly?
3) how do I force the driver to load in a way that if it boots with a black screen I can somehow restore the current configuration and reboot so I can get the screen back?
I have a generic mini laptop, apparently named "P8", which is doomed by this bug: https://gitlab.freedesktop.org/drm/i915 ... ssues/9063
I can't understand most of what the people say in that bug report. What I understood is: if the i915 driver is loaded, then suspending and resuming fixes the problem temporarily.
I wanted to test that. But I could not do it with the live USB. If I boot without "nomodeset", the screen is black, only an external monitor works and I don't know how to suspend and resume. Closing the lid does nothing. If I boot with "nomodeset", the screen works but only in a default resolution and orientation, and I can't change it. Closing the lid does nothing.
So I installed MX linux (along with the preinstalled Windows. It is a dual boot machine now). To my surprise, it is behaving as if it had "nomodeset" on. I don't know why, because it is not set in the grub boot options. My guess is that the driver fails to load and the system falls back to this. I can't remember if closing the lid does anything, but I understand that if the driver is not loaded in the first place, suspend/resume won't change anything.
So, I ask:
1) is my understanding of the bug report correct? If I can get the driver to load AND the suspend/resume behaviour by closing/opening the lid I should be able to use this machine?
2) how do I set up the suspend/resume with the lid correctly?
3) how do I force the driver to load in a way that if it boots with a black screen I can somehow restore the current configuration and reboot so I can get the screen back?