All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 97471] kworker consumes 100% of a cpu core when screen sleeps with amdgpu kernel driver.
@ 2016-08-24 15:06 bugzilla-daemon
  2016-08-30  0:29 ` bugzilla-daemon
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: bugzilla-daemon @ 2016-08-24 15:06 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 1635 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=97471

            Bug ID: 97471
           Summary: kworker consumes 100% of a cpu core when screen sleeps
                    with amdgpu kernel driver.
           Product: DRI
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/AMDgpu
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: malcolmlewis@opensuse.org

Created attachment 126008
  --> https://bugs.freedesktop.org/attachment.cgi?id=126008&action=edit
System information and perf data

Hi
I have configured my system to use the amdgpu kernel driver (note no
experimental support activated) on openSUSE Tumbleweed and running
4.8.0-rc2-3.gda13dfd-default. I did have to re-build the xf86-video-amdgpu to
add my Mullins R5 PCI-IDs. I don't see this when running the radeon driver.

Reproducible: Always

Steps to Reproduce:
1. Boot to Gnome desktop.
2. Set timeout for screen saver 1-15 minutes doesn't matter.
3. From a remote ssh session monitor via top and observe one cpu at ~100% when
screen save activates.

Actual Results:  
I ran the following perf command to capture some data which will add as an
attachment;

perf record -F 250 -g -a sleep 10
perf report

Expected Results:  
Not consume cpu when idle/screensaver mode.

Attachment includes;
20-amdgpu.conf, dmidecode.txt, perf_data_summary.txt, 4.8.rc3.perf.data,
os-release and Xorg.0.log

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 3099 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 97471] kworker consumes 100% of a cpu core when screen sleeps with amdgpu kernel driver.
  2016-08-24 15:06 [Bug 97471] kworker consumes 100% of a cpu core when screen sleeps with amdgpu kernel driver bugzilla-daemon
@ 2016-08-30  0:29 ` bugzilla-daemon
  2016-08-30  1:16 ` bugzilla-daemon
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2016-08-30  0:29 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 240 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=97471

--- Comment #1 from Michel Dänzer <michel@daenzer.net> ---
Please attach the corresponding dmesg output.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1086 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 97471] kworker consumes 100% of a cpu core when screen sleeps with amdgpu kernel driver.
  2016-08-24 15:06 [Bug 97471] kworker consumes 100% of a cpu core when screen sleeps with amdgpu kernel driver bugzilla-daemon
  2016-08-30  0:29 ` bugzilla-daemon
@ 2016-08-30  1:16 ` bugzilla-daemon
  2016-09-08 17:20 ` bugzilla-daemon
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2016-08-30  1:16 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 318 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=97471

--- Comment #2 from Malcolm Lewis <malcolmlewis@opensuse.org> ---
Created attachment 126111
  --> https://bugs.freedesktop.org/attachment.cgi?id=126111&action=edit
Ourput from dmesg

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1296 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 97471] kworker consumes 100% of a cpu core when screen sleeps with amdgpu kernel driver.
  2016-08-24 15:06 [Bug 97471] kworker consumes 100% of a cpu core when screen sleeps with amdgpu kernel driver bugzilla-daemon
  2016-08-30  0:29 ` bugzilla-daemon
  2016-08-30  1:16 ` bugzilla-daemon
@ 2016-09-08 17:20 ` bugzilla-daemon
  2016-09-27 21:08 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2016-09-08 17:20 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 701 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=97471

--- Comment #3 from bugs.freedesktop.org@crystalgamma.de ---
I am hitting this bug on Carrizo as well.
In particular, it only takes effect if the disabled output is the integrated
screen (eDP-1). Disabling the DP-1 output (which is actually an HDMI port)
connected to an external screen has no visible effects.

My system is Arch Linux, with the default kernel (Vanilla Linux 4.7.2 with a
one-line patch changing the default log level).

I can provide additional information about my system if necessary.
I can also try out kernel patches if that will help.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1560 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 97471] kworker consumes 100% of a cpu core when screen sleeps with amdgpu kernel driver.
  2016-08-24 15:06 [Bug 97471] kworker consumes 100% of a cpu core when screen sleeps with amdgpu kernel driver bugzilla-daemon
                   ` (2 preceding siblings ...)
  2016-09-08 17:20 ` bugzilla-daemon
@ 2016-09-27 21:08 ` bugzilla-daemon
  2016-09-27 21:11 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2016-09-27 21:08 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 516 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=97471

