All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 83998] New: Oopses on R9270X using UVD since radeon/uvd: use PIPE_USAGE_STAGING for msg&fb buffers
@ 2014-09-17 14:14 bugzilla-daemon
  2014-09-17 14:23 ` [Bug 83998] " bugzilla-daemon
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: bugzilla-daemon @ 2014-09-17 14:14 UTC (permalink / raw)
  To: dri-devel


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

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

          Priority: medium
            Bug ID: 83998
          Assignee: dri-devel@lists.freedesktop.org
           Summary: Oopses on R9270X using UVD since radeon/uvd: use
                    PIPE_USAGE_STAGING for msg&fb buffers
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: adf.lists@gmail.com
          Hardware: Other
            Status: NEW
           Version: git
         Component: Drivers/Gallium/radeonsi
           Product: Mesa

R9270X Getting rareish Oopses and once oomkiller since -

commit 6327b584155d040ae089e65fd6747186bdd9666b
Author: Christian König <christian.koenig@amd.com>
Date:   Thu Sep 11 09:50:00 2014 +0200

    radeon/uvd: use PIPE_USAGE_STAGING for msg&fb buffers

    That better matches the actual userspace use case, the
    kernel will force it to VRAM if the hardware requires it.

To trigger this I need to repeatedly start mplayer using uvd - it's takes some
time, I ended up making a script to do it for me while AFK.

I am 99% sure the above is it - I spent a day and a half trying on the commit
before (radeon/video: use the hw to initial clear the buffers) with no crash.

The Oopses don't mention radeon or uvd.

They will hit as soon as mplayer launches before it renders anything - screen
locked, no mouse cursor or vt switch but SysRq works, box is still up in some
ways for a while (one time I had music playing for 30s-1min after).

One time oomkiller put on its blindfold and ran around killing :-)

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

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

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

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

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

* [Bug 83998] Oopses on R9270X using UVD since radeon/uvd: use PIPE_USAGE_STAGING for msg&fb buffers
  2014-09-17 14:14 [Bug 83998] New: Oopses on R9270X using UVD since radeon/uvd: use PIPE_USAGE_STAGING for msg&fb buffers bugzilla-daemon
@ 2014-09-17 14:23 ` bugzilla-daemon
  2014-09-17 14:23 ` bugzilla-daemon
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2014-09-17 14:23 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #1 from Andy Furniss <adf.lists@gmail.com> ---
Created attachment 106433
  --> https://bugs.freedesktop.org/attachment.cgi?id=106433&action=edit
Oops uvd

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

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

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

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

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

* [Bug 83998] Oopses on R9270X using UVD since radeon/uvd: use PIPE_USAGE_STAGING for msg&fb buffers
  2014-09-17 14:14 [Bug 83998] New: Oopses on R9270X using UVD since radeon/uvd: use PIPE_USAGE_STAGING for msg&fb buffers bugzilla-daemon
  2014-09-17 14:23 ` [Bug 83998] " bugzilla-daemon
@ 2014-09-17 14:23 ` bugzilla-daemon
  2014-09-17 20:44 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2014-09-17 14:23 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #2 from Andy Furniss <adf.lists@gmail.com> ---
Created attachment 106434
  --> https://bugs.freedesktop.org/attachment.cgi?id=106434&action=edit
oom-killer uvd

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

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

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

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

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

* [Bug 83998] Oopses on R9270X using UVD since radeon/uvd: use PIPE_USAGE_STAGING for msg&fb buffers
  2014-09-17 14:14 [Bug 83998] New: Oopses on R9270X using UVD since radeon/uvd: use PIPE_USAGE_STAGING for msg&fb buffers bugzilla-daemon
  2014-09-17 14:23 ` [Bug 83998] " bugzilla-daemon
  2014-09-17 14:23 ` bugzilla-daemon
@ 2014-09-17 20:44 ` bugzilla-daemon
  2014-09-18  1:34 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2014-09-17 20:44 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #3 from Aaron B <aaronbottegal@gmail.com> ---
If you use Chrom(e/ium)/Firefox, can you make sure hardware accel is enabled
and see if it crashes randomly using them? I wanna see if you have other same
symptoms I have with random crashing on my system.

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

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

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

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

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

* [Bug 83998] Oopses on R9270X using UVD since radeon/uvd: use PIPE_USAGE_STAGING for msg&fb buffers
  2014-09-17 14:14 [Bug 83998] New: Oopses on R9270X using UVD since radeon/uvd: use PIPE_USAGE_STAGING for msg&fb buffers bugzilla-daemon
                   ` (2 preceding siblings ...)
  2014-09-17 20:44 ` bugzilla-daemon
