New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AMD Ryzen 3 2200G with Radeon Vega Graphics not working #56

Closed
rmx-it opened this Issue May 7, 2018 · 27 comments

Comments

Projects
None yet
4 participants
@rmx-it

rmx-it commented May 7, 2018

Hi,
for the above CPU/GPU combo, drm-next doesn't seem to work.
dmesg:
`
VT(vga): resolution 640x480
CPU: AMD Ryzen 3 2200G with Radeon Vega Graphics (3493.52-MHz K8-class CPU)
Origin="AuthenticAMD" Id=0x810f10 Family=0x17 Model=0x11 Stepping=0
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=0x35c233ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,SKINIT,WDT,TCE,Topology,PCXC,PNXC,DBE,PL2I,MWAITX>
Structured Extended Features=0x209c01a9<FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA>
XSAVE Features=0xf<XSAVEOPT,XSAVEC,XINUSE,XSAVES>
AMD Extended Feature Extensions ID EBX=0x1007<CLZERO,IRPerf,XSaveErPtr>
SVM: (disabled in BIOS) NP,NRIP,VClean,AFlush,DAssist,NAsids=32768
TSC: P-state invariant, performance statistics

...

[drm] amdgpu kernel modesetting enabled.

...
pciconf -lvv
vgapci0@pci0:8:0:0: class=0x030000 card=0xd0001458 chip=0x15dd1002 rev=0xc8 hdr=0x00
vendor = 'Advanced Micro Devices, Inc. [AMD/ATI]'
device = 'Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series]'
class = display
subclass = VGA

Xorg.log
[ 13234.683] (II) AMDGPU: Driver for AMD Radeon:
All GPUs supported by the amdgpu kernel driver
[ 13234.683] (--) Using syscons driver with X support (version 2.0)
[ 13234.683] (--) using VT number 9

[ 13234.716] (II) [KMS] drm report modesetting isn't supported.
[ 13234.716] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 13234.716] (EE) Screen 0 deleted because of no matching config section.
[ 13234.716] (II) UnloadModule: "amdgpu"
[ 13234.716] (EE) Device(s) detected, but none match those in the config file.
[ 13234.716] (EE)
Fatal server error:
[ 13234.716] (EE) no screens found(EE)
[ 13234.716] (EE)

`

@myfreeweb

This comment has been minimized.

Contributor

myfreeweb commented May 7, 2018

Hi. Vega is not supported yet, Polaris is the newest GPU that's supported in versions below 4.15.

The 4.15 merge is done, but amdgpu doesn't work there yet. (@johalun any progress?)

@johalun

This comment has been minimized.

Member

johalun commented May 7, 2018

Not yet.. The new amd scheduler code need some patching. I've been busy with work lately but hope to have 4.15 ready for testing during this month.

@rmx-it

This comment has been minimized.

rmx-it commented May 7, 2018

Hi,
that would be cool.

Thanks for your work!

...
mike

@myfreeweb

This comment has been minimized.

Contributor

myfreeweb commented May 11, 2018

So I built 4.15 anyway and uhhh actually It Works! (on Polaris)

(I have a GENERIC-NODEBUG based kernel config, so assertions are disabled.)

@myfreeweb

This comment has been minimized.

Contributor

myfreeweb commented May 11, 2018

Even DC works! (compat.linuxkpi.dc="1" in /boot/loader.conf)

Xorg and rootston (wlroots) work perfectly fine!

With Weston and DC:

  • Weston detects atomic mode setting support
  • this kernel warning pops up: WARNING state->crtc && !state->fb failed at .../drm_atomic.c:862
  • the mode setting does not happen, the screen stays on console, Weston error: atomic: couldn't commit new state (EINVAL in drmModeAtomicCommit)
  • With only one monitor, it doesn't fail, but the display is glitched.

So probably a weston bug.

UPDATE: commented out the "Disable all the planes" section and Weston works just fine!! Ohh yeah.

@myfreeweb

This comment has been minimized.

Contributor

myfreeweb commented May 11, 2018

Soooo @rmx-it Vega actually might be supported :) Please try this:

  • checkout drm-v4.15-WIP branch from here into /usr/src/, build&install world&kernel with KERNCONF=GENERIC-NODEBUG
  • make and make install the drm-v4.15 branch of this repo
  • if you're UEFI booting, disable the console (hw.syscons.disable="1" in /boot/loader.conf), get ready to SSH from a second machine to test load the driver :)
  • boot, load, test!
  • if works, set up kld_list in /etc/rc.conf to auto-load the driver on boot
  • if you want to play with Wayland/Vulkan/OpenCL/etc. you might need my hack patch from here
@dariusc93

This comment has been minimized.

dariusc93 commented May 14, 2018

I havent tried the drm-4.15 branch but I believe there is a little bit more that needs to be done for vega to work on there. It might be better to wait for 4.16 or 4.17 (when released) if you want to get more out of it. Will probably give it a try sometime this month when I get time though to see how far it came.

@rmx-it

This comment has been minimized.

rmx-it commented May 14, 2018

Hi,
I tried. It would recognize the GPU but fails to load amdgpu/raven_gpu_info.bin.
After that the console hangs...
Screenshot:
img_20180514_104814

GPU-Firmware is: gpu-firmware-kmod-g20180319_1
Installed Raven modules:
amdgpu_raven_asd_bin.ko amdgpu_raven_me_bin.ko amdgpu_raven_pfp_bin.ko amdgpu_raven_vcn_bin.ko
amdgpu_raven_ce_bin.ko amdgpu_raven_mec_bin.ko amdgpu_raven_rlc_bin.ko
amdgpu_raven_gpu_info_bin.ko amdgpu_raven_mec2_bin.ko amdgpu_raven_sdma_bin.ko

@johalun

This comment has been minimized.

Member

johalun commented May 14, 2018

try enable debug output by adding to /boot/loader.conf
dev.drm.drm_debug=-1

I think you will find that the crash is in amd gpu scheduler which is not fixed yet. If anyone got 4.15 working on amd, it's just luck at this point :)

@rmx-it

This comment has been minimized.

rmx-it commented May 14, 2018

Hi,
probably not. While it produces more lines on the screen it freezes the screen at the same line.
(Not finding the amdgpu/raven_gpu_info.ko...)

BTW: It seems that mostly the screen/network/IO? freezes because I can reboot with CTRL-ALT-DEL...

@johalun

This comment has been minimized.

Member

johalun commented May 14, 2018

For me it's working with -NODEBUG kernel config. Try that.

@myfreeweb

This comment has been minimized.

Contributor

myfreeweb commented May 14, 2018

@johalun on an older (than Vega) GPU?

