You are not logged in.

#1 2021-04-07 09:08:50

Cphusion
Member
Registered: 2021-03-22
Posts: 23

[SOLVED] Screen glitches with AMD GPU(RX 6700XT)

A few weeks ago bought an AMD graphics card to replace my Nvidia graphics card, I has some problems getting it to work but I was able to get it working with some advice from someone in a  previous topic of mine.
Now I am still having trouble with something I can't figure out, with my new graphics card I am still getting screen glitches in both the terminal other programs such as a file manager. The weird thing about is that the glitches only appear on the selected monitor(I have two),
when I switch to the other monitor the glitches disappear, I am using i3wm and xorg in my setup.
The glitches appear as greenish squares and in the terminal it also happens that text fades out, here are four screenshots of what the glitches look like:
Screenshot1
Screenshot2
Screenshot3
Screenshot4

03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 22 (rev c1) (prog-if 00 [VGA controller])
        Subsystem: Gigabyte Technology Co., Ltd Device 232d
        Flags: bus master, fast devsel, latency 0, IRQ 142
        Memory at 90000000 (64-bit, prefetchable) [size=256M]
        Memory at a0000000 (64-bit, prefetchable) [size=2M]
        I/O ports at 3000 [size=256]
        Memory at a0300000 (32-bit, non-prefetchable) [size=1M]
        Expansion ROM at 000c0000 [disabled] [size=128K]
        Capabilities: [48] Vendor Specific Information: Len=08 <?>
        Capabilities: [50] Power Management version 3
        Capabilities: [64] Express Legacy Endpoint, MSI 00
        Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
        Capabilities: [150] Advanced Error Reporting
        Capabilities: [200] Physical Resizable BAR
        Capabilities: [240] Power Budgeting <?>
        Capabilities: [270] Secondary PCI Express
        Capabilities: [2a0] Access Control Services
        Capabilities: [2d0] Process Address Space ID (PASID)
        Capabilities: [320] Latency Tolerance Reporting
        Capabilities: [410] Physical Layer 16.0 GT/s <?>
        Capabilities: [440] Lane Margining at the Receiver <?>
        Kernel driver in use: amdgpu
        Kernel modules: amdgpu

I checked my Xorg.0.log but I can't find anything that wasn't there before I switched my graphics card and nothing that stands out, here is my latest Xorg.0.log
I never had to do anything special with my Nvidia graphics card to get it working without glitches, so I would find it strange if I have to do something special to get it working
without glitches with an AMD graphics card. I have xf86-video-amdgpu installed and am using linux-firmware-git from the AUR. The only thing I can think of that it might be
a glitchy driver or glitchy firmware, does anyone have any other ideas of what could be causing these glitches?

Last edited by Cphusion (2021-04-10 14:31:07)

Offline

#2 2021-04-07 11:45:47

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: [SOLVED] Screen glitches with AMD GPU(RX 6700XT)

[    19.833] (II) AMDGPU(0): Display is continuous-frequency

[    19.835] (II) AMDGPU(0): Display is continuous-frequency

Do you monitors support freesync ?

If yes, does enabling variable refresh rate help ?
see https://wiki.archlinux.org/index.php/Va … fresh_rate,


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2021-04-07 13:59:13

Cphusion
Member
Registered: 2021-03-22
Posts: 23

Re: [SOLVED] Screen glitches with AMD GPU(RX 6700XT)

Lone_Wolf wrote:
[    19.833] (II) AMDGPU(0): Display is continuous-frequency

[    19.835] (II) AMDGPU(0): Display is continuous-frequency

Do you monitors support freesync ?

If yes, does enabling variable refresh rate help ?
see https://wiki.archlinux.org/index.php/Va … fresh_rate,

@Lone_Wolf Thanks for responding! I thought both my monitors(Dell and HP )support Freesync but it seems only the Dell does.
However when I look it up on the HP Monitor's  documentation it does support it when connected through HDMI or DisplayPort so I'm not sure if it does support it or not now but I do
have Adaptive-Sync enabled on the HP monitor which is what the documentation refers to about Freesync. I found a section in the wiki where it explains how to setup a manual xorg.conf
configuration so I tried what you asked. I created the manual configuration and added the VariableRefresh option so it looks like this.

