AMD Ryzen Renoir amdgpu crash

Johnny Sorocil jsorocil at gmail.com
Thu May 20 19:42:58 UTC 2021


I am trying to have accelerated X11 with AMD Ryzen 4750G (Renoir/Vega8 GPU).
pciconf -lv | grep -B4 VGA
vgapci0 at pci0:14:0:0:    class=0x030000 rev=0xd8 hdr=0x00 vendor=0x1002
device=0x1636 subvendor=0x1002 subdevice=0x1636
    vendor     = 'Advanced Micro Devices, Inc. [AMD/ATI]'
    device     = 'Renoir'
    class      = display
    subclass   = VGA

Tried it with 13.0-RELEASE, doesn't work, tried with (at the time) latest
-CURRENT.

startx command will result in crash. Console after crash (copied manually
from the screen):
panic: Assertion locked || vm_page_wired(m) failed at
/usr/src/sys/vm/vm_page.c:895
cpuid = 4
time = 1621257435
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame
0xfffffe0154256680
vpanic() at vpanic+0x181/frame 0xfffffe01542566d0
panic() at panic+0x43/frame 0xfffffe0154256730
vm_page_busy_acquire() at vm_page_busy_acquire+0x1bc/frame
0xfffffe0154256770
ttm_bo_vm_fault() at ttm_bo_vm_fault+0x2ce/frame 0xfffffe0154256820
linux_cdev_pager_populate() at linux_cdev_pager_populate+0x15f/frame
0xfffffe0154256890
vm_fault_allocate() at vm_fault_allocate+0x310/frame 0xfffffe01542568f0
vm_fault() at vm_fault+0x50e/frame 0xfffffe0154256a00
vm_fault_trap at vm_fault_trap+0x71/frame 0xfffffe0154256aa0
trap() at trap+0x452/frame 0xfffffe0154256bb0
calltrap() at calltrap+0x8/frame 0xfffffe0154256bb0
--- trap 0xc, rip = 0x800a9f4es, rsp = 0x7fffffffcba8, rbp = 0x7fffffffcbf0
---
KDB: enter: panic
[ thread pid 3086 tid 100987 ]
Stopped at      kbd_enter+0x37: movq     $0,0x128651e(%rip)
db>

