From nobody Sat Nov 12 16:46:08 2022
X-Original-To: x11@mlmmj.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
	by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4N8hKX6YMfz4hBJy
	for <x11@mlmmj.nyi.freebsd.org>; Sat, 12 Nov 2022 16:46:08 +0000 (UTC)
	(envelope-from bugzilla-noreply@freebsd.org)
Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256
	 client-signature RSA-PSS (4096 bits) client-digest SHA256)
	(Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK))
	by mx1.freebsd.org (Postfix) with ESMTPS id 4N8hKX4D9vz4KFF
	for <x11@FreeBSD.org>; Sat, 12 Nov 2022 16:46:08 +0000 (UTC)
	(envelope-from bugzilla-noreply@freebsd.org)
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org;
	s=dkim; t=1668271568;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:mime-version:mime-version:content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding:
	 in-reply-to:in-reply-to:references:references;
	bh=UhKESC19Tp3X3hlgudzCbZAg2yf1d9JNsOBTPbSQs0Y=;
	b=t7TzaImUO7VezJbbyRxUXktoxggL9V/Pa2UsCxNyJyO2HHgGZy/5T1ToipHCgJ/BH0btrt
	Pw7d9x6BYLCwYKnxJtG6n/d0Tv+mUPzkeeoEnFP5RqDo2dEAJxoFBK9JyBBq4OaePCtSfz
	8XB/INkjeVccQsr88SkCuVnbch2J1FwgqZZ+Lcve1xK1sM3xHTYlfSQR+CP6BhSR6MEDJp
	puch2iEKyWcFNiyLCbnLUKQTmV1gLdi6NSPE4XSjes0Jua1uFoDskpdj/07UEFgQtcnRJs
	kc3xedEj12LSIQ4gNZOsCmRwotNDm5zfrGNb392RJgCSAnYQW8oaOrD0LvFDyg==
ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1668271568; a=rsa-sha256; cv=none;
	b=gv+xUGyMZVTk8SLCHpA0ZchDWOIcbjFrQrN5UxMpnTyIJMSmbILZSR7/+kDy9gcopGn8xA
	ztbgjzVzbbm2Tx+LG0mByf7tUlFeCoRfnAzt4LVj/2tjVCPG2sPozh0jJS1wMT7vp3/o8c
	xRn0z3EES2MiCf23Iolq4s3zknS8vKvT9awJkn1Blzimuc/x9XtWJgD4YzBoItmZa6Ilwm
	dw3YvtYE1TPcxi1PZi8wq5BySxb+M2YxIHnl3VI8mKJG5nx8hP/gymN8is4ZlCjxRY9x8M
	8jeTyw0C3gZJz3/6x/vFbgMN2QkT+52ZNFo1FtpodZ188e56ZHVBQ0Ubbm6Wcg==
ARC-Authentication-Results: i=1;
	mx1.freebsd.org;
	none
Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(Client did not present a certificate)
	by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4N8hKX3K7xzVtx
	for <x11@FreeBSD.org>; Sat, 12 Nov 2022 16:46:08 +0000 (UTC)
	(envelope-from bugzilla-noreply@freebsd.org)
Received: from kenobi.freebsd.org ([127.0.1.5])
	by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2ACGk8eO001843
	for <x11@FreeBSD.org>; Sat, 12 Nov 2022 16:46:08 GMT
	(envelope-from bugzilla-noreply@freebsd.org)
Received: (from www@localhost)
	by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2ACGk80J001842
	for x11@FreeBSD.org; Sat, 12 Nov 2022 16:46:08 GMT
	(envelope-from bugzilla-noreply@freebsd.org)
X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="UTF-8"
From: bugzilla-noreply@freebsd.org
To: x11@FreeBSD.org
Subject: maintainer-feedback requested: [Bug 267730] graphics/drm-kmod 
 Screen artifacts with amdgpu
Date: Sat, 12 Nov 2022 16:46:08 +0000
X-Bugzilla-Type: request
X-Bugzilla-Product: Ports & Packages
X-Bugzilla-Component: Individual Port(s)
X-Bugzilla-Version: Latest
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: 
X-Bugzilla-Status: New
X-Bugzilla-Resolution: 
X-Bugzilla-Priority: ---
X-Bugzilla-Assigned-To: x11@FreeBSD.org
X-Bugzilla-Flags: maintainer-feedback?
Message-ID: <bug-267730-7141-YFXraEzH1P@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-267730-7141@https.bugs.freebsd.org/bugzilla/>
References: <bug-267730-7141@https.bugs.freebsd.org/bugzilla/>
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
List-Id: X11 <freebsd-x11.freebsd.org>
List-Archive: https://lists.freebsd.org/archives/freebsd-x11
List-Help: <mailto:x11+help@freebsd.org>
List-Post: <mailto:x11@freebsd.org>
List-Subscribe: <mailto:x11+subscribe@freebsd.org>
List-Unsubscribe: <mailto:x11+unsubscribe@freebsd.org>
Sender: owner-freebsd-x11@freebsd.org
X-BeenThere: freebsd-x11@freebsd.org
MIME-Version: 1.0
X-ThisMailContainsUnwantedMimeParts: N

Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-x11 (Nobody)
<x11@FreeBSD.org> for maintainer-feedback:
Bug 267730: graphics/drm-kmod  Screen artifacts with amdgpu
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267730



--- Description ---
Describe the bug:
When using amdgpu, white-on-black horizontal lines intermittently flash on
right half of screen. See video attached below in Screenshots

FreeBSD version:
FreeBSD fbsd 14.0-CURRENT FreeBSD 14.0-CURRENT #0 main-n258691-24cf7a8d628:=
 Thu
Oct 20 07:55:17 UTC 2022
root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64

pciconf:

vgapci0@pci0:9:0:0:	class=3D0x030000 rev=3D0xc8 hdr=3D0x00 vendor=3D0x1002
device=3D0x1638 subvendor=3D0x1043 subdevice=3D0x8809
    vendor     =3D 'Advanced Micro Devices, Inc. [AMD/ATI]'
    device     =3D 'Cezanne'
    class      =3D display
    subclass   =3D VGA

DRM KMOD version:
drm-510-kmod 5.10.113_7
drm-kmod 20220907_1

To Reproduce:
Install either 13.1-RELEASE, 13.1-STABLE, or 14.0, install drm-kmod package,
enable amdgpu by adding kld_list=3D"amdgpu" to /etc/rc.conf, and log into a
console.

Screenshot:
https://user-images.githubusercontent.com/11449161/198061203-8056e97d-7a3d-=
4ccb
-945f-fcc6423e88cb.mp4

Additional context:
It appears support for vendor=3D0x1002 device=3D0x1638 graphics card has be=
en
added:
https://github.com/freebsd/drm-kmod/blob/5.10-lts/drivers/gpu/drm/amd/amdgp=
u/am
dgpu_drv.c#L1102
Same issue presents on any FreeBSD version listed above, whether built from
source or installed from snapshot.
Disabling video mode using hw.vga.textmode=3D1 does not resolve the issue.
The issue carries over into an X session.
Notably, the issue disappears when compiling anything, whether in the conso=
le
or X.
Github issue previously opened under freebsd/drm-kmod at
https://github.com/freebsd/drm-kmod/issues/213