Section "Device"
        Identifier "AMD"
        Driver "amdgpu"
        Option "VariableRefresh" "True"
EndSection

However the glitches still appear and also the message "Display is continuous-frequency" still appears in Xorg.0.log.

Last edited by Cphusion (2021-04-07 14:27:25)

Offline

#4 2021-04-08 01:04:07

omarabid
Member
Registered: 2021-04-08
Posts: 1

Re: [SOLVED] Screen glitches with AMD GPU(RX 6700XT)

@Cphusion

I'm having the same problem. 6700x running with the git aur firmware. On the other hand, I'm using Wayland/Sway. Did you find a solution?

Offline

#5 2021-04-08 10:05:20

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: [SOLVED] Screen glitches with AMD GPU(RX 6700XT)

You could try the amd-staging-drm-next kernel maintained by AMD developer Alex Deucher (agd5f) .
It gets fixes and improvements before they enter mainline / stable kernel .

There's an aur package for it, see https://aur.archlinux.org/packages/linu … -next-git/


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#6 2021-04-08 10:21:25

smaTc
Member
Registered: 2021-04-08
Posts: 2

Re: [SOLVED] Screen glitches with AMD GPU(RX 6700XT)

I have the exact same problem. Also bought a 6700XT, installed linux-firmware-git and with that came that same artifacts. Recently my lightdm crashes on startup and can only be started manually, but then it freezes on login to a cinnamon session. I will try the amd-staging-drm-next kernel now.

Offline

#7 2021-04-08 11:33:32

Cphusion
Member
Registered: 2021-03-22
Posts: 23

Re: [SOLVED] Screen glitches with AMD GPU(RX 6700XT)

Lone_Wolf wrote:

You could try the amd-staging-drm-next kernel maintained by AMD developer Alex Deucher (agd5f) .
It gets fixes and improvements before they enter mainline / stable kernel .

There's an aur package for it, see https://aur.archlinux.org/packages/linu … -next-git/

@Lone_Wolf I just installed the amd-staging-drm-next-git kernel and the glitches still occur when booted into that kernel,
seeing  that two other people here are also running into the same problem and someone on the archlinux sub-reddit as
well I'm guessing there will be more people with this issue as well.

Last edited by Cphusion (2021-04-09 07:33:08)

Offline

#8 2021-04-08 11:34:28

Cphusion
Member
Registered: 2021-03-22
Posts: 23

Re: [SOLVED] Screen glitches with AMD GPU(RX 6700XT)

omarabid wrote:

@Cphusion

I'm having the same problem. 6700x running with the git aur firmware. On the other hand, I'm using Wayland/Sway. Did you find a solution?

@omarabid Thanks for replying, good to know there are other people also having this issue and that it's not just me, I haven't found a solution yet.

Last edited by Cphusion (2021-04-08 11:42:22)

Offline

#9 2021-04-09 02:02:10

contexts
Member
Registered: 2021-04-06
Posts: 2

Re: [SOLVED] Screen glitches with AMD GPU(RX 6700XT)

Did you two ever resolve this issue. The same thing is happening to me as well.

Offline

#10 2021-04-09 08:40:57

Cphusion
Member
Registered: 2021-03-22
Posts: 23

Re: [SOLVED] Screen glitches with AMD GPU(RX 6700XT)

contexts wrote:

Did you two ever resolve this issue. The same thing is happening to me as well.

Haven't solved it yet not sure if this is solvable or just waiting for a driver or firmware update in some future kernel
and/or linux-firmware since it seems more like a driver or firmware issue rather than a configuration issue. I also
tried the linux-next-git kernel from the AUR as well but no luck there either.

Last edited by Cphusion (2021-04-09 08:43:40)

Offline

#11 2021-04-09 09:46:22

seth
Member
Registered: 2012-09-03
Posts: 49,983

Re: [SOLVED] Screen glitches with AMD GPU(RX 6700XT)

