All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 88658] Slow video playback on Kabini
@ 2015-01-21 10:10 bugzilla-daemon
  2015-01-21 10:20 ` bugzilla-daemon
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: bugzilla-daemon @ 2015-01-21 10:10 UTC (permalink / raw)
  To: dri-devel


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

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

            Bug ID: 88658
           Summary: Slow video playback on Kabini
           Product: Mesa
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/radeonsi
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: jtossenb@gmail.com
        QA Contact: dri-devel@lists.freedesktop.org

I am using a 64-bit Kabini based system (AMD Athlon 5350) with Kodi 14.0 on an
up-to-date Arch linux.
Kodi plays this 
https://dl-web.dropbox.com/get/hi10p_sample.mp4?w=AAC8qnXfS0xxWbd5Fc2bkvWxMxeqlUiSkL-Dxe5C5BDVyw&dl=1&_subject_uid=6760021
small sample file fine with kernel 3.16.x, but with kernel >= 3.17 the playback
is only 1 fps (like a slideshow). It is a hi10p video, so Kodi uses pure
software decoding.

I've done a git bisect between 3.16 and 3.17-rc1 and found that
02376d8282b88f07d0716da6155094c8760b1a13 is the first bad commit.

commit 02376d8282b88f07d0716da6155094c8760b1a13
Author: Michel Dänzer <michel.daenzer@amd.com>
Date:   Thu Jul 17 19:01:08 2014 +0900

    drm/radeon: Allow write-combined CPU mappings of BOs in GTT (v2)

    v2: fix rebase onto drm-fixes

    Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
    Reviewed-by: Christian König <christian.koenig@amd.com>
    Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

Then I applied the patch found in comment 30 of bug 84627 attachment 11024 (as
I use 64-bit system).

This patch worked around the problem on 3.17 and on the latest 3.19-rc5 kernel
as well and now Kodi plays the above video 24 fps.

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

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

* [Bug 88658] Slow video playback on Kabini
  2015-01-21 10:10 [Bug 88658] Slow video playback on Kabini bugzilla-daemon
@ 2015-01-21 10:20 ` bugzilla-daemon
  2015-01-21 10:25 ` bugzilla-daemon
                   ` (11 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2015-01-21 10:20 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #1 from jtossenb <jtossenb@gmail.com> ---
Sorry, attachment 110024

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

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

* [Bug 88658] Slow video playback on Kabini
  2015-01-21 10:10 [Bug 88658] Slow video playback on Kabini bugzilla-daemon
  2015-01-21 10:20 ` bugzilla-daemon
@ 2015-01-21 10:25 ` bugzilla-daemon
  2015-01-21 10:46 ` [Bug 88658] (bisected) " bugzilla-daemon
                   ` (10 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2015-01-21 10:25 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #2 from jtossenb <jtossenb@gmail.com> ---
And the right video URL is: 
https://dl-web.dropbox.com/get/hi10p_sample.mp4?w=AAC8qnXfS0xxWbd5Fc2bkvWxMxeqlUiSkL-Dxe5C5BDVyw&dl=1&_subject_uid=67600211

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

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

* [Bug 88658] (bisected) Slow video playback on Kabini
  2015-01-21 10:10 [Bug 88658] Slow video playback on Kabini bugzilla-daemon
  2015-01-21 10:20 ` bugzilla-daemon
  2015-01-21 10:25 ` bugzilla-daemon
@ 2015-01-21 10:46 ` bugzilla-daemon
  2015-01-22  4:02 ` bugzilla-daemon
                   ` (9 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2015-01-21 10:46 UTC (permalink / raw)
  To: dri-devel


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

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

jtossenb <jtossenb@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Slow video playback on      |(bisected) Slow video
                   |Kabini                      |playback on Kabini

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

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

* [Bug 88658] (bisected) Slow video playback on Kabini
  2015-01-21 10:10 [Bug 88658] Slow video playback on Kabini bugzilla-daemon
                   ` (2 preceding siblings ...)
  2015-01-21 10:46 ` [Bug 88658] (bisected) " bugzilla-daemon
@ 2015-01-22  4:02 ` bugzilla-daemon
  2015-01-22  9:02 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2015-01-22  4:02 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #3 from Michel Dänzer <michel@daenzer.net> ---
What version of Mesa are you using? Does the problem already happen with Mesa
commit 07c65b85eada8dd34019763b6e82ed4257a9b4a6, or if not, can you bisect
Mesa?

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

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

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

* [Bug 88658] (bisected) Slow video playback on Kabini
  2015-01-21 10:10 [Bug 88658] Slow video playback on Kabini bugzilla-daemon
                   ` (3 preceding siblings ...)
  2015-01-22  4:02 ` bugzilla-daemon
@ 2015-01-22  9:02 ` bugzilla-daemon
  2015-01-22  9:23 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2015-01-22  9:02 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #4 from jtossenb <jtossenb@gmail.com> ---
My Arch Linux is up-to-date, I use Mesa 10.4.2 and so commit
07c65b85eada8dd34019763b6e82ed4257a9b4a6 is included. I am ready to do
bisecting Mesa if you wish, but at the moment I don't know where to start, what
kernel version to use during bisecting Mesa.

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

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

* [Bug 88658] (bisected) Slow video playback on Kabini
  2015-01-21 10:10 [Bug 88658] Slow video playback on Kabini bugzilla-daemon
                   ` (4 preceding siblings ...)
  2015-01-22  9:02 ` bugzilla-daemon
@ 2015-01-22  9:23 ` bugzilla-daemon
  2015-01-22 10:58 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2015-01-22  9:23 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #5 from Michel Dänzer <michel@daenzer.net> ---
(In reply to jtossenb from comment #4)
> My Arch Linux is up-to-date, I use Mesa 10.4.2 and so commit
> 07c65b85eada8dd34019763b6e82ed4257a9b4a6 is included.

If it wasn't included, you wouldn't have the problem. :)

My question was: If you build Mesa *at* commit
07c65b85eada8dd34019763b6e82ed4257a9b4a6, does the problem occur with that? If
not, please bisect Mesa between that commit and the 10.4.2 release. If yes,
there's nothing to bisect.

> I am ready to do bisecting Mesa if you wish, but at the moment I don't know
> where to start, what kernel version to use during bisecting Mesa.

Any kernel which exposes the problem in your testing so far should do.

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

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

* [Bug 88658] (bisected) Slow video playback on Kabini
  2015-01-21 10:10 [Bug 88658] Slow video playback on Kabini bugzilla-daemon
                   ` (5 preceding siblings ...)
  2015-01-22  9:23 ` bugzilla-daemon
@ 2015-01-22 10:58 ` bugzilla-daemon
  2015-01-22 17:40 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2015-01-22 10:58 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #6 from smoki <smoki00790@gmail.com> ---

 Well he can just try to revert this one again, Kodi seems to does not like
that:


http://cgit.freedesktop.org/mesa/mesa/commit/src/gallium/drivers/radeon/r600_buffer_common.c?id=7b4276d7acf2e0f77044cb50caa6ad936fa78786

 @Michel

 I guess this should be reverted again as Valley does not stutter with 3.19
kernel.

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

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

* [Bug 88658] (bisected) Slow video playback on Kabini
  2015-01-21 10:10 [Bug 88658] Slow video playback on Kabini bugzilla-daemon
                   ` (6 preceding siblings ...)
  2015-01-22 10:58 ` bugzilla-daemon
@ 2015-01-22 17:40 ` bugzilla-daemon
  2015-02-03  6:56 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2015-01-22 17:40 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #7 from jtossenb <jtossenb@gmail.com> ---
(In reply to smoki from comment #6)
>  Well he can just try to revert this one again, Kodi seems to does not like
> that:
> 
>  http://cgit.freedesktop.org/mesa/mesa/commit/src/gallium/drivers/radeon/
> r600_buffer_common.c?id=7b4276d7acf2e0f77044cb50caa6ad936fa78786

Thanks, it was a good idea!
I've built Mesa 10.4.2 with the reverted commit and the problem solved, Kodi
works fine now.
I used the original 3.18.2-2-ARCH kernel during the test.

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

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

* [Bug 88658] (bisected) Slow video playback on Kabini
  2015-01-21 10:10 [Bug 88658] Slow video playback on Kabini bugzilla-daemon
                   ` (7 preceding siblings ...)
  2015-01-22 17:40 ` bugzilla-daemon
@ 2015-02-03  6:56 ` bugzilla-daemon
  2015-02-03  8:10 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2015-02-03  6:56 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #8 from Michel Dänzer <michel@daenzer.net> ---
(In reply to jtossenb from comment #2)
> And the right video URL is: 
> https://dl-web.dropbox.com/get/hi10p_sample.mp4?w=AAC8qnXfS0xxWbd5Fc2bkvWxMxeqlUiSkL-Dxe5C5BDVyw&dl=1&_subject_uid=67600211

I get error 403 for that.

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

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

* [Bug 88658] (bisected) Slow video playback on Kabini
  2015-01-21 10:10 [Bug 88658] Slow video playback on Kabini bugzilla-daemon
                   ` (8 preceding siblings ...)
  2015-02-03  6:56 ` bugzilla-daemon
@ 2015-02-03  8:10 ` bugzilla-daemon
  2015-02-04  0:43 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2015-02-03  8:10 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #9 from jtossenb <jtossenb@gmail.com> ---
Sorry. I hope it works.
https://www.dropbox.com/s/3ronrw57r3n8hsn/hi10p_sample.mp4?dl=1

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

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

* [Bug 88658] (bisected) Slow video playback on Kabini
  2015-01-21 10:10 [Bug 88658] Slow video playback on Kabini bugzilla-daemon
                   ` (9 preceding siblings ...)
  2015-02-03  8:10 ` bugzilla-daemon
@ 2015-02-04  0:43 ` bugzilla-daemon
  2015-02-04 16:08 ` bugzilla-daemon
  2015-02-06  2:24 ` bugzilla-daemon
  12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2015-02-04  0:43 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #10 from Michel Dänzer <michel@daenzer.net> ---
Created attachment 113144
  --> https://bugs.freedesktop.org/attachment.cgi?id=113144&action=edit
st/mesa: Don't use PIPE_USAGE_STREAM for unpack PBOs

Does this Mesa patch help?

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

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

* [Bug 88658] (bisected) Slow video playback on Kabini
  2015-01-21 10:10 [Bug 88658] Slow video playback on Kabini bugzilla-daemon
                   ` (10 preceding siblings ...)
  2015-02-04  0:43 ` bugzilla-daemon
@ 2015-02-04 16:08 ` bugzilla-daemon
  2015-02-06  2:24 ` bugzilla-daemon
  12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2015-02-04 16:08 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #11 from jtossenb <jtossenb@gmail.com> ---
(In reply to Michel Dänzer from comment #10)
> Does this Mesa patch help?

Yes, it does!
mesa-10.4.3 + this patch works fine.
Thank you very much!

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

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

* [Bug 88658] (bisected) Slow video playback on Kabini
  2015-01-21 10:10 [Bug 88658] Slow video playback on Kabini bugzilla-daemon
                   ` (11 preceding siblings ...)
  2015-02-04 16:08 ` bugzilla-daemon
@ 2015-02-06  2:24 ` bugzilla-daemon
  12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2015-02-06  2:24 UTC (permalink / raw)
  To: dri-devel


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

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

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

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

--- Comment #12 from Michel Dänzer <michel@daenzer.net> ---
Module: Mesa
Branch: master
Commit: a338dc01866ce50bf7555ee8dc08491c7f63b585
URL:   
http://cgit.freedesktop.org/mesa/mesa/commit/?id=a338dc01866ce50bf7555ee8dc08491c7f63b585

Author: Michel Dänzer <michel.daenzer@amd.com>
Date:   Thu Feb  5 12:46:04 2015 +0900

st/mesa: Don't use PIPE_USAGE_STREAM for GL_PIXEL_UNPACK_BUFFER_ARB

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

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

end of thread, other threads:[~2015-02-06  2:24 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-21 10:10 [Bug 88658] Slow video playback on Kabini bugzilla-daemon
2015-01-21 10:20 ` bugzilla-daemon
2015-01-21 10:25 ` bugzilla-daemon
2015-01-21 10:46 ` [Bug 88658] (bisected) " bugzilla-daemon
2015-01-22  4:02 ` bugzilla-daemon
2015-01-22  9:02 ` bugzilla-daemon
2015-01-22  9:23 ` bugzilla-daemon
2015-01-22 10:58 ` bugzilla-daemon
2015-01-22 17:40 ` bugzilla-daemon
2015-02-03  6:56 ` bugzilla-daemon
2015-02-03  8:10 ` bugzilla-daemon
2015-02-04  0:43 ` bugzilla-daemon
2015-02-04 16:08 ` bugzilla-daemon
2015-02-06  2:24 ` 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.