On Thu, Jun 29, 2023 at 09:58:25AM +0100, Laurence Tratt wrote: > Upgrading to last night's snapshot I think updated amdgpu's firmware (to > amdgpu-firmware-20230625). I'm now getting lots of stutter (X freezes for > ~0.5-1s, key presses dropped etc) and lots of these in dmesg: > > [drm] *ERROR* Error waiting for DMUB idle: status=3 > [drm] *ERROR* Error queuing DMUB command: status=2 > > I've rebuilt a new kernel (git# 2b5ea97f) but am seeing the same > behaviour. dmesg below.
Paul de Weerd also reported problems with the firmware update. We tracked it down to amdgpu: DMCUB updates for DCN 3.1.4 and 3.1.5 https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/?id=ade163aaaeae0c1ad20cb3dd8ce878bf61c91b3a (Ryzen 7000 includes DCN 3.1.5) A diff to switch the port to a snapshot before that commit: Index: Makefile =================================================================== RCS file: /cvs/ports/sysutils/firmware/amdgpu/Makefile,v retrieving revision 1.20 diff -u -p -r1.20 Makefile --- Makefile 27 Jun 2023 10:11:42 -0000 1.20 +++ Makefile 29 Jun 2023 08:41:16 -0000 @@ -1,13 +1,16 @@ FW_DRIVER= amdgpu FW_VER= 20230625 -DISTNAME= linux-firmware-${FW_VER} -EXTRACT_SUFX= .tar.xz +DISTNAME= linux-firmware-045b2136a61968e7984caeae857a326150bfe851 +#DISTNAME= linux-firmware-${FW_VER} +#EXTRACT_SUFX= .tar.xz EXTRACT_FILES= ${DISTNAME}/{LICENSE.\*,\*.bin} +REVISION= 0 MAINTAINER= Jonathan Gray <j...@openbsd.org> HOMEPAGE= https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/amdgpu -MASTER_SITES= https://cdn.kernel.org/pub/linux/kernel/firmware/ +#MASTER_SITES= https://cdn.kernel.org/pub/linux/kernel/firmware/ +MASTER_SITES= https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/snapshot/ do-install: ${INSTALL_DATA_DIR} ${PREFIX}/firmware/amdgpu Index: distinfo =================================================================== RCS file: /cvs/ports/sysutils/firmware/amdgpu/distinfo,v retrieving revision 1.18 diff -u -p -r1.18 distinfo --- distinfo 27 Jun 2023 10:11:42 -0000 1.18 +++ distinfo 29 Jun 2023 08:43:15 -0000 @@ -1,2 +1,2 @@ -SHA256 (firmware/linux-firmware-20230625.tar.xz) = h1lxEcDUtxsx5Ty4WpLDhpIbhMglpALbjILg6GAVUA0= -SIZE (firmware/linux-firmware-20230625.tar.xz) = 280854212 +SHA256 (firmware/linux-firmware-045b2136a61968e7984caeae857a326150bfe851.tar.gz) = I5VDKGybmVgRYfpCojBZvBcpqbLb+OVuM+VBwRuB81U= +SIZE (firmware/linux-firmware-045b2136a61968e7984caeae857a326150bfe851.tar.gz) = 439517447