glitches only appear on the selected monitor

What does that mean specifically? Actve window or mouse position?
Do you also run a compositor?

Also, the usual suspicious kernel parameters:

amdgpu.dc=0 amdgpu.audio=0 amdgpu.dpm=0 amdgpu.aspm=0 amdgpu.runpm=0 amdgpu.bapm=0

Online

#12 2021-04-09 10:18:11

Cphusion
Member
Registered: 2021-03-22
Posts: 23

Re: [SOLVED] Screen glitches with AMD GPU(RX 6700XT)

seth wrote:

glitches only appear on the selected monitor

What does that mean specifically? Actve window or mouse position?
Do you also run a compositor?

Also, the usual suspicious kernel parameters:

amdgpu.dc=0 amdgpu.audio=0 amdgpu.dpm=0 amdgpu.aspm=0 amdgpu.runpm=0 amdgpu.bapm=0

@seth Thanks for your reply, the monitor that my mouse is active on, so in i3wm terminology "active workspace". Although I
did some more testing and it  seems with a graphical application such as Steam the glitches stay and never leave and with
my terminal emulator or my filemanager  the glitches disappear when switching to the workspace that has the glitches making
it the active one where my mouse is at. I don't use any of those kernel parameters and I do not run a compositor. Here's an
example of how the glitches look on Steam.

Last edited by Cphusion (2021-04-09 10:26:21)

Offline

#13 2021-04-09 10:34:33

seth
Member
Registered: 2012-09-03
Posts: 49,983

Re: [SOLVED] Screen glitches with AMD GPU(RX 6700XT)

You're supposed to try whether the parameters make the problem go away.

Online

#14 2021-04-09 10:48:52

Cphusion
Member
Registered: 2021-03-22
Posts: 23

Re: [SOLVED] Screen glitches with AMD GPU(RX 6700XT)

seth wrote:

You're supposed to try whether the parameters make the problem go away.

That was misunderstood sorry, I added those kernel parameters too my grub configuration, as soon
as it starts booting the kernel both my monitors give no output and also give the message no output.
When I boot from the archiso to arch-crhoot into my installation and remove those kernel parameters then
I am able to boot the kernel again without both my monitors going blank because of not receiving any input.

Offline

#15 2021-04-09 10:59:06

seth
Member
Registered: 2012-09-03
Posts: 49,983

Re: [SOLVED] Screen glitches with AMD GPU(RX 6700XT)

??
'key...

Try only "amdgpu.dpm=0 amdgpu.aspm=0 amdgpu.runpm=0 amdgpu.bapm=0" .

Online

#16 2021-04-09 11:14:18

Cphusion
Member
Registered: 2021-03-22
Posts: 23

Re: [SOLVED] Screen glitches with AMD GPU(RX 6700XT)

seth wrote:

??
'key...

Try only "amdgpu.dpm=0 amdgpu.aspm=0 amdgpu.runpm=0 amdgpu.bapm=0" .

That gives the same results as before, both my monitors not receiving any input when booting into the kernel
with those kernel parameters added too my grub configuration and when I only use amdgpu.dpm=0 it boots
without my monitors not receiving any input but the glitches still appear. I also tried this
which I just came across in the wiki but neither high or low did anything for the glitching problem.

Last edited by Cphusion (2021-04-09 12:21:50)

Offline

#17 2021-04-09 13:13:43

seth
Member
Registered: 2012-09-03
Posts: 49,983

Re: [SOLVED] Screen glitches with AMD GPU(RX 6700XT)

Can you please post the literal commandline you tried?
It seems weird that either of the other parameters would have caused the outputs to fail and I rather suspect a syntax issue.

Online

#18 2021-04-09 13:20:24

Cphusion
Member
Registered: 2021-03-22
Posts: 23

Re: [SOLVED] Screen glitches with AMD GPU(RX 6700XT)

seth wrote:

Can you please post the literal commandline you tried?
It seems weird that either of the other parameters would have caused the outputs to fail and I rather suspect a syntax issue.

I added those kernel parameters to /etc/default/grub so that the following line looks like this.