@ 2014-09-18  1:34 ` bugzilla-daemon
  2014-11-19 22:44 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2014-09-18  1:34 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #4 from Michel Dänzer <michel@daenzer.net> ---
(In reply to comment #3)
> I wanna see if you have other same symptoms I have with random crashing on my
> system.

Aaron, I don't think this bug is related to yours.

-- 
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: 159 bytes --]

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

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

* [Bug 83998] Oopses on R9270X using UVD since radeon/uvd: use PIPE_USAGE_STAGING for msg&fb buffers
  2014-09-17 14:14 [Bug 83998] New: Oopses on R9270X using UVD since radeon/uvd: use PIPE_USAGE_STAGING for msg&fb buffers bugzilla-daemon
                   ` (3 preceding siblings ...)
  2014-09-18  1:34 ` bugzilla-daemon
@ 2014-11-19 22:44 ` bugzilla-daemon
  2014-11-19 22:47 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2014-11-19 22:44 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #5 from Andy Furniss <adf.lists@gmail.com> ---
This bug is still alive for me.

Have randomly tested and reproduced since reporting and failed to reproduce
with 

6327b584155d040ae089e65fd6747186bdd9666b reverted.

Just retried with the new agd5f drm-next-319-wip and it's still there - though
this time I got and oops which mentions radeon/ttm so uploading.

To produce I am running a script running mplayer on various blu-rays on hard
disk.

It's not aggressive - run for 10 sec sleep for three ....

I added a counter and it got up to 29 before oopsing.

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

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

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

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

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

* [Bug 83998] Oopses on R9270X using UVD since radeon/uvd: use PIPE_USAGE_STAGING for msg&fb buffers
  2014-09-17 14:14 [Bug 83998] New: Oopses on R9270X using UVD since radeon/uvd: use PIPE_USAGE_STAGING for msg&fb buffers bugzilla-daemon
                   ` (4 preceding siblings ...)
  2014-11-19 22:44 ` bugzilla-daemon
@ 2014-11-19 22:47 ` bugzilla-daemon
  2014-12-01 14:07 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2014-11-19 22:47 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #6 from Andy Furniss <adf.lists@gmail.com> ---
Created attachment 109744
  --> https://bugs.freedesktop.org/attachment.cgi?id=109744&action=edit
kernel log with new oops at end

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

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

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

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

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

* [Bug 83998] Oopses on R9270X using UVD since radeon/uvd: use PIPE_USAGE_STAGING for msg&fb buffers
  2014-09-17 14:14 [Bug 83998] New: Oopses on R9270X using UVD since radeon/uvd: use PIPE_USAGE_STAGING for msg&fb buffers bugzilla-daemon
                   ` (5 preceding siblings ...)
  2014-11-19 22:47 ` bugzilla-daemon
@ 2014-12-01 14:07 ` bugzilla-daemon
  2014-12-04 21:36 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2014-12-01 14:07 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #7 from Andy Furniss <adf.lists@gmail.com> ---
Created attachment 110298
  --> https://bugs.freedesktop.org/attachment.cgi?id=110298&action=edit
different trace with newer kernel

This is getting harder to trigger, started to think it was fixed.

Haven't triggered with mpv yet, but can still just with mplayer.

On third attempt, 115 starts in CPUs set to perf (may help trigger, but not
sure).

Uploading because current drm-next-219-wip has some fence changes and the trace
starts with -

radeon_fence_signaled

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

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

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

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

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

* [Bug 83998] Oopses on R9270X using UVD since radeon/uvd: use PIPE_USAGE_STAGING for msg&fb buffers
  2014-09-17 14:14 [Bug 83998] New: Oopses on R9270X using UVD since radeon/uvd: use PIPE_USAGE_STAGING for msg&fb buffers bugzilla-daemon
                   ` (6 preceding siblings ...)
  2014-12-01 14:07 ` bugzilla-daemon