Alex Deucher <alexdeucher@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |striker@terranforge.com

--- Comment #4 from Alex Deucher <alexdeucher@gmail.com> ---
*** Bug 97849 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2170 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 97471] kworker consumes 100% of a cpu core when screen sleeps with amdgpu kernel driver.
  2016-08-24 15:06 [Bug 97471] kworker consumes 100% of a cpu core when screen sleeps with amdgpu kernel driver bugzilla-daemon
                   ` (3 preceding siblings ...)
  2016-09-27 21:08 ` bugzilla-daemon
@ 2016-09-27 21:11 ` bugzilla-daemon
  2016-09-27 21:56 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2016-09-27 21:11 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 351 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=97471

--- Comment #5 from Alex Deucher <alexdeucher@gmail.com> ---
For some reason the eDP panel is causing an hotplug interrupt storm when the
panel is disabled.  I'm not sure why radeon is behaving differently off hand.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 97471] kworker consumes 100% of a cpu core when screen sleeps with amdgpu kernel driver.
  2016-08-24 15:06 [Bug 97471] kworker consumes 100% of a cpu core when screen sleeps with amdgpu kernel driver bugzilla-daemon
                   ` (4 preceding siblings ...)
  2016-09-27 21:11 ` bugzilla-daemon
@ 2016-09-27 21:56 ` bugzilla-daemon
  2016-09-27 21:59 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2016-09-27 21:56 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 247 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=97471

--- Comment #6 from Alex Deucher <alexdeucher@gmail.com> ---
Does this only happen after a suspend/resume cycle?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1094 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 97471] kworker consumes 100% of a cpu core when screen sleeps with amdgpu kernel driver.
  2016-08-24 15:06 [Bug 97471] kworker consumes 100% of a cpu core when screen sleeps with amdgpu kernel driver bugzilla-daemon
                   ` (5 preceding siblings ...)
  2016-09-27 21:56 ` bugzilla-daemon
@ 2016-09-27 21:59 ` bugzilla-daemon
  2016-09-27 23:01 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2016-09-27 21:59 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 283 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=97471

--- Comment #7 from Striker Leggette <striker@terranforge.com> ---
Fresh boot.  This happens as soon as you change the display to _only_ push
HDMI.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1136 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 97471] kworker consumes 100% of a cpu core when screen sleeps with amdgpu kernel driver.
  2016-08-24 15:06 [Bug 97471] kworker consumes 100% of a cpu core when screen sleeps with amdgpu kernel driver bugzilla-daemon
                   ` (6 preceding siblings ...)
  2016-09-27 21:59 ` bugzilla-daemon
@ 2016-09-27 23:01 ` bugzilla-daemon
  2016-09-28 15:56 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2016-09-27 23:01 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 333 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=97471

--- Comment #8 from Alex Deucher <alexdeucher@gmail.com> ---
Created attachment 126818
  --> https://bugs.freedesktop.org/attachment.cgi?id=126818&action=edit
possible fix

Does this patch help?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1381 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 97471] kworker consumes 100% of a cpu core when screen sleeps with amdgpu kernel driver.
  2016-08-24 15:06 [Bug 97471] kworker consumes 100% of a cpu core when screen sleeps with amdgpu kernel driver bugzilla-daemon
                   ` (7 preceding siblings ...)
  2016-09-27 23:01 ` bugzilla-daemon