GRUB_CMDLINE_LINUX="rd.luks.name=b098b6ea-965b-4d24-91ad-247662d3a62d=cryptlvm amdgpu.dpm=0 amdgpu.aspm=0 amdgpu.runpm=0 amdgpu.bapm=0"

Then I generated my grub configuration with grub-mkconfig, after which I rebooted and when booting into the kernel neither of my monitors got any output so they went to sleep mode.

Offline

#19 2021-04-09 13:22:57

seth
Member
Registered: 2012-09-03
Posts: 49,983

Re: [SOLVED] Screen glitches with AMD GPU(RX 6700XT)

No, that's fine…
Does it happen w/ only "amdgpu.dc=0"?

Online

#20 2021-04-09 13:40:14

Cphusion
Member
Registered: 2021-03-22
Posts: 23

Re: [SOLVED] Screen glitches with AMD GPU(RX 6700XT)

seth wrote:

No, that's fine…
Does it happen w/ only "amdgpu.dc=0"?

Just tried it and it also happens only with "amdgpu.dc=0". I also came across a section in the AMDGPU wiki page
because it sounded like it could maybe be something because my monitors support refresh rates above 60hz
but that didn't change anything, neither high or low using a udev rule.

Last edited by Cphusion (2021-04-09 13:48:38)

Offline

#21 2021-04-09 21:46:30

seth
Member
Registered: 2012-09-03
Posts: 49,983

Re: [SOLVED] Screen glitches with AMD GPU(RX 6700XT)

Does it go away if you drive the output at 60Hz?
("xrandr --output DP1-whatever --rate 60")

Online

#22 2021-04-10 06:40:43

Natlampen
Member
Registered: 2007-10-16
Posts: 7

Re: [SOLVED] Screen glitches with AMD GPU(RX 6700XT)

I have just installed a RX 6700XT in my computer. To get it booting I needed linux-firmware-git from AUR as you noted. And to remove the screen glitches I installed also mesa-git from AUR. Although I did not notice the squares in the terminal. I saw it only in gnome and games.

Offline

#23 2021-04-10 13:24:55

Cphusion
Member
Registered: 2021-03-22
Posts: 23

Re: [SOLVED] Screen glitches with AMD GPU(RX 6700XT)

seth wrote:

Does it go away if you drive the output at 60Hz?
("xrandr --output DP1-whatever --rate 60")

I just tried that the other day forgot to mention it, with the refresh rate set through xrandr the screen glitching is still there.

Offline

#24 2021-04-10 13:44:43

Cphusion
Member
Registered: 2021-03-22
Posts: 23

Re: [SOLVED] Screen glitches with AMD GPU(RX 6700XT)

Natlampen wrote:

I have just installed a RX 6700XT in my computer. To get it booting I needed linux-firmware-git from AUR as you noted. And to remove the screen glitches I installed also mesa-git from AUR. Although I did not notice the squares in the terminal. I saw it only in gnome and games.

@Natlampen Thanks for replying, I will give it shot if it worked for you.

Offline

#25 2021-04-10 14:23:49

Cphusion
Member
Registered: 2021-03-22
Posts: 23

Re: [SOLVED] Screen glitches with AMD GPU(RX 6700XT)

Cphusion wrote:
Natlampen wrote:

I have just installed a RX 6700XT in my computer. To get it booting I needed linux-firmware-git from AUR as you noted. And to remove the screen glitches I installed also mesa-git from AUR. Although I did not notice the squares in the terminal. I saw it only in gnome and games.

@Natlampen Thanks for replying, I will give it shot if it worked for you.

@Natlampen I just installed mesa-git and lib32-mesa-git from AUR as you said worked for you, that seems to have worked for me as well since I am not getting any more screen glitches in my terminal or graphical applications, as well as not seeing any more text fading out in my terminal emulator.
Thanks sharing what worked for you!

Thanks to all those who took the time to respond and help find a solution! I'll mark the topic as solved.

Last edited by Cphusion (2021-04-10 14:30:13)

Offline

Board footer

Powered by FluxBB