base.txz and kernel.txz (from May 6, download from
http://ftp.freebsd.org/pub/FreeBSD/snapshots/amd64/14.0-CURRENT/) are
extracted
on clean boot environment.
After install rebooted into new BE and did:
pkg install xf86-video-amdgpu drm-current-kmod gpu-firmware-kmod xorg xterm
reboot

# cat /etc/rc.conf
hostname="zen-pobro"
zfs_enable="YES"
kld_list="/boot/modules/amdgpu.ko"

# cat /etc/sysctl.conf
<default file - all lines are comments>

# cat /boot/loader.conf
autoboot_delay="1"
opensolaris_load="YES"
zfs_load="YES"
hw.amdgpu.exp_hw_support=1

# cat /usr/local/etc/X11/xorg.conf.d/amdgpu.conf
Section "Device"
        Identifier      "Card0"
        Driver          "amdgpu"
EndSection

# su user
uid=1001(user) gid=1001(user) groups=1001(user),0(wheel),44(video)

% startx
-> crash, same result as root

Tried it again with DRM rebuilt from source:
# uname -a
FreeBSD zen-pobro 14.0-CURRENT FreeBSD 14.0-CURRENT #0
main-n246502-49c894ddced: Thu May  6 10:23:15 UTC 2021
root at releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC  amd64

git clone https://git.FreeBSD.org/src.git /usr/src
cd /usr/src
git checkout -b 49c894ddced 49c894ddced

pkg delete xf86-video-amdgpu-19.1.0_1 drm-current-kmod-5.4.92.g20210419
gpu-firmware-kmod-g20210330
cd /usr/ports/graphics/gpu-firmware-kmod
make install clean

cd /usr/ports/graphics/drm-current-kmod
make install clean
- enable: DEBUG

cd /usr/ports/x11-drivers/xf86-video-amdgpu
make install clean

startx as user
-> crash

# less /var/log/Xorg.0.log
- no /var/log/Xorg*log files

# cat /var/crash/info.3
Dump header from device: /dev/gpt/hdd0-swap
  Architecture: amd64
  Architecture Version: 2
  Dump Length: 1392021504
  Blocksize: 512
  Compression: none
  Dumptime: 2021-05-17 16:08:36 +0200
  Hostname: zen-pobro
  Magic: FreeBSD Kernel Dump
  Version String: FreeBSD 14.0-CURRENT #0 main-n246502-49c894ddced: Thu May
 6 10:23:15 UTC 2021
    root at releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC
  Panic String: Assertion locked || vm_page_wired(m) failed at
/usr/src/sys/vm/vm_page.c:895
  Dump Parity: 3862683755
  Bounds: 3
  Dump Status: good

# cat /var/crash/core.txt.3
'version' has unknown type; cast it to its declared type
'version' has unknown type; cast it to its declared type
Unable to find matching kernel for /var/crash/vmcore.3

If relevant, more about older tries with 13.0-RELEASE can be found at:
https://forums.freebsd.org/threads/accelerated-xorg-on-amdgpu-renoir.78931

Motherboard BIOS is updated to the latest firmware.
What I am doing wrong? Is it my fault? HW fault? Something else?

# dmesg
---<<BOOT>>---
Copyright (c) 1992-2021 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 14.0-CURRENT #0 main-n246502-49c894ddced: Thu May  6 10:23:15 UTC
2021
root at releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
FreeBSD clang version 11.0.1 (git at github.com:llvm/llvm-project.git
llvmorg-11.0.1-0-g43ff75f2c3fe)
WARNING: WITNESS option enabled, expect reduced performance.
VT(efifb): resolution 1920x1080
CPU: AMD Ryzen 7 PRO 4750G with Radeon Graphics (3593.33-MHz K8-class CPU)
  Origin="AuthenticAMD"  Id=0x860f01  Family=0x17  Model=0x60  Stepping=1

Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>

Features2=0x7ed8320b<SSE3,PCLMULQDQ,MON,SSSE3,FMA,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND>
  AMD Features=0x2e500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM>
  AMD
Features2=0x75c237ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,IBS,SKINIT,WDT,TCE,Topology,PCXC,PNXC,DBE,PL2I,MWAITX,ADMSKX>
  Structured Extended
Features=0x219c91a9<FSGSBASE,BMI1,AVX2,SMEP,BMI2,PQM,PQE,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA>
  Structured Extended Features2=0x400004<UMIP,RDPID>
  XSAVE Features=0xf<XSAVEOPT,XSAVEC,XINUSE,XSAVES>
  AMD Extended Feature Extensions ID
EBX=0x90cf757<CLZERO,IRPerf,XSaveErPtr,RDPRU,MCOMMIT,WBNOINVD,IBPB,IBRS,STIBP,PREFER_IBRS,SSBD>
  SVM: NP,NRIP,VClean,AFlush,DAssist,NAsids=32768
  TSC: P-state invariant, performance statistics
real memory  = 34359738368 (32768 MB)
avail memory = 32665411584 (31152 MB)
Event timer "LAPIC" quality 600
ACPI APIC Table: <ALASKA A M I >
FreeBSD/SMP: Multiprocessor System Detected: 16 CPUs
FreeBSD/SMP: 1 package(s) x 2 cache groups x 4 core(s) x 2 hardware threads
random: registering fast source Intel Secure Key RNG
random: fast provider: "Intel Secure Key RNG"
random: unblocking device.
ioapic0 <Version 2.1> irqs 0-23
ioapic1 <Version 2.1> irqs 24-55
Launching APs: 9 1 10 8 11 14 15 7 12 6 2 3 4 5 13
Timecounter "TSC-low" frequency 1796665554 Hz quality 1000
random: entropy device external interface
WARNING: Device "kbd" is Giant locked and may be deleted before FreeBSD
14.0.
kbd1 at kbdmux0
mlx5en: Mellanox Ethernet driver 3.6.0 (December 2020)
efirtc0: <EFI Realtime Clock>
efirtc0: registered as a time-of-day clock, resolution 1.000000s
smbios0: <System Management BIOS> at iomem 0xbcd45000-0xbcd4501e
smbios0: Version: 3.3, BCD Revision: 3.3
aesni0: <AES-CBC,AES-CCM,AES-GCM,AES-ICM,AES-XTS,SHA1,SHA256>
acpi0: <ALASKA A M I >
acpi0: Power Button (fixed)
attimer0: <AT timer> port 0x40-0x43 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
atrtc0: <AT realtime clock> port 0x70-0x71 on acpi0
atrtc0: registered as a time-of-day clock, resolution 1.000000s
Event timer "RTC" frequency 32768 Hz quality 0
hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff irq 0,8 on
acpi0
Timecounter "HPET" frequency 14318180 Hz quality 950
Event timer "HPET" frequency 14318180 Hz quality 350
Event timer "HPET1" frequency 14318180 Hz quality 350
Event timer "HPET2" frequency 14318180 Hz quality 350
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pci0: <base peripheral, IOMMU> at device 0.2 (no driver attached)
pcib1: <ACPI PCI-PCI bridge> at device 2.1 on pci0
pci1: <ACPI PCI bus> on pcib1
xhci0: <XHCI (generic) USB 3.0 controller> mem 0xfc7a0000-0xfc7a7fff at
device 0.0 on pci1
xhci0: 32 bytes context size, 64-bit DMA
usbus0 on xhci0
usbus0: 5.0Gbps Super Speed USB v3.0
ahci0: <AHCI SATA controller> mem 0xfc780000-0xfc79ffff at device 0.1 on
pci1
ahci0: AHCI v1.31 with 6 6Gbps ports, Port Multiplier supported
ahcich0: <AHCI channel> at channel 0 on ahci0
ahcich1: <AHCI channel> at channel 1 on ahci0
ahcich2: <AHCI channel> at channel 2 on ahci0
ahcich3: <AHCI channel> at channel 3 on ahci0
ahcich4: <AHCI channel> at channel 4 on ahci0
ahcich5: <AHCI channel> at channel 5 on ahci0
pcib2: <ACPI PCI-PCI bridge> at device 0.2 on pci1
pci2: <ACPI PCI bus> on pcib2
pcib3: <ACPI PCI-PCI bridge> at device 0.0 on pci2
pci3: <ACPI PCI bus> on pcib3
pcib4: <PCI-PCI bridge> at device 0.0 on pci3
pci4: <PCI bus> on pcib4
pcib5: <PCI-PCI bridge> at device 2.0 on pci4
pci5: <PCI bus> on pcib5
igb0: <Intel(R) PRO/1000 ET 82576 (Quad Copper)> port 0xd020-0xd03f mem
0xfc020000-0xfc03ffff,0xfbc00000-0xfbffffff,0xfc0c4000-0xfc0c7fff at device
0.0 on pci5
igb0: Using 1024 TX descriptors and 1024 RX descriptors
igb0: Using 8 RX queues 8 TX queues
igb0: Using MSI-X interrupts with 9 vectors
igb0: Ethernet address: 90:e2:ba:08:05:80
igb0: netmap queues/slots: TX 8/1024, RX 8/1024
igb1: <Intel(R) PRO/1000 ET 82576 (Quad Copper)> port 0xd000-0xd01f mem
0xfc000000-0xfc01ffff,0xfb400000-0xfb7fffff,0xfc0c0000-0xfc0c3fff at device
0.1 on pci5
igb1: Using 1024 TX descriptors and 1024 RX descriptors
igb1: Using 8 RX queues 8 TX queues
igb1: Using MSI-X interrupts with 9 vectors
igb1: Ethernet address: 90:e2:ba:08:05:81
igb1: netmap queues/slots: TX 8/1024, RX 8/1024
pcib6: <PCI-PCI bridge> at device 4.0 on pci4
pci6: <PCI bus> on pcib6
igb2: <Intel(R) PRO/1000 ET 82576 (Quad Copper)> port 0xc020-0xc03f mem
0xfac20000-0xfac3ffff,0xfa800000-0xfabfffff,0xfacc4000-0xfacc7fff at device
0.0 on pci6
igb2: Using 1024 TX descriptors and 1024 RX descriptors
igb2: Using 8 RX queues 8 TX queues
igb2: Using MSI-X interrupts with 9 vectors
igb2: Ethernet address: 90:e2:ba:08:05:84
igb2: netmap queues/slots: TX 8/1024, RX 8/1024
igb3: <Intel(R) PRO/1000 ET 82576 (Quad Copper)> port 0xc000-0xc01f mem
0xfac00000-0xfac1ffff,0xfa000000-0xfa3fffff,0xfacc0000-0xfacc3fff at device
0.1 on pci6
igb3: Using 1024 TX descriptors and 1024 RX descriptors
igb3: Using 8 RX queues 8 TX queues
igb3: Using MSI-X interrupts with 9 vectors
igb3: Ethernet address: 90:e2:ba:08:05:85
igb3: netmap queues/slots: TX 8/1024, RX 8/1024
pcib7: <ACPI PCI-PCI bridge> at device 4.0 on pci2
pci7: <ACPI PCI bus> on pcib7
ath0: <Atheros AR946x/AR948x> mem 0xfc600000-0xfc67ffff at device 0.0 on
pci7
ar9300_flash_map: unimplemented for now
Restoring Cal data from DRAM
Restoring Cal data from EEPROM
Restoring Cal data from Flash
Restoring Cal data from Flash
Restoring Cal data from OTP
ar9300_hw_attach: ar9300_eeprom_attach returned 0
ath0: [HT] enabling HT modes
ath0: [HT] enabling short-GI in 20MHz mode
ath0: [HT] 1 stream STBC receive enabled
ath0: [HT] 1 stream STBC transmit enabled
ath0: [HT] LDPC transmit/receive enabled
ath0: [HT] 2 RX streams; 2 TX streams
ath0: AR9460 mac 640.3 RF5110 phy 73.0
ath0: 2GHz radio: 0x0000; 5GHz radio: 0x0000
pcib8: <ACPI PCI-PCI bridge> at device 6.0 on pci2
pci8: <ACPI PCI bus> on pcib8
xhci1: <ASMedia ASM1042A USB 3.0 controller> mem 0xfc500000-0xfc507fff at
device 0.0 on pci8
xhci1: 32 bytes context size, 64-bit DMA
usbus1 on xhci1
usbus1: 5.0Gbps Super Speed USB v3.0
pcib9: <ACPI PCI-PCI bridge> at device 8.0 on pci2
pci9: <ACPI PCI bus> on pcib9
pci9: <network, ethernet> at device 0.0 (no driver attached)
pcib10: <ACPI PCI-PCI bridge> at device 9.0 on pci2
pci10: <ACPI PCI bus> on pcib10
pci10: <network> at device 0.0 (no driver attached)
pcib11: <ACPI PCI-PCI bridge> at device 2.2 on pci0
pci11: <ACPI PCI bus> on pcib11
nvme0: <Generic NVMe Device> mem
0xfcc00000-0xfcc03fff,0xfcc04000-0xfcc040ff at device 0.0 on pci11
pcib12: <ACPI PCI-PCI bridge> at device 8.1 on pci0
pci12: <ACPI PCI bus> on pcib12
vgapci0: <VGA-compatible display> port 0xf000-0xf0ff mem
0xd0000000-0xdfffffff,0xe0000000-0xe01fffff,0xfcb00000-0xfcb7ffff at device
0.0 on pci12
hdac0: <ATI (0x1637) HDA Controller> mem 0xfcb88000-0xfcb8bfff at device
0.1 on pci12
pci12: <encrypt/decrypt> at device 0.2 (no driver attached)
xhci2: <XHCI (generic) USB 3.0 controller> mem 0xfc900000-0xfc9fffff at
device 0.3 on pci12
xhci2: 64 bytes context size, 64-bit DMA
usbus2 on xhci2
usbus2: 5.0Gbps Super Speed USB v3.0
xhci3: <XHCI (generic) USB 3.0 controller> mem 0xfc800000-0xfc8fffff at
device 0.4 on pci12
xhci3: 64 bytes context size, 64-bit DMA
usbus3 on xhci3
usbus3: 5.0Gbps Super Speed USB v3.0
hdac1: <AMD Raven HDA Controller> mem 0xfcb80000-0xfcb87fff at device 0.6
on pci12
isab0: <PCI-ISA bridge> at device 20.3 on pci0
isa0: <ISA bus> on isab0
acpi_button0: <Power Button> on acpi0
acpi_syscontainer0: <System Container> on acpi0
cpu0: <ACPI CPU> on acpi0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbdc0: non-PNP ISA device will be removed from GENERIC in FreeBSD 14.
hwpstate0: <Cool`n'Quiet 2.0> on cpu0
Timecounters tick every 1.000 msec
ZFS filesystem version: 5
ZFS storage pool version: features support (5000)
ugen0.1: <0x1022 XHCI root HUB> at usbus0
ugen2.1: <0x1022 XHCI root HUB> at usbus2
ugen3.1: <0x1022 XHCI root HUB> at usbus3
ugen1.1: <0x1b21 XHCI root HUB> at usbus1
uhub0 on usbus0
uhub0: <0x1022 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
uhub1 on usbus2
uhub1: <0x1022 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus2
uhub2 on usbus3
uhub2: <0x1022 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus3
uhub3 on usbus1
uhub3: <0x1b21 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus1
nvd0: <WDS100T3X0C-00SJG0> NVMe namespace
nvd0: 953869MB (1953525168 512 byte sectors)
hdacc0: <ATI R6xx HDA CODEC> at cad 0 on hdac0
hdaa0: <ATI R6xx Audio Function Group> at nid 1 on hdacc0
pcm0: <ATI R6xx (HDMI)> at nid 3 on hdaa0
pcm1: <ATI R6xx (HDMI)> at nid 5 on hdaa0
pcm2: <ATI R6xx (HDMI)> at nid 7 on hdaa0
pcm3: <ATI R6xx (HDMI)> at nid 9 on hdaa0
hdacc1: <Realtek ALCS1200A HDA CODEC> at cad 0 on hdac1
hdaa1: <Realtek ALCS1200A Audio Function Group> at nid 1 on hdacc1
pcm4: <Realtek ALCS1200A (Rear Analog 5.1/2.0)> at nid 20,22,21 and 24,26
on hdaa1
pcm5: <Realtek ALCS1200A (Front Analog)> at nid 27 and 25 on hdaa1
pcm6: <Realtek ALCS1200A (Rear Digital)> at nid 30 on hdaa1
Trying to mount root from zfs:pobro/ROOT/current []...
Root mount waiting for: usbus0 CAM usbus1 usbus2 usbus3
WARNING: WITNESS option enabled, expect reduced performance.
ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
ada0: <ST8000NM000A-2KE101 SN02> ACS-4 ATA SATA 3.x device
ada0: Serial Number WSD075ED
ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes)
ada0: Command Queueing enabled
ada0: 7630885MB (15628053168 512 byte sectors)
uhub3: 4 ports with 4 removable, self powered
uhub2: 6 ports with 6 removable, self powered
uhub1: 6 ports with 6 removable, self powered
uhub0: 14 ports with 14 removable, self powered
ugen1.2: <GenesysLogic USB3.1 Hub> at usbus1
uhub4 on uhub3
uhub4: <GenesysLogic> on usbus1
ugen2.2: <Asmedia ASM107x> at usbus2
uhub5 on uhub1
uhub5: <Asmedia ASM107x, class 9/0, rev 2.10/2.00, addr 1> on usbus2
uhub5: MTT enabled
uhub4: 4 ports with 4 removable, self powered
uhub5: 4 ports with 4 removable, self powered
Root mount waiting for: usbus0 usbus1 usbus2
ugen0.2: <vendor 0x05e3 USB2.0 Hub> at usbus0
uhub6 on uhub0
uhub6: <vendor 0x05e3 USB2.0 Hub, class 9/0, rev 2.00/60.52, addr 1> on
usbus0
uhub6: MTT enabled
ugen1.3: <GenesysLogic USB2.1 Hub> at usbus1
uhub7 on uhub3
uhub7: <GenesysLogic USB2.1 Hub, class 9/0, rev 2.10/6.55, addr 2> on usbus1
ugen2.3: <GenesysLogic USB2.0 Hub> at usbus2
uhub8 on uhub5
uhub8: <GenesysLogic USB2.0 Hub, class 9/0, rev 2.10/4.02, addr 2> on usbus2
uhub8: MTT enabled
uhub6: 4 ports with 4 removable, self powered
uhub7: 4 ports with 4 removable, self powered
uhub8: 4 ports with 3 removable, self powered
ugen0.3: <vendor 0x145f 2.4G Mouse> at usbus0
Root mount waiting for: usbus0 usbus2
ugen2.4: <Gefufna Keyboard> at usbus2
ukbd0 on uhub8
ukbd0: <Gefufna Keyboard, class 0/0, rev 2.00/2.30, addr 3> on usbus2
kbd2 at ukbd0
ugen0.4: <ASRock LED Controller> at usbus0
ugen2.5: <vendor 0x13ba Barcode Reader> at usbus2
ukbd1 on uhub8
ukbd1: <vendor 0x13ba Barcode Reader, class 0/0, rev 1.10/0.01, addr 4> on
usbus2
kbd3 at ukbd1
Root mount waiting for: usbus0 usbus2
ugen0.5: <vendor 0x0b05 product 0x1825> at usbus0
ugen2.6: <Black Sphere Technologies Black Magic Probe (STLINK), (Firmware
v1.6.1-512-gbe69913)> at usbus2
ugen2.7: <Asmedia ASM107x> at usbus2
uhub9 on uhub1
uhub9: <Asmedia ASM107x, class 9/0, rev 3.00/2.00, addr 6> on usbus2
Root mount waiting for: usbus2
uhub9: 4 ports with 4 removable, self powered
intsmb0: <AMD FCH SMBus Controller> at device 20.0 on pci0
smbus0: <System Management Bus> on intsmb0
acpi_wmi0: <ACPI-WMI mapping> on acpi0
acpi_wmi0: cannot find EC device
acpi_wmi0: Embedded MOF found
ACPI: \134AOD.WQBA: 1 arguments were passed to a non-method ACPI object
(Buffer) (20210331/nsarguments-361)
driver bug: Unable to set devclass (class: ppc devname: (unknown))
[drm] amdgpu kernel modesetting enabled.
drmn0: <drmn> on vgapci0
vgapci0: child drmn0 requested pci_enable_io
vgapci0: child drmn0 requested pci_enable_io
sysctl_warn_reuse: can't re-use a leaf (hw.dri.debug)!
[drm] initializing kernel modesetting (RENOIR 0x1002:0x1636 0x1002:0x1636
0xD8).
[drm] register mmio base: 0xFCB00000
[drm] register mmio size: 524288
[drm] add ip block number 0 <soc15_common>
[drm] add ip block number 1 <gmc_v9_0>
[drm] add ip block number 2 <vega10_ih>
[drm] add ip block number 3 <psp>
[drm] add ip block number 4 <smu>
[drm] add ip block number 5 <gfx_v9_0>
[drm] add ip block number 6 <sdma_v4_0>
[drm] add ip block number 7 <vcn_v2_0>
drmn0: successfully loaded firmware image 'amdgpu/renoir_gpu_info.bin'
drmn0: kfd not supported on this ASIC
ATOM BIOS: 113-RENOIR-034
drmn0: successfully loaded firmware image 'amdgpu/renoir_sdma.bin'
[drm] VCN decode is enabled in VM mode
[drm] VCN encode is enabled in VM mode
[drm] VCN jpeg decode is enabled in VM mode
[drm] vm size is 262144 GB, 4 levels, block size is 9-bit, fragment size is
9-bit
drmn0: VRAM: 512M 0x000000F400000000 - 0x000000F41FFFFFFF (512M used)
drmn0: GART: 1024M 0x0000000000000000 - 0x000000003FFFFFFF
drmn0: AGP: 267419648M 0x000000F800000000 - 0x0000FFFFFFFFFFFF
Successfully added WC MTRR for [0xd0000000-0xdfffffff]: 0;
[drm] Detected VRAM RAM=512M, BAR=256M
[drm] RAM width 128bits UNKNOWN
[TTM] Zone  kernel: Available graphics memory: 16427902 KiB
[TTM] Zone   dma32: Available graphics memory: 2097152 KiB
[TTM] Initializing pool allocator
[drm] amdgpu: 512M of VRAM memory ready
[drm] amdgpu: 3072M of GTT memory ready.
[drm] GART: num cpu pages 262144, num gpu pages 262144
[drm] PCIE GART of 1024M enabled (table at 0x000000F400900000).
[drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[drm] Driver supports precise vblank timestamp query.
drmn0: successfully loaded firmware image 'amdgpu/renoir_asd.bin'
drmn0: successfully loaded firmware image 'amdgpu/renoir_pfp.bin'
drmn0: successfully loaded firmware image 'amdgpu/renoir_me.bin'
drmn0: successfully loaded firmware image 'amdgpu/renoir_ce.bin'
drmn0: successfully loaded firmware image 'amdgpu/renoir_rlc.bin'
drmn0: successfully loaded firmware image 'amdgpu/renoir_mec.bin'
drmn0: successfully loaded firmware image 'amdgpu/renoir_mec2.bin'
[drm] use_doorbell being set to: [true]
drmn0: successfully loaded firmware image 'amdgpu/renoir_vcn.bin'
[drm] Found VCN firmware Version ENC: 1.7 DEC: 4 VEP: 0 Revision: 17
[drm] PSP loading VCN firmware
sos fw version = 0x110068.
[drm] reserve 0x400000 from 0xf41f800000 for PSP TMR
amdgpu: [powerplay] smu driver if version = 0x0000000a, smu fw if version =
0x0000000e, smu fw version = 0x00374e00 (55.78.0)
amdgpu: [powerplay] SMU driver if version not matched
amdgpu: [powerplay] dpm has been disabled
amdgpu: [powerplay] SMU is initialized successfully!
[drm] VCN decode and encode initialized successfully(under DPG Mode).
drmn0: ring gfx uses VM inv eng 0 on hub 0
drmn0: ring comp_1.0.0 uses VM inv eng 1 on hub 0
drmn0: ring comp_1.1.0 uses VM inv eng 4 on hub 0
drmn0: ring comp_1.2.0 uses VM inv eng 5 on hub 0
drmn0: ring comp_1.3.0 uses VM inv eng 6 on hub 0
drmn0: ring comp_1.0.1 uses VM inv eng 7 on hub 0
drmn0: ring comp_1.1.1 uses VM inv eng 8 on hub 0
drmn0: ring comp_1.2.1 uses VM inv eng 9 on hub 0
drmn0: ring comp_1.3.1 uses VM inv eng 10 on hub 0
drmn0: ring kiq_2.1.0 uses VM inv eng 11 on hub 0
drmn0: ring sdma0 uses VM inv eng 0 on hub 1
drmn0: ring vcn_dec uses VM inv eng 1 on hub 1
drmn0: ring vcn_enc0 uses VM inv eng 4 on hub 1
drmn0: ring vcn_enc1 uses VM inv eng 5 on hub 1
drmn0: ring vcn_jpeg uses VM inv eng 6 on hub 1
[drm] Initialized amdgpu 3.35.0 20150101 for drmn0 on minor 0
lo0: link state changed to UP
ums0 on uhub8
ums0: <Gefufna Keyboard, class 0/0, rev 2.00/2.30, addr 3> on usbus2
ums0: 3 buttons and [XYZ] coordinates ID=0
ums1 on uhub8
ums1: <vendor 0x13ba Barcode Reader, class 0/0, rev 1.10/0.01, addr 4> on
usbus2
ums1: 5 buttons and [XYZ] coordinates ID=1
ums2 on uhub6
ums2: <vendor 0x145f 2.4G Mouse, class 0/0, rev 1.10/2.00, addr 2> on usbus0
ums2: 8 buttons and [XYZT] coordinates ID=2
uhid0 on uhub0
uhid0: <ASRock LED Controller, class 0/0, rev 1.10/0.00, addr 3> on usbus0
ubt0 on uhub0
ubt0: <vendor 0x0b05 product 0x1825, class 224/1, rev 1.10/0.01, addr 4> on
usbus0
umodem0 on uhub5
umodem0: <Black Magic GDB Server> on usbus2
umodem0: data interface 1, has no CM over data, has no break
umodem1 on uhub5
umodem1: <Black Magic UART Port> on usbus2
umodem1: data interface 3, has no CM over data, has no break
WARNING: attempt to domain_add(bluetooth) after domainfinalize()
WARNING: attempt to domain_add(netgraph) after domainfinalize()
[drm ERROR :smu_v12_0_gfx_off_control] enable gfxoff timeout and failed!
[drm ERROR :smu_v12_0_gfx_off_control] enable gfxoff timeout and failed!


More information about the freebsd-x11 mailing list