@ 2016-09-28 15:56 ` bugzilla-daemon
  2016-09-28 22:42 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2016-09-28 15:56 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 438 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=97471

--- Comment #9 from Jan Vesely <jv356@scarletmail.rutgers.edu> ---
(In reply to Alex Deucher from comment #8)
> Created attachment 126818 [details] [review]
> possible fix
> 
> Does this patch help?

modified version of the patch helps on my setup. (patch modified to apply on
top of ROCK kernel)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1634 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 97471] kworker consumes 100% of a cpu core when screen sleeps with amdgpu kernel driver.
  2016-08-24 15:06 [Bug 97471] kworker consumes 100% of a cpu core when screen sleeps with amdgpu kernel driver bugzilla-daemon
                   ` (8 preceding siblings ...)
  2016-09-28 15:56 ` bugzilla-daemon
@ 2016-09-28 22:42 ` bugzilla-daemon
  2016-09-30 15:20 ` bugzilla-daemon
  2017-12-20 18:13 ` bugzilla-daemon
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2016-09-28 22:42 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 616 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=97471

--- Comment #10 from Malcolm Lewis <malcolmlewis@opensuse.org> ---
(In reply to Alex Deucher from comment #8)
> Created attachment 126818 [details] [review]
> possible fix
> 
> Does this patch help?
Hi
I can confirm the patch also works for me, both with the Laptop screen, laptop
and HDMI attached screen and just the HDMI screen.

Kernel used: 4.8.0-rc8-2.g991ee60-default
OS: openSUSE Tumbleweed 20160927
Note, there is no dce_v6_0.c file, so had to tweak your patch.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1812 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 97471] kworker consumes 100% of a cpu core when screen sleeps with amdgpu kernel driver.
  2016-08-24 15:06 [Bug 97471] kworker consumes 100% of a cpu core when screen sleeps with amdgpu kernel driver bugzilla-daemon
                   ` (9 preceding siblings ...)
  2016-09-28 22:42 ` bugzilla-daemon
@ 2016-09-30 15:20 ` bugzilla-daemon
  2017-12-20 18:13 ` bugzilla-daemon
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2016-09-30 15:20 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 507 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=97471

--- Comment #11 from Malcolm Lewis <malcolmlewis@opensuse.org> ---
Hi
I would also like to confirm the patch works with the 4.4.21-3-default in
openSUSE Leap 42.2 currently in beta.

I also expect it to work with SLED 12 SP2 when released since they are running
the same kernel, just need to update xf86-video-amdgpu to 1.1.2 for support of
my GPU.

Many thanks :)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1360 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 97471] kworker consumes 100% of a cpu core when screen sleeps with amdgpu kernel driver.
  2016-08-24 15:06 [Bug 97471] kworker consumes 100% of a cpu core when screen sleeps with amdgpu kernel driver bugzilla-daemon
                   ` (10 preceding siblings ...)
  2016-09-30 15:20 ` bugzilla-daemon
@ 2017-12-20 18:13 ` bugzilla-daemon
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2017-12-20 18:13 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 430 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=97471

Alex Deucher <alexdeucher@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1290 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2017-12-20 18:13 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-24 15:06 [Bug 97471] kworker consumes 100% of a cpu core when screen sleeps with amdgpu kernel driver bugzilla-daemon
2016-08-30  0:29 ` bugzilla-daemon
2016-08-30  1:16 ` bugzilla-daemon
2016-09-08 17:20 ` bugzilla-daemon
2016-09-27 21:08 ` bugzilla-daemon
2016-09-27 21:11 ` bugzilla-daemon
2016-09-27 21:56 ` bugzilla-daemon
2016-09-27 21:59 ` bugzilla-daemon
2016-09-27 23:01 ` bugzilla-daemon
2016-09-28 15:56 ` bugzilla-daemon
2016-09-28 22:42 ` bugzilla-daemon
2016-09-30 15:20 ` bugzilla-daemon
2017-12-20 18:13 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.