NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

amdgpu not attaching on 10.1/amd64 ?



I get new gpu in, and it works in Slackware linux on another hdd.

In NetBSD 10.1/amd64 it does not show up in glxinfo output, and manually doing

modload amdgpu leaves no traces in dmesg

lspci:

lspci
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] RS780 Host Bridge
00:02.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780 PCI to
PCI bridge (ext gfx port 0)
00:05.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI
to PCI bridge (PCIE port 1)
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD/ATI]
SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode]
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI]
SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:12.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0
USB OHCI1 Controller
00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI]
SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI]
SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:13.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0
USB OHCI1 Controller
00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI]
SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus
Controller (rev 3c)
00:14.1 IDE interface: Advanced Micro Devices, Inc. [AMD/ATI]
SB7x0/SB8x0/SB9x0 IDE Controller
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00
Azalia (Intel HDA)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD/ATI]
SB7x0/SB8x0/SB9x0 LPC host controller
00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 PCI
to PCI Bridge
00:14.5 USB controller: Advanced Micro Devices, Inc. [AMD/ATI]
SB7x0/SB8x0/SB9x0 USB OHCI2 Controller
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h
Processor Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h
Processor Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h
Processor Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h
Processor Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h
Processor Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h
Processor Function 5
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc.
[AMD/ATI] Lexa PRO [Radeon 540/540X/550/550X / RX 540X/550/550X] (rev
c7)
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Baffin
HDMI/DP Audio [Radeon RX 550 640SP / RX 560/560X]
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller (rev
15)

netbsd10# lspci -vn
00:00.0 0600: 1022:9600
    Subsystem: 1849:9600
    Flags: bus master, 66MHz, medium devsel, latency 0
    Capabilities: [c4] HyperTransport: Slave or Primary Interface
    Capabilities: [54] HyperTransport: UnitID Clumping
    Capabilities: [40] HyperTransport: Retry Mode
    Capabilities: [9c] HyperTransport: #1a
    Capabilities: [f8] HyperTransport: #1c

00:02.0 0604: 1022:9603 (prog-if 00 [Normal decode])
    Subsystem: 1849:9600
    Flags: bus master, fast devsel, latency 0, IRQ 10
    Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
    I/O behind bridge: 0000d000-0000dfff [size=4K] [32-bit]
    Memory behind bridge: fea00000-feafffff [size=1M] [32-bit]
    Prefetchable memory behind bridge:
00000000cfe00000-00000000dfffffff [size=258M] [64-bit]
    Capabilities: [50] Power Management version 3
    Capabilities: [58] Express Root Port (Slot+), IntMsgNum 0
    Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit-
    Capabilities: [b0] Subsystem: 1849:9600
    Capabilities: [b8] HyperTransport: MSI Mapping Enable+ Fixed+
    Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
    Capabilities: [110] Virtual Channel

00:05.0 0604: 1022:9605 (prog-if 00 [Normal decode])
    Subsystem: 1849:9600
    Flags: bus master, fast devsel, latency 0, IRQ 11
    Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
    I/O behind bridge: 0000e000-0000efff [size=4K] [32-bit]
    Memory behind bridge: feb00000-febfffff [size=1M] [32-bit]
    Prefetchable memory behind bridge: [disabled] [64-bit]
    Capabilities: [50] Power Management version 3
    Capabilities: [58] Express Root Port (Slot+), IntMsgNum 0
    Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit-
    Capabilities: [b0] Subsystem: 1849:9600
    Capabilities: [b8] HyperTransport: MSI Mapping Enable+ Fixed+
    Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
    Capabilities: [110] Virtual Channel

00:11.0 0106: 1002:4391 (prog-if 01 [AHCI 1.0])
    Subsystem: 1849:4391
    Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 4
    I/O ports at c000
    I/O ports at b000
    I/O ports at a000
    I/O ports at 9000
    I/O ports at 8000
    Memory at fe9ffc00 (32-bit, non-prefetchable)
    Capabilities: [60] Power Management version 2
    Capabilities: [70] SATA HBA v1.0

00:12.0 0c03: 1002:4397 (prog-if 10 [OHCI])
    Subsystem: 1849:4397
    Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 7
    Memory at fe9fe000 (32-bit, non-prefetchable)

00:12.1 0c03: 1002:4398 (prog-if 10 [OHCI])
    Subsystem: 1849:4398
    Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 7
    Memory at fe9fd000 (32-bit, non-prefetchable)

00:12.2 0c03: 1002:4396 (prog-if 20 [EHCI])
    Subsystem: 1849:4396
    Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 11
    Memory at fe9ff800 (32-bit, non-prefetchable)
    Capabilities: [c0] Power Management version 2
    Capabilities: [e4] Debug port: BAR=1 offset=00e0

00:13.0 0c03: 1002:4397 (prog-if 10 [OHCI])
    Subsystem: 1849:4397
    Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 10
    Memory at fe9fc000 (32-bit, non-prefetchable)

00:13.1 0c03: 1002:4398 (prog-if 10 [OHCI])
    Subsystem: 1849:4398
    Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 10
    Memory at fe9fb000 (32-bit, non-prefetchable)

