Be aware that updating to the newest linux-firmware package seems to have issues for amdgpu
Edit It looks like there was a new version pushed into Testing that reverts the 2 commits that adds the new firmware. If you want to test you can try grabbing the package file from https://www.archlinux.org/packages/testing/any/linux-firmware/download/ and see if you encounter any problems with it, it works to fix my issues, which is to be expected as it's just reverting the commits that added those new firmware blobs, so it should be identical to 20161222.4b9559f-2.
Fixed upstream but keeping this for posterity and describing the issue as the new version is not added to core yet.
It seems like AMD pushed up some new firmwares for cards using the amdgpu kernel driver about 4 days ago, which was pulled into arch today in version 20170217.12987ca-1, but at least on my system and several others this may cause issues. I have an Sapphire Nitro Fury and how it behaves on mine is it spits out this during bootup:
[ 7.738946] [drm:gfx_v8_0_ring_test_ib [amdgpu]] *ERROR* amdgpu: IB test timed out.
[ 7.739108] [drm:amdgpu_ib_ring_tests [amdgpu]] *ERROR* amdgpu: failed testing IB on ring 1 (-110).
[ 8.352971] [drm] RC6 on
[ 8.752283] [drm:gfx_v8_0_ring_test_ib [amdgpu]] *ERROR* amdgpu: IB test timed out.
[ 8.752445] [drm:amdgpu_ib_ring_tests [amdgpu]] *ERROR* amdgpu: failed testing IB on ring 2 (-110).
[ 9.765625] [drm:gfx_v8_0_ring_test_ib [amdgpu]] *ERROR* amdgpu: IB test timed out.
[ 9.765786] [drm:amdgpu_ib_ring_tests [amdgpu]] *ERROR* amdgpu: failed testing IB on ring 3 (-110).
[ 10.778960] [drm:gfx_v8_0_ring_test_ib [amdgpu]] *ERROR* amdgpu: IB test timed out.
[ 10.779122] [drm:amdgpu_ib_ring_tests [amdgpu]] *ERROR* amdgpu: failed testing IB on ring 4 (-110).
[ 11.792299] [drm:gfx_v8_0_ring_test_ib [amdgpu]] *ERROR* amdgpu: IB test timed out.
[ 11.792459] [drm:amdgpu_ib_ring_tests [amdgpu]] *ERROR* amdgpu: failed testing IB on ring 5 (-110).
[ 12.805643] [drm:gfx_v8_0_ring_test_ib [amdgpu]] *ERROR* amdgpu: IB test timed out.
[ 12.805806] [drm:amdgpu_ib_ring_tests [amdgpu]] *ERROR* amdgpu: failed testing IB on ring 6 (-110).
[ 13.818979] [drm:gfx_v8_0_ring_test_ib [amdgpu]] *ERROR* amdgpu: IB test timed out.
[ 13.819142] [drm:amdgpu_ib_ring_tests [amdgpu]] *ERROR* amdgpu: failed testing IB on ring 7 (-110).
[ 14.832324] [drm:gfx_v8_0_ring_test_ib [amdgpu]] *ERROR* amdgpu: IB test timed out.
[ 14.832486] [drm:amdgpu_ib_ring_tests [amdgpu]] *ERROR* amdgpu: failed testing IB on ring 8 (-110).
[ 14.832606] [drm] ib test on ring 9 succeeded
[ 14.832633] [drm] ib test on ring 10 succeeded
[ 14.834199] [drm] ib test on ring 11 succeeded
[ 14.835054] [drm] ib test on ring 12 succeeded
[ 14.835130] [drm:amdgpu_device_init [amdgpu]] *ERROR* ib ring test failed (-110).
It seems like this breaks the automatic core clock speed scaling of the amdgpu driver, so by default it runs at 1050mhz instead of the 300mhz, and as a result produces a bunch more heat and power usage than normal. Because mine likes having the fans off at idle I saw it reach up to the mid 70's just sitting idle before I manually set the fan speed. Not sure if other people will have the same issue but have seen at least Polaris cards also at least spit out the message at startup, but not sure on the clock speeds.
It's possible that this firmware was meant more for linux 4.10 or git amdgpu drivers, and doesn't work correctly for the current kernel version in the repo of 4.9.11. The actual fix is pretty simple, just copying the files in the /usr/lib/firmware/amdgpu folder from the old package to the new one, or just downgrade the linux-firmware package to 20161222.4b9559f-2 . Hopefully this isn't causing too many issues for other people but thought I would let people know. Note that this only will affect you if you updated and rebooted today, if not then you should be safe as it won't be using the new firmwares yet. I have submitted a bug to the arch linux bug tracker to hopefully get this resolved before it would affect too many people, though hard to say how many people this will affect. As at the very least it hasn't just been me. The link to the bug is at https://bugs.archlinux.org/task/53042 .
Well, hopefully this was useful to someone and prevented them from encountering any problems with the new firmwares if they are using the open source amdgpu driver.
Edited 23 Feb 2017. We only hold this version.
About this post
- Posted
- Archived
- Edited
- Score
- 41 · 100% up
- Kind
- Text
- ID
- 5vgfus
23 comments
Thanks, I was wondering why my GPU was running so hot.
I ran the update. took apart my computer to move fans around. and then rebooted to super high temps. I thought i ruined something. good to know its not just bad fan placement.
I reverted linux-firmware and linux packages via:
Already idling at 40C instead of 60C
I'm impacted too. (Sapphire Radeon R9 Nano) Display freezes when launching X.
Thank you very much for your debugging efforts, it will save me a lot of time when correcting this tonight.
Same problem with R470, stuck at boot but no idea how to fix that
You don't happen to have both an AMD CPU and Radeon card do you?
chroot into your system and downgrade linux-firmware?
have you tried to add "systemd.unit=multi-user.target" on your kernel line at grub menu?
AMD destroyed their driver again?
Same on my RX470 system. Additionally the system will not go into suspend. Downgrading fixed it.
Upgrading to linux 4.10 does indeed fix the issue
Latest linux-firmware fixed the issue.
So are the upstream firmwares broken? I think I've been using limux-firmware-git from AUR.
EDIT: Oh I see 4.10 is optimal for the newer firmware.
The problematic firmwares were removed from the git upstream as of 9 hours ago. It will largely depend on what sort of card you have, some people had issues with X not working at all, or more mild cases with suspend being broken or in my case, the card not able to idle at the lowest frequency at all and could reach 75C+ when idling, as the fans would not spin up as there was no load on the card. Also there is a version in testing which should also revert the firmwares to the ones that were in the older version.
Ahh thanks. Have a RX 480 here.
How long has that been working for you? I know my 480 does it beautifully on Windows but in Linux they never spin down. (Or was the spindown the bug?)
Are any of you running mesa-test-git from the AUR with amdgpu? How's the stability and performance?
I've been running straight mesa-git and amdgpu (RX 480). Absolutely no issues.
Deleted before we saved it.
see here https://bbs.archlinux.org/viewtopic.php?pid=1693393#p1693393