All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 97137] R7 M370 hangs with radeon.dpm=1 when running demanding graphical programs with DRI PRIME
@ 2016-07-29 21:50 bugzilla-daemon
  2016-07-29 21:50 ` bugzilla-daemon
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: bugzilla-daemon @ 2016-07-29 21:50 UTC (permalink / raw)
  To: dri-devel


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

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

            Bug ID: 97137
           Summary: R7 M370 hangs with radeon.dpm=1 when running demanding
                    graphical programs with DRI PRIME
           Product: DRI
           Version: DRI git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/Radeon
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: registo.mailling@gmail.com

I own a laptop (Thinkpad E560) with an Intel+Radeon gpu combo. When trying to
run demanding graphical programs with the radeon gpu via dri prime it hangs. In
this context, demanding programs are anything more demanding than glxgears
(which runs fine).

If I boot with radeon.dpm=0 everything runs fine but at the low default clock
speeds. I have been unable to set faster clock speeds via the sysfs interface.

I have tried drm-next from
https://cgit.freedesktop.org/~airlied/linux/?h=drm-next together with the
latest git linux-firmware but the problem is the same.

The problem can be replicated by running 'glmark2 -b texture'. However 'glmark2
-b build' seems to work without any problems.

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

[-- Attachment #1.2: Type: text/html, Size: 2722 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] 9+ messages in thread

* [Bug 97137] R7 M370 hangs with radeon.dpm=1 when running demanding graphical programs with DRI PRIME
  2016-07-29 21:50 [Bug 97137] R7 M370 hangs with radeon.dpm=1 when running demanding graphical programs with DRI PRIME bugzilla-daemon
@ 2016-07-29 21:50 ` bugzilla-daemon
  2016-07-29 21:51 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2016-07-29 21:50 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #1 from Mauro Santos <registo.mailling@gmail.com> ---
Created attachment 125426
  --> https://bugs.freedesktop.org/attachment.cgi?id=125426&action=edit
dmesg with gpu hang

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

