Barco MXRT-5600 branded W5100 with PCI ID 664d
Matthias Reichl
hias at horus.com
Sun Jan 15 16:05:57 UTC 2023
I noticed some of the used HP Z240 workstations I recently bought had a
Barco MXRT-5600 branded FirePro W5100 card installed - some others came with
an unbranded W5100 (with the standard 6449 PCI ID).
Except for a large Barco sticker on the top and Barco being mentioned on
the barcode label on the back they look completely identical.
lspci knows about the 644d PCI ID but neither the radeon nor amdgpu kernel
drivers do nor does drm/mesa/xorg userspace.
I had a go at it, added the pci id to kernel drivers, libdrm, mesa, xf86-video-ati
and xserver and got the card working fine on Debian Bullseye with kernel 6.2-rc3.
I also gave it a quick try with LibreELEC (where we build bleeding edge versions
from scratch) and that worked fine, too.
Do you happen to know more about that card and why the PCI ID is missing in
linux drivers/userspace?
I'm just attaching my current kernel and userspace patches as a reference
for now but I'm very unsure in which sequence they should be applied without
risking breakage - I already found out the hard way that patched xorg server
and driver with old libdrm is a bad idea as that results in "Failed to initialize
surface manager" instead of starting with framebuffer driver.
If you prefer I can send proper patches or I can just you let handle it.
For reference here's the lspci outout (with patched kernel and cik support
enabled in amdgpu):
root at camel3:~# lspci -vn -s 01:00.0
01:00.0 0300: 1002:664d (prog-if 00 [VGA controller])
Subsystem: 13cc:3d2a
Flags: bus master, fast devsel, latency 0, IRQ 137
Memory at 1c00000000 (64-bit, prefetchable) [size=4G]
Memory at 1d00000000 (64-bit, prefetchable) [size=8M]
I/O ports at 3000 [size=256]
Memory at d0f00000 (32-bit, non-prefetchable) [size=256K]
Expansion ROM at d0f40000 [disabled] [size=128K]
Capabilities: [48] Vendor Specific Information: Len=08 <?>
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Legacy Endpoint, MSI 00
Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
Capabilities: [150] Advanced Error Reporting
Capabilities: [200] Physical Resizable BAR
Capabilities: [270] Secondary PCI Express
Capabilities: [2b0] Address Translation Service (ATS)
Capabilities: [2c0] Page Request Interface (PRI)
Capabilities: [2d0] Process Address Space ID (PASID)
Kernel driver in use: amdgpu
Kernel modules: radeon, amdgpu
so long,
Hias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: linux-barco.patch
Type: text/x-diff
Size: 3570 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20230115/3a2e63f1/attachment-0005.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libdrm-barco.patch
Type: text/x-diff
Size: 1557 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20230115/3a2e63f1/attachment-0006.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mesa-barco.patch
Type: text/x-diff
Size: 894 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20230115/3a2e63f1/attachment-0007.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xf86-video-ati-barco.patch
Type: text/x-diff
Size: 3934 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20230115/3a2e63f1/attachment-0008.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xserver-barco.patch
Type: text/x-diff
Size: 934 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20230115/3a2e63f1/attachment-0009.patch>
More information about the amd-gfx
mailing list