Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Nov 2022 16:46:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        x11@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 267730] graphics/drm-kmod  Screen artifacts with amdgpu
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/>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-267730-7141-YFXraEzH1P>