2012 Macbook Pro 10.1 RX570 [amdgpu]] *ERROR* amdgpu_vram_scratch_init failed -2...
 
Notifications
Clear all

2012 Macbook Pro 10.1 RX570 [amdgpu]] *ERROR* amdgpu_vram_scratch_init failed -22  

  RSS

(@vandmmages)
New Member
Joined: 9 months ago
 

Good day,

I am trying to get this eGPU AMD RX570 working under Linux (POP-OS) . It will no load. ( I also tried Ubuntu 19 and 20)

I am wondering if its because I had the latest Catalina OS that might have changed something in the Mac firmware to block this.

I am a Linux newb, so any help would be greatly  appreciated. see Logs below.

Thanks again

Dmesg Error:

[ 969.396502] amdgpu 0000:0a:00.0: (-22) kernel bo map failed
[ 969.396633] [drm:amdgpu_device_ip_init [amdgpu]] *ERROR* amdgpu_vram_scratch_init failed -22
[ 969.396637] amdgpu 0000:0a:00.0: amdgpu_device_ip_init failed
[ 969.396640] amdgpu 0000:0a:00.0: Fatal error during GPU init

 

lsmod | grep amd
amdgpu 4194304 0
amd_iommu_v2 20480 1 amdgpu
gpu_sched 32768 1 amdgpu
ttm 106496 1 amdgpu
i2c_algo_bit 16384 2 amdgpu,i915
drm_kms_helper 184320 3 amdgpu,nvidia_drm,i915
drm 491520 13 gpu_sched,drm_kms_helper,amdgpu,nvidia_drm,i915,ttm

 

 

sudo lshw -c video

*-display
description: VGA compatible controller
product: GK107M [GeForce GT 650M Mac Edition] vendor: NVIDIA Corporation
physical id: 0
bus info: [email protected]:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
configuration: driver=nvidia latency=0
resources: irq:53 memory:c0000000-c0ffffff memory:90000000-9fffffff memory:a0000000-a1ffffff ioport:2000(size=128) memory:c1000000-c107ffff
*-display UNCLAIMED
description: VGA compatible controller
product: Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] vendor: Advanced Micro Devices, Inc. [AMD/ATI] physical id: 0
bus info: [email protected]:0a:00.0
version: ef
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi vga_controller cap_list
configuration: latency=0
resources: ioport:4000(size=256) memory:c1f00000-c1f3ffff memory:c1f40000-c1f5ffff
*-display UNCLAIMED
description: VGA compatible controller
product: 3rd Gen Core processor Graphics Controller
vendor: Intel Corporation
physical id: 2
bus info: [email protected]:00:02.0
version: 09
width: 64 bits
clock: 33MHz
capabilities: msi pm vga_controller bus_master cap_list
configuration: latency=0
resources: memory:c1400000-c17fffff memory:b0000000-bfffffff ioport:3000(size=64)

 

lspci
00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port (rev 09)
00:01.1 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port (rev 09)
00:01.2 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation 7 Series/C216 Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 1 (rev c4)
00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 (rev c4)
00:1d.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation HM77 Express Chipset LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 7 Series/C216 Chipset Family SMBus Controller (rev 04)
01:00.0 VGA compatible controller: NVIDIA Corporation GK107M [GeForce GT 650M Mac Edition] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GK107 HDMI Audio Controller (rev a1)
03:00.0 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme BCM57786 Gigabit Ethernet PCIe (rev 10)
03:00.1 SD Host controller: Broadcom Inc. and subsidiaries BCM57765/57785 SDXC/MMC Card Reader (rev 10)
04:00.0 Network controller: Broadcom Inc. and subsidiaries BCM4360 802.11ac Wireless Network Adapter (rev 03)
05:00.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)
06:00.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)
06:03.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)
06:04.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)
06:05.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)
06:06.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)
07:00.0 System peripheral: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)
08:00.0 PCI bridge: Intel Corporation JHL6340 Thunderbolt 3 Bridge (C step) [Alpine Ridge 2C 2016] (rev 02)
09:01.0 PCI bridge: Intel Corporation JHL6340 Thunderbolt 3 Bridge (C step) [Alpine Ridge 2C 2016] (rev 02)
0a:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] (rev ef)
0a:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]

 

