Linux Kernel 6.17.1-300.fc43
BIOS 3.07 (from windows .exe)
AMD Ryzen™ 7040 Series with Radeon rx7700s
(120hz works perfectly)
Linux Kernel 6.17.1-300.fc43
BIOS 3.07 (from windows .exe)
AMD Ryzen™ 7040 Series with Radeon rx7700s
(120hz works perfectly)
And ???
what do you want anyone here to do with what you posted?
i did a journalctl but i couldn’t find any errors related to any amdgpu so i think it is just a display panel issue
what “display problems” did you see? Artefact, …
Im on F43 right now, using 165hz, with 0 problems.
Are you getting artifacts/flickers?
Known issue since like.. 6.15 I think where you need to add something like this to your kernel args:
amdgpu.dcdebugmask=0x410
I did this a long time ago - so I dodnt remember when it happened - but thats what I have
i saw artifacting whenever i moved in and out of the gnome-dash very quickly
i also tested it on kde and got no issues so it cant be a kernel problem
UPDATE: i added your kernel arg and it fixed it
I distro hopped to cachyos (since i have used it before) and found that the latest kernel with this patch was giving me the issue in gnome only but i have removed that kernel arg and it seems to be behaving properly?
UPDATE: still giving me the issue in gnome (not kde) but the artifacting happens only on gnome without the kernel arg? with the kernel arg gnome is fine
it also happens on cosmic without the kernel arg i dont think its a bug with the de though?
Wasn’t this supposed to have been fixed months ago?
If not, then @Mario_Limonciello - any comment?
Xorg or Wayland?
Wayland
Then I’m not aware of any issues. If you are having issue please open a ticket with all details.
i mean the kernel arg fixes all my issues so its not that big of a deal for me
OK. That disables some power saving features. If you don’t need them that’s fine.
what are those features that it disables?
From reddit:
Yes. If you are on AMD, this has started a while ago, and it’s due to the newest version of three power-saving technologies that are used for the panel: PSR, PSR-SU and PR (Panel Replay).
To be more technical: what actually causes this issue is Panel Replay, which needs PSR and PSR-SU to be available to work properly: it will still cause flickers and artifacts if it stays enabled while PSR is off! However, PR being available solves an historical problem caused by PSR that caused the GPU / Display to lag and only render one frame every several seconds.
Long story short, to have a stable experience on AMD APUs that are Rembrandt or newer (6000, 7035, 7040, 8040, Ryzen AI 300) you need to disable all of these. It’s nothing new, either. I’ve been using AMD APUs on and off for 2-3 years and PSR regressions on AMD are, let’s say, not rare.
Some users (including me) of recent AMD APUs on a Telegram group tried to do some digging. This is the kernel page with the DC_DEBUG_MASK documentation. This is the “map” to generating the hex value that you need to pass to amdgpu.dcdebugmask to enable/disable Display Core features for debugging. We want to disable PSR and PSR-SU (both covered by 0x10) and Panel Replay (covered by 0x400). Hex addition gives us 0x410, if I am not mistaken.
I have been running my system adding the kernel argument amdgpu.dcdebugmask=0x410 and it has been stable since. Not a single artifact, not a single lag, perfect.
After you apply it, open a root shell and run
grep '' /sys/kernel/debug/dri/0000*/eDP-1/*_capability
You should get this output here. Both PSR and PR capabilities for video output eDP-1 should have driver support set to no.
Note that this completely disables any and all display panel power saving features, so your monitor refreshes at its full refresh rate all the time instead of consuming much less when you’re not moving things. Of course, this is going to be a noticeable hit on your battery life. It is far better than running with an unstable system, but it’s still effectively cripped as a laptop, and it’s only a temporary workaround until the kernel folks figure out a solution.
If you only run your system plugged in to AC or are still satisfied with the battery runtime - personal and not professional opinion - you could also leave all of this disabled and live your life. I know other folks who run their laptops like this and who just decided to disable this stuff and move on with their lives. As with anything in technology, no improvement is free, and panel power saving technologies in general add complexity and are prone to errors. Even Intel laptops get this from time to time. I’ve seen this on so many laptops (all GPUs, but mostly AMD) that if I were the dictator behind a Linux distribution I would disable panel power saving as a default and make enabling it opt-in. It’s just so prone to causing issues, I have had to disable it on every laptop I own so far, Intel and AMD alikr ![]()
I havent disabled this since I started using it back on 6.12 or 6.13 ![]()
But, it almost sounds like a regression of
Ill disable the kernel parameter in a few and see if I can reproduce this at all
i was using edp-2 this is what i get /sys/kernel/debug/dri/0000:c5:00.0/eDP-2/hdcp_sink_capability:eDP-2:94 HDCP version: None
/sys/kernel/debug/dri/0000:c5:00.0/eDP-2/psr_capability:Sink support: yes [0x01]
/sys/kernel/debug/dri/0000:c5:00.0/eDP-2/psr_capability:Driver support: no [0xffffffff]
/sys/kernel/debug/dri/0000:c5:00.0/eDP-2/replay_capability:Sink support: yes
/sys/kernel/debug/dri/0000:c5:00.0/eDP-2/replay_capability:Driver support: no
/sys/kernel/debug/dri/0000:c5:00.0/eDP-2/replay_capability:Config support: no
i have the kernel perm active i also have a document so i dont forget where my bootloader conf is and what the kernel perm is
that was the same artifacting i was having i would also try it on cosmic/gnome it seems you can see the artifacting more there
i am also using the latest kernel stable kernel 6.17.5
EDIT: i got a graphics driver update and it didnt work i added your kernel args
nope didnt work
amdgpu.dcdebugmask=0x410 is the only one fixing it for me
Im on gnome now - Im not seeing any artifacting yet after disabling the features.
FWIW this is my cmdline:
BOOT_IMAGE=(hd1,gpt2)/vmlinuz-6.17.4-300.fc43.x86_64 root=UUID=zzz ro rootflags=subvol=root rhgb quiet amdgpu.ppfeaturemask=0xffffffff amd_iommu=on amdgpu.freesync_video=1 amd_pstate=active