[amdgpu] intermittent green static

Bug #1995320 reported by Kai Groner
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned
mesa (Ubuntu)
New
Undecided
Unassigned

Bug Description

After upgrading from 22.04 to 22.10 I've been seeing some display glitches.

- green static appears, usually when scrolling, regular sized green blocks, like giant pixels
- firefox not refreshing when full screen video plays (separate windows, separate screens)

I would guess I probably have the wrong package here, but there's no way for me to tell if it's mesa, the kernel, gnome-shell, or something else.

Radeon 6700XT
Dual displays
Wayland

ProblemType: Bug
DistroRelease: Ubuntu 22.10
Package: gnome-shell 43.0-1ubuntu2
ProcVersionSignature: Ubuntu 5.19.0-23.24-generic 5.19.7
Uname: Linux 5.19.0-23-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.23.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Mon Oct 31 21:46:03 2022
DisplayManager: gdm3
InstallationDate: Installed on 2019-06-18 (1231 days ago)
InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
ProcEnviron:
 TERM=tmux-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
RelatedPackageVersions: mutter-common 43.0-1ubuntu4
SourcePackage: gnome-shell
UpgradeStatus: Upgraded to kinetic on 2022-10-30 (1 days ago)
---
ProblemType: Bug
ApportVersion: 2.23.1-0ubuntu3
Architecture: amd64
CRDA: N/A
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 22.10
InstallationDate: Installed on 2019-06-18 (1232 days ago)
InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
Package: linux (not installed)
ProcEnviron:
 TERM=tmux-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB: 0 amdgpudrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.19.0-23-generic root=/dev/mapper/infodata-root ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 5.19.0-23.24-generic 5.19.7
RelatedPackageVersions:
 linux-restricted-modules-5.19.0-23-generic N/A
 linux-backports-modules-5.19.0-23-generic N/A
 linux-firmware 20220923.gitf09bebf3-0ubuntu1
RfKill:

Tags: kinetic wayland-session
Uname: Linux 5.19.0-23-generic x86_64
UpgradeStatus: Upgraded to kinetic on 2022-10-30 (1 days ago)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo wireshark
_MarkForUpload: True
dmi.bios.date: 11/27/2019
dmi.bios.release: 5.14
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: P2.90
dmi.board.name: B450M Steel Legend
dmi.board.vendor: ASRock
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP2.90:bd11/27/2019:br5.14:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnB450MSteelLegend:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:skuToBeFilledByO.E.M.:
dmi.product.family: To Be Filled By O.E.M.
dmi.product.name: To Be Filled By O.E.M.
dmi.product.sku: To Be Filled By O.E.M.
dmi.product.version: To Be Filled By O.E.M.
dmi.sys.vendor: To Be Filled By O.E.M.

Revision history for this message
Kai Groner (kai-gronr) wrote :
summary: - intermittent green static
+ [amdgpu] intermittent green static
affects: gnome-shell (Ubuntu) → linux (Ubuntu)
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1995320

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Kai Groner (kai-gronr) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Kai Groner (kai-gronr) wrote : AudioDevicesInUse.txt

apport information

Revision history for this message
Kai Groner (kai-gronr) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Kai Groner (kai-gronr) wrote : IwConfig.txt

apport information

Revision history for this message
Kai Groner (kai-gronr) wrote : Lspci.txt

apport information

Revision history for this message
Kai Groner (kai-gronr) wrote : Lspci-vt.txt

apport information

Revision history for this message
Kai Groner (kai-gronr) wrote : Lsusb.txt

apport information

Revision history for this message
Kai Groner (kai-gronr) wrote : Lsusb-t.txt

apport information

Revision history for this message
Kai Groner (kai-gronr) wrote : Lsusb-v.txt

apport information

Revision history for this message
Kai Groner (kai-gronr) wrote : PaInfo.txt

apport information

Revision history for this message
Kai Groner (kai-gronr) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Kai Groner (kai-gronr) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Kai Groner (kai-gronr) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Kai Groner (kai-gronr) wrote : ProcModules.txt

apport information

Revision history for this message
Kai Groner (kai-gronr) wrote : PulseList.txt

apport information

Revision history for this message
Kai Groner (kai-gronr) wrote : UdevDb.txt

apport information

Revision history for this message
Kai Groner (kai-gronr) wrote : WifiSyslog.txt

apport information

Revision history for this message
Kai Groner (kai-gronr) wrote : acpidump.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Kai Groner (kai-gronr) wrote :

Right now this is happening persistently on one full screen window. If I move another window over it the glitch is obscured. Usually this is more transient, so I haven’t been able to capture it.

Revision history for this message
Kai Groner (kai-gronr) wrote :

The persistent flickering is still happening the following day. I found turning off fractional scaling made it go away. This seems to point toward gnome-shell or some related library.

Revision history for this message
Kai Groner (kai-gronr) wrote :

Static is confined to specific windows or surfaces, disappears behind other windows.
Static seems to have stopped completely when fractional scaling is turned off.

affects: linux (Ubuntu) → gnome-shell (Ubuntu)
Revision history for this message
Kai Groner (kai-gronr) wrote :

I'm still seeing issues with full screen video in firefox. Perhaps it’s a separate issue, but the static looks similar in its blockiness.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

> I found turning off fractional scaling made it go away.

Only Xorg fractional scaling changes the display hardware mode directly. If we're still talking about Wayland only then I would not expect fractional scaling to have triggered the bug.

Revision history for this message
Kai Groner (kai-gronr) wrote :

Upon returning from an appointment the flickering has returned. The fractional scaling setting must have been a coincidence.

Revision history for this message
Kai Groner (kai-gronr) wrote :

A couple more data points.

I installed and booted a 5.19.17 mainline kernel (from the ubuntu mainline kernel archive) and the static started immediately.
I booted the 5.15.0-52-generic kernel left over from ubuntu 20.04 and haven't had any problems with static or full screen video after 30 minutes.

This seems to point toward a kernel/driver issue rather than gnome-shell.

affects: gnome-shell (Ubuntu) → linux (Ubuntu)
tags: added: regression-release
Revision history for this message
Kai Groner (kai-gronr) wrote :

Updating to report I've been running the 5.15 kernel for a week without seeing the green static return.

I've been combing some upstream bug trackers for similar issues and came across
https://gitlab.freedesktop.org/drm/amd/-/issues/2010
which migrated to
https://gitlab.freedesktop.org/mesa/mesa/-/issues/6456
and was resolved by
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18494

The videos show similar effects, but more colorful and they attribute the problem to gtk applications specifically. Nevertheless it does occur with the hardware I am using.

This fix does not appear in any releases prior to mesa-22.3.0 rc1.

I may give ppa:oibaf/graphics-drivers a try to see if it improves things.

Revision history for this message
Kai Groner (kai-gronr) wrote :

The static (seen in the video attached to comment #21) seems to be fixed with the kinetic 5.19kernel + the bleeding edge mesa drivers.

I'm still seeing surfaces that get stuck sometimes (like the video attached to comment #24, but usually without the corruption). This is easiest to reproduce with videos playing.

This issue seems to describe the problem (not the crashes posted in comments)
https://gitlab.freedesktop.org/drm/amd/-/issues/2205

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

"radeonsi: invalidate L2 when using dcc stores" is in mesa 22.2.0, and thus in kinetic, so that's not what is missing

Revision history for this message
Kai Groner (kai-gronr) wrote :

The issue eventually occurred with the bleeding edge mesa, but it took a week.

I've since reverted to the kinetic mesa and tried mainline 5.18 and 5.17 kernels, but the issue continues to appear with those kernels.

For now I'm just running the jammy kernel, since that seems to work without static. I still sometimes see one screen freeze up entirely. Playing a video seems to fix that pretty reliably.

Kai Groner (kai-gronr)
tags: added: lunar
removed: kinetic
To post a comment you must log in.