From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 110822] [Bisected]Booting with kernel version 5.1.0 or higher on RX 580 hangs Date: Mon, 10 Jun 2019 14:08:42 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0966017410==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id F089B89226 for ; Mon, 10 Jun 2019 14:08:41 +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 --===============0966017410== Content-Type: multipart/alternative; boundary="15601757211.E029.20381" Content-Transfer-Encoding: 7bit --15601757211.E029.20381 Date: Mon, 10 Jun 2019 14:08:41 +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=3D110822 --- Comment #15 from Gobinda Joy --- (In reply to b6khqjqov4 from comment #14) > (In reply to b6khqjqov4 from comment #13) > > Your bug sounds like mine which came after I bought and added a used RX= 580 > > to my system. Since then had random full system freezes (I think only w= hen I > > was using Firefox or the internal Steam Chromium browser) and desktop h= angs > > where Cinnamon would crash and nothing except the mouse pointer would be > > movable. No error in logs at first, but then I found this after the sys= tem > > hanged instead of a hard freeze: > >=20 > > $ journalctl -p3: > >=20 > >
> > ...
> > Jun 09 06:45:34 test systemd-coredump[1383]: Process 1328 (Web Content)=
 of
> > user 1000 dumped core.
> >=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
> >                                              Stack trace of thread 1332:
> >                                              #0  0x00007f04ecd3ed36 n/a
> > (/home/test/tor-browser_en-US/Browser/libxul.so)
> >                                              #1  0x0000000000000000 n/a=
 (n/a)
> > Jun 09 06:45:35 test systemd-coredump[1374]: Process 1106 (firefox.real=
) of
> > user 1000 dumped core.
> >=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
> >                                              Stack trace of thread 1124:
> >                                              #0  0x00007fd89155036f rai=
se
> > (libpthread.so.0)
> >                                              #1  0x00007fd88b6b3a5f n/a
> > (/home/test/tor-browser_en-US/Browser/libxul.so)
> > Jun 09 06:45:35 test systemd-coredump[1384]: Process 1162 (Web Content)=
 of
> > user 1000 dumped core.
> >=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
> >                                              Stack trace of thread 1164:
> >                                              #0  0x00007ffb32c6ad36 n/a
> > (/home/test/tor-browser_en-US/Browser/libxul.so)
> >                                              #1  0x0000000000000000 n/a=
 (n/a)
> > Jun 09 06:45:38 test systemd-coredump[1385]: Process 1237 (Web Content)=
 of
> > user 1000 dumped core.
> >=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
> >                                              Stack trace of thread 1241:
> >                                              #0  0x00007f9aa7f3ed36 n/a
> > (/home/test/tor-browser_en-US/Browser/libxul.so)
> >                                              #1  0x0000000000000000 n/a=
 (n/a)
> > Jun 09 06:47:31 test systemd-coredump[1640]: Process 1536 (Web Content)=
 of
> > user 1000 dumped core.
> >=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
> >                                              Stack trace of thread 1536:
> >                                              #0  0x00007f830d3ee3e7 n/a
> > (/home/test/tor-browser_en-US/Browser/libxul.so)
> > Jun 09 06:47:32 test systemd-coredump[1650]: Process 1603 (Web Content)=
 of
> > user 1000 dumped core.
> >=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
> >                                              Stack trace of thread 1606:
> >                                              #0  0x00007f8f129ebd36 n/a
> > (/home/test/tor-browser_en-US/Browser/libxul.so)
> >                                              #1  0x0000000000000000 n/a=
 (n/a)
> > Jun 09 06:47:32 test systemd-coredump[1639]: Process 1410 (firefox.real=
) of
> > user 1000 dumped core.
> >=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
> >                                              Stack trace of thread 1410:
> >                                              #0  0x00007fe94ed5f36f rai=
se
> > (libpthread.so.0)
> >                                              #1  0x00007fe948ec2a5f n/a
> > (/home/test/tor-browser_en-US/Browser/libxul.so)
> > Jun 09 06:47:32 test systemd-coredump[1649]: Process 1467 (Web Content)=
 of
> > user 1000 dumped core.
> >=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
> >                                              Stack trace of thread 1469:
> >                                              #0  0x00007fb2790c2d36 n/a
> > (/home/test/tor-browser_en-US/Browser/libxul.so)
> >                                              #1  0x0000000000000000 n/a=
 (n/a)
