From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 101377] Gigabyte R9 380 card fails to load, kernel reports bug Date: Sun, 30 Jul 2017 21:12:23 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1033371547==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id B3D666E408 for ; Sun, 30 Jul 2017 21:12:23 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1033371547== Content-Type: multipart/alternative; boundary="15014491431.e84bf4.3471"; charset="UTF-8" --15014491431.e84bf4.3471 Date: Sun, 30 Jul 2017 21:12:23 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D101377 --- Comment #7 from r380bug@safetymail.info --- Either you have a different problem than me (unlikely, as we have the exact same symptoms), or you misunderstood my workaround. Or my workaround somehow doesn't work for you. However, since you talk about actually upgrading the firmware to a newer version, I'm guessing you didn't understand the workaro= und. For my workaround, I neither upgraded nor downgraded any firmware version. However, Linux 4.8 and Linux 4.9 try to load different files for the same graphics card. Linux 4.8 loads tonga_smc.bin where as Linux 4.9 loads tonga_k_smc.bin. Linux 4.8 fully works for me, including 3D acceleration, L= inux 4.9 runs into the symptoms you described (black screen, fans running full speed). Now, if I replace tonga_k_smc.bin with tonga_smc.bin, then Linux 4.9 _also_ fully works for me, including 3D acceleration. That's without upgrading or downgrading any firmware files. All I did was this: cp /lib/firmware/amdgpu/tonga_smc.bin /lib/firmware/amdgpu/tonga_k_smc.bin Here's the md5sum of all my Tonga firmware files: fa6590cc9c9c1b2e7c92874fe98460fa tonga_ce.bin 16bb427918581c29c2e910b5757a1b5b tonga_k_smc.bin 73befe8abbaa7589d4e701ff77291e62 tonga_k_smc.bin.orig 8ab907852fc93520ad5f0e06dc23298e tonga_mc.bin a0fcc61ba211ab74829219a4e2282654 tonga_me.bin f904f1835656036fd83b0440ddc28528 tonga_mec2.bin f904f1835656036fd83b0440ddc28528 tonga_mec.bin 89b0391b91ff7159a7b0670c8aace566 tonga_pfp.bin 55f0a189959a11f07d4064a9f96adfb4 tonga_rlc.bin a61b84ca64068fa6842887a1519ecd4b tonga_sdma1.bin 8324b832498cb27c0919647df17968b4 tonga_sdma.bin 16bb427918581c29c2e910b5757a1b5b tonga_smc.bin fe37ee3d6138cd852215b318cbe65d0a tonga_uvd.bin 1a81cffe8a10460b8ca9eaad537e7286 tonga_vce.bin Note that tonga_k_smc.bin and tonga_smc.bin have the same md5sum on my syst= em, because I copied tonga_smc.bin to tonga_k_smc.bin to make Linux 4.9 work. --=20 You are receiving this mail because: You are the assignee for the bug.= --15014491431.e84bf4.3471 Date: Sun, 30 Jul 2017 21:12:23 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 7 on bug 10137= 7 from r380bug&= #64;safetymail.info
Either you have a different problem than me (unlikely, as we h=
ave the exact
same symptoms), or you misunderstood my workaround. Or my workaround somehow
doesn't work for you. However, since you talk about actually upgrading the
firmware to a newer version, I'm guessing you didn't understand the workaro=
und.

For my workaround, I neither upgraded nor downgraded any firmware version.
However, Linux 4.8 and Linux 4.9 try to load different files for the same
graphics card. Linux 4.8 loads tonga_smc.bin where as Linux 4.9 loads
tonga_k_smc.bin. Linux 4.8 fully works for me, including 3D acceleration, L=
inux
4.9 runs into the symptoms you described (black screen, fans running full
speed).

Now, if I replace tonga_k_smc.bin with tonga_smc.bin, then Linux 4.9 _also_
fully works for me, including 3D acceleration. That's without upgrading or
downgrading any firmware files. All I did was this:

cp /lib/firmware/amdgpu/tonga_smc.bin /lib/firmware/amdgpu/tonga_k_smc.bin

Here's the md5sum of all my Tonga firmware files:
fa6590cc9c9c1b2e7c92874fe98460fa  tonga_ce.bin
16bb427918581c29c2e910b5757a1b5b  tonga_k_smc.bin
73befe8abbaa7589d4e701ff77291e62  tonga_k_smc.bin.orig
8ab907852fc93520ad5f0e06dc23298e  tonga_mc.bin
a0fcc61ba211ab74829219a4e2282654  tonga_me.bin
f904f1835656036fd83b0440ddc28528  tonga_mec2.bin
f904f1835656036fd83b0440ddc28528  tonga_mec.bin
89b0391b91ff7159a7b0670c8aace566  tonga_pfp.bin
55f0a189959a11f07d4064a9f96adfb4  tonga_rlc.bin
a61b84ca64068fa6842887a1519ecd4b  tonga_sdma1.bin
8324b832498cb27c0919647df17968b4  tonga_sdma.bin
16bb427918581c29c2e910b5757a1b5b  tonga_smc.bin
fe37ee3d6138cd852215b318cbe65d0a  tonga_uvd.bin
1a81cffe8a10460b8ca9eaad537e7286  tonga_vce.bin

Note that tonga_k_smc.bin and tonga_smc.bin have the same md5sum on my syst=
em,
because I copied tonga_smc.bin to tonga_k_smc.bin to make Linux 4.9 work.
        


You are receiving this mail because:
  • You are the assignee for the bug.
= --15014491431.e84bf4.3471-- --===============1033371547== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1033371547==--