On Fri, Feb 20, 2026 at 11:29:16PM +0000, Justin Roberts wrote:
>
> >Synopsis: AMDGPU/DRM failure to initilise at boot with Radeon VII/vega20
> >Category: system, kernel, amd64
> >Environment:
> System : OpenBSD 7.8
> Details : OpenBSD 7.8 (GENERIC.MP) #54: Sun Oct 12 12:58:11 MDT 2025
>
> [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
>
> Architecture: OpenBSD.amd64
> Machine : amd64
> >Description:
> When booting, the sytem will freeze with a blank screen when it tries
> to load
> wsdisplay on the amdgpu device.
> If the kernel is configured not to load wsdisplay on the amdgpu device,
> the boot will complete with error messages; if the user tries
> to access the GPU, (e.g. with vulkainfo from the vulcan-tools
> port) the system will kernel panic with a uvm_fault in
> sdma_v4_0_vm_set_pte_pde -- reporting
> kernel: page fault trap, code=2
> >How-To-Repeat:
> boot the system with a RADEON VII card. You may need to disable the
> wsdisplay* at inteldrm*|radeondrm*|amdgpu* disable primary -1
> flags 0x0
> entry in the kernel to boot.
> Check the amdgpufirmware is up to date
> $ pkg_info amdgpu-firmware
> Information for inst:amdgpu-firmware-20251021
>
> Comment:
> firmware binary images for amdgpu(4) driver
>
> Description:
> Firmware binary images for use with the amdgpu(4) driver.
>
> Maintainer: Jonathan Gray <[email protected]>
>
> WWW:
> https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/amdgpu
>
> install vulkaninfo:
> # pkg_add vulkan-tools
> run vulkan info
> $ vulkaninfo --summary
> >Fix:
> Downgrade to OpenBSD 7.4
>
>
> dmesg:
> OpenBSD 7.8 (GENERIC.MP) #54: Sun Oct 12 12:58:11 MDT 2025
> [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 68563087360 (65386MB)
> avail mem = 66457751552 (63379MB)
> random: good seed from bootblocks
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 3.3 @ 0xbdbee000 (56 entries)
> bios0: vendor American Megatrends International, LLC. version "F20" date
> 10/28/2025
> bios0: Gigabyte Technology Co., Ltd. B550 AORUS ELITE AX V2
> efi0 at bios0: UEFI 2.7
> efi0: American Megatrends rev 0x50011
> acpi0 at bios0: ACPI 6.2
> acpi0: sleep states S0 S3 S4 S5
> acpi0: tables DSDT FACP SSDT SSDT SSDT SSDT FIDT MCFG HPET IVRS FPDT VFCT
> BGRT TPM2 PCCT SSDT CRAT CDIT SSDT SSDT SSDT SSDT WSMT APIC SSDT SSDT
> acpi0: wakeup devices GP12(S4) GP13(S4) XHC0(S4) GP30(S4) GP31(S4) GPP0(S4)
> GPP8(S4) SWUS(S4) SWDS(S4) PTXH(S4) PT20(S4) PT21(S4) PT22(S4) PT23(S4)
> PT24(S4) PT26(S4) [...]
> acpitimer0 at acpi0: 3579545 Hz, 32 bits
> acpimcfg0 at acpi0
> acpimcfg0: addr 0xf0000000, bus 0-127
> acpihpet0 at acpi0: 14318180 Hz
> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: AMD Ryzen 5 3600 6-Core Processor, 3600.00 MHz, 17-71-00, patch 08701035
> cpu0: cpuid 1
> edx=178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT>
>
> ecx=76f8320b<SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND>
> cpu0: cpuid 6 eax=4<ARAT> ecx=1<EFFFREQ>
> cpu0: cpuid 7.0
> ebx=219c91a9<FSGSBASE,BMI1,AVX2,SMEP,BMI2,PQM,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA>
> ecx=400004<UMIP>
> cpu0: cpuid d.1 eax=f<XSAVEOPT,XSAVEC,XGETBV1,XSAVES>
> cpu0: cpuid 80000001 edx=2fd3fbff<NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG>
> ecx=75c237ff<LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX>
> cpu0: cpuid 80000007 edx=6799<HWPSTATE,ITSC>
> cpu0: cpuid 80000008 ebx=10cb657<IBPB,STIBP,IBRS_PREF,IBRS_SM,SSBD>
> cpu0: cpuid 8000001F eax=1000f<SME,SEV,PFLUSH_MSR,SEVES,VTE> ecx=1fd edx=1
> cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 512KB
> 64b/line 8-way L2 cache, 16MB 64b/line 16-way L3 cache
> cpu0: smt 0, core 0, package 0
> mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
> cpu0: apic clock running at 100MHz
> cpu0: mwait min=64, max=64, C-substates=1.1, IBE
> cpu1 at mainbus0: apid 2 (application processor)
> cpu1: AMD Ryzen 5 3600 6-Core Processor, 3600.00 MHz, 17-71-00, patch 08701035
> cpu1: smt 0, core 1, package 0
> cpu2 at mainbus0: apid 4 (application processor)
> cpu2: AMD Ryzen 5 3600 6-Core Processor, 3600.00 MHz, 17-71-00, patch 08701035
> cpu2: smt 0, core 2, package 0
> cpu3 at mainbus0: apid 8 (application processor)
> cpu3: AMD Ryzen 5 3600 6-Core Processor, 3600.01 MHz, 17-71-00, patch 08701035
> cpu3: smt 0, core 4, package 0
> cpu4 at mainbus0: apid 10 (application processor)
> cpu4: AMD Ryzen 5 3600 6-Core Processor, 3600.00 MHz, 17-71-00, patch 08701035
> cpu4: smt 0, core 5, package 0
> cpu5 at mainbus0: apid 12 (application processor)
> cpu5: AMD Ryzen 5 3600 6-Core Processor, 3600.01 MHz, 17-71-00, patch 08701035
> cpu5: smt 0, core 6, package 0
> cpu6 at mainbus0: apid 1 (application processor)
> cpu6: AMD Ryzen 5 3600 6-Core Processor, 3600.01 MHz, 17-71-00, patch 08701035
> cpu6: smt 1, core 0, package 0
> cpu7 at mainbus0: apid 3 (application processor)
> cpu7: AMD Ryzen 5 3600 6-Core Processor, 3600.00 MHz, 17-71-00, patch 08701035
> cpu7: smt 1, core 1, package 0
> cpu8 at mainbus0: apid 5 (application processor)
> cpu8: AMD Ryzen 5 3600 6-Core Processor, 3600.00 MHz, 17-71-00, patch 08701035
> cpu8: smt 1, core 2, package 0
> cpu9 at mainbus0: apid 9 (application processor)
> cpu9: AMD Ryzen 5 3600 6-Core Processor, 3600.01 MHz, 17-71-00, patch 08701035
> cpu9: smt 1, core 4, package 0
> cpu10 at mainbus0: apid 11 (application processor)
> cpu10: AMD Ryzen 5 3600 6-Core Processor, 3600.00 MHz, 17-71-00, patch
> 08701035
> cpu10: smt 1, core 5, package 0
> cpu11 at mainbus0: apid 13 (application processor)
> cpu11: AMD Ryzen 5 3600 6-Core Processor, 3600.01 MHz, 17-71-00, patch
> 08701035
> cpu11: smt 1, core 6, package 0
> ioapic0 at mainbus0: apid 13 pa 0xfec00000, version 21, 24 pins
> ioapic1 at mainbus0: apid 14 pa 0xfec01000, version 21, 32 pins
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus 11 (GP12)
> acpiprt2 at acpi0: bus 12 (GP13)
> acpiprt3 at acpi0: bus -1 (GP30)
> acpiprt4 at acpi0: bus -1 (GP31)
> acpiprt5 at acpi0: bus 1 (GPP0)
> acpiprt6 at acpi0: bus -1 (GPP2)
> acpiprt7 at acpi0: bus -1 (GPP3)
> acpiprt8 at acpi0: bus -1 (GPP4)
> acpiprt9 at acpi0: bus -1 (GPP5)
> acpiprt10 at acpi0: bus -1 (GPP6)
> acpiprt11 at acpi0: bus -1 (GPP7)
> acpiprt12 at acpi0: bus 8 (GPP8)
> acpiprt13 at acpi0: bus -1 (GPP9)
> acpiprt14 at acpi0: bus -1 (GPPA)
> acpiprt15 at acpi0: bus -1 (GPPB)
> acpiprt16 at acpi0: bus -1 (GPPC)
> acpiprt17 at acpi0: bus -1 (GPPD)
> acpiprt18 at acpi0: bus -1 (GPPE)
> acpiprt19 at acpi0: bus -1 (GPPF)
> acpiprt20 at acpi0: bus -1 (GP10)
> acpiprt21 at acpi0: bus 2 (GPP1)
> acpipci0 at acpi0 PCI0: 0x00000010 0x00000011 0x00000000
> acpicmos0 at acpi0
> acpibtn0 at acpi0: PWRB
> amdgpio0 at acpi0 GPIO uid 0 addr 0xfed81500/0x400 irq 7, 184 pins
> tpm0 at acpi0 TPM_: unsupported TPM2 start method 2
> "ACPI0010" at acpi0 not configured
> acpicpu0 at acpi0: C2(0@18 io@0x414), C1(0@1 mwait), PSS
> acpicpu1 at acpi0: C2(0@18 io@0x414), C1(0@1 mwait), PSS
> acpicpu2 at acpi0: C2(0@18 io@0x414), C1(0@1 mwait), PSS
> acpicpu3 at acpi0: C2(0@18 io@0x414), C1(0@1 mwait), PSS
> acpicpu4 at acpi0: C2(0@18 io@0x414), C1(0@1 mwait), PSS
> acpicpu5 at acpi0: C2(0@18 io@0x414), C1(0@1 mwait), PSS
> acpicpu6 at acpi0: C2(0@18 io@0x414), C1(0@1 mwait), PSS
> acpicpu7 at acpi0: C2(0@18 io@0x414), C1(0@1 mwait), PSS
> acpicpu8 at acpi0: C2(0@18 io@0x414), C1(0@1 mwait), PSS
> acpicpu9 at acpi0: C2(0@18 io@0x414), C1(0@1 mwait), PSS
> acpicpu10 at acpi0: C2(0@18 io@0x414), C1(0@1 mwait), PSS
> acpicpu11 at acpi0: C2(0@18 io@0x414), C1(0@1 mwait), PSS
> "AMDIF030" at acpi0 not configured
> "PNP0C14" at acpi0 not configured
> "PNP0C14" at acpi0 not configured
> acpitz0 at acpi0
> acpitz0: critical temperature is 20 degC
> acpitz1 at acpi0
> acpitz1: critical temperature is 20 degC
> cpu0: 3600 MHz: speeds: 3600 2800 2200 MHz
> pci0 at mainbus0 bus 0
> ksmn0 at pci0 dev 0 function 0 "AMD 17h Root Complex" rev 0x00
> "AMD 17h IOMMU" rev 0x00 at pci0 dev 0 function 2 not configured
> pchb0 at pci0 dev 1 function 0 "AMD 17h Host" rev 0x00
> ppb0 at pci0 dev 1 function 1 "AMD 17h PCIE" rev 0x00: msi
> pci1 at ppb0 bus 1
> nvme0 at pci1 dev 0 function 0 "SanDisk NVMe" rev 0x01: msix, NVMe 1.4
> nvme0: WDC WDS100T2B0C, firmware 211210WD, serial 21373W804545
> scsibus1 at nvme0: 2 targets, initiator 0
> sd0 at scsibus1 targ 1 lun 0: <NVMe, WDC WDS100T2B0C, 2112>
> sd0: 953869MB, 512 bytes/sector, 1953525168 sectors
> ppb1 at pci0 dev 1 function 2 "AMD 17h PCIE" rev 0x00: msi
> pci2 at ppb1 bus 2
> xhci0 at pci2 dev 0 function 0 "AMD 500 Series xHCI" rev 0x00: msi, xHCI 1.10
> usb0 at xhci0: USB revision 3.0
> uhub0 at usb0 configuration 1 interface 0 "AMD xHCI root hub" rev 3.00/1.00
> addr 1
> ahci0 at pci2 dev 0 function 1 "AMD 500 Series AHCI" rev 0x00: msi, AHCI 1.3.1
> ahci0: port busy after first PMP probe FIS
> ahci0: port busy after first PMP probe FIS
> ahci0: port 1: 3.0Gb/s
> scsibus2 at ahci0: 32 targets
> sd1 at scsibus2 targ 1 lun 0: <ATA, ST3250312CS, SC13> naa.5000c5001e45c900
> sd1: 238475MB, 512 bytes/sector, 488397168 sectors
> ppb2 at pci2 dev 0 function 2 "AMD 500 Series PCIE" rev 0x00
> pci3 at ppb2 bus 3
> ppb3 at pci3 dev 0 function 0 "AMD 500 Series PCIE" rev 0x00: msi
> pci4 at ppb3 bus 4
> amdgpu0 at pci4 dev 0 function 0 "ATI Polaris 10" rev 0xe1
> drm0 at amdgpu0
> amdgpu0: msi
> azalia0 at pci4 dev 0 function 1 vendor "ATI", unknown product 0xaaf0 rev
> 0x00: msi
> azalia0: no supported codecs
> ppb4 at pci3 dev 4 function 0 "AMD 500 Series PCIE" rev 0x00: msi
> pci5 at ppb4 bus 5
> nvme1 at pci5 dev 0 function 0 "Samsung SM961/PM961" rev 0x00: msix, NVMe 1.2
> nvme1: SAMSUNG MZVLW256HEHP-00000, firmware CXB7401Q, serial S33VNX0J447560
> scsibus3 at nvme1: 2 targets, initiator 0
> sd2 at scsibus3 targ 1 lun 0: <NVMe, SAMSUNG MZVLW256, CXB7>
> sd2: 244198MB, 512 bytes/sector, 500118192 sectors
> ppb5 at pci3 dev 8 function 0 "AMD 500 Series PCIE" rev 0x00: msi
> pci6 at ppb5 bus 6
> rge0 at pci6 dev 0 function 0 "Realtek RTL8125" rev 0x05: msix: RTL8125B,
> address 18:c0:4d:9a:bd:20
> ppb6 at pci3 dev 9 function 0 "AMD 500 Series PCIE" rev 0x00: msi
> pci7 at ppb6 bus 7
> iwx0 at pci7 dev 0 function 0 "Intel Wi-Fi 6 AX200" rev 0x1a, msix
> pchb1 at pci0 dev 2 function 0 "AMD 17h Host" rev 0x00
> pchb2 at pci0 dev 3 function 0 "AMD 17h Host" rev 0x00
> ppb7 at pci0 dev 3 function 1 "AMD 17h PCIE" rev 0x00: msi
> pci8 at ppb7 bus 8
> ppb8 at pci8 dev 0 function 0 vendor "ATI", unknown product 0x14a0 rev 0xc1
> pci9 at ppb8 bus 9
> ppb9 at pci9 dev 0 function 0 vendor "ATI", unknown product 0x14a1 rev 0x00
> pci10 at ppb9 bus 10
> amdgpu1 at pci10 dev 0 function 0 "ATI Vega 20" rev 0xc1
> drm1 at amdgpu1
> amdgpu1: msi
> azalia1 at pci10 dev 0 function 1 vendor "ATI", unknown product 0xab20 rev
> 0x00: msi
> azalia1: no supported codecs
> pchb3 at pci0 dev 4 function 0 "AMD 17h Host" rev 0x00
> pchb4 at pci0 dev 5 function 0 "AMD 17h Host" rev 0x00
> pchb5 at pci0 dev 7 function 0 "AMD 17h Host" rev 0x00
> ppb10 at pci0 dev 7 function 1 "AMD 17h PCIE" rev 0x00
> pci11 at ppb10 bus 11
> vendor "AMD", unknown product 0x148a (class instrumentation unknown subclass
> 0x00, rev 0x00) at pci11 dev 0 function 0 not configured
> pchb6 at pci0 dev 8 function 0 "AMD 17h Host" rev 0x00
> ppb11 at pci0 dev 8 function 1 "AMD 17h PCIE" rev 0x00
> pci12 at ppb11 bus 12
> vendor "AMD", unknown product 0x1485 (class instrumentation unknown subclass
> 0x00, rev 0x00) at pci12 dev 0 function 0 not configured
> ccp0 at pci12 dev 0 function 1 "AMD 17h Crypto" rev 0x00
> xhci1 at pci12 dev 0 function 3 "AMD 17h xHCI" rev 0x00: msix, xHCI 1.10
> usb1 at xhci1: USB revision 3.0
> uhub1 at usb1 configuration 1 interface 0 "AMD xHCI root hub" rev 3.00/1.00
> addr 1
> azalia2 at pci12 dev 0 function 4 "AMD 17h HD Audio" rev 0x00: msi
> azalia2: codecs: Realtek ALC1200
> audio0 at azalia2
> piixpm0 at pci0 dev 20 function 0 "AMD FCH SMBus" rev 0x61: SMI
> iic0 at piixpm0
> spdmem0 at iic0 addr 0x50: 16GB DDR4 SDRAM PC4-17000
> spdmem1 at iic0 addr 0x51: 16GB DDR4 SDRAM PC4-17000
> spdmem2 at iic0 addr 0x52: 16GB DDR4 SDRAM PC4-17000
> spdmem3 at iic0 addr 0x53: 16GB DDR4 SDRAM PC4-17000
> iic1 at piixpm0
> pcib0 at pci0 dev 20 function 3 "AMD FCH LPC" rev 0x51
> pchb7 at pci0 dev 24 function 0 "AMD 17h Data Fabric" rev 0x00
> pchb8 at pci0 dev 24 function 1 "AMD 17h Data Fabric" rev 0x00
> pchb9 at pci0 dev 24 function 2 "AMD 17h Data Fabric" rev 0x00
> pchb10 at pci0 dev 24 function 3 "AMD 17h Data Fabric" rev 0x00
> pchb11 at pci0 dev 24 function 4 "AMD 17h Data Fabric" rev 0x00
> pchb12 at pci0 dev 24 function 5 "AMD 17h Data Fabric" rev 0x00
> pchb13 at pci0 dev 24 function 6 "AMD 17h Data Fabric" rev 0x00
> pchb14 at pci0 dev 24 function 7 "AMD 17h Data Fabric" rev 0x00
> isa0 at pcib0
> isadma0 at isa0
> pckbc0 at isa0 port 0x60/5 irq 1 irq 12
> pcppi0 at isa0 port 0x61
> spkr0 at pcppi0
> efifb at mainbus0 not configured
> ugen0 at uhub0 port 9 "Intel Bluetooth" rev 2.01/0.01 addr 2
> uhub2 at uhub0 port 10 configuration 1 interface 0 "Genesys Logic USB2.0 Hub"
> rev 2.00/85.36 addr 3
> uhidev0 at uhub0 port 11 configuration 1 interface 0 "ITE Tech. Inc. ITE
> Device" rev 2.00/0.01 addr 4
> uhidev0: iclass 3/0, 204 report ids
> uhid0 at uhidev0 reportid 90: input=0, output=0, feature=16
> uhid1 at uhidev0 reportid 204: input=0, output=0, feature=63
> ugen1 at uhub0 port 13 "Canon CanoScan" rev 2.00/7.04 addr 5
> uhidev1 at uhub1 port 2 configuration 1 interface 0 "Holtek product 0xa088"
> rev 2.00/1.13 addr 2
> uhidev1: iclass 3/1
> ukbd0 at uhidev1: 8 variable keys, 6 key codes
> wskbd0 at ukbd0: console keyboard
> uhidev2 at uhub1 port 2 configuration 1 interface 1 "Holtek product 0xa088"
> rev 2.00/1.13 addr 2
> uhidev2: iclass 3/0, 3 report ids
> uhid2 at uhidev2 reportid 1: input=1, output=0, feature=0
> ucc0 at uhidev2 reportid 2: 4 usages, 4 keys, array
> wskbd1 at ucc0 mux 1
> ums0 at uhidev2 reportid 3: 3 buttons
> wsmouse0 at ums0 mux 0
> vscsi0 at root
> scsibus4 at vscsi0: 256 targets
> softraid0 at root
> scsibus5 at softraid0: 256 targets
> root on sd1a (10a6d06f684c5adf.a) swap on sd1b dump on sd1b
> WARNING: / was not properly unmounted
> amdgpu0: POLARIS10 36 CU rev 0x01
> amdgpu0: 1920x1200, 32bpp
> wsdisplay0 at amdgpu0 mux 1: console (std, vt100 emulation), using wskbd0
> wskbd1: connecting to wsdisplay0
> wsdisplay0: screen 1-5 added (std, vt100 emulation)
> iwx0: hw rev 0x340, fw 77.30b1cbd8.0, address c8:e2:65:6e:c3:d2
> [drm] *ERROR* Received I2C_NAK_7B_ADDR_NOACK !!![drm] *ERROR* WriteI2CData()
> - I2C error occurred :1[drm] *ERROR* Failed to read EEPROM table header,
> res:-5drm:pid0:amdgpu_ras_recovery_init *WARNING* Failed to initialize ras
> recovery! (-5)
> amdgpu1: VEGA20 GC 9.4.0 60 CU rev 0x01
> amdgpu_ras_sysfs_create: stub
> drm:pid0:amdgpu_ras_late_init *ERROR* gfx failed to execute ras_late_init!
> ret:-78
> [drm] *ERROR* amdgpu_ras_late_init failed -78drm:pid0:amdgpu_device_init
> *ERROR* amdgpu_device_ip_late_init failed
> drm:pid0:amdgpu_driver_load_kms *ERROR* Fatal error during GPU init
Try this diff against -current:
Index: sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c,v
diff -u -p -r1.16 amdgpu_ras.c
--- sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c 14 Nov 2025 02:31:07 -0000
1.16
+++ sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c 21 Feb 2026 11:26:45 -0000
@@ -1807,14 +1807,12 @@ int amdgpu_ras_sysfs_create(struct amdgp
if (!obj || obj->attr_inuse)
return -EINVAL;
- STUB();
- return -ENOSYS;
-#ifdef notyet
get_obj(obj);
snprintf(obj->fs_data.sysfs_name, sizeof(obj->fs_data.sysfs_name),
"%s_err_count", head->name);
+#ifdef notyet
obj->sysfs_attr = (struct device_attribute){
.attr = {
.name = obj->fs_data.sysfs_name,
@@ -1830,11 +1828,11 @@ int amdgpu_ras_sysfs_create(struct amdgp
put_obj(obj);
return -EINVAL;
}
+#endif
obj->attr_inuse = 1;
return 0;
-#endif
}
int amdgpu_ras_sysfs_remove(struct amdgpu_device *adev,