dmesg | grep -i amdgpu
[ 265.662284] [drm] amdgpu kernel modesetting enabled.
[ 265.662471] amdgpu 0000:0a:00.0: remove_conflicting_pci_framebuffers: bar 5: 0xc2200000 -> 0xc223ffff
[ 265.662473] amdgpu 0000:0a:00.0: remove_conflicting_pci_framebuffers: passed res_id (0) is not a memory bar
[ 265.662489] amdgpu 0000:0a:00.0: enabling device (0000 -> 0003)
[ 266.064248] amdgpu 0000:0a:00.0: VRAM: 4096M 0x000000F400000000 - 0x000000F4FFFFFFFF (4096M used)
[ 266.064251] amdgpu 0000:0a:00.0: GART: 256M 0x000000FF00000000 - 0x000000FF0FFFFFFF
[ 266.064279] Modules linked in: amdgpu(+) amd_iommu_v2 gpu_sched ttm rfcomm snd_hda_codec_cirrus snd_hda_codec_generic ledtrig_audio cmac bnep snd_hda_codec_hdmi dm_crypt nls_iso8859_1 snd_hda_intel snd_intel_nhlt intel_rapl_msr snd_hda_codec snd_hda_core snd_hwdep joydev snd_pcm snd_seq_midi snd_seq_midi_event mei_hdcp snd_rawmidi intel_rapl_common x86_pkg_temp_thermal intel_powerclamp uvcvideo coretemp videobuf2_vmalloc snd_seq kvm_intel videobuf2_memops videobuf2_v4l2 kvm videobuf2_common irqbypass btusb applesmc btrtl intel_cstate videodev btbcm btintel input_polldev bcm5974 snd_seq_device bluetooth intel_rapl_perf mc input_leds wl(POE) snd_timer ecdh_generic ecc snd cfg80211 soundcore sbs mei_me mei sbshc acpi_als kfifo_buf apple_gmux industrialio apple_bl mac_hid nvidia_uvm(OE) sch_fq_codel parport_pc ppdev lp parport ip_tables x_tables autofs4 raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear system76_io(OE)
[ 266.064456] amdgpu_bo_init+0x21/0xa0 [amdgpu] [ 266.064543] gmc_v8_0_sw_init+0x3b6/0x6d0 [amdgpu] [ 266.064672] amdgpu_device_ip_init+0x61/0x3df [amdgpu] [ 266.064775] amdgpu_device_init.cold+0x7e0/0xbbc [amdgpu] [ 266.064846] amdgpu_driver_load_kms+0x5a/0x1c0 [amdgpu] [ 266.064939] amdgpu_pci_probe+0xf7/0x160 [amdgpu] [ 266.065057] amdgpu_init+0x83/0x8d [amdgpu] [ 266.065386] [drm] amdgpu: 4096M of VRAM memory ready
[ 266.065389] [drm] amdgpu: 4096M of GTT memory ready.
[ 266.065422] amdgpu 0000:0a:00.0: (-22) kernel bo map failed
[ 266.065524] [drm:amdgpu_device_ip_init [amdgpu]] *ERROR* amdgpu_vram_scratch_init failed -22
[ 266.065560] amdgpu 0000:0a:00.0: amdgpu_device_ip_init failed
[ 266.065573] amdgpu 0000:0a:00.0: Fatal error during GPU init
[ 266.065577] [drm] amdgpu: finishing device.
[ 266.065687] [drm] amdgpu: ttm finalized
[ 266.065730] Modules linked in: amdgpu(+) amd_iommu_v2 gpu_sched ttm rfcomm snd_hda_codec_cirrus snd_hda_codec_generic ledtrig_audio cmac bnep snd_hda_codec_hdmi dm_crypt nls_iso8859_1 snd_hda_intel snd_intel_nhlt intel_rapl_msr snd_hda_codec snd_hda_core snd_hwdep joydev snd_pcm snd_seq_midi snd_seq_midi_event mei_hdcp snd_rawmidi intel_rapl_common x86_pkg_temp_thermal intel_powerclamp uvcvideo coretemp videobuf2_vmalloc snd_seq kvm_intel videobuf2_memops videobuf2_v4l2 kvm videobuf2_common irqbypass btusb applesmc btrtl intel_cstate videodev btbcm btintel input_polldev bcm5974 snd_seq_device bluetooth intel_rapl_perf mc input_leds wl(POE) snd_timer ecdh_generic ecc snd cfg80211 soundcore sbs mei_me mei sbshc acpi_als kfifo_buf apple_gmux industrialio apple_bl mac_hid nvidia_uvm(OE) sch_fq_codel parport_pc ppdev lp parport ip_tables x_tables autofs4 raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear system76_io(OE)
[ 266.065895] amdgpu_ucode_sysfs_fini+0x18/0x20 [amdgpu] [ 266.065982] amdgpu_device_fini+0x47a/0x4ac [amdgpu] [ 266.066040] amdgpu_driver_unload_kms+0x52/0xa0 [amdgpu] [ 266.066128] amdgpu_driver_load_kms.cold+0x39/0x5c [amdgpu] [ 266.066203] amdgpu_pci_probe+0xf7/0x160 [amdgpu] [ 266.066321] amdgpu_init+0x83/0x8d [amdgpu] [ 266.066769] amdgpu: probe of 0000:0a:00.0 failed with error -22
[ 968.991676] amdgpu 0000:0a:00.0: remove_conflicting_pci_framebuffers: bar 5: 0xc1f00000 -> 0xc1f3ffff
[ 968.991679] amdgpu 0000:0a:00.0: remove_conflicting_pci_framebuffers: passed res_id (0) is not a memory bar
[ 968.991701] amdgpu 0000:0a:00.0: enabling device (0000 -> 0003)
[ 969.395352] amdgpu 0000:0a:00.0: VRAM: 4096M 0x000000F400000000 - 0x000000F4FFFFFFFF (4096M used)
[ 969.395354] amdgpu 0000:0a:00.0: GART: 256M 0x000000FF00000000 - 0x000000FF0FFFFFFF
[ 969.395385] Modules linked in: amdgpu amd_iommu_v2 gpu_sched ttm rfcomm snd_hda_codec_cirrus snd_hda_codec_generic ledtrig_audio cmac bnep snd_hda_codec_hdmi dm_crypt nls_iso8859_1 snd_hda_intel snd_intel_nhlt intel_rapl_msr snd_hda_codec snd_hda_core snd_hwdep joydev snd_pcm snd_seq_midi snd_seq_midi_event mei_hdcp snd_rawmidi intel_rapl_common x86_pkg_temp_thermal intel_powerclamp uvcvideo coretemp videobuf2_vmalloc snd_seq kvm_intel videobuf2_memops videobuf2_v4l2 kvm videobuf2_common irqbypass btusb applesmc btrtl intel_cstate videodev btbcm btintel input_polldev bcm5974 snd_seq_device bluetooth intel_rapl_perf mc input_leds wl(POE) snd_timer ecdh_generic ecc snd cfg80211 soundcore sbs mei_me mei sbshc acpi_als kfifo_buf apple_gmux industrialio apple_bl mac_hid nvidia_uvm(OE) sch_fq_codel parport_pc ppdev lp parport ip_tables x_tables autofs4 raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear system76_io(OE) wmi
[ 969.395589] amdgpu_bo_init+0x21/0xa0 [amdgpu] [ 969.395678] gmc_v8_0_sw_init+0x3b6/0x6d0 [amdgpu] [ 969.395826] amdgpu_device_ip_init+0x61/0x3df [amdgpu] [ 969.395948] amdgpu_device_init.cold+0x7e0/0xbbc [amdgpu] [ 969.396029] amdgpu_driver_load_kms+0x5a/0x1c0 [amdgpu] [ 969.396126] amdgpu_pci_probe+0xf7/0x160 [amdgpu] [ 969.396451] [drm] amdgpu: 4096M of VRAM memory ready
[ 969.396455] [drm] amdgpu: 4096M of GTT memory ready.
[ 969.396502] amdgpu 0000:0a:00.0: (-22) kernel bo map failed
[ 969.396633] [drm:amdgpu_device_ip_init [amdgpu]] *ERROR* amdgpu_vram_scratch_init failed -22
[ 969.396637] amdgpu 0000:0a:00.0: amdgpu_device_ip_init failed
[ 969.396640] amdgpu 0000:0a:00.0: Fatal error during GPU init
[ 969.396643] [drm] amdgpu: finishing device.
[ 969.396827] [drm] amdgpu: ttm finalized
[ 969.396883] Modules linked in: amdgpu amd_iommu_v2 gpu_sched ttm rfcomm snd_hda_codec_cirrus snd_hda_codec_generic ledtrig_audio cmac bnep snd_hda_codec_hdmi dm_crypt nls_iso8859_1 snd_hda_intel snd_intel_nhlt intel_rapl_msr snd_hda_codec snd_hda_core snd_hwdep joydev snd_pcm snd_seq_midi snd_seq_midi_event mei_hdcp snd_rawmidi intel_rapl_common x86_pkg_temp_thermal intel_powerclamp uvcvideo coretemp videobuf2_vmalloc snd_seq kvm_intel videobuf2_memops videobuf2_v4l2 kvm videobuf2_common irqbypass btusb applesmc btrtl intel_cstate videodev btbcm btintel input_polldev bcm5974 snd_seq_device bluetooth intel_rapl_perf mc input_leds wl(POE) snd_timer ecdh_generic ecc snd cfg80211 soundcore sbs mei_me mei sbshc acpi_als kfifo_buf apple_gmux industrialio apple_bl mac_hid nvidia_uvm(OE) sch_fq_codel parport_pc ppdev lp parport ip_tables x_tables autofs4 raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear system76_io(OE) wmi
[ 969.397040] amdgpu_ucode_sysfs_fini+0x18/0x20 [amdgpu] [ 969.397162] amdgpu_device_fini+0x47a/0x4ac [amdgpu] [ 969.397233] amdgpu_driver_unload_kms+0x52/0xa0 [amdgpu] [ 969.397353] amdgpu_driver_load_kms.cold+0x39/0x5c [amdgpu] [ 969.397438] amdgpu_pci_probe+0xf7/0x160 [amdgpu] [ 969.397989] amdgpu: probe of 0000:0a:00.0 failed with error -22

 

xrandr
Screen 0: minimum 8 x 8, current 2880 x 1800, maximum 16384 x 16384
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-2 connected primary 2880x1800+0+0 (normal left inverted right x axis y axis) 331mm x 207mm
2880x1800 59.99*+
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)

 

 

 

 

 

 

Macbook Pro Retina 10.1 (Mid 2012) . MACOS Catalina
Razer -X eGPU enclosure
AMD RTX 570 or if testing needed Nvida GTX1070
LG 34UM69G-B connected to DP of Razer-X


ReplyQuote