> > ...
> > 
> >=20 > > My system: > > - MSI B450 Tomahawk > > - Athlon 200GE (yes, this CPU will be upgraded to a Ryzen 3000 one of c= ourse > > ;)) > > - RX 580 4G Nitro+ > > - G.Skill Aegis DIMM Kit 16GB, DDR4-3000, CL16-18-18-38 (F4-3000C16D-16= GISB) > >=20 > > My fix: 2 things I can remember I did which are maybe the fix: > > 1.) I disabled integrated graphics in the BIOS. > > 2.) I installed amd-ucode. > >=20 > > No hangs/freezes or anything since my fix. I'll report back here should= I > > encounter a crash/freeze/hang again. >=20 > Addition: > Arch (through Antergos) with all latest updates: > - $ uname: 5.1.7-arch1-1-ARCH > - $ glxinfo | grep version: > server glx version string: 1.4 > client glx version string: 1.4 > GLX version: 1.4 > Max core profile version: 4.5 > Max compat profile version: 4.5 > Max GLES1 profile version: 1.1 > Max GLES[23] profile version: 3.2 > OpenGL core profile version string: 4.5 (Core Profile) Mesa 19.0.6 > OpenGL core profile shading language version string: 4.50 > OpenGL version string: 4.5 (Compatibility Profile) Mesa 19.0.6 > OpenGL shading language version string: 4.50 > OpenGL ES profile version string: OpenGL ES 3.2 Mesa 19.0.6 > OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20 > GL_EXT_shader_implicit_conversions, GL_EXT_shader_integer_mix, I have already updated Intel microcode installed from here: https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files which is the latest I can find. Also there is no more BIOS updates for my motherboard. You would notice tha= t I have bisected this bug to a specific commit.=20 That is puzzling to me because The specified commit adds a call to pcie_bandwidth_available() which replaces value already obtained by another call to pcie_get_width_cap() just before. What's is the point of using 2 function to get result from same source. Also why is this related to powerp= lay (DPM). Also after reverting the commit I have no issue whatsoever with my gpu. No hangs or freezes in game or in normal desktop uses. --=20 You are receiving this mail because: You are the assignee for the bug.= --15601757211.E029.20381 Date: Mon, 10 Jun 2019 14:08:41 +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

