Bug 105569 - sw_init of IP block <gmc_v6_0> failed -2
Summary: sw_init of IP block <gmc_v6_0> failed -2
Status: RESOLVED INVALID
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/AMDgpu (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-17 01:34 UTC by CthUlhUzzz
Modified: 2018-03-17 12:30 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description CthUlhUzzz 2018-03-17 01:34:19 UTC
I have next issue, when trying to load Ubuntu 18.04b1 with kernels up to 4.16rc5
My computer has hybrid AMD graphics and kernels loaded with parameters "radeon.si_support=0 radeon.cik_support=0 amdgpu.si_support=1 amdgpu.cik_support=1".

lspci -k:
#########################################################################
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Richland [Radeon HD 8510G]
        Subsystem: ASUSTeK Computer Inc. Richland [Radeon HD 8510G]
        Kernel driver in use: radeon
        Kernel modules: radeon
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Mars [Radeon HD 8730M]
        Subsystem: ASUSTeK Computer Inc. Mars [Radeon HD 8730M]
        Kernel modules: radeon, amdgpu

dmesg section with error:
#########################################################################
[  592.249652] [drm] amdgpu kernel modesetting enabled.
[  592.249692] vga_switcheroo: detected switching method \_SB_.PCI0.VGA_.ATPX handle
[  592.249986] ATPX version 1, functions 0x00000003
[  592.250795] [drm] initializing kernel modesetting (OLAND 0x1002:0x6601 0x1043:0x2134 0x00).
[  592.251291] [drm] register mmio base: 0xFEA00000
[  592.251293] [drm] register mmio size: 262144
[  592.251303] vga_switcheroo: enabled
[  592.547558] ATOM BIOS: BR43789.002
[  592.549043] [drm] vm size is 64 GB, 2 levels, block size is 10-bit, fragment size is 9-bit
[  592.579114] amdgpu 0000:01:00.0: Direct firmware load for radeon/oland_mc.bin failed with error -2
[  592.579124] amdgpu 0000:01:00.0: si_mc: Failed to load firmware "radeon/oland_mc.bin"
[  592.579133] amdgpu 0000:01:00.0: Failed to load mc firmware!
[  592.579305] [drm:amdgpu_device_init [amdgpu]] *ERROR* sw_init of IP block <gmc_v6_0> failed -2
[  592.579311] amdgpu 0000:01:00.0: amdgpu_device_ip_init failed
[  592.579320] amdgpu 0000:01:00.0: Fatal error during GPU init
[  592.579327] [drm] amdgpu: finishing device.
[  592.580752] vga_switcheroo: disabled
[  592.581246] amdgpu: probe of 0000:01:00.0 failed with error -2
Comment 1 Michel Dänzer 2018-03-17 12:30:54 UTC
(In reply to CthUlhUzzz from comment #0)
> "radeon.si_support=0 radeon.cik_support=0 amdgpu.si_support=1
> amdgpu.cik_support=1".

FWIW, you only need radeon.si_support=0 amdgpu.si_support=1, since Oland is from the SI family.


> [  592.579114] amdgpu 0000:01:00.0: Direct firmware load for
> radeon/oland_mc.bin failed with error -2
> [  592.579124] amdgpu 0000:01:00.0: si_mc: Failed to load firmware
> "radeon/oland_mc.bin"
> [  592.579133] amdgpu 0000:01:00.0: Failed to load mc firmware!

The oland_mc.bin microcode is required. Make sure the package firmware-amd-graphics / firmware-linux-nonfree is installed, and maybe try re-generating the initrd.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.