Hey there! I’ve been using the laptop for a few months now and it’s awesome! Recently, I’ve decided to connect it to my second monitor and noticed - sometimes - blocky artifacts appear (mainly on the laptop’s monitor but sometimes on the second monitor as well). This happens both when connected directly via HDMI and using a dock connected to the laptop’s USB C port (yes, it is the port on the back-left).
My setup:
Framework laptop 13 with AMD Ryzen 7040
Arch Linux with Gnome running on Wayland
I have tried (as recommended on Archwiki here ) to include amdgpu.sg_display=0 in my kernel params but with no success.
Can you please try to downgrade the GPU firmware from January to December and see if this goes away? Don’t forget to rebuild initrd if you put it in there.
I have now added amdgpu.sg_display=0 back again and I expect things to be stable.
You might want to use an external monitor (via USB-C). I forgot to mention that I use an external monitor as well. Using a web browser + maximized window speeds up occurrence of the white screen problem. I have tried both Firefox (manually enabled VA-API in about:config) and Vivaldi (Chromium-based, default settings).
Please let me know if there is something else I can do to help you.
I also read somewhere that using UMA_Game_Optimized in UEFI reduces the probability of this occurring. I have it disabled (i.e., I am using the default setting).
For first issue (blocky artifacts) If you can please bisect the issue with the blocky artifacts down to a kernel commit that would be really helpful.
For second issue (white screen) I guess pay attention to specific sequence of events that causes it. When it happens, can you try to capture as much stateful information as you can over SSH from another machine? /sys/bus/pci/drivers/amdgpu/*/mem_info*, a scan from GC, and SDMA registers using UMR, and a kernel log? You can put these on a bug report on AMD’s Gitlab please. Right now I don’t know if it’s a mesa bug, a platform firmware bug, or a graphics bug. Until AMD can reproduce it it’s just guesses.
I will start with 2 as it won’t interfere much with my work hours.
A bit off-topic, I only get the following message when I run: umr --logscan -O bits,follow,empty_log
Cannot open DRI name under debugfs: No such file or directory
ERROR: amdgpu.ko is loaded but /sys/kernel/debug/dri/0/name is not found
[WARNING]: Unknown ASIC [amd15bf] should be added to pci.did to get proper name
sh: line 1: /sys/kernel/debug/tracing/events/amdgpu/amdgpu_mm_wreg/enable: No such file or directory
sh: line 1: /sys/kernel/debug/tracing/events/amdgpu/amdgpu_mm_rreg/enable: No such file or directory
[ERROR]: Could not enable mm tracers
I think I need to enable some debug flags or something.