[-- Attachment #1.2: Type: text/html, Size: 1316 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] 9+ messages in thread

* [Bug 97137] R7 M370 hangs with radeon.dpm=1 when running demanding graphical programs with DRI PRIME
  2016-07-29 21:50 [Bug 97137] R7 M370 hangs with radeon.dpm=1 when running demanding graphical programs with DRI PRIME bugzilla-daemon
  2016-07-29 21:50 ` bugzilla-daemon
@ 2016-07-29 21:51 ` bugzilla-daemon
  2016-07-29 22:19 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2016-07-29 21:51 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #2 from Mauro Santos <registo.mailling@gmail.com> ---
Created attachment 125427
  --> https://bugs.freedesktop.org/attachment.cgi?id=125427&action=edit
lspci -vvnn

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

[-- Attachment #1.2: Type: text/html, Size: 1292 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] 9+ messages in thread

* [Bug 97137] R7 M370 hangs with radeon.dpm=1 when running demanding graphical programs with DRI PRIME
  2016-07-29 21:50 [Bug 97137] R7 M370 hangs with radeon.dpm=1 when running demanding graphical programs with DRI PRIME bugzilla-daemon
  2016-07-29 21:50 ` bugzilla-daemon
  2016-07-29 21:51 ` bugzilla-daemon
@ 2016-07-29 22:19 ` bugzilla-daemon
  2016-07-29 23:26 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2016-07-29 22:19 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #3 from Alex Deucher <alexdeucher@gmail.com> ---
Does setting radeon.runpm=0 on the kernel command line in grub help?

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

[-- Attachment #1.2: Type: text/html, Size: 1125 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] 9+ messages in thread

* [Bug 97137] R7 M370 hangs with radeon.dpm=1 when running demanding graphical programs with DRI PRIME
  2016-07-29 21:50 [Bug 97137] R7 M370 hangs with radeon.dpm=1 when running demanding graphical programs with DRI PRIME bugzilla-daemon
                   ` (2 preceding siblings ...)
  2016-07-29 22:19 ` bugzilla-daemon
@ 2016-07-29 23:26 ` bugzilla-daemon
  2016-07-29 23:26 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2016-07-29 23:26 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #4 from Mauro Santos <registo.mailling@gmail.com> ---
(In reply to Alex Deucher from comment #3)
> Does setting radeon.runpm=0 on the kernel command line in grub help?

No change. When running glmark2 I still get a hang when it gets to the texture
test. I see the cube spin for maybe less than one second and then the test/gpu
hangs.

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

[-- Attachment #1.2: Type: text/html, Size: 1421 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] 9+ messages in thread

* [Bug 97137] R7 M370 hangs with radeon.dpm=1 when running demanding graphical programs with DRI PRIME
  2016-07-29 21:50 [Bug 97137] R7 M370 hangs with radeon.dpm=1 when running demanding graphical programs with DRI PRIME bugzilla-daemon
                   ` (3 preceding siblings ...)
  2016-07-29 23:26 ` bugzilla-daemon
@ 2016-07-29 23:26 ` bugzilla-daemon
  2016-08-10 11:16 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2016-07-29 23:26 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #5 from Mauro Santos <registo.mailling@gmail.com> ---
Created attachment 125429
  --> https://bugs.freedesktop.org/attachment.cgi?id=125429&action=edit
dmesg with radeon.runpm=0

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

[-- Attachment #1.2: Type: text/html, Size: 1334 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] 9+ messages in thread

* [Bug 97137] R7 M370 hangs with radeon.dpm=1 when running demanding graphical programs with DRI PRIME
  2016-07-29 21:50 [Bug 97137] R7 M370 hangs with radeon.dpm=1 when running demanding graphical programs with DRI PRIME bugzilla-daemon
                   ` (4 preceding siblings ...)
  2016-07-29 23:26 ` bugzilla-daemon
@ 2016-08-10 11:16 ` bugzilla-daemon
  2016-09-17 17:51 ` bugzilla-daemon
  2016-11-29 22:01 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2016-08-10 11:16 UTC (permalink / raw)
  To: dri-devel


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

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

Mauro Santos <registo.mailling@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|registo.mailling@gmail.com  |

--- Comment #6 from Mauro Santos <registo.mailling@gmail.com> ---
Is there any further information or tests I can do to help determining the
cause of the problem and finding a fix/workaround?

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

[-- Attachment #1.2: Type: text/html, Size: 2050 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] 9+ messages in thread

* [Bug 97137] R7 M370 hangs with radeon.dpm=1 when running demanding graphical programs with DRI PRIME
  2016-07-29 21:50 [Bug 97137] R7 M370 hangs with radeon.dpm=1 when running demanding graphical programs with DRI PRIME bugzilla-daemon
                   ` (5 preceding siblings ...)
  2016-08-10 11:16 ` bugzilla-daemon
@ 2016-09-17 17:51 ` bugzilla-daemon
  2016-11-29 22:01 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2016-09-17 17:51 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #7 from Mauro Santos <registo.mailling@gmail.com> ---
I have just noticed that the hang does not happen if I run 'glmark2 -b texture'
while on battery, however the fps result is a lot lower than with the Intel
gpu. 

Might this provide any further clues to the problem?

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

[-- Attachment #1.2: Type: text/html, Size: 1286 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] 9+ messages in thread

* [Bug 97137] R7 M370 hangs with radeon.dpm=1 when running demanding graphical programs with DRI PRIME
  2016-07-29 21:50 [Bug 97137] R7 M370 hangs with radeon.dpm=1 when running demanding graphical programs with DRI PRIME bugzilla-daemon
                   ` (6 preceding siblings ...)
  2016-09-17 17:51 ` bugzilla-daemon
@ 2016-11-29 22:01 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2016-11-29 22:01 UTC (permalink / raw)
  To: dri-devel


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

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

Mauro Santos <registo.mailling@gmail.com> changed:

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

--- Comment #8 from Mauro Santos <registo.mailling@gmail.com> ---
This is now working for me.

The fix was introduced sometime between stable kernel 4.8.6 and 4.8.7 and is
still working fine with 4.8.11.

I haven't tried to find exactly which commit fixed things but given that it's
working now I'll let it rest. If later there is a regression I now have a good
starting point for a bisect and new bug report.

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

[-- Attachment #1.2: Type: text/html, Size: 2483 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] 9+ messages in thread

end of thread, other threads:[~2016-11-29 22:01 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-29 21:50 [Bug 97137] R7 M370 hangs with radeon.dpm=1 when running demanding graphical programs with DRI PRIME bugzilla-daemon
2016-07-29 21:50 ` bugzilla-daemon
2016-07-29 21:51 ` bugzilla-daemon
2016-07-29 22:19 ` bugzilla-daemon
2016-07-29 23:26 ` bugzilla-daemon
2016-07-29 23:26 ` bugzilla-daemon
2016-08-10 11:16 ` bugzilla-daemon
2016-09-17 17:51 ` bugzilla-daemon
2016-11-29 22:01 ` 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.