@ 2014-12-04 21:36 ` bugzilla-daemon
  2014-12-05 10:46 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2014-12-04 21:36 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #8 from Andy Furniss <adf.lists@gmail.com> ---
Created attachment 110470
  --> https://bugs.freedesktop.org/attachment.cgi?id=110470&action=edit
Another different trace

Newer kernel different trace - BUG this time.

Slightly different from normal both trace and behavior, in that it froze on
quit and the screen was still showing the vid.

Due to it being a bit different I tried again - same result, both died within 5
minutes. I then reverted the suspect commit in case it was a different issue,
went out came back and it was up to 500 and still going OK, so it does seem to
be the same issue.

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

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

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

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

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

* [Bug 83998] Oopses on R9270X using UVD since radeon/uvd: use PIPE_USAGE_STAGING for msg&fb buffers
  2014-09-17 14:14 [Bug 83998] New: Oopses on R9270X using UVD since radeon/uvd: use PIPE_USAGE_STAGING for msg&fb buffers bugzilla-daemon
                   ` (7 preceding siblings ...)
  2014-12-04 21:36 ` bugzilla-daemon
@ 2014-12-05 10:46 ` bugzilla-daemon
  2014-12-08  6:11 ` bugzilla-daemon
  2015-07-30 12:38 ` bugzilla-daemon
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2014-12-05 10:46 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #9 from Christian König <deathsimple@vodafone.de> ---
That seems to be some kind of random kernel memory corruption, triggered by
using PIPE_USAGE_STAGING for your case.

Does anybody have any good idea how to figure out what this is?

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

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

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

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

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

* [Bug 83998] Oopses on R9270X using UVD since radeon/uvd: use PIPE_USAGE_STAGING for msg&fb buffers
  2014-09-17 14:14 [Bug 83998] New: Oopses on R9270X using UVD since radeon/uvd: use PIPE_USAGE_STAGING for msg&fb buffers bugzilla-daemon
                   ` (8 preceding siblings ...)
  2014-12-05 10:46 ` bugzilla-daemon
@ 2014-12-08  6:11 ` bugzilla-daemon
  2015-07-30 12:38 ` bugzilla-daemon
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2014-12-08  6:11 UTC (permalink / raw)
  To: dri-devel


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

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

Michel Dänzer <michel@daenzer.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Drivers/Gallium/radeonsi    |DRM/Radeon
            Version|git                         |unspecified
            Product|Mesa                        |DRI

--- Comment #10 from Michel Dänzer <michel@daenzer.net> ---
If there's an older kernel where this doesn't happen, it might be possible to
bisect.

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

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

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

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

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

* [Bug 83998] Oopses on R9270X using UVD since radeon/uvd: use PIPE_USAGE_STAGING for msg&fb buffers
  2014-09-17 14:14 [Bug 83998] New: Oopses on R9270X using UVD since radeon/uvd: use PIPE_USAGE_STAGING for msg&fb buffers bugzilla-daemon
                   ` (9 preceding siblings ...)
  2014-12-08  6:11 ` bugzilla-daemon
@ 2015-07-30 12:38 ` bugzilla-daemon
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2015-07-30 12:38 UTC (permalink / raw)
  To: dri-devel


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

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

Andy Furniss <adf.lists@gmail.com> changed:

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

--- Comment #11 from Andy Furniss <adf.lists@gmail.com> ---
I did try older kernels, but after thinking one was OK which turned out to also
have the issue I decided bisecting was not really going to work.

I don't have the 270X anymore so marking as a dup of another report.

As noted in that report, it seems easier to provoke this with current kernels.

It's possible the mesa commit just changed some timing that exposed the issue
more.

Currently on Tonga I can provoke a similar issue (not oops - just ring stall)
and reverting the mesa commit in this bug doesn't help, but playing around with
cpufreq can change how easy it is to provoke.

*** This bug has been marked as a duplicate of bug 91009 ***

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

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

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

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

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

end of thread, other threads:[~2015-07-30 12:38 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-17 14:14 [Bug 83998] New: Oopses on R9270X using UVD since radeon/uvd: use PIPE_USAGE_STAGING for msg&fb buffers bugzilla-daemon
2014-09-17 14:23 ` [Bug 83998] " bugzilla-daemon
2014-09-17 14:23 ` bugzilla-daemon
2014-09-17 20:44 ` bugzilla-daemon
2014-09-18  1:34 ` bugzilla-daemon
2014-11-19 22:44 ` bugzilla-daemon
2014-11-19 22:47 ` bugzilla-daemon
2014-12-01 14:07 ` bugzilla-daemon
2014-12-04 21:36 ` bugzilla-daemon
2014-12-05 10:46 ` bugzilla-daemon
2014-12-08  6:11 ` bugzilla-daemon
2015-07-30 12:38 ` 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.