On Thu Apr 24, 2025 at 11:13:21AM +1000, Jonathan Gray wrote:
> On Wed, Apr 23, 2025 at 02:34:17PM +0200, Rafael Sadowski wrote:
> > Hi All!
> >
> > I only get the message on the monitor: there is no Thunderbolt signal
> > coming from the device. However, the same setup works on a Thinkpad
> > X1gen10 Intel. If there is something I can debug. Please let me know.
> >
> > Glad for any help
> >
> > What seems to work is that the USB-HUB is passed through. However, it
> > must be said that this happens extremely slowly. It takes 10+ seconds
> > for something to happen.
>
> ...
>
> > amdgpu0: IP DISCOVERY GC 11.0.1 12 CU rev 0x0c
> > drm:pid0:dc_dmub_srv_log_diagnostic_data *ERROR* [drm] *ERROR*
> > dc_dmub_srv_log_diagnostic_data: DMCUB error - collecting diagnostic data
> > amdgpu0: 1920x1200, 32bpp
drm:pid0:dc_dmub_srv_log_diagnostic_data *ERROR* [drm] *ERROR*
dc_dmub_srv_log_diagnostic_data: DMCUB error - collecting diagnostic data
This error message disappeared with 20250410 after connecting to the
monitor, but it looks like it is still there when I boot with the
external monitor connected.
diff --git a/sysutils/firmware/amd/Makefile b/sysutils/firmware/amd/Makefile
index f7b74a52009..5943f128883 100644
--- a/sysutils/firmware/amd/Makefile
+++ b/sysutils/firmware/amd/Makefile
@@ -1,6 +1,6 @@
COMMENT= microcode update binaries for AMD CPUs
FW_DRIVER= amd
-FW_VER= 20250311
+FW_VER= 20250410
#DISTNAME= linux-firmware-76af388fd7011dd3ab05b637cfb510a10d440487
DISTNAME= linux-firmware-${FW_VER}
EXTRACT_SUFX= .tar.xz
diff --git a/sysutils/firmware/amd/distinfo b/sysutils/firmware/amd/distinfo
index 440de931a62..8d60bb271ae 100644
--- a/sysutils/firmware/amd/distinfo
+++ b/sysutils/firmware/amd/distinfo
@@ -1,2 +1,2 @@
-SHA256 (firmware/linux-firmware-20250311.tar.xz) =
sQg6NvGa6kb2Ydz9TNRi0Tkz3LTn8NyAlSVVLdXDVB0=
-SIZE (firmware/linux-firmware-20250311.tar.xz) = 434375512
+SHA256 (firmware/linux-firmware-20250410.tar.xz) =
KuaqstiTD9VL8wrhVJjxYlchvDYwuJRkTbXSH61aIPk=
+SIZE (firmware/linux-firmware-20250410.tar.xz) = 462143576
diff --git a/sysutils/firmware/amdgpu/Makefile
b/sysutils/firmware/amdgpu/Makefile
index 963402b305a..7addb32058b 100644
--- a/sysutils/firmware/amdgpu/Makefile
+++ b/sysutils/firmware/amdgpu/Makefile
@@ -1,5 +1,5 @@
FW_DRIVER= amdgpu
-FW_VER= 20250311
+FW_VER= 20250410
DISTNAME= linux-firmware-${FW_VER}
EXTRACT_SUFX= .tar.xz
EXTRACT_FILES= ${DISTNAME}/{LICENSE.\*,\*.bin}
diff --git a/sysutils/firmware/amdgpu/distinfo
b/sysutils/firmware/amdgpu/distinfo
index 440de931a62..8d60bb271ae 100644
--- a/sysutils/firmware/amdgpu/distinfo
+++ b/sysutils/firmware/amdgpu/distinfo
@@ -1,2 +1,2 @@
-SHA256 (firmware/linux-firmware-20250311.tar.xz) =
sQg6NvGa6kb2Ydz9TNRi0Tkz3LTn8NyAlSVVLdXDVB0=
-SIZE (firmware/linux-firmware-20250311.tar.xz) = 434375512
+SHA256 (firmware/linux-firmware-20250410.tar.xz) =
KuaqstiTD9VL8wrhVJjxYlchvDYwuJRkTbXSH61aIPk=
+SIZE (firmware/linux-firmware-20250410.tar.xz) = 462143576
>
> This is with a thunderbolt hub or a thunderbolt to usb-c adapter?
This is a thunderbolt hub. lspci output from Linux:
65:03.0 PCI bridge: Intel Corporation Thunderbolt 4 Bridge [Goshen Ridge 2020]
(rev 03) (prog-if 00 [Normal decode])
Subsystem: Intel Corporation Device 0000
Flags: bus master, fast devsel, latency 0, IRQ 48, IOMMU group 7
Bus: primary=65, secondary=a5, subordinate=c2, sec-latency=0
I/O behind bridge: e000-efff [size=4K] [16-bit]
Memory behind bridge: 6ff00000-77dfffff [size=127M] [32-bit]
Prefetchable memory behind bridge: 16aa900000-1bffcfffff [size=21844M]
[32-bit]
Capabilities: [80] Power Management version 3
Capabilities: [88] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [ac] Subsystem: Intel Corporation Device 0000
Capabilities: [c0] Express Downstream Port (Slot+), IntMsgNum 0
Capabilities: [50] Capability ID 0x15 [0000]
Capabilities: [100] Device Serial Number 5f-8e-38-99-87-00-aa-00
Capabilities: [200] Advanced Error Reporting
Capabilities: [300] Virtual Channel
Capabilities: [400] Power Budgeting <?>
Capabilities: [500] Vendor Specific Information: ID=1234 Rev=1 Len=100
<?>
Capabilities: [600] Vendor Specific Information: ID=8086 Rev=2 Len=04c
<?>
Capabilities: [700] Secondary PCI Express
Capabilities: [900] Access Control Services
Capabilities: [c00] Designated Vendor-Specific: Vendor=8086 ID=0006
Rev=0 Len=16 <?>
Kernel driver in use: pcieport
>
> Is it plugged in at boot time?
Booth
>
> DMCUB is Display MicroController Unit B, which is involved in
> DisplayPort Alt Mode. Which should handle setting up displayport
> over thunderbolt. We have no native support for thunderbolt (NHI).
>
> The amdgpu display hardware which manages connectors and scanning out
> the framebuffer is known as DCN (Display Core Next). This hardware uses
> DCN 3.1.4.
> https://docs.kernel.org/next/gpu/amdgpu/amd-hardware-list-info.html
> https://www.x.org/wiki/RadeonFeature/
>
> There is a more recent firmware for the DCN 3.1.4 DMCUB you could
> try the below firmware diff.
>
> There was a related DMCUB firmware regression
> https://gitlab.freedesktop.org/drm/amd/-/issues/3913
> but the 20250311 amdgpu firmware would already include the revert.
>
> commit 152e5e12df704b78d1fda9e29d9c893d76db615d
> Author: Fangzhi Zuo <[email protected]>
> Date: Fri Mar 28 11:54:16 2025 -0400
>
> amdgpu: update dcn 3.1.4 firmware to 8.0.78.0
>
> From internal commit 0ec771f5755bb4cfe
>
> Tested with DC v3.2.327
>
> * Fix missing ALPM init when transit state 2A to 4 ditectly
>
> Signed-off-by: Fangzhi Zuo <[email protected]>
>
> amdgpu/dcn_3_1_4_dmcub.bin | Bin 350752 -> 350624 bytes
> 1 file changed, 0 insertions(+), 0 deletions(-)
>
> Index: sysutils/firmware/amdgpu/Makefile
> ===================================================================
> RCS file: /cvs/ports/sysutils/firmware/amdgpu/Makefile,v
> diff -u -p -r1.32 Makefile
> --- sysutils/firmware/amdgpu/Makefile 13 Mar 2025 02:57:14 -0000 1.32
> +++ sysutils/firmware/amdgpu/Makefile 24 Apr 2025 00:38:34 -0000
> @@ -1,5 +1,5 @@
> FW_DRIVER= amdgpu
> -FW_VER= 20250311
> +FW_VER= 20250410
> DISTNAME= linux-firmware-${FW_VER}
> EXTRACT_SUFX= .tar.xz
> EXTRACT_FILES= ${DISTNAME}/{LICENSE.\*,\*.bin}
> Index: sysutils/firmware/amdgpu/distinfo
> ===================================================================
> RCS file: /cvs/ports/sysutils/firmware/amdgpu/distinfo,v
> diff -u -p -r1.29 distinfo
> --- sysutils/firmware/amdgpu/distinfo 13 Mar 2025 02:57:14 -0000 1.29
> +++ sysutils/firmware/amdgpu/distinfo 24 Apr 2025 00:39:14 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (firmware/linux-firmware-20250311.tar.xz) =
> sQg6NvGa6kb2Ydz9TNRi0Tkz3LTn8NyAlSVVLdXDVB0=
> -SIZE (firmware/linux-firmware-20250311.tar.xz) = 434375512
> +SHA256 (firmware/linux-firmware-20250410.tar.xz) =
> KuaqstiTD9VL8wrhVJjxYlchvDYwuJRkTbXSH61aIPk=
> +SIZE (firmware/linux-firmware-20250410.tar.xz) = 462143576
>