@rmx-it network actually definitely frozen too? :(

Firmware not loading on the first attempt is normal btw.

Also, again, make sure you're not using the UEFI console. If you saw something about vga and not efifb when booting, you're fine. Otherwise disable the EFI console (hw.syscons.disable="1") and monitor the dmesg over ssh.

@johalun

This comment has been minimized.

Member

johalun commented May 14, 2018

Yeah this is kaveri so old hardware.

If you come over to https://gitter.im/FreeBSDDesktop/Lobby we can discuss in real time (but not tonight because I'm logging off soon)

@rmx-it

This comment has been minimized.

rmx-it commented May 15, 2018

Hi,
probably not. While it produces more lines on the screen it freezes the screen at the same line.
(Not finding the amdgpu/raven_gpu_info.ko...)

BTW: It seems that mostly the screen/network/IO? freezes because I can reboot with CTRL-ALT-DEL...

@johalun

This comment has been minimized.

Member

johalun commented May 15, 2018

Maybe we just need to update the firmware pkg with new firmware for up to 4.15. I'll take a look.

@rmx-it

This comment has been minimized.

rmx-it commented May 15, 2018

Hi,
Im already using a -NODEBUG kernel.
Also I'm booting from a non-UEFI USB-stick. It shows:

VT(vga): resolution 640x480
vtvga0: <VT VGA driver> on motherboard
vgapci0: <VGA-compatible display> port 0xe000-0xe0ff mem 0xe0000000-0xefffffff,0xf0000000-0xf01fffff,0xfe600000-0xfe67ffff irq 52 at device 0.0 on pci8
vgapci0: Boot video device

As it seems, only the kldload command and the console hangs.
(I can work over ssh afterwards.)
If I do a kldload amdgpu & dmesg shows:

anon_inodefs_init: 
[drm:drm_core_init] Initialized
[drm] amdgpu kernel modesetting enabled.
drmn0: <drmn> on vgapci0
vgapci0: child drmn0 requested pci_enable_io
vgapci0: child drmn0 requested pci_enable_io
[drm:drm_minor_register] 
[drm:drm_minor_register] 
[drm:drm_minor_register] new minor registered 128
[drm:drm_minor_register] 
[drm:drm_minor_register] new minor registered 0
[drm] initializing kernel modesetting (RAVEN 0x1002:0x15DD 0x1458:0xD000 0xC8).
[drm] register mmio base: 0xFE600000
[drm] register mmio size: 524288
[drm] PCI I/O BAR is not found.
[drm:amdgpu_ip_block_add] add ip block number 0 <soc15_common>
[drm:amdgpu_ip_block_add] add ip block number 1 <gmc_v9_0>
[drm:amdgpu_ip_block_add] add ip block number 2 <vega10_ih>
[drm:amdgpu_ip_block_add] add ip block number 3 <psp>
[drm:amdgpu_ip_block_add] add ip block number 4 <amdgpu_powerplay>
[drm:amdgpu_ip_block_add] add ip block number 5 <dm>
[drm:amdgpu_ip_block_add] add ip block number 6 <gfx_v9_0>
[drm:amdgpu_ip_block_add] add ip block number 7 <sdma_v4_0>
[drm:amdgpu_ip_block_add] add ip block number 8 <vcn_v1_0>
drmn0: try to load firmware with name: amdgpu/raven_gpu_info.bin
amdgpu/raven_gpu_info.bin: could not load firmware image, error 2
drmn0: retry to load firmware with name: amdgpu/raven_gpu_info.bin
amdgpu/raven_gpu_info.bin: could not load firmware image, error 2
drmn0: successfully linked firmware module with mapped name: amdgpu_raven_gpu_info_bin
drmn0: try (0) to load firmware image with name: amdgpu/raven_gpu_info.bin
drmn0: successfully loaded firmware image with name: amdgpu/raven_gpu_info.bin
[drm:amdgpu_ucode_print_gpu_info_hdr] GPU_INFO
[drm:amdgpu_ucode_print_common_hdr] size_bytes: 316
[drm:amdgpu_ucode_print_common_hdr] header_size_bytes: 36
[drm:amdgpu_ucode_print_common_hdr] header_version_major: 1
[drm:amdgpu_ucode_print_common_hdr] header_version_minor: 0
[drm:amdgpu_ucode_print_common_hdr] ip_version_major: 9
[drm:amdgpu_ucode_print_common_hdr] ip_version_minor: 0
[drm:amdgpu_ucode_print_common_hdr] ucode_version: 0x00000001
[drm:amdgpu_ucode_print_common_hdr] ucode_size_bytes: 60
[drm:amdgpu_ucode_print_common_hdr] ucode_array_offset_bytes: 256
[drm:amdgpu_ucode_print_common_hdr] crc32: 0x09f31aee
[drm:amdgpu_ucode_print_gpu_info_hdr] version_major: 1
[drm:amdgpu_ucode_print_gpu_info_hdr] version_minor: 0
[drm] probing gen 2 caps for device 1022:15db = 700d03/e
[drm] probing mlw for device 1002:15dd = 400d03
[drm] VCN decode is enabled in VM mode
[drm] VCN encode is enabled in VM mode
[drm] BIOS signature incorrect 0 0
[drm:check_atom_bios] ATOMBIOS detected
[drm] PCI I/O BAR is not found. Using MMIO to access ATOM BIOS
ATOM BIOS: 113-RAVEN-104
[drm:amdgpu_atomfirmware_allocate_fb_scratch] atom firmware requested 000fffe0 32kb fw 0kb drv
[drm] GPU post is not needed
[drm] vm size is 262144 GB, block size is 9-bit,fragment size is 9-bit
drmn0: VRAM: 1024M 0x000000F400000000 - 0x000000F43FFFFFFF (1024M used)
drmn0: GTT: 1024M 0x000000F440000000 - 0x000000F47FFFFFFF
[drm] Detected VRAM RAM=1024M, BAR=256M
[drm] RAM width 256bits UNKNOWN
[TTM] Zone  kernel: Available graphics memory: 3620990 kiB
[TTM] Zone   dma32: Available graphics memory: 2097152 kiB
[TTM] Initializing pool allocator
[drm] amdgpu: 1024M of VRAM memory ready
[drm] amdgpu: 3072M of GTT memory ready.
i_size_write unimplemented
[drm] GART: num cpu pages 262144, num gpu pages 262144
[drm] PCIE GART of 1024M enabled (table at 0x000000F400800000).
[drm:drm_irq_install] irq=52
[drm] amdgpu: irq initialized.
[drm:psp_v10_0_init_microcode] 
drmn0: try to load firmware with name: amdgpu/raven_asd.bin
amdgpu/raven_asd.bin: could not load firmware image, error 2
drmn0: retry to load firmware with name: amdgpu/raven_asd.bin
amdgpu/raven_asd.bin: could not load firmware image, error 2
drmn0: successfully linked firmware module with mapped name: amdgpu_raven_asd_bin
drmn0: try (0) to load firmware image with name: amdgpu/raven_asd.bin
drmn0: successfully loaded firmware image with name: amdgpu/raven_asd.bin
amdgpu: [powerplay] amdgpu: powerplay sw initialized
[drm:gfx_v9_0_init_microcode] 
drmn0: try to load firmware with name: amdgpu/raven_pfp.bin
amdgpu/raven_pfp.bin: could not load firmware image, error 2
drmn0: retry to load firmware with name: amdgpu/raven_pfp.bin
amdgpu/raven_pfp.bin: could not load firmware image, error 2
drmn0: successfully linked firmware module with mapped name: amdgpu_raven_pfp_bin
drmn0: try (0) to load firmware image with name: amdgpu/raven_pfp.bin
drmn0: successfully loaded firmware image with name: amdgpu/raven_pfp.bin
drmn0: try to load firmware with name: amdgpu/raven_me.bin
amdgpu/raven_me.bin: could not load firmware image, error 2
drmn0: retry to load firmware with name: amdgpu/raven_me.bin
amdgpu/raven_me.bin: could not load firmware image, error 2
drmn0: successfully linked firmware module with mapped name: amdgpu_raven_me_bin
drmn0: try (0) to load firmware image with name: amdgpu/raven_me.bin
drmn0: successfully loaded firmware image with name: amdgpu/raven_me.bin
drmn0: try to load firmware with name: amdgpu/raven_ce.bin
amdgpu/raven_ce.bin: could not load firmware image, error 2
drmn0: retry to load firmware with name: amdgpu/raven_ce.bin
amdgpu/raven_ce.bin: could not load firmware image, error 2
drmn0: successfully linked firmware module with mapped name: amdgpu_raven_ce_bin
drmn0: try (0) to load firmware image with name: amdgpu/raven_ce.bin
drmn0: successfully loaded firmware image with name: amdgpu/raven_ce.bin
drmn0: try to load firmware with name: amdgpu/raven_rlc.bin
amdgpu/raven_rlc.bin: could not load firmware image, error 2
drmn0: retry to load firmware with name: amdgpu/raven_rlc.bin
amdgpu/raven_rlc.bin: could not load firmware image, error 2
drmn0: successfully linked firmware module with mapped name: amdgpu_raven_rlc_bin
drmn0: try (0) to load firmware image with name: amdgpu/raven_rlc.bin
drmn0: successfully loaded firmware image with name: amdgpu/raven_rlc.bin
drmn0: try to load firmware with name: amdgpu/raven_mec.bin
amdgpu/raven_mec.bin: could not load firmware image, error 2
drmn0: retry to load firmware with name: amdgpu/raven_mec.bin
amdgpu/raven_mec.bin: could not load firmware image, error 2
drmn0: successfully linked firmware module with mapped name: amdgpu_raven_mec_bin
drmn0: try (0) to load firmware image with name: amdgpu/raven_mec.bin
drmn0: successfully loaded firmware image with name: amdgpu/raven_mec.bin
drmn0: try to load firmware with name: amdgpu/raven_mec2.bin
amdgpu/raven_mec2.bin: could not load firmware image, error 2
drmn0: retry to load firmware with name: amdgpu/raven_mec2.bin
amdgpu/raven_mec2.bin: could not load firmware image, error 2
drmn0: successfully linked firmware module with mapped name: amdgpu_raven_mec2_bin
drmn0: try (0) to load firmware image with name: amdgpu/raven_mec2.bin
drmn0: successfully loaded firmware image with name: amdgpu/raven_mec2.bin
drmn0: fence driver on ring 0 use gpu addr 0x000000f440400040, cpu addr 0x0xfffffe004acdc040
i_size_write unimplemented
drmn0: fence driver on ring 1 use gpu addr 0x000000f4404000c0, cpu addr 0x0xfffffe004acdc0c0
i_size_write unimplemented
drmn0: fence driver on ring 2 use gpu addr 0x000000f440400140, cpu addr 0x0xfffffe004acdc140
i_size_write unimplemented
drmn0: fence driver on ring 3 use gpu addr 0x000000f4404001c0, cpu addr 0x0xfffffe004acdc1c0
i_size_write unimplemented
drmn0: fence driver on ring 4 use gpu addr 0x000000f440400240, cpu addr 0x0xfffffe004acdc240
i_size_write unimplemented
drmn0: fence driver on ring 5 use gpu addr 0x000000f4404002c0, cpu addr 0x0xfffffe004acdc2c0
i_size_write unimplemented
drmn0: fence driver on ring 6 use gpu addr 0x000000f440400340, cpu addr 0x0xfffffe004acdc340
i_size_write unimplemented
drmn0: fence driver on ring 7 use gpu addr 0x000000f4404003c0, cpu addr 0x0xfffffe004acdc3c0
i_size_write unimplemented
drmn0: fence driver on ring 8 use gpu addr 0x000000f440400440, cpu addr 0x0xfffffe004acdc440
i_size_write unimplemented
drmn0: fence driver on ring 9 use gpu addr 0x000000f4404004e0, cpu addr 0x0xfffffe004acdc4e0
i_size_write unimplemented
[drm:sdma_v4_0_init_microcode] 
drmn0: try to load firmware with name: amdgpu/raven_sdma.bin
amdgpu/raven_sdma.bin: could not load firmware image, error 2
drmn0: retry to load firmware with name: amdgpu/raven_sdma.bin
amdgpu/raven_sdma.bin: could not load firmware image, error 2
drmn0: successfully linked firmware module with mapped name: amdgpu_raven_sdma_bin
drmn0: try (0) to load firmware image with name: amdgpu/raven_sdma.bin
drmn0: successfully loaded firmware image with name: amdgpu/raven_sdma.bin
[drm:sdma_v4_0_init_microcode] psp_load == 'true'
[drm] use_doorbell being set to: [true]
drmn0: fence driver on ring 10 use gpu addr 0x000000f440400560, cpu addr 0x0xfffffe004acdc560
i_size_write unimplemented
drmn0: try to load firmware with name: amdgpu/raven_vcn.bin
amdgpu/raven_vcn.bin: could not load firmware image, error 2
drmn0: retry to load firmware with name: amdgpu/raven_vcn.bin
amdgpu/raven_vcn.bin: could not load firmware image, error 2
drmn0: successfully linked firmware module with mapped name: amdgpu_raven_vcn_bin
drmn0: try (0) to load firmware image with name: amdgpu/raven_vcn.bin
drmn0: successfully loaded firmware image with name: amdgpu/raven_vcn.bin
[drm] Found VCN firmware Version: 1.73 Family ID: 18
drmn0: fence driver on ring 11 use gpu addr 0x000000f4404005e0, cpu addr 0x0xfffffe004acdc5e0
i_size_write unimplemented
drmn0: fence driver on ring 12 use gpu addr 0x000000f440400660, cpu addr 0x0xfffffe004acdc660
i_size_write unimplemented
drmn0: fence driver on ring 13 use gpu addr 0x000000f4404006e0, cpu addr 0x0xfffffe004acdc6e0
i_size_write unimplemented
[drm:amdgpu_ih_process] amdgpu_ih_process: rptr 0, wptr 64
drmn0: [mmhub] VMC page fault (src_id:0 ring:153 vm_id:0 pas_id:0)
drmn0:   at page 0x0000bb08103eb000 from 18
drmn0: VM_L2_PROTECTION_FAULT_STATUS:0x00000000
@myfreeweb

This comment has been minimized.

Contributor

myfreeweb commented May 15, 2018

Hm, VMC page fault / VM_L2_PROTECTION_FAULT_STATUS: https://lkml.org/lkml/2017/12/19/43

Apparently

Very rarely the boot will succeed and everything seems to go smoothly

So you can retry for a few times :D

I guess this will be solved in 4.16.

@rmx-it

This comment has been minimized.

rmx-it commented May 19, 2018

Given the fact that kldload amdgpu never returns its difficult to try multiple times...
Maybe newer firmware images are available for 4.15?

@johalun

This comment has been minimized.

Member

johalun commented May 22, 2018

Ok, so I'm stuck at the same place

drmn0: [mmhub] VMC page fault (src_id:0 ring:153 vm_id:0 pas_id:0)
drmn0:   at page 0x0000bb08103eb000 from 18
drmn0: VM_L2_PROTECTION_FAULT_STATUS:0x00000000

I can switch tty with alt+fX. The systems seems normal except the kldload process is stuck.
Will investigate further.

@johalun

This comment has been minimized.

Member

johalun commented May 22, 2018

Full log:

Copyright (c) 1992-2018 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 12.0-CURRENT #53 add7186db79(drm-v4.15): Tue May 22 17:20:32 BST 2018
    root@jd:/usr/obj/usr/src/amd64.amd64/sys/JD amd64
FreeBSD clang version 6.0.0 (branches/release_60 324090) (based on LLVM 6.0.0)
WARNING: WITNESS option enabled, expect reduced performance.
VT(efifb): resolution 800x480
CPU: AMD Ryzen 3 2200G with Radeon Vega Graphics     (3493.52-MHz K8-class CPU)
  Origin="AuthenticAMD"  Id=0x810f10  Family=0x17  Model=0x11  Stepping=0
  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=0x35c233ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,SKINIT,WDT,TCE,Topology,PCXC,PNXC,DBE,PL2I,MWAITX>
  Structured Extended Features=0x209c01a9<FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA>
  XSAVE Features=0xf<XSAVEOPT,XSAVEC,XINUSE,XSAVES>
  AMD Extended Feature Extensions ID EBX=0x1007<CLZERO,IRPerf,XSaveErPtr>
  SVM: (disabled in BIOS) NP,NRIP,VClean,AFlush,DAssist,NAsids=32768
  TSC: P-state invariant, performance statistics
real memory  = 4294967296 (4096 MB)
avail memory = 3506839552 (3344 MB)
Event timer "LAPIC" quality 600
ACPI APIC Table: <ALASKA A M I >
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
FreeBSD/SMP: 1 package(s) x 4 core(s)
random: unblocking device.
Firmware Warning (ACPI): Optional FADT field Pm2ControlBlock has valid Length but zero Address: 0x0000000000000000/0x1 (20180508/tbfadt-796)
ioapic0 <Version 2.1> irqs 0-23 on motherboard
ioapic1 <Version 2.1> irqs 24-55 on motherboard
Launching APs: 2 1 3
Timecounter "TSC-low" frequency 1746760452 Hz quality 1000
random: entropy device external interface
kbd1 at kbdmux0
netmap: loaded module
module_register_init: MOD_LOAD (vesa, 0xffffffff80a76640, 0) error 19
random: registering fast source Intel Secure Key RNG
random: fast provider: "Intel Secure Key RNG"
nexus0
cryptosoft0: <software crypto> on motherboard
acpi0: <ALASKA A M I > on motherboard
Firmware Error (ACPI): Failure creating [\134_SB.SMIC], AE_ALREADY_EXISTS (20180508/dswload2-468)
ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20180508/psobject-371)
ACPI Error: Method parse/execution failed \134, AE_ALREADY_EXISTS (20180508/psparse-677)
ACPI Error: Invalid zero thread count in method (20180508/dsmethod-959)
ACPI Error: Invalid OwnerId: 0x00 (20180508/utownerid-318)
ACPI Error: AE_ALREADY_EXISTS, (SSDT:  AMD PT) while loading table (20180508/tbxfload-358)
ACPI Error: 1 table load failures, 7 successful (20180508/tbxfload-381)
acpi0: Power Button (fixed)
cpu0: <ACPI CPU> on acpi0
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 450
Event timer "HPET1" frequency 14318180 Hz quality 450
Event timer "HPET2" frequency 14318180 Hz quality 450
Timecounter "ACPI-safe" frequency 3579545 Hz quality 850
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 1.2 on pci0
pci1: <ACPI PCI bus> on pcib1
xhci0: <XHCI (generic) USB 3.0 controller> mem 0xfe8a0000-0xfe8a7fff irq 28 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 0xfe880000-0xfe89ffff irq 29 at device 0.1 on pci1
ahci0: AHCI v1.31 with 8 6Gbps ports, Port Multiplier supported
ahcich0: <AHCI channel> at channel 0 on ahci0
ahcich1: <AHCI channel> at channel 1 on ahci0
ahcich4: <AHCI channel> at channel 4 on ahci0
ahcich5: <AHCI channel> at channel 5 on ahci0
pcib2: <ACPI PCI-PCI bridge> irq 30 at device 0.2 on pci1
pci2: <ACPI PCI bus> on pcib2
pcib3: <ACPI PCI-PCI bridge> irq 28 at device 4.0 on pci2
pci3: <ACPI PCI bus> on pcib3
pcib4: <ACPI PCI-PCI bridge> irq 30 at device 6.0 on pci2
pci4: <ACPI PCI bus> on pcib4
pcib5: <ACPI PCI-PCI bridge> irq 31 at device 7.0 on pci2
pci5: <ACPI PCI bus> on pcib5
re0: <RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet> port 0xf000-0xf0ff mem 0xfe700000-0xfe700fff,0xf0300000-0xf0303fff irq 31 at device 0.0 on pci5
re0: Using 1 MSI-X message
re0: ASPM disabled
re0: Chip rev. 0x4c000000
re0: MAC rev. 0x00000000
miibus0: <MII bus> on re0
rgephy0: <RTL8251/8153 1000BASE-T media interface> PHY 1 on miibus0
rgephy0:  none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow
re0: Using defaults for TSO: 65518/35/2048
re0: Ethernet address: 70:85:c2:6e:00:38
re0: netmap queues/slots: TX 1/256, RX 1/256
pcib6: <ACPI PCI-PCI bridge> at device 1.6 on pci0
pci6: <ACPI PCI bus> on pcib6
pcib7: <ACPI PCI-PCI bridge> at device 8.1 on pci0
pci7: <ACPI PCI bus> on pcib7
vgapci0: <VGA-compatible display> port 0xe000-0xe0ff mem 0xe0000000-0xefffffff,0xf0000000-0xf01fffff,0xfe600000-0xfe67ffff irq 52 at device 0.0 on pci7
vgapci0: Boot video device
pci7: <multimedia, HDA> at device 0.1 (no driver attached)
pci7: <encrypt/decrypt> at device 0.2 (no driver attached)
xhci1: <XHCI (generic) USB 3.0 controller> mem 0xfe400000-0xfe4fffff irq 55 at device 0.3 on pci7
xhci1: 64 bytes context size, 64-bit DMA
xhci1: Unable to map MSI-X table 
usbus1 on xhci1
usbus1: 5.0Gbps Super Speed USB v3.0
xhci2: <XHCI (generic) USB 3.0 controller> mem 0xfe300000-0xfe3fffff irq 52 at device 0.4 on pci7
xhci2: 64 bytes context size, 64-bit DMA
xhci2: Unable to map MSI-X table 
usbus2 on xhci2
usbus2: 5.0Gbps Super Speed USB v3.0
pci7: <multimedia, HDA> at device 0.6 (no driver attached)
pcib8: <ACPI PCI-PCI bridge> at device 8.2 on pci0
pci8: <ACPI PCI bus> on pcib8
ahci1: <AMD KERNCZ AHCI SATA controller> mem 0xfe900000-0xfe9007ff irq 54 at device 0.0 on pci8
ahci1: AHCI v1.31 with 1 6Gbps ports, Port Multiplier supported with FBS
ahcich8: <AHCI channel> at channel 0 on ahci1
isab0: <PCI-ISA bridge> at device 20.3 on pci0
isa0: <ISA bus> on isab0
acpi_button0: <Power Button> on acpi0
ppc1: <Parallel port> port 0x378-0x37f,0x778-0x77f irq 5 drq 3 on acpi0
ppc1: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc1
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 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]
hwpstate0: <Cool`n'Quiet 2.0> on cpu0
fuse-freebsd: version 0.4.4, FUSE ABI 7.8
Timecounters tick every 1.000 msec
ugen0.1: <0x1022 XHCI root HUB> at usbus0
ugen1.1: <0x1022 XHCI root HUB> at usbus1
ugen2.1: <0x1022 XHCI root HUB> at usbus2
uhub0: <0x1022 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
uhub1: <0x1022 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus2
uhub2: <0x1022 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus1
ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
ada0: <WDC WD10EZEX-00WN4A0 01.01A01> ACS-3 ATA SATA 3.x device
ada0: Serial Number WD-WCC6Y1UUTLPL
ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes)
ada0: Command Queueing enabled
ada0: 953869MB (1953525168 512 byte sectors)
WARNING: WITNESS option enabled, expect reduced performance.
Trying to mount root from ufs:/dev/ada0p6 []...
uhub1: 2 ports with 2 removable, self powered
uhub2: 8 ports with 8 removable, self powered
uhub0: 22 ports with 22 removable, self powered
ugen0.2: <vendor 0x1bcf USB Optical Mouse> at usbus0
ums0 on uhub0
ums0: <vendor 0x1bcf USB Optical Mouse, class 0/0, rev 2.00/0.14, addr 1> on usbus0
ums0: 5 buttons and [XYZT] coordinates ID=1
lo0: link state changed to UP
re0: link state changed to DOWN
ugen0.3: <MOSART Semi. 2.4G Keyboard Mouse> at usbus0
ukbd0 on uhub0
ukbd0: <MOSART Semi. 2.4G Keyboard Mouse, class 0/0, rev 1.10/1.03, addr 2> on usbus0
kbd2 at ukbd0
ums1 on uhub0
ums1: <MOSART Semi. 2.4G Keyboard Mouse, class 0/0, rev 1.10/1.03, addr 2> on usbus0
ums1: 5 buttons and [XYZT] coordinates ID=3
intsmb0: <AMD FCH SMBus Controller> at device 20.0 on pci0
smbus0: <System Management Bus> on intsmb0
re0: link state changed to UP
lock order reversal:
 1st 0xfffffe0000e28540 bufwait (bufwait) @ /usr/src/sys/kern/vfs_bio.c:3916
 2nd 0xfffff80002f34c00 dirhash (dirhash) @ /usr/src/sys/ufs/ufs/ufs_dirhash.c:289
stack backtrace:
#0 0xffffffff80736103 at witness_debugger+0x73
#1 0xffffffff80735f84 at witness_checkorder+0xe34
#2 0xffffffff806d6838 at _sx_xlock+0x68
#3 0xffffffff809dd31d at ufsdirhash_move+0x3d
#4 0xffffffff809df7ca at ufs_direnter+0x33a
#5 0xffffffff809e8bdc at ufs_makeinode+0x61c
#6 0xffffffff809e4874 at ufs_create+0x34
#7 0xffffffff80af0543 at VOP_CREATE_APV+0xd3
#8 0xffffffff807b2278 at vn_open_cred+0x2a8
#9 0xffffffff807aaadc at kern_openat+0x20c
#10 0xffffffff80a52f4c at amd64_syscall+0x28c
#11 0xffffffff80a2d79d at fast_syscall_common+0x101
lock order reversal:
 1st 0xfffff8002974d248 ufs (ufs) @ /usr/src/sys/kern/vfs_subr.c:2572
 2nd 0xfffffe0000e48a00 bufwait (bufwait) @ /usr/src/sys/ufs/ffs/ffs_vnops.c:282
 3rd 0xfffff8002987eba8 ufs (ufs) @ /usr/src/sys/kern/vfs_subr.c:2572
stack backtrace:
#0 0xffffffff80736103 at witness_debugger+0x73
#1 0xffffffff80735f84 at witness_checkorder+0xe34
#2 0xffffffff806a2c1b at lockmgr_xlock_hard+0x6b
#3 0xffffffff806a3625 at __lockmgr_args+0x545
#4 0xffffffff809d7855 at ffs_lock+0xa5
#5 0xffffffff80af2e69 at VOP_LOCK1_APV+0xd9
#6 0xffffffff807b2976 at _vn_lock+0x66
#7 0xffffffff807a13af at vget+0x7f
#8 0xffffffff80793621 at vfs_hash_get+0xd1
#9 0xffffffff809d30df at ffs_vgetf+0x3f
#10 0xffffffff809c8fd6 at softdep_sync_buf+0xd16
#11 0xffffffff809d8644 at ffs_syncvnode+0x294
#12 0xffffffff809ae04f at ffs_truncate+0x6df
#13 0xffffffff809dfad1 at ufs_direnter+0x641
#14 0xffffffff809e8bdc at ufs_makeinode+0x61c
#15 0xffffffff809e4874 at ufs_create+0x34
#16 0xffffffff80af0543 at VOP_CREATE_APV+0xd3
#17 0xffffffff807b2278 at vn_open_cred+0x2a8
[drm:drm_core_init] Initialized
[drm] amdgpu kernel modesetting enabled.
drmn0: <drmn> on vgapci0
vgapci0: child drmn0 requested pci_enable_io
vgapci0: child drmn0 requested pci_enable_io
[drm:drm_minor_register] 
[drm:drm_minor_register] 
[drm:drm_minor_register] new minor registered 128
[drm:drm_minor_register] 
[drm:drm_minor_register] new minor registered 0
[drm] initializing kernel modesetting (RAVEN 0x1002:0x15DD 0x1002:0x15DD 0xC8).
[drm] register mmio base: 0xFE600000
[drm] register mmio size: 524288
[drm] PCI I/O BAR is not found.
[drm:amdgpu_ip_block_add] add ip block number 0 <soc15_common>
[drm:amdgpu_ip_block_add] add ip block number 1 <gmc_v9_0>
[drm:amdgpu_ip_block_add] add ip block number 2 <vega10_ih>
[drm:amdgpu_ip_block_add] add ip block number 3 <psp>
[drm:amdgpu_ip_block_add] add ip block number 4 <amdgpu_powerplay>
[drm:amdgpu_ip_block_add] add ip block number 5 <dm>
[drm:amdgpu_ip_block_add] add ip block number 6 <gfx_v9_0>
[drm:amdgpu_ip_block_add] add ip block number 7 <sdma_v4_0>
[drm:amdgpu_ip_block_add] add ip block number 8 <vcn_v1_0>
drmn0: try to load firmware with name: amdgpu/raven_gpu_info.bin
amdgpu/raven_gpu_info.bin: could not load firmware image, error 2
drmn0: retry to load firmware with name: amdgpu/raven_gpu_info.bin
amdgpu/raven_gpu_info.bin: could not load firmware image, error 2
drmn0: successfully linked firmware module with mapped name: amdgpu_raven_gpu_info_bin
drmn0: try (0) to load firmware image with name: amdgpu/raven_gpu_info.bin
drmn0: successfully loaded firmware image with name: amdgpu/raven_gpu_info.bin
[drm:amdgpu_ucode_print_gpu_info_hdr] GPU_INFO
[drm:amdgpu_ucode_print_common_hdr] size_bytes: 316
[drm:amdgpu_ucode_print_common_hdr] header_size_bytes: 36
[drm:amdgpu_ucode_print_common_hdr] header_version_major: 1
[drm:amdgpu_ucode_print_common_hdr] header_version_minor: 0
[drm:amdgpu_ucode_print_common_hdr] ip_version_major: 9
[drm:amdgpu_ucode_print_common_hdr] ip_version_minor: 0
[drm:amdgpu_ucode_print_common_hdr] ucode_version: 0x00000001
[drm:amdgpu_ucode_print_common_hdr] ucode_size_bytes: 60
[drm:amdgpu_ucode_print_common_hdr] ucode_array_offset_bytes: 256
[drm:amdgpu_ucode_print_common_hdr] crc32: 0x09f31aee
[drm:amdgpu_ucode_print_gpu_info_hdr] version_major: 1
[drm:amdgpu_ucode_print_gpu_info_hdr] version_minor: 0
[drm] probing gen 2 caps for device 1022:15db = 700d03/e
[drm] probing mlw for device 1002:15dd = 400d03
[drm] VCN decode is enabled in VM mode
[drm] VCN encode is enabled in VM mode
[drm] BIOS signature incorrect 0 0
[drm:check_atom_bios] ATOMBIOS detected
[drm] PCI I/O BAR is not found. Using MMIO to access ATOM BIOS
ATOM BIOS: 113-RAVEN-103
[drm:amdgpu_atomfirmware_allocate_fb_scratch] atom firmware requested 0007ffe0 32kb fw 0kb drv
[drm] GPU post is not needed
[drm] vm size is 262144 GB, block size is 9-bit,fragment size is 9-bit
drmn0: VRAM: 512M 0x000000F400000000 - 0x000000F41FFFFFFF (512M used)
drmn0: GTT: 1024M 0x000000F420000000 - 0x000000F45FFFFFFF
[drm] Detected VRAM RAM=512M, BAR=256M
[drm] RAM width 64bits UNKNOWN
[TTM] Zone  kernel: Available graphics memory: 1787858 kiB
[TTM] Initializing pool allocator
[drm] amdgpu: 512M of VRAM memory ready
[drm] amdgpu: 3072M of GTT memory ready.
i_size_write unimplemented
[drm] GART: num cpu pages 262144, num gpu pages 262144
[drm] PCIE GART of 1024M enabled (table at 0x000000F400800000).
[drm:drm_irq_install] irq=52
[drm] amdgpu: irq initialized.
[drm:psp_v10_0_init_microcode] 
drmn0: try to load firmware with name: amdgpu/raven_asd.bin
amdgpu/raven_asd.bin: could not load firmware image, error 2
drmn0: retry to load firmware with name: amdgpu/raven_asd.bin
amdgpu/raven_asd.bin: could not load firmware image, error 2
drmn0: successfully linked firmware module with mapped name: amdgpu_raven_asd_bin
drmn0: try (0) to load firmware image with name: amdgpu/raven_asd.bin
drmn0: successfully loaded firmware image with name: amdgpu/raven_asd.bin
amdgpu: [powerplay] amdgpu: powerplay sw initialized
[drm:gfx_v9_0_init_microcode] 
drmn0: try to load firmware with name: amdgpu/raven_pfp.bin
amdgpu/raven_pfp.bin: could not load firmware image, error 2
drmn0: retry to load firmware with name: amdgpu/raven_pfp.bin
amdgpu/raven_pfp.bin: could not load firmware image, error 2
drmn0: successfully linked firmware module with mapped name: amdgpu_raven_pfp_bin
drmn0: try (0) to load firmware image with name: amdgpu/raven_pfp.bin
drmn0: successfully loaded firmware image with name: amdgpu/raven_pfp.bin
drmn0: try to load firmware with name: amdgpu/raven_me.bin
amdgpu/raven_me.bin: could not load firmware image, error 2
drmn0: retry to load firmware with name: amdgpu/raven_me.bin
amdgpu/raven_me.bin: could not load firmware image, error 2
drmn0: successfully linked firmware module with mapped name: amdgpu_raven_me_bin
drmn0: try (0) to load firmware image with name: amdgpu/raven_me.bin
drmn0: successfully loaded firmware image with name: amdgpu/raven_me.bin
drmn0: try to load firmware with name: amdgpu/raven_ce.bin
amdgpu/raven_ce.bin: could not load firmware image, error 2
drmn0: retry to load firmware with name: amdgpu/raven_ce.bin
amdgpu/raven_ce.bin: could not load firmware image, error 2
drmn0: successfully linked firmware module with mapped name: amdgpu_raven_ce_bin
drmn0: try (0) to load firmware image with name: amdgpu/raven_ce.bin
drmn0: successfully loaded firmware image with name: amdgpu/raven_ce.bin
drmn0: try to load firmware with name: amdgpu/raven_rlc.bin
amdgpu/raven_rlc.bin: could not load firmware image, error 2
drmn0: retry to load firmware with name: amdgpu/raven_rlc.bin
amdgpu/raven_rlc.bin: could not load firmware image, error 2
drmn0: successfully linked firmware module with mapped name: amdgpu_raven_rlc_bin
drmn0: try (0) to load firmware image with name: amdgpu/raven_rlc.bin
drmn0: successfully loaded firmware image with name: amdgpu/raven_rlc.bin
drmn0: try to load firmware with name: amdgpu/raven_mec.bin
amdgpu/raven_mec.bin: could not load firmware image, error 2
drmn0: retry to load firmware with name: amdgpu/raven_mec.bin
amdgpu/raven_mec.bin: could not load firmware image, error 2
drmn0: successfully linked firmware module with mapped name: amdgpu_raven_mec_bin
drmn0: try (0) to load firmware image with name: amdgpu/raven_mec.bin
drmn0: successfully loaded firmware image with name: amdgpu/raven_mec.bin
drmn0: try to load firmware with name: amdgpu/raven_mec2.bin
amdgpu/raven_mec2.bin: could not load firmware image, error 2
drmn0: retry to load firmware with name: amdgpu/raven_mec2.bin
amdgpu/raven_mec2.bin: could not load firmware image, error 2
drmn0: successfully linked firmware module with mapped name: amdgpu_raven_mec2_bin
drmn0: try (0) to load firmware image with name: amdgpu/raven_mec2.bin
drmn0: successfully loaded firmware image with name: amdgpu/raven_mec2.bin
drmn0: fence driver on ring 0 use gpu addr 0x000000f420400040, cpu addr 0x0xfffffe0029cc8040
i_size_write unimplemented
drmn0: fence driver on ring 1 use gpu addr 0x000000f4204000c0, cpu addr 0x0xfffffe0029cc80c0
i_size_write unimplemented
drmn0: fence driver on ring 2 use gpu addr 0x000000f420400140, cpu addr 0x0xfffffe0029cc8140
i_size_write unimplemented
drmn0: fence driver on ring 3 use gpu addr 0x000000f4204001c0, cpu addr 0x0xfffffe0029cc81c0
i_size_write unimplemented
drmn0: fence driver on ring 4 use gpu addr 0x000000f420400240, cpu addr 0x0xfffffe0029cc8240
i_size_write unimplemented
drmn0: fence driver on ring 5 use gpu addr 0x000000f4204002c0, cpu addr 0x0xfffffe0029cc82c0
i_size_write unimplemented
drmn0: fence driver on ring 6 use gpu addr 0x000000f420400340, cpu addr 0x0xfffffe0029cc8340
i_size_write unimplemented
drmn0: fence driver on ring 7 use gpu addr 0x000000f4204003c0, cpu addr 0x0xfffffe0029cc83c0
i_size_write unimplemented
drmn0: fence driver on ring 8 use gpu addr 0x000000f420400440, cpu addr 0x0xfffffe0029cc8440
i_size_write unimplemented
drmn0: fence driver on ring 9 use gpu addr 0x000000f4204004e0, cpu addr 0x0xfffffe0029cc84e0
i_size_write unimplemented
[drm:sdma_v4_0_init_microcode] 
drmn0: try to load firmware with name: amdgpu/raven_sdma.bin
amdgpu/raven_sdma.bin: could not load firmware image, error 2
drmn0: retry to load firmware with name: amdgpu/raven_sdma.bin
amdgpu/raven_sdma.bin: could not load firmware image, error 2
drmn0: successfully linked firmware module with mapped name: amdgpu_raven_sdma_bin
drmn0: try (0) to load firmware image with name: amdgpu/raven_sdma.bin
drmn0: successfully loaded firmware image with name: amdgpu/raven_sdma.bin
[drm:sdma_v4_0_init_microcode] psp_load == 'true'
[drm] use_doorbell being set to: [true]
drmn0: fence driver on ring 10 use gpu addr 0x000000f420400560, cpu addr 0x0xfffffe0029cc8560
i_size_write unimplemented
drmn0: try to load firmware with name: amdgpu/raven_vcn.bin
amdgpu/raven_vcn.bin: could not load firmware image, error 2
drmn0: retry to load firmware with name: amdgpu/raven_vcn.bin
amdgpu/raven_vcn.bin: could not load firmware image, error 2
drmn0: successfully linked firmware module with mapped name: amdgpu_raven_vcn_bin
drmn0: try (0) to load firmware image with name: amdgpu/raven_vcn.bin
drmn0: successfully loaded firmware image with name: amdgpu/raven_vcn.bin
[drm] Found VCN firmware Version: 1.73 Family ID: 18
drmn0: fence driver on ring 11 use gpu addr 0x000000f4204005e0, cpu addr 0x0xfffffe0029cc85e0
i_size_write unimplemented
drmn0: fence driver on ring 12 use gpu addr 0x000000f420400660, cpu addr 0x0xfffffe0029cc8660
i_size_write unimplemented
drmn0: fence driver on ring 13 use gpu addr 0x000000f4204006e0, cpu addr 0x0xfffffe0029cc86e0
i_size_write unimplemented
[drm:amdgpu_ih_process] amdgpu_ih_process: rptr 0, wptr 32
drmn0: [mmhub] VMC page fault (src_id:0 ring:153 vm_id:0 pas_id:0)
drmn0:   at page 0x0000fb7199747000 from 18
drmn0: VM_L2_PROTECTION_FAULT_STATUS:0x00000000
[drm:amdgpu_ih_process] amdgpu_ih_process: rptr 32, wptr 64
@johalun

This comment has been minimized.

Member

johalun commented May 26, 2018

We might need something like Linux 4.17 and Mesa 18.2 to fix this.. That'll be at least a few months away.

@myfreeweb

This comment has been minimized.

Contributor

myfreeweb commented May 26, 2018

Raven should work better in 4.16 already…

@johalun

This comment has been minimized.

Member

johalun commented May 26, 2018

Got kmscube spinning on 4.15 🥇 However I might need newer xorg/mesa for X to work? Failing to startx.

@myfreeweb

This comment has been minimized.

Contributor

myfreeweb commented May 26, 2018

You can build new mesa with mesa-dev or directly meson build & ninja install from my fork.

@johalun

This comment has been minimized.

Member

johalun commented May 27, 2018

Fixed

@johalun johalun closed this May 27, 2018

@rmx-it

This comment has been minimized.

rmx-it commented Jul 14, 2018

Hi,
with the latest current and drm-devel-kms I get on load:
'
[drm:drm_minor_register]
[drm:drm_minor_register]
[drm:drm_minor_register] new minor registered 128
[drm:drm_minor_register]
[drm:drm_minor_register] new minor registered 0
[drm] initializing kernel modesetting (RAVEN 0x1002:0x15DD 0x1458:0xD000 0xC8).
[drm] register mmio base: 0xFE600000
[drm] register mmio size: 524288
[drm] PCI I/O BAR is not found.
[drm:amdgpu_ip_block_add] add ip block number 0 <soc15_common>
[drm:amdgpu_ip_block_add] add ip block number 1 <gmc_v9_0>
[drm:amdgpu_ip_block_add] add ip block number 2 <vega10_ih>
[drm:amdgpu_ip_block_add] add ip block number 3
[drm:amdgpu_ip_block_add] add ip block number 4 <amdgpu_powerplay>
[drm:amdgpu_ip_block_add] add ip block number 5
[drm:amdgpu_ip_block_add] add ip block number 6 <gfx_v9_0>
[drm:amdgpu_ip_block_add] add ip block number 7 <sdma_v4_0>
[drm:amdgpu_ip_block_add] add ip block number 8 <vcn_v1_0>
drmn0: try to load firmware with name: amdgpu/raven_gpu_info.bin
amdgpu/raven_gpu_info.bin: could not load firmware image, error 2
drmn0: retry to load firmware with name: amdgpu/raven_gpu_info.bin
amdgpu/raven_gpu_info.bin: could not load firmware image, error 2
drmn0: successfully linked firmware module with mapped name: amdgpu_raven_gpu_info_bin
drmn0: try (0) to load firmware image with name: amdgpu/raven_gpu_info.bin
drmn0: successfully loaded firmware image with name: amdgpu/raven_gpu_info.bin
[drm:amdgpu_ucode_print_gpu_info_hdr] GPU_INFO
[drm:amdgpu_ucode_print_common_hdr] size_bytes: 316
[drm:amdgpu_ucode_print_common_hdr] header_size_bytes: 36
[drm:amdgpu_ucode_print_common_hdr] header_version_major: 1
[drm:amdgpu_ucode_print_common_hdr] header_version_minor: 0
[drm:amdgpu_ucode_print_common_hdr] ip_version_major: 9
[drm:amdgpu_ucode_print_common_hdr] ip_version_minor: 0
[drm:amdgpu_ucode_print_common_hdr] ucode_version: 0x00000001
[drm:amdgpu_ucode_print_common_hdr] ucode_size_bytes: 60
[drm:amdgpu_ucode_print_common_hdr] ucode_array_offset_bytes: 256
[drm:amdgpu_ucode_print_common_hdr] crc32: 0x09f31aee
[drm:amdgpu_ucode_print_gpu_info_hdr] version_major: 1
[drm:amdgpu_ucode_print_gpu_info_hdr] version_minor: 0
[drm] probing gen 2 caps for device 1022:15db = 700d03/e
[drm] probing mlw for device 1002:15dd = 400d03
[drm] VCN decode is enabled in VM mode
[drm] VCN encode is enabled in VM mode
[drm] BIOS signature incorrect 0 0
[drm:check_atom_bios] ATOMBIOS detected
[drm] PCI I/O BAR is not found. Using MMIO to access ATOM BIOS
ATOM BIOS: 113-RAVEN-104
[drm:amdgpu_atomfirmware_allocate_fb_scratch] atom firmware requested 000fffe0 32kb fw 0kb drv
[drm] GPU post is not needed
[drm] vm size is 262144 GB, block size is 9-bit,fragment size is 9-bit
drmn0: VRAM: 1024M 0x000000F400000000 - 0x000000F43FFFFFFF (1024M used)
drmn0: GTT: 1024M 0x000000F440000000 - 0x000000F47FFFFFFF
[drm] Detected VRAM RAM=1024M, BAR=256M
[drm] RAM width 256bits UNKNOWN
[TTM] Zone kernel: Available graphics memory: 3616894 kiB
[TTM] Zone dma32: Available graphics memory: 2097152 kiB
[TTM] Initializing pool allocator
[drm] amdgpu: 1024M of VRAM memory ready
[drm] amdgpu: 3072M of GTT memory ready.
i_size_write unimplemented
[drm] GART: num cpu pages 262144, num gpu pages 262144
[drm] PCIE GART of 1024M enabled (table at 0x000000F400800000).
[drm:drm_irq_install] irq=52
[drm] amdgpu: irq initialized.
[drm:psp_v10_0_init_microcode]
drmn0: try to load firmware with name: amdgpu/raven_asd.bin
amdgpu/raven_asd.bin: could not load firmware image, error 2
drmn0: retry to load firmware with name: amdgpu/raven_asd.bin
amdgpu/raven_asd.bin: could not load firmware image, error 2
drmn0: successfully linked firmware module with mapped name: amdgpu_raven_asd_bin
drmn0: try (0) to load firmware image with name: amdgpu/raven_asd.bin
drmn0: successfully loaded firmware image with name: amdgpu/raven_asd.bin
amdgpu: [powerplay] amdgpu: powerplay sw initialized
[drm:gfx_v9_0_init_microcode]
drmn0: try to load firmware with name: amdgpu/raven_pfp.bin
amdgpu/raven_pfp.bin: could not load firmware image, error 2
drmn0: retry to load firmware with name: amdgpu/raven_pfp.bin
amdgpu/raven_pfp.bin: could not load firmware image, error 2
drmn0: successfully linked firmware module with mapped name: amdgpu_raven_pfp_bin
drmn0: try (0) to load firmware image with name: amdgpu/raven_pfp.bin
drmn0: successfully loaded firmware image with name: amdgpu/raven_pfp.bin
drmn0: try to load firmware with name: amdgpu/raven_me.bin
amdgpu/raven_me.bin: could not load firmware image, error 2
drmn0: retry to load firmware with name: amdgpu/raven_me.bin
amdgpu/raven_me.bin: could not load firmware image, error 2
drmn0: successfully linked firmware module with mapped name: amdgpu_raven_me_bin
drmn0: try (0) to load firmware image with name: amdgpu/raven_me.bin
drmn0: successfully loaded firmware image with name: amdgpu/raven_me.bin
drmn0: try to load firmware with name: amdgpu/raven_ce.bin
amdgpu/raven_ce.bin: could not load firmware image, error 2
drmn0: retry to load firmware with name: amdgpu/raven_ce.bin
amdgpu/raven_ce.bin: could not load firmware image, error 2
drmn0: successfully linked firmware module with mapped name: amdgpu_raven_ce_bin
drmn0: try (0) to load firmware image with name: amdgpu/raven_ce.bin
drmn0: successfully loaded firmware image with name: amdgpu/raven_ce.bin
drmn0: try to load firmware with name: amdgpu/raven_rlc.bin
amdgpu/raven_rlc.bin: could not load firmware image, error 2
drmn0: retry to load firmware with name: amdgpu/raven_rlc.bin
amdgpu/raven_rlc.bin: could not load firmware image, error 2
drmn0: successfully linked firmware module with mapped name: amdgpu_raven_rlc_bin
drmn0: try (0) to load firmware image with name: amdgpu/raven_rlc.bin
drmn0: successfully loaded firmware image with name: amdgpu/raven_rlc.bin
drmn0: try to load firmware with name: amdgpu/raven_mec.bin
amdgpu/raven_mec.bin: could not load firmware image, error 2
drmn0: retry to load firmware with name: amdgpu/raven_mec.bin
amdgpu/raven_mec.bin: could not load firmware image, error 2
drmn0: successfully linked firmware module with mapped name: amdgpu_raven_mec_bin
drmn0: try (0) to load firmware image with name: amdgpu/raven_mec.bin
drmn0: successfully loaded firmware image with name: amdgpu/raven_mec.bin
drmn0: try to load firmware with name: amdgpu/raven_mec2.bin
amdgpu/raven_mec2.bin: could not load firmware image, error 2
drmn0: retry to load firmware with name: amdgpu/raven_mec2.bin
amdgpu/raven_mec2.bin: could not load firmware image, error 2
drmn0: successfully linked firmware module with mapped name: amdgpu_raven_mec2_bin
drmn0: try (0) to load firmware image with name: amdgpu/raven_mec2.bin
drmn0: successfully loaded firmware image with name: amdgpu/raven_mec2.bin
drmn0: fence driver on ring 0 use gpu addr 0x000000f440400040, cpu addr 0x0xfffffe00481fc040
i_size_write unimplemented
drmn0: fence driver on ring 1 use gpu addr 0x000000f4404000c0, cpu addr 0x0xfffffe00481fc0c0
i_size_write unimplemented
drmn0: fence driver on ring 2 use gpu addr 0x000000f440400140, cpu addr 0x0xfffffe00481fc140
i_size_write unimplemented
drmn0: fence driver on ring 3 use gpu addr 0x000000f4404001c0, cpu addr 0x0xfffffe00481fc1c0
i_size_write unimplemented
drmn0: fence driver on ring 4 use gpu addr 0x000000f440400240, cpu addr 0x0xfffffe00481fc240
i_size_write unimplemented
drmn0: fence driver on ring 5 use gpu addr 0x000000f4404002c0, cpu addr 0x0xfffffe00481fc2c0
i_size_write unimplemented
drmn0: fence driver on ring 6 use gpu addr 0x000000f440400340, cpu addr 0x0xfffffe00481fc340
i_size_write unimplemented
drmn0: fence driver on ring 7 use gpu addr 0x000000f4404003c0, cpu addr 0x0xfffffe00481fc3c0
i_size_write unimplemented
drmn0: fence driver on ring 8 use gpu addr 0x000000f440400440, cpu addr 0x0xfffffe00481fc440
i_size_write unimplemented
drmn0: fence driver on ring 9 use gpu addr 0x000000f4404004e0, cpu addr 0x0xfffffe00481fc4e0
i_size_write unimplemented
[drm:sdma_v4_0_init_microcode]
drmn0: try to load firmware with name: amdgpu/raven_sdma.bin
amdgpu/raven_sdma.bin: could not load firmware image, error 2
drmn0: retry to load firmware with name: amdgpu/raven_sdma.bin
amdgpu/raven_sdma.bin: could not load firmware image, error 2
drmn0: successfully linked firmware module with mapped name: amdgpu_raven_sdma_bin
drmn0: try (0) to load firmware image with name: amdgpu/raven_sdma.bin
drmn0: successfully loaded firmware image with name: amdgpu/raven_sdma.bin
[drm:sdma_v4_0_init_microcode] psp_load == 'true'
[drm] use_doorbell being set to: [true]
drmn0: fence driver on ring 10 use gpu addr 0x000000f440400560, cpu addr 0x0xfffffe00481fc560
i_size_write unimplemented
drmn0: try to load firmware with name: amdgpu/raven_vcn.bin
amdgpu/raven_vcn.bin: could not load firmware image, error 2
drmn0: retry to load firmware with name: amdgpu/raven_vcn.bin
amdgpu/raven_vcn.bin: could not load firmware image, error 2
drmn0: successfully linked firmware module with mapped name: amdgpu_raven_vcn_bin
drmn0: try (0) to load firmware image with name: amdgpu/raven_vcn.bin
drmn0: successfully loaded firmware image with name: amdgpu/raven_vcn.bin
[drm] Found VCN firmware Version: 1.73 Family ID: 18
drmn0: fence driver on ring 11 use gpu addr 0x000000f4404005e0, cpu addr 0x0xfffffe00481fc5e0
i_size_write unimplemented
drmn0: fence driver on ring 12 use gpu addr 0x000000f440400660, cpu addr 0x0xfffffe00481fc660
i_size_write unimplemented
drmn0: fence driver on ring 13 use gpu addr 0x000000f4404006e0, cpu addr 0x0xfffffe00481fc6e0
i_size_write unimplemented
[drm:amdgpu_ih_process] amdgpu_ih_process: rptr 0, wptr 64
drmn0: [mmhub] VMC page fault (src_id:0 ring:153 vm_id:0 pas_id:0)
drmn0: at page 0x0000e03845716000 from 18
drmn0: VM_L2_PROTECTION_FAULT_STATUS:0x00000000
'

Then the console hangs (but not the system)

@myfreeweb

This comment has been minimized.

Contributor

myfreeweb commented Jul 14, 2018

@rmx-it L2 PROTECTION FAULTs are a common issue with Raven (even on Linux it seems). Follow issue #76.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment