From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 107955] AMDGPU driver keeps reloading on hybrid graphics system causing stuttering. Date: Thu, 08 Nov 2018 15:58:13 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0584067174==" 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 4236F6E483 for ; Thu, 8 Nov 2018 15:58:13 +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 --===============0584067174== Content-Type: multipart/alternative; boundary="15416926930.e35E47B.16430" Content-Transfer-Encoding: 7bit --15416926930.e35E47B.16430 Date: Thu, 8 Nov 2018 15:58:13 +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=3D107955 --- Comment #26 from Ransu --- Sorry for the lack of updates, life got in the way and then this week I mad= e a stupid mistake on where I was sending data with 'dd'. I didn't lose any important data but it did force me to have to setup my laptop from scratch. Good news! As of kernel 4.18.16 I no longer see an issue, knock on wood. I'm going to give it a week and report back but the AMDGPU driver does not seem= to be reloading like mad anymore.=20 Linux Y40-80 4.18.16-arch1-1-ARCH #1 SMP PREEMPT Sat Oct 20 22:06:45 UTC 20= 18 x86_64 GNU/Linux I get the following two messages whenever I request the AMD GPU with "PRIME_DRI=3D1" and only when I request the AMD GPU. When I'm not making us= e of the discrete graphics and only the dedicated Intel of my laptop I do not see the below two messages repeated over and over anymore, nor do I see any stuttering.=20 > [drm] PCIE gen 2 link speeds already enabled > amdgpu 0000:05:00.0: PCIE GART of 1024M enabled (table at 0x000000F400000= 000). One other thing I should note before I set up the system with AMDGPU by put= ting the following kernel command line arguments into my grub config "radeon.si_support=3D0 amdgpu.si_support=3D1" radeon alone would crash my system. I needed to go into a different TTY before login into XFCE to get things setup following this page https://wiki.archlinux.org/index.php/AMDGP= U=20 >Nov 08 00:56:06 Y40-80 kernel: radeon 0000:05:00.0: fence driver on ring 4= use >gpu addr 0x0000000080000c10 and cpu addr 0x000000006a0bf82f >Nov 08 00:56:06 Y40-80 kernel: radeon 0000:05:00.0: fence driver on ring 5= use >gpu addr 0x0000000000075a18 and cpu addr 0x000000003d1f62f3 >Nov 08 00:56:06 Y40-80 kernel: radeon 0000:05:00.0: failed VCE resume (-22= ). >Nov 08 00:56:07 Y40-80 kernel: [drm:r600_ring_test [radeon]] *ERROR* radeo= n: >ring 0 test failed (scratch(0x850C)=3D0xCAFEDEAD) >Nov 08 00:56:07 Y40-80 kernel: [drm:si_resume [radeon]] *ERROR* si startup= >failed on resume >Nov 08 00:56:22 Y40-80 kernel: [drm:atom_op_jump [radeon]] *ERROR* atombio= s >stuck in loop for more than 5secs aborting >Nov 08 00:56:22 Y40-80 kernel: [drm:atom_execute_table_locked [radeon]] *E= RROR* >atombios stuck executing C078 (len 237, WS 0, PS 4) @ 0xC086 >Nov 08 00:56:22 Y40-80 kernel: [drm:atom_execute_table_locked [radeon]] *E= RROR* >atombios stuck executing B99E (len 78, WS 12, PS 8) @ 0xB9D7 So now that things appear to be working I just have a few more questions. Does this mean that the discrete GPU should be making use of power saving features and shouldn't be draining too much power if I'm not making use of = it? and Does my card support AMDGPU-PRO drivers? If so is there any real advantage = of using the "PRO" extras over the standard open source driver? --=20 You are receiving this mail because: You are the assignee for the bug.= --15416926930.e35E47B.16430 Date: Thu, 8 Nov 2018 15:58:13 +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 # 26 on bug 10795= 5 from Ransu
Sorry for the lack of updates, life got in the way and then th=
is week I made a
stupid mistake on where I was sending data with 'dd'. I didn't lose any
important data but it did force me to have to setup my laptop from scratch.

Good news! As of kernel 4.18.16 I no longer see an issue, knock on wood. I'm
going to give it a week and report back but the AMDGPU driver does not seem=
 to
be reloading like mad anymore.=20

Linux Y40-80 4.18.16-arch1-1-ARCH #1 SMP PREEMPT Sat Oct 20 22:06:45 UTC 20=
18
x86_64 GNU/Linux


I get the following two messages whenever I request the AMD GPU with
"PRIME_DRI=3D1" and only when I request the AMD GPU. When I'm not=
 making use of
the discrete graphics and only the dedicated Intel of my laptop I do not see
the below two messages repeated over and over anymore, nor do I see any
stuttering.=20

> [drm] PCIE gen 2 link speeds already enabled
> amdgpu 0000:05:00.0: PCIE GART of 1024M enabled (table at 0x000000F400=
000000).



One other thing I should note before I set up the system with AMDGPU by put=
ting
the following kernel command line arguments into my grub config
"radeon.si_support=3D0 amdgpu.si_support=3D1"    radeon alone wou=
ld crash my
system. I needed to go into a different TTY before login into XFCE to get
things setup following this page https://wiki.archlinux.org/index.php/AMDGPU=20

>Nov 08 00:56:06 Y40-80 kernel: radeon 0000:05:00.=
0: fence driver on ring 4 use >gpu addr 0x0000000080000c10 and cpu addr =
0x000000006a0bf82f
>Nov 08 00:56:06 Y40-80 kernel: radeon 0000:05:00.0: fence driver on rin=
g 5 use >gpu addr 0x0000000000075a18 and cpu addr 0x000000003d1f62f3
>Nov 08 00:56:06 Y40-80 kernel: radeon 0000:05:00.0: failed VCE resume (=
-22).
>Nov 08 00:56:07 Y40-80 kernel: [drm:r600_ring_test [radeon]] *ERROR* ra=
deon: >ring 0 test failed (scratch(0x850C)=3D0xCAFEDEAD)
>Nov 08 00:56:07 Y40-80 kernel: [drm:si_resume [radeon]] *ERROR* si star=
tup >failed on resume
>Nov 08 00:56:22 Y40-80 kernel: [drm:atom_op_jump [radeon]] *ERROR* atom=
bios >stuck in loop for more than 5secs aborting
>Nov 08 00:56:22 Y40-80 kernel: [drm:atom_execute_table_locked [radeon]]=
 *ERROR* >atombios stuck executing C078 (len 237, WS 0, PS 4) @ 0xC0=
86
>Nov 08 00:56:22 Y40-80 kernel: [drm:atom_execute_table_locked [radeon]]=
 *ERROR* >atombios stuck executing B99E (len 78, WS 12, PS 8) @ 0xB9=
D7






So now that things appear to be working I just have a few more questions.


Does this mean that the discrete GPU should be making use of power saving
features and shouldn't be draining too much power if I'm not making use of =
it?

and

Does my card support AMDGPU-PRO drivers? If so is there any real advantage =
of
using the "PRO" extras over the standard open source driver?


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