[Solved] Mint 21 resume from hibernate sometimes fails with i915 drm error fault errors on pipe B

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
turbo_dabar
Level 1
Level 1
Posts: 4
Joined: Mon Oct 03, 2022 9:44 am

[Solved] Mint 21 resume from hibernate sometimes fails with i915 drm error fault errors on pipe B

Post by turbo_dabar »

Hello everyone,

I've been using Mint for 10+ years now, mostly without issues or with some smaller, mostly easy fixable errors. However, now I've hit a wall.

I have clean install of Mint 21 (cinnamon) on Dell 5530 (Alder Lake), with LUKS, Secure Boot disabled, and I have problems with hibernate (suspend to disk).

resume from hibernate works in something like 50% retries without issues. In other 50% cases, it goes to resuming from device, shows black screen with mouse cursor only (which responds to movement), but nothing else. I can use alt-f1 to switch to console terminal, where screen is full of (and filling with) errors:

Code: Select all

Oct  1 18:50:26 pingvin2 kernel: [  647.699064] i915 0000:00:02.0: [drm] *ERROR* Fault errors on pipe B: 0x00000080
Oct  1 18:50:26 pingvin2 kernel: [  647.699072] i915 0000:00:02.0: [drm] *ERROR* Fault errors on pipe B: 0x00000080
Oct  1 18:50:26 pingvin2 kernel: [  647.699074] i915 0000:00:02.0: [drm] *ERROR* Fault errors on pipe B: 0x00000080
Oct  1 18:50:26 pingvin2 kernel: [  647.699076] i915 0000:00:02.0: [drm] *ERROR* Fault errors on pipe B: 0x00000080
Oct  1 18:50:26 pingvin2 kernel: [  647.699079] i915 0000:00:02.0: [drm] *ERROR* Fault errors on pipe B: 0x00000080
Oct  1 18:50:26 pingvin2 kernel: [  647.699087] i915 0000:00:02.0: [drm] *ERROR* Fault errors on pipe B: 0x00000080
Oct  1 18:50:26 pingvin2 kernel: [  647.699089] i915 0000:00:02.0: [drm] *ERROR* Fault errors on pipe B: 0x00000080
Oct  1 18:50:26 pingvin2 kernel: [  647.699091] i915 0000:00:02.0: [drm] *ERROR* Fault errors on pipe B: 0x00000080
Oct  1 18:50:26 pingvin2 kernel: [  647.699093] i915 0000:00:02.0: [drm] *ERROR* Fault errors on pipe B: 0x00000080
I can login, restart lightdm and I get clean X login prompt and errors are gone, but so is my complete (saved) session and applications.

when checking logs, I see:

Code: Select all

