pop-os / linux

Pop!_OS fork of https://launchpad.net/ubuntu/+source/linux
Other
110 stars 14 forks source link

Kernel 5.15.5: [drm] *ERROR* CPU pipe A FIFO underrun on Intel Mesa #89

Open why-not-try-calmer opened 2 years ago

why-not-try-calmer commented 2 years ago

Distribution (run cat /etc/os-release): Pop!_OS 21.04.

Related Application and/or Package Version (run apt policy $PACKAGE NAME): Linux kernel.

Issue/Bug Description: Show-stopping graphic glitches with pinkish horizontal lines blurring the bottom half of the screen, as if this part of the screen could not be refreshed properly. The system is not usable in that state.

Relevant error log: pop-os kernel:

pop-os kernel: i915 0000:00:02.0: [drm] *ERROR* CPU pipe A FIFO underrun

I was not able to extract more specific logs.

Steps to reproduce (if you know): Boot the machine. Every hour or so, the bug occurs, making the machine unusable expect by rebooting.

Expected behavior: No issue at all on 5.13.

Other Notes:

lspci
> 00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)

I also have an NVIDIA GPU but not using it (nouveau.modeset=1 and no proprietary driver used either).

jackpot51 commented 2 years ago

Could you describe if there are any specific steps you take before the issue happens? Also, could you describe your hardware?

why-not-try-calmer commented 2 years ago

Could you describe if there are any specific steps you take before the issue happens? Also, could you describe your hardware?

Hello Jeremy, very honored!

My hardware: lwhw.txt

Steps taken before the issue happens: Actually nothing special, writing code on VSCode with email client and web browser running in the background. I noticed the issue seems to happen chronically -- about every hour or every other hour.

Not sure if that happens but it resonates quite a bit with https://bbs.archlinux.org/viewtopic.php?id=263720. I've tried to adapt the fix by adding intel_idle.max_cstate=3 to my kernel parameters; the only difference is that with the extra param I am able to avoid rebooting -- the screen will go back to normal after some pain and contorsions.

jackpot51 commented 2 years ago

Which web browser?

why-not-try-calmer commented 2 years ago

Which web browser?

Brave from https://brave-browser-apt-release.s3.brave.com/, V1.32.113

why-not-try-calmer commented 2 years ago

I've looked into #86 and the solution mentioned there fully solves all issues mentioned here. Kudos to @spxak1 for his work!

I think you can mark this Issue as a duplicate of #86, or I can close it.

spxak1 commented 2 years ago

I've looked into #86 and the solution mentioned there fully solves all issues mentioned here. Kudos to @spxak1 for his work!

I think you can mark this Issue as a duplicate of #86, or I can close it.

Ah, you said Intel HD 530, that's 6th Gen Intel, I should have picked that up. It's part of the same issue apparently. Thanks for confirming.

Hopefully this will be fixed soon, and the fact that disabling VT-d solves it, is probably a pointer for the devs.

Thanks again.

spxak1 commented 2 years ago

I can confirm this is an issue with Haswell (4th Gen) Intel CPUs too.

When audio is via the HDMI, all video playback will stop (or won't play). Also there is no audio at all (video playback or not).

The problem is solved with any kernel before 5.15.5 (5.15.0, 5.15.4 and 5.13 tested) or by disabling VT-d in the BIOS.

Which means this is related to https://github.com/pop-os/linux/issues/86.

Here a screen capture of the issue in all its glory: https://www.youtube.com/watch?v=XprqYp9iMtc

why-not-try-calmer commented 1 year ago

It should be added that intel_idle.max_cstate=4 also works around the issue.