From nobody Thu Feb  1 01:10:10 2024
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 4TQLRn394zz58gy6
	for <x11@mlmmj.nyi.freebsd.org>; Thu,  1 Feb 2024 01:10:13 +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 4TQLRn1Gfxz4PK4
	for <x11@FreeBSD.org>; Thu,  1 Feb 2024 01:10:13 +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=1706749813;
	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;
	bh=xUa8yZVbufS8RF72fh74RqqjXYgQTalbklIbaFW7mss=;
	b=ZTj8PW66xpKzBJbHadxajo7zeYCclHTcFdQxKDz1PSuyiOPYMzEDxNHoGTy0tQTlRKx6PC
	1+bxv/eiEVB7MkDZ3P/W/ncAav/gm4r4vkBHIhqnlnOvkTS3RoUsv7rBbi958zN2AkRS9w
	T3UXbSPEOwY8wnMbaawF1TZb/wtCsDvvxHS+yqpi+zlpg05b840GgxSJcRblwco3q+lL50
	BbHWtsI7h8lZdThD8x721HbZ7/+D/8QlDnhVKBMmJtEcRzWe/OOUymK4M209+n8t2GejlO
	mVcBmJCQrmp+JnO2nftWRm/yvY1hteLanVA7BSJKYjV33VzyIQokUzBxcdNSXA==
ARC-Authentication-Results: i=1;
	mx1.freebsd.org;
	none
ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706749813; a=rsa-sha256; cv=none;
	b=NS9sCMbmOKUMMMzF/Y3tzkzmPdFn1GFV8v86MDfCFQuDcwEvifjc3Wdv51PoJpZMdi5/+g
	Gi6rkXqzD6FBG1Uf3/6J8mF5kMtEgGDSaDAMOAXk0cS4n9Ii36/8mij0ltaQpl7mUlxl7c
	N1vXktVBG/CXpBtXDbAopNlWUBamnUwEDSNUh6TwVVwgGdJTQnr55EjaKGOX6vF4eTeamC
	295iuSNP3yQ0adm/PEU9Dra+hEDLB+zeTatS3uyZqEW32TOCV1qlI3GSwaPL8o0Ock//+C
	ZrimCiqe+GxsTOa6WWQLlQ1JGCNhpdl0Xzl+KZ0Pkj25u1zgvNJM5R4XQ//5Sw==
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 4TQLRn0KtczhnQ
	for <x11@FreeBSD.org>; Thu,  1 Feb 2024 01:10:13 +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 4111ABE2066868
	for <x11@FreeBSD.org>; Thu, 1 Feb 2024 01:10:11 GMT
	(envelope-from bugzilla-noreply@freebsd.org)
Received: (from www@localhost)
	by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4111AB2Y066867
	for x11@FreeBSD.org; Thu, 1 Feb 2024 01:10:11 GMT
	(envelope-from bugzilla-noreply@freebsd.org)
X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f
From: bugzilla-noreply@freebsd.org
To: x11@FreeBSD.org
Subject: [Bug 276757] graphics/drm-515-kmod: Black screen freeze (RX 6600,
 FreeBSD-14.0-RELEASE-p3)
Date: Thu, 01 Feb 2024 01:10:10 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Ports & Packages
X-Bugzilla-Component: Individual Port(s)
X-Bugzilla-Version: Latest
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Some People
X-Bugzilla-Who: illegalcoding@proton.me
X-Bugzilla-Status: New
X-Bugzilla-Resolution: 
X-Bugzilla-Priority: ---
X-Bugzilla-Assigned-To: x11@FreeBSD.org
X-Bugzilla-Flags: maintainer-feedback?
X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform
 op_sys bug_status bug_severity priority component assigned_to reporter
 flagtypes.name attachments.created
Message-ID: <bug-276757-7141@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
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

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276757

            Bug ID: 276757
           Summary: graphics/drm-515-kmod: Black screen freeze (RX 6600,
                    FreeBSD-14.0-RELEASE-p3)
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: x11@FreeBSD.org
          Reporter: illegalcoding@proton.me
          Assignee: x11@FreeBSD.org
             Flags: maintainer-feedback?(x11@FreeBSD.org)

Created attachment 248111
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D248111&action=
=3Dedit
/var/log/messages file

Whenever X11 has been running for roughly 4,5 - 5 hours (although sometimes
(rarely) this happens in just some tens of minutes) both my screens go blac=
k,
and I have to hard reset my PC (i.e.: press the reset button on the front of
the case) to get a working system again.

It's important to note that this doesn't panic or fully crash the system, a=
udio
still works, and it doesn't panic, but it's effectively useless, and the
screens will not come back on no matter what.

I'm using an RX 6600 with 2 displays: 1 DP display @ 1920x1080 165hz, and 1
HDMI display @ 1920x1080 60hz. I'm also using the xf86-video-amdgpu driver =
with
XDM as my display manager and DWM as my window manager.=20

I believe this is an issue in drm-515-kmod as /var/log/messages includes so=
me
drm-related errors when this "crash" happens. Mainly stuff about "waiting f=
or
fences timed out" and "GPU reset failed". I initially had the same issues a=
s in
bug #274770, but the panics were fixed with compiling drm-kmod from the
5.15-lts-focal branch, and I now have these black screen freezes instead.

Apologies if this makes this a duplicate, but as that one isn't very active=
 and
not exactly about the same issue (no panics or anything), I thought i'd try
opening a new bug specifically for the black screen freeze.

I doubt this is a hardware issue, as my GPU works flawlessly under OpenBSD =
7.4
and Linux. Under Windows I get some weird artifacting and screen resets
occasionally, but that sounds like a driver issue as it works on OpenBSD &
Linux.

I've attached my /var/log/messages file which contains the drm-related erro=
rs.
I've also done a hw-probe, it's at https://bsd-hardware.info/?probe=3Db41ed=
8f957

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