This is what I was leaning towards before even reading it… I still am.
But that could mean several different things.
Temperature: You must of outruled this? The temp shows in sensors?
Power: Tried pcie_aspm=off?
PCIe traffic: The USB device is much much slower obviously, so throwing in a bottleneck gets around this bizarre issue.
This is tougher to troubleshoot.
It did not occur from day one. It happened the day before I posted.
Given there are no issues when running via the USB SSD, without those , it’s hard to see how they would make a difference.
I’m also waiting to hear back from Slimbook.
that is an empty directory.
Yes temperature doen’t appearto be a factor.
Haven’t looked at pcie_aspm=off
Yes that is probably a factor. USB will be a lot slower.
Ok I tried ‘pcie_aspm=off’, it appeared to reduce the tearing. However after I did a system update, it failed to boot on the NVME. So now I have to fix that.
Other symptoms are Btrfs storage becoming read-only and Ext4 reporting I/O errors.
As a workaround, add the kernel parameter >nvme_core.default_ps_max_latency_us=0 to completely disable APST, or set a custom threshold to disable specific states.
If setting latency still does not works, try adding pcie_aspm=off and pcie_port_pm=off (as suggested by [17]). You may also need to disable NVMe and PCIe power saving measures within the BIOS.
Try the other ones too. These force the SSD to not enter any sleep states.
(This will affect battery. But we’re troubleshooting.)
What I do not understand - is it only in one window? How is this possible if it is hardware. It seems to me the lion to the left is intact but the shot is not very clear.
I’ve been lurking this one, but after you post this screenshot i wanted to give my two cents.
A while ago i had a comparable issue with screen tearing. I’m not saying this applies to you, but maybe it will help.
My system was running fine back then and i started to get tearing after a system update. The problem was i hadn’t use Linux in a while, so i had Secure Boot enabled (not configured in any way). This made the update for graphic card driver bug out in a similar fashion like you are experiencing right now. The issue in my case was that i didn’t add any hardware to Secure Boot. The system kept working but there was tearing all over the place.
This does not explain why it works on your external drive.
No, that’s just an example. The application Windows (plural) break up… the Background image appears to bleed through, actually, the same thing happens with the Plasma Panels. There isn’t any breakup when it’s just the Background image.
Unfortunately no. I am also not using (in)Secure Boot either. Standard UEFI with Manjaro… and in this case a fresh install on both the Internal and External SSDs
I’ll look at your other options, as soon as I can get the computer to boot on the NVME again.
Well I don’t know where to go from here.
After the system failed to boot on the NVME, I decided the quickest way to get it into a bootable state was to simply re install.
So I re installed, and when I logged in there was no screen tearing. So I ran a full system update, rebooted, and the system is still stable with no tearing.
So far there appears to simply be no problem at all.
Given the original problem appeared, after a reboot of an install that had been functioning for 3 months, then continued to present after a reinstall, I cannot explain why yet another reinstall appears to have fixed the problem.
when you reinstall the system - the files is never placed exactly where they were last time.
That is why I suggested zeroing disk earlier - this exact scenario where the file(s) are placed at a seemingly safe and sound place - but there is a tiny mismatch when the data is read - perhaps due to a dysfunctional memorycell.
nvme’s keep an internal record of damaged cells but they don’t relocate data.
You appear to be a die-hard ext4 user - I am no big fan of btrfs - but it is a belt and suspender file system and I do recognise/see how it may have been able to prevent the issue in the first place.
A corrupted file (a library, for instance) within the file system—which is then used to generate the graphics—could very well have been the cause. The only remaining question is how that file became corrupted in the first place.
In this context, I would strongly advise keeping a close eye on the SSD’s file system for a while. If possible, use a file system that supports checksums (such as btrfs) and have those checksums verified periodically (e.g., using btrfs scrub).
How else could you possibly discover that your SSD is occasionally dropping a bit?