i915 laptop screen turning Off and back On

Hi,
I think I already started a thread few years ago reporting this and after several system updates the issue persist.
This happens few times but it's annoying because I sometimes get no image for more than 10 seconds.
The system boots just fine, I login and everything starts normally.
After some minutes, there's no fixed amount of minutes, it just happens randomly the laptop screen turns off, stays off for several seconds, sometimes 5 sometimes 10 seconds and turns back on.
It happens when the laptop is plugged to power but seems to happen often when laptop is running on battery, so it seems it may be related with power management profiles.
It doesn't happen to external displays, only the laptop display and if I'm typing while the screen is Off the text is there.

It's a HP Elitebook 840 G1
It's annoying because it interrupts whatever I'm doing.
Any ideias?

Thanks.
 
Is this happening only when you typing?

One of my collogues have a similar issue with it's laptop and it turns out that he have a watch with magnetic wrist band which activating the laptop LID sensor and the display turns off.

You may check your hardware. For a test enter inside the BIOS/UEFI and leave the laptop for a while there so there's no any OS/Software related programs if the laptop screen turns off while it's inside the BIOS then you have a hardware issue.

Is the display completely black or only the backlight is off?
 
  • Like
Reactions: mro
It's a HP Elitebook 840 G1
Have you checked for a broken display cable at the hinge mechanism? It's a pretty common failure mode for HP laptops... (HP stands for "Hinge Problems")

By default there is no power management enabled. Check the dmesg output and if it just shows the screen disappearing/reappearing my bet would be a broken cable (or loose connector if you are lucky)
 
After some minutes, there's no fixed amount of minutes, it just happens randomly the laptop screen turns off, stays off for several seconds, sometimes 5 sometimes 10 seconds and turns back on.
dmesg might say something about a GPU reset

I'd try this in loader.conf:
Code:
hw.i915kms.modeset="1"
hw.i915kms.nuclear_pageflip="1"
hw.i915kms.fastboot="1"
hw.i915kms.enable_psr="0"
hw.i915kms.enable_psr2_sel_fetch="0"
hw.i915kms.panel_use_ssc="0"
hw.i915kms.enable_ips="0"
hw.i915kms.enable_fbc="0"
hw.i915kms.enable_dc="0"
hw.i915kms.disable_power_well="0"
hw.i915kms.enable_guc="0"
hw.i915kms.guc_log_level="0"
hw.i915kms.verbose_state_checks="0"
hw.i915kms.error_capture="0"
hw.i915kms.request_timeout_ms="200000"
hw.i915kms.enable_hangcheck="0"
 
I don't know HP laptops. However, it sounds like it can't be a dodgy lid close suspend switch, since the system stays up. It sounds more like a hardware problem than software though, since it seems to happen at random. Is it related to heat at all, eg does it happen when the fan is on or case is hot?

A few things to check...
1. is there any kind of screen blanking after a time interval set in the desktop settings, or possibly even in the bios?
2. if you run a different operating system from a live usb stick as a sanity check, do you still see the problem?

If you think it might be hardware...
1. try reseating the screen signal cable connector
2. could it be a break in the screen signal cable
3. same as (2) and (3) but for the screen power cable

Try this video
View: https://www.youtube.com/watch?v=WCU7zolCfok
 
Back
Top