00:13.2 0c03: 1002:4396 (prog-if 20 [EHCI])
    Subsystem: 1849:4396
    Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 10
    Memory at fe9ff400 (32-bit, non-prefetchable)
    Capabilities: [c0] Power Management version 2
    Capabilities: [e4] Debug port: BAR=1 offset=00e0

00:14.0 0c05: 1002:4385 (rev 3c)
    Subsystem: 1849:4385
    Flags: 66MHz, medium devsel
    Capabilities: [b0] HyperTransport: MSI Mapping Enable- Fixed+

00:14.1 0101: 1002:439c (prog-if 8a [ISA Compatibility mode
controller, supports both channels switched to PCI native mode,
supports bus mastering])
    Subsystem: 1849:439c
    Flags: bus master, 66MHz, medium devsel, latency 0
    I/O ports at 0000
    I/O ports at 0000
    I/O ports at 0000
    I/O ports at 0000
    I/O ports at ff00
    Capabilities: [70] MSI: Enable- Count=1/2 Maskable- 64bit-

00:14.2 0403: 1002:4383
    Subsystem: 1849:d887
    Flags: bus master, slow devsel, latency 32, IRQ 7
    Memory at fe9f4000 (64-bit, non-prefetchable)
    Capabilities: [50] Power Management version 2

00:14.3 0601: 1002:439d
    Subsystem: 1849:439d
    Flags: bus master, 66MHz, medium devsel, latency 0

00:14.4 0604: 1002:4384 (prog-if 01 [Subtractive decode])
    Flags: bus master, 66MHz, medium devsel, latency 64
    Bus: primary=00, secondary=03, subordinate=03, sec-latency=64
    I/O behind bridge: [disabled] [16-bit]
    Memory behind bridge: [disabled] [32-bit]
    Prefetchable memory behind bridge: [disabled] [32-bit]

00:14.5 0c03: 1002:4399 (prog-if 10 [OHCI])
    Subsystem: 1849:4399
    Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 10
    Memory at fe9fa000 (32-bit, non-prefetchable)

00:18.0 0600: 1022:1600
    Flags: fast devsel
    Capabilities: [80] HyperTransport: Host or Secondary Interface

00:18.1 0600: 1022:1601
    Flags: fast devsel

00:18.2 0600: 1022:1602
    Flags: fast devsel

00:18.3 0600: 1022:1603
    Flags: fast devsel
    Capabilities: [f0] Secure device <?>

00:18.4 0600: 1022:1604
    Flags: fast devsel

00:18.5 0600: 1022:1605
    Flags: fast devsel

01:00.0 0300: 1002:699f (rev c7) (prog-if 00 [VGA controller])
    Subsystem: 1849:5001
    Flags: bus master, fast devsel, latency 0, IRQ 10
    Memory at d0000000 (64-bit, prefetchable)
    Memory at cfe00000 (64-bit, prefetchable)
    I/O ports at d000
    Memory at feac0000 (32-bit, non-prefetchable)
    Expansion ROM at feaa0000 [disabled]
    Capabilities: [48] Vendor Specific Information: Len=08 <?>
    Capabilities: [50] Power Management version 3
    Capabilities: [58] Express Legacy Endpoint, IntMsgNum 0
    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)
    Capabilities: [320] Latency Tolerance Reporting
    Capabilities: [328] Alternative Routing-ID Interpretation (ARI)
    Capabilities: [370] L1 PM Substates

01:00.1 0403: 1002:aae0
    Subsystem: 1849:aae0
    Flags: bus master, fast devsel, latency 0, IRQ 10
    Memory at fea9c000 (64-bit, non-prefetchable)
    Capabilities: [48] Vendor Specific Information: Len=08 <?>
    Capabilities: [50] Power Management version 3
    Capabilities: [58] Express Legacy Endpoint, IntMsgNum 0
    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: [328] Alternative Routing-ID Interpretation (ARI)

02:00.0 0200: 10ec:8168 (rev 15)
    Subsystem: 1849:8168
    Flags: bus master, fast devsel, latency 0, IRQ 11
    I/O ports at e800
    Memory at febff000 (64-bit, non-prefetchable)
    Memory at febf8000 (64-bit, non-prefetchable)
    Capabilities: [40] Power Management version 3
    Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
    Capabilities: [70] Express Endpoint, IntMsgNum 1
    Capabilities: [b0] MSI-X: Enable- Count=4 Masked-
    Capabilities: [100] Advanced Error Reporting
    Capabilities: [140] Virtual Channel
    Capabilities: [160] Device Serial Number 45-07-9b-59-a1-a8-00-00
    Capabilities: [170] Latency Tolerance Reporting
    Capabilities: [178] L1 PM Substates

netbsd10#

 uname -a
NetBSD netbsd10 10.1_STABLE NetBSD 10.1_STABLE (GENERIC) #0: Tue Mar
4 12:29:01 UTC 2025
mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC
amd64

Is there anything special I must do for trying amdgpu on this card?


Home | Main Index | Thread Index | Old Index