Bug 204885 - ryzen 2500U cause graphics glitch in all browsers with kernel version 5.2.x+
Summary: ryzen 2500U cause graphics glitch in all browsers with kernel version 5.2.x+
Status: RESOLVED CODE_FIX
Alias: None
Product: Other
Classification: Unclassified
Component: Other (show other bugs)
Hardware: x86-64 Linux
: P1 normal
Assignee: drivers_video-dri
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-17 04:55 UTC by no2stable
Modified: 2019-10-09 10:16 UTC (History)
2 users (show)

See Also:
Kernel Version: 5.3.0
Subsystem:
Regression: No
Bisected commit-id:


Attachments
dmesg (63.89 KB, text/plain)
2019-09-17 04:55 UTC, no2stable
Details
5.3.0 kernel config (233.59 KB, text/plain)
2019-09-17 04:56 UTC, no2stable
Details
a picture of the graphic glitch (2.80 MB, image/jpeg)
2019-09-17 05:01 UTC, no2stable
Details
anathor picture of the graphic glitch (3.99 MB, image/jpeg)
2019-09-17 05:02 UTC, no2stable
Details

Description no2stable 2019-09-17 04:55:51 UTC
Created attachment 285017 [details]
dmesg

I have a ryzen 2500U laptop running archlinux, after I upgrade the kernel from 5.1.16 to 5.2.x, firefox start to have those wired lines graphic glitch when browsing web pages, especially when browsing a page contain video.

This graphic glitch happens to every browser I tried: Chromium, qutebrowser(webkit engine), I tried to turn off hardware acceleration, it dose helped on Chromium, but not on firefox, so I guess it is a bug related to driver.

Currently I have 2 kernel installed on my laptop, one is the official kernel package from arhclinux with kernel version 5.1.16. I also compiled a 5.3.0 kernel using the archlinux official 5.3.0 kernel .config file.

I am new to linux, so I dont really know hot to debug this problem, but I'm willing to learn how if somebody give me a hint.
Comment 1 no2stable 2019-09-17 04:56:28 UTC
Created attachment 285019 [details]
5.3.0 kernel config
Comment 2 no2stable 2019-09-17 05:01:07 UTC
Created attachment 285021 [details]
a picture of the graphic glitch
Comment 3 no2stable 2019-09-17 05:02:34 UTC
Created attachment 285023 [details]
anathor picture of the graphic glitch
Comment 4 Pierre-Eric Pelloux-Prayer 2019-10-08 12:07:48 UTC
This bug looks similar to https://bugs.freedesktop.org/show_bug.cgi?id=111122

Could you try the various workarounds proposed there and see if it helps:
  - adding the iommu=pt kernel boot parameter (see https://wiki.archlinux.org/index.php/kernel_parameters#GRUB)
  - or using the AMD_DEBUG=nodcc environment variable (for instance, try adding a new line with "AMD_DEBUG=nodcc" in the /etc/environment file and reboot)
  - or updating Mesa to the latest version
Comment 5 no2stable 2019-10-09 10:16:04 UTC
(In reply to Pierre-Eric Pelloux-Prayer from comment #4)
> This bug looks similar to https://bugs.freedesktop.org/show_bug.cgi?id=111122
> 
> Could you try the various workarounds proposed there and see if it helps:
>   - adding the iommu=pt kernel boot parameter (see
> https://wiki.archlinux.org/index.php/kernel_parameters#GRUB)
>   - or using the AMD_DEBUG=nodcc environment variable (for instance, try
> adding a new line with "AMD_DEBUG=nodcc" in the /etc/environment file and
> reboot)
>   - or updating Mesa to the latest version

So adding "iommu=pt" to the kernel parameter dose help, thanks a lot!

Note You need to log in before you can comment on or make changes to this bug.