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:   [Bug 267730] graphics/drm-kmod  Screen artifacts with amdgpu
Message-ID:  <bug-267730-7141@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267730

            Bug ID: 267730
           Summary: graphics/drm-kmod  Screen artifacts with amdgpu
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: x11@FreeBSD.org
          Reporter: stoa@gmx.us
             Flags: maintainer-feedback?(x11@FreeBSD.org)
          Assignee: x11@FreeBSD.org

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=3D0x1=
002
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/amdgpu_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

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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