Comme= nt # 15 on bug 11082= 2 from Gobinda Joy
(In reply to b6khqjqov4 from comment #14)
> (In reply to b6khqjqov4 from comment #13)
> > Your bug sounds like mine which came after I bought and added a u=
sed RX580
> > to my system. Since then had random full system freezes (I think =
only when I
> > was using Firefox or the internal Steam Chromium browser) and des=
ktop hangs
> > where Cinnamon would crash and nothing except the mouse pointer w=
ould be
> > movable. No error in logs at first, but then I found this after t=
he system
> > hanged instead of a hard freeze:
> >=20
> > $ journalctl -p3:
> >=20
> > <pre>
> > ...
> > Jun 09 06:45:34 test systemd-coredump[1383]: Process 1328 (Web Co=
ntent) of
> > user 1000 dumped core.
> >=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
> >                                              Stack trace of threa=
d 1332:
> >                                              #0  0x00007f04ecd3ed=
36 n/a
> > (/home/test/tor-browser_en-US/Browser/libxul.so)
> >                                              #1  0x00000000000000=
00 n/a (n/a)
> > Jun 09 06:45:35 test systemd-coredump[1374]: Process 1106 (firefo=
x.real) of
> > user 1000 dumped core.
> >=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
> >                                              Stack trace of threa=
d 1124:
> >                                              #0  0x00007fd8915503=
6f raise
> > (libpthread.so.0)
> >                                              #1  0x00007fd88b6b3a=
5f n/a
> > (/home/test/tor-browser_en-US/Browser/libxul.so)
> > Jun 09 06:45:35 test systemd-coredump[1384]: Process 1162 (Web Co=
ntent) of
> > user 1000 dumped core.
> >=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
> >                                              Stack trace of threa=
d 1164:
> >                                              #0  0x00007ffb32c6ad=
36 n/a
> > (/home/test/tor-browser_en-US/Browser/libxul.so)
> >                                              #1  0x00000000000000=
00 n/a (n/a)
> > Jun 09 06:45:38 test systemd-coredump[1385]: Process 1237 (Web Co=
ntent) of
> > user 1000 dumped core.
> >=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
> >                                              Stack trace of threa=
d 1241:
> >                                              #0  0x00007f9aa7f3ed=
36 n/a
> > (/home/test/tor-browser_en-US/Browser/libxul.so)
> >                                              #1  0x00000000000000=
00 n/a (n/a)
> > Jun 09 06:47:31 test systemd-coredump[1640]: Process 1536 (Web Co=
ntent) of
> > user 1000 dumped core.
> >=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
> >                                              Stack trace of threa=
d 1536:
> >                                              #0  0x00007f830d3ee3=
e7 n/a
> > (/home/test/tor-browser_en-US/Browser/libxul.so)
> > Jun 09 06:47:32 test systemd-coredump[1650]: Process 1603 (Web Co=
ntent) of
> > user 1000 dumped core.
> >=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
> >                                              Stack trace of threa=
d 1606:
> >                                              #0  0x00007f8f129ebd=
36 n/a
> > (/home/test/tor-browser_en-US/Browser/libxul.so)
> >                                              #1  0x00000000000000=
00 n/a (n/a)
> > Jun 09 06:47:32 test systemd-coredump[1639]: Process 1410 (firefo=
x.real) of
> > user 1000 dumped core.
> >=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
> >                                              Stack trace of threa=
d 1410:
> >                                              #0  0x00007fe94ed5f3=
6f raise
> > (libpthread.so.0)
> >                                              #1  0x00007fe948ec2a=
5f n/a
> > (/home/test/tor-browser_en-US/Browser/libxul.so)
> > Jun 09 06:47:32 test systemd-coredump[1649]: Process 1467 (Web Co=
ntent) of
> > user 1000 dumped core.
> >=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
> >                                              Stack trace of threa=
d 1469:
> >                                              #0  0x00007fb2790c2d=
36 n/a
> > (/home/test/tor-browser_en-US/Browser/libxul.so)
> >                                              #1  0x00000000000000=
00 n/a (n/a)
> > ...
> > </pre>
> >=20
> > My system:
> > - MSI B450 Tomahawk
> > - Athlon 200GE (yes, this CPU will be upgraded to a Ryzen 3000 on=
e of course
> > ;))
> > - RX 580 4G Nitro+
> > - G.Skill Aegis DIMM Kit 16GB, DDR4-3000, CL16-18-18-38 (F4-3000C=
16D-16GISB)
> >=20
> > My fix: 2 things I can remember I did which are maybe the fix:
> > 1.) I disabled integrated graphics in the BIOS.
> > 2.) I installed amd-ucode.
> >=20
> > No hangs/freezes or anything since my fix. I'll report back here =
should I
> > encounter a crash/freeze/hang again.
>=20
> Addition:
> Arch (through Antergos) with all latest updates:
> - $ uname: 5.1.7-arch1-1-ARCH
> - $ glxinfo | grep version:
> server glx version string: 1.4
> client glx version string: 1.4
> GLX version: 1.4
>     Max core profile version: 4.5
>     Max compat profile version: 4.5
>     Max GLES1 profile version: 1.1
>     Max GLES[23] profile version: 3.2
> OpenGL core profile version string: 4.5 (Core Profile) Mesa 19.0.6
> OpenGL core profile shading language version string: 4.50
> OpenGL version string: 4.5 (Compatibility Profile) Mesa 19.0.6
> OpenGL shading language version string: 4.50
> OpenGL ES profile version string: OpenGL ES 3.2 Mesa 19.0.6
> OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3=
.20
>     GL_EXT_shader_implicit_conversions, GL_EXT_shader_integer_mix,

I have already updated Intel microcode installed from here:
https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files which is
the latest I can find.

Also there is no more BIOS updates for my motherboard. You would notice tha=
t I
have bisected this bug to a specific commit.=20

That is puzzling to me because The specified commit adds a call to
pcie_bandwidth_available() which replaces value already obtained by another
call to pcie_get_width_cap() just before. What's is the point of using 2
function to get result from same source. Also why is this related to powerp=
lay
(DPM).

Also after reverting the commit I have no issue whatsoever with my gpu. No
hangs or freezes in game or in normal desktop uses.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15601757211.E029.20381-- --===============0966017410== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0966017410==--