Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 673144 - >=sys-kernel/gentoo-sources-4.14.88 has broken X with amdgpu due to recent changes in firmware, please revbump sys-kernel/linux-firmware
Summary: >=sys-kernel/gentoo-sources-4.14.88 has broken X with amdgpu due to recent ch...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major
Assignee: Chí-Thanh Christopher Nguyễn
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-14 16:46 UTC by tt_1
Modified: 2018-12-17 23:20 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tt_1 2018-12-14 16:46:12 UTC
So I upgraded my kernel from 4.14.87 to 4.14.88 and upon reboot, there wasn't any working X coming up. A Quick check of dmesg showed me some issues with the firmware: 

[    6.593432] amdgpu 0000:08:00.0: Direct firmware load for amdgpu/polaris11_k_mc.bin failed with error -2
[    6.593434] mc: Failed to load firmware "amdgpu/polaris11_k_mc.bin"
[    6.593458] [drm:gmc_v8_0_sw_init [amdgpu]] *ERROR* Failed to load mc firmware!
[    6.593476] [drm:amdgpu_device_init [amdgpu]] *ERROR* sw_init of IP block <gmc_v8_0> failed -2
[    6.593477] amdgpu 0000:08:00.0: amdgpu_init failed
[    6.593478] amdgpu 0000:08:00.0: Fatal error during GPU init


Then I scrolled through the 4.14.88 patch to see, if there is something new for amdgpu being responsible for this: 

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/diff/drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c?id=v4.14.88&id2=v4.14.87

And it seems that the new firmware wasn't available upon release of the 4.14.88 patch, but got uploaded some three hours ago from now. 

So please bump the linux-firmware package, to reenable working X for polaris* gpu's 

P.S. reverting the two commits for 4.14.88 gives me a working X with rebuilt kernel
Comment 1 Žilvinas Žaltiena 2018-12-14 18:20:33 UTC
I am also getting the 
mc: Failed to load firmware "amdgpu/polaris11_k_mc.bin"

with sys-kernel/linux-firmware-20181026 and kernel-4.19.9. kernel-4.19.8 works fine without polaris11_k_mc.bin.
Comment 2 tt_1 2018-12-14 18:29:43 UTC
You can use the live ebuild for the time being.
Comment 3 Mike Pagano gentoo-dev 2018-12-17 21:09:27 UTC
Did you try linux-firmware-20181216 ?
Comment 4 Larry the Git Cow gentoo-dev 2018-12-17 23:20:57 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=265107f6db587398a0fc31d1401dc5e5dc0e6e55

commit 265107f6db587398a0fc31d1401dc5e5dc0e6e55
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2018-12-17 13:54:42 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2018-12-17 23:20:24 +0000

    sys-kernel/linux-firmware: move stable keywords
    
    Closes: https://bugs.gentoo.org/673144
    Package-Manager: Portage-2.3.52, Repoman-2.3.12
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 sys-kernel/linux-firmware/linux-firmware-20181216.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)