I have one PC with “AMD Ryzen 5 3400G with Radeon Vega Graphics” and with kernel 5.10 every once in a while after several minutes it is giving a black screen with no keyboard or mouse input anymore. Remote login is still possible. So it is not completely frozen and I can reboot via ssh.
The DE is cinnamon. The iommu is turned off in the BIOS because of screen tearing issues with this CPU.
The issue does not happen with kernel 5.4. Anybody else experiencing the same thing?
The PC is still running Manjaro (mea culpa). I hope I can ask that question here anyways.
When the black screen happens I see over 1.800 of these messages in the log:
kernel: [drm] pstate TEST_DEBUG_DATA: 0x3EFE0000
Nothing else what catches my attention. No WARNING messages etc.
I’m not sure if my problem is similar to yours but is it a ‘wake from sleep’ issue? My Asrock Deskmini with Ryzen 2200G CPU and Arch 5.11 has no problem at all with waking from sleep. However, My NUC7 has recently started to have that problem. The monitor actually appears to wake when a key is pressed after sleep but no video is sent to the screen so it remains black. This started for me about a week ago and I don’t remember why or if a kernel update for linux-lts was responsible. This is apparently a not-uncommon fault with Intel NUCs but perhaps not with AMD Ryzens. For my NUC7, I install powerkit from AUR and it installs xscreensaver. The NUC will then wake from sleep with a keypress. You do get some annoying 1980s-style screen savers but it’s possible to run xscreensaver_demo and choose just one sensible one.
I have the same CPU/Gpu as you do, and there are some differences I spotted - but I don’t know if they matter…
In particular - what is the ati driver doing in there? Also - the tearing issues I had were solved another way than yours, by putting an entry in X11. Here’s inxi -Fz
I asm not sure if it’s needed any more (with the newer kernels) but it is still there on most of my builds. No problems for a long time, not on 5.10, or on 5.11 so far.
I do not have a dedicated video card it is an APU: AMD Ryzen 5 3400G with Radeon Vega Graphics
Unfortuantley this info is missing in the output of @freebird54. So that I can not compare. @freebird54 can you please install glxinfo and do the inxi -F again? I am wondering what your APU says in that section. For me, with arch kernel 5.10.20 it lokks like this now:
I understand you don’t have a dedicated card and I’m not sure how it reports for an onboard. Maybe @freebird54 could install glxinfo and show his graphics with inxi -Fxxxz --no-host and or inxi -Ga
So it looks like something is wrong with the setup of my PC.
Tomorrow is Sunday. I will take the opportunity and migrate the PC to EndeavourOS. The arch kernel 5.10.20 did not give any black screen so far. That makes me confident that the migration will finally solve the issue.
I have very rare black screens on my 3400G on 5.10.7 which only last for ~3 seconds. On Sway the situation is a bit worse: I sometimes experience graphics corruption, followed by a frozen system when using firefox. I’ll have to see if 5.12 is good.