Oct  1 18:33:18 pingvin2 kernel: [  642.201194] PM: Image not found (code -16)
Oct  1 18:33:18 pingvin2 kernel: [  642.203591] PM: hibernation: hibernation entry
Oct  1 18:50:26 pingvin2 kernel: [  642.216809] Filesystems sync: 0.010 seconds
Oct  1 18:50:26 pingvin2 kernel: [  647.699047] i915 0000:00:02.0: [drm] *ERROR* Fault errors on pipe B: 0x00000080
Oct  1 18:50:26 pingvin2 kernel: [  647.699049] i915 0000:00:02.0: [drm] *ERROR* Fault errors on pipe B: 0x00000080
<cut>
Oct  1 18:50:26 pingvin2 kernel: [  647.703900] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_component_ops [i915])
<cut>
Oct  1 18:50:26 pingvin2 kernel: [  647.704564] mei_pxp 0000:00:16.0-fbf6fcf1-96cf-4e2e-a6a6-1bab8cbe36b1: bound 0000:00:02.0 (ops i915_pxp_tee_component_ops [i915])
<cut>
Oct  1 18:50:26 pingvin2 kernel: [  647.706753] i915 0000:00:02.0: [drm] *ERROR* Fault errors on pipe B: 0x00000080
Oct  1 18:50:26 pingvin2 kernel: [  647.706756] PM: hibernation: Basic memory bitmaps freed
Oct  1 18:50:26 pingvin2 kernel: [  647.706758] i915 0000:00:02.0: [drm] *ERROR* Fault errors on pipe B: 0x00000080
Oct  1 18:50:26 pingvin2 kernel: [  647.706760] i915 0000:00:02.0: [drm] *ERROR* Fault errors on pipe B: 0x00000080
Oct  1 18:50:26 pingvin2 kernel: [  647.706763] i915 0000:00:02.0: [drm] *ERROR* Fault errors on pipe B: 0x00000080
Oct  1 18:50:26 pingvin2 kernel: [  647.706765] i915 0000:00:02.0: [drm] *ERROR* Fault errors on pipe B: 0x00000080
Oct  1 18:50:26 pingvin2 kernel: [  647.706768] i915 0000:00:02.0: [drm] *ERROR* Fault errors on pipe B: 0x00000080
Oct  1 18:50:26 pingvin2 kernel: [  647.706769] OOM killer enabled.
Oct  1 18:50:26 pingvin2 kernel: [  647.706770] Restarting tasks ... 
Oct  1 18:50:26 pingvin2 kernel: [  647.707627] i915 0000:00:02.0: [drm] *ERROR* Fault errors on pipe B: 0x00000080
<cut>
Oct  1 18:50:26 pingvin2 kernel: [  647.706770] Restarting tasks ... 
<cut>
Oct  1 18:50:26 pingvin2 kernel: [  647.710357] done.
<cut>
Oct  1 18:50:26 pingvin2 kernel: [  647.721158] i915 0000:00:02.0: [drm] *ERROR* Fault errors on pipe B: 0x00000080
Oct  1 18:50:26 pingvin2 kernel: [  647.721160] i915 0000:00:02.0: [drm] *ERROR* Fault errors on pipe A: 0x00000080       //// here it jumps to pipe A
Oct  1 18:50:26 pingvin2 kernel: [  647.721162] i915 0000:00:02.0: [drm] *ERROR* Fault errors on pipe B: 0x00000080
Oct  1 18:50:26 pingvin2 kernel: [  647.721168] i915 0000:00:02.0: [drm] *ERROR* Fault errors on pipe A: 0x00000080
<cut>
Oct  1 18:50:26 pingvin2 kernel: [  647.860323] thermal thermal_zone10: failed to read out thermal zone (-61)
<cut>
Oct  1 18:50:26 pingvin2 kernel: [  647.885591] PM: hibernation: hibernation exit
<cut>
I tried official kernel 5.15 and also with mainline kernel installer 5.19, with same results.

Code: Select all

System info:
  Host: pingvin2 Kernel: 5.19.11-051911-generic x86_64 bits: 64
    Desktop: Cinnamon 5.4.12 Distro: Linux Mint 21 Vanessa
Machine:
  Type: Laptop System: Dell product: Latitude 5530 v: N/A
    serial: <superuser required>
  Mobo: Dell model: 0C6CYC v: A00 serial: <superuser required> UEFI: Dell
    v: 1.6.1 date: 09/08/2022
Battery:
  ID-1: BAT0 charge: 58.0 Wh (100.0%) condition: 58.0/58.0 Wh (100.0%)
CPU:
  Info: 10-core (2-mt/8-st) 12th Gen Intel Core i5-1235U [MST AMCP]
    speed (MHz): avg: 1049 min/max: 400/4400:3300
Graphics:
  Device-1: Intel driver: i915 v: kernel
  Device-2: Microdia Integrated_Webcam_HD type: USB driver: uvcvideo
  Display: x11 server: X.Org v: 1.21.1.3 driver: X: loaded: modesetting
    unloaded: fbdev,vesa gpu: i915 resolution: 1: 1920x1080~60Hz
    2: 1920x1080~60Hz
  OpenGL: renderer: Mesa Intel Graphics (ADL GT2) v: 4.6 Mesa 22.0.5
Network:
  Device-1: Intel Alder Lake-P PCH CNVi WiFi driver: iwlwifi
  Device-2: Intel Ethernet I219-LM driver: e1000e
  Device-3: Realtek RTL8153 Gigabit Ethernet Adapter type: USB
    driver: r8152
Drives:
  Local Storage: total: 715.41 GiB used: 104 GiB (14.5%)
Info:
  Processes: 421 Uptime: 20h 32m Memory: 15.32 GiB used: 7.36 GiB (48.1%)
  Shell: Bash inxi: 3.3.13
kind regards
Last edited by LockBot on Tue Apr 04, 2023 10:00 pm, edited 3 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Sathors
Level 1
Level 1
Posts: 7
Joined: Mon Oct 20, 2014 10:50 am

Re: Mint 21 resume from hibernate sometimes fails with i915 drm error fault errors on pipe B

Post by Sathors »

I have the exact same problem on Archlinux using both the kernel Linux LTS 5.15.74-1 or Linux Zen 6.0.1.zen2-1.

Like you, I can see the mouse pointer on a black screen and I have the same lines in the logs with the i915 error.

I have never used hibernation before, so I can't say if that problem got introduced or was always there.

In my case, running xrandr to change the configuration of my two monitors fixes the black screen problem.
Sathors
Level 1
Level 1
Posts: 7
Joined: Mon Oct 20, 2014 10:50 am

Re: Mint 21 resume from hibernate sometimes fails with i915 drm error fault errors on pipe B

Post by Sathors »

Wellll, after a bit more of investigation, I found this post on the intel repo. It seems that it is a regression that is fixed in the latest 6.0.3 kernel.

After enabling the Testing repo, I was able to install it and I can confirm that resuming from hibernation is now working. I hope it will be backported to the 5.X kernel as well.
deepakdeshp
Level 20
Level 20
Posts: 12337
Joined: Sun Aug 09, 2015 10:00 am

Re: Mint 21 resume from hibernate sometimes fails with i915 drm error fault errors on pipe B

Post by deepakdeshp »

Sathors wrote: Mon Oct 24, 2022 9:54 pm Wellll, after a bit more of investigation, I found this post on the intel repo. It seems that it is a regression that is fixed in the latest 6.0.3 kernel.

After enabling the Testing repo, I was able to install it and I can confirm that resuming from hibernation is now working. I hope it will be backported to the 5.X kernel as well.
I con form that my AMD HP laptop can wake up from hibernate after installing kerel 6.03.
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help.
Regards,
Deepak

Mint 21.1 Cinnamon 64 bit with AMD A6 / 8GB
Mint 21.1 Cinnamon AMD Ryzen3500U/8gb
turbo_dabar
Level 1
Level 1
Posts: 4
Joined: Mon Oct 03, 2022 9:44 am

Re: Mint 21 resume from hibernate sometimes fails with i915 drm error fault errors on pipe B

Post by turbo_dabar »

Hi Sathors,

I've tried 6.0.3 and for now it seems to be working nice but I will do some more extensive testing, especially with docking station and dual external monitors.

Also I will test xrandr method on older kernels as a quick fix in case of emergency :)

Thank you
turbo_dabar
Level 1
Level 1
Posts: 4
Joined: Mon Oct 03, 2022 9:44 am

Re: Mint 21 resume from hibernate sometimes fails with i915 drm error fault errors on pipe B

Post by turbo_dabar »

deepakdeshp wrote: Tue Oct 25, 2022 12:37 am I con form that my AMD HP laptop can wake up from hibernate after installing kerel 6.03.
Hi,

hibernate and wake up were working but there was a problem with display driver for Intel GPU, which your AMD based laptop doesn't use
turbo_dabar
Level 1
Level 1
Posts: 4
Joined: Mon Oct 03, 2022 9:44 am

Re: Mint 21 resume from hibernate sometimes fails with i915 drm error fault errors on pipe B

Post by turbo_dabar »

turbo_dabar wrote: Tue Oct 25, 2022 8:41 am Hi Sathors,

I've tried 6.0.3 and for now it seems to be working nice but I will do some more extensive testing, especially with docking station and dual external monitors.
It seems it is fixed, tried with multiple combinations of docking station and multiple external monitors. Currently running 6.0.5
Locked

Return to “Hardware Support”