You are not logged in.

#26 2024-11-26 09:31:08

TheKnightsky
Member
Registered: 2024-11-22
Posts: 11

Re: linux-6.12.1.arch1-1 introduces graphics artifacts

Sir respectfully I don't understand what you're saying,
a) What is gromit?
b) How/where do I use "amdgpu.dcdebugmask=0x10"? Is it possible to undo that at a later stage as well?
c) What is a bisect?

I mean to say that I'd love to help, I just don't know how to.
(I'm still learning Linux)

Offline

#27 2024-11-26 10:18:35

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,319

Re: linux-6.12.1.arch1-1 introduces graphics artifacts

a) The user that has posted in this thread providing kernel builds, e.g. https://bbs.archlinux.org/viewtopic.php … 1#p2210441
b) kernel configuration you can apply on your bootloader to alter kernel behaviour. You'd add that line there and it's removable at the same spot
c) the process of trying to find the exact change that caused an issue, starting from a known good and a known bad point, and iterating untill a culprit is found, gromit is doing the heavy lifting here, if you (collectively, it doesn't have to be you individually) give feedback on each kernel he's providing we will eventually land on the exact culprit. For more info on the underlying process: https://wiki.archlinux.org/title/Bisect … s_with_Git -- that's just for interest and can be somewhat involved, if you want to help, test gromits builds and give feedback on whether you still see the issue

FWIW someone on reddit suggested 58a261bfc96763a851cb48b203ed57da37e157b8 not on a system where I can trivially do a build with a revert right now, but it might help speed things up for @gromit

Last edited by V1del (2024-11-26 10:19:34)

Offline

#28 2024-11-26 13:31:05

loqs
Member
Registered: 2014-03-06
Posts: 18,093

Re: linux-6.12.1.arch1-1 introduces graphics artifacts

V1del wrote:

FWIW someone on reddit suggested 58a261bfc96763a851cb48b203ed57da37e157b8 not on a system where I can trivially do a build with a revert right now, but it might help speed things up for @gromit

6.12.1.arch1 with 58a261bfc96763a851cb48b203ed57da37e157b8 reverted which required 23d16ede33a4db4973468bf6652a09da5efd1468 to be reverted first:
linux-6.12.1.arch1-1.1-x86_64.pkg.tar.zst/linux-headers-6.12.1.arch1-1.1-x86_64.pkg.tar.zst

Last edited by loqs (2024-11-26 13:31:30)

Offline

#29 2024-11-26 14:08:57

gcb
Member
Registered: 2014-02-12
Posts: 168

Re: linux-6.12.1.arch1-1 introduces graphics artifacts

i'm not on the bisset party yet, but can confirm "amdgpu.dcdebugmask=0x10" resolved it!

i could reproduce consistently before, and it is completely gone with this option.

Operating System: Arch Linux
KDE Plasma Version: 6.2.3
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.0
Kernel Version: 6.12.1-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 PRO 6650U with Radeon Graphics
Memory: 30.7 GiB of RAM
Graphics Processor: AMD Radeon Graphics
glxinfo:
    Vendor: AMD (0x1002)
    Device: AMD Radeon Graphics (radeonsi, rembrandt, LLVM 18.1.8, DRM 3.59, 6.12.1-arch1-1) (0x1681)
    Version: 24.2.7
    Accelerated: yes
    Video memory: 512MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 4.6
    Max compat profile version: 4.6
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2



if others are curious, PSR means Panel Self Refresh. Not sure what it does... more info on https://bbs.archlinux.org/viewtopic.php?id=276352

my logs, before adding the 0x10 option above (after, this line is gone):

>  kernel: [drm] PSR support 1, DC PSR ver 0, sink PSR ver 3 DPCD caps 0x30 su_y_granularity 4

Last edited by gcb (2024-11-26 14:18:43)

Offline

#30 2024-11-26 15:11:51

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,319

Re: linux-6.12.1.arch1-1 introduces graphics artifacts

It's a power optimisation on laptops, you can basically tell the GPU to only render out updates to content that's actually changing while the rest remains static -- so you're using the GPU less for smaller changes which will conserve power. Disabling it means the GPU will have to repaint the entire screen for everything again, leading to an increase in power usage.

See https://gitlab.freedesktop.org/drm/amd/-/issues/3742 and https://gitlab.freedesktop.org/drm/amd/-/issues/3658 as well, apparently it might help if you disable VRR/switch to 60Hz if you currently have a higher refreshrate.

Last edited by V1del (2024-11-26 15:14:34)

Offline

#31 2024-11-28 03:24:39

rek2
Member
Registered: 2015-02-12
Posts: 44

Re: linux-6.12.1.arch1-1 introduces graphics artifacts

I am having this issues with slow/glitches also on hyprland artifacts screw going to downgrade see if it fixes it, this is after I did an update that most likely included the kernel

Offline

#32 2024-11-28 23:09:47

djpohly
Member
Registered: 2007-08-14
Posts: 25

Re: linux-6.12.1.arch1-1 introduces graphics artifacts

I can confirm this eliminates the artifacts on my Radeon 660M (Ryzen 5 6650U integrated graphics).

Offline

#33 2024-11-28 23:22:04

gromit
Package Maintainer (PM)
From: Germany
Registered: 2024-02-10
Posts: 733
Website

Re: linux-6.12.1.arch1-1 introduces graphics artifacts

Did someone already find a report for this issue on the lists or in the DRM Gitlab?

Offline

#34 2024-11-29 02:03:39

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,319

Re: linux-6.12.1.arch1-1 introduces graphics artifacts

V1del wrote:

See https://gitlab.freedesktop.org/drm/amd/-/issues/3742 and https://gitlab.freedesktop.org/drm/amd/-/issues/3658 as well, apparently it might help if you disable VRR/switch to 60Hz if you currently have a higher refreshrate.

Chances are it's one (or both) of these two

Offline

#35 2024-11-30 17:59:17

hoschi
Member
From: Ulm (Germany)
Registered: 2008-11-03
Posts: 468

Re: linux-6.12.1.arch1-1 introduces graphics artifacts

I'm also affected.

  • Linux 6.12

  • GNOME 47 upon Wayland

  • ThinkPad X13 with AMD Ryzen 6850U (RDNA2)


Turning PSR OFF with the well known boot option [m]amdgpu.dcdebugmask=0x10[/m] fixes the graphical glitches (similiar picture).


Upstream report about graphic glitches. Everyone else is complaining about frame timing or performance but our apparent issue are graphic glitches.

Last edited by hoschi (2024-11-30 18:41:04)

Offline

#36 2024-11-30 23:06:23

loqs
Member
Registered: 2014-03-06
Posts: 18,093

Re: linux-6.12.1.arch1-1 introduces graphics artifacts

@hoschi have you tried with 58a261bfc96763a851cb48b203ed57da37e157b8 reverted or if that does not resolve the issue bisecting between 6.11 and 6.12? Does the patch attached to https://gitlab.freedesktop.org/drm/amd/ … te_2680869 have any effect? Is the issue still present in amdgpu-drm-next for you?

Offline

Board footer

Powered by FluxBB