From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 81579] New: VDPAU: videos slow to a crawl when more than 1 video is playing Date: Sun, 20 Jul 2014 23:30:55 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0659976393==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 8747E6E18F for ; Sun, 20 Jul 2014 16:30:55 -0700 (PDT) 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 --===============0659976393== Content-Type: multipart/alternative; boundary="1405899055.dbe6d0550.15160"; charset="us-ascii" --1405899055.dbe6d0550.15160 Date: Sun, 20 Jul 2014 23:30:55 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=81579 Priority: medium Bug ID: 81579 Assignee: dri-devel@lists.freedesktop.org Summary: VDPAU: videos slow to a crawl when more than 1 video is playing Severity: normal Classification: Unclassified OS: Linux (All) Reporter: joaoboia@outlook.com Hardware: x86-64 (AMD64) Status: NEW Version: 10.2 Component: Drivers/Gallium/r600 Product: Mesa If you try to view more than one video using hardware decoding videos will slow down and become unwatchable. For example when try use two VLC instances playing different videos or one video on VLC and one on XBMC or one video on XBMC and another on Firefox. Not sure if there's an actual hardware limitation on this or not. If it is a limitation of the hardware, it should deny access to the application so it can revert to software decoding. -- You are receiving this mail because: You are the assignee for the bug. --1405899055.dbe6d0550.15160 Date: Sun, 20 Jul 2014 23:30:55 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
Priority medium
Bug ID 81579
Assignee dri-devel@lists.freedesktop.org
Summary VDPAU: videos slow to a crawl when more than 1 video is playing
Severity normal
Classification Unclassified
OS Linux (All)
Reporter joaoboia@outlook.com
Hardware x86-64 (AMD64)
Status NEW
Version 10.2
Component Drivers/Gallium/r600
Product Mesa

If you try to view more than one video using hardware decoding videos will slow
down and become unwatchable. 

For example when try use two VLC instances playing different videos or one
video on VLC and one on XBMC or one video on XBMC and another on Firefox.

Not sure if there's an actual hardware limitation on this or not. If it is a
limitation of the hardware, it should deny access to the application so it can
revert to software decoding.


You are receiving this mail because:
  • You are the assignee for the bug.
--1405899055.dbe6d0550.15160-- --===============0659976393== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0659976393==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 81579] VDPAU: videos slow to a crawl when more than 1 video is playing Date: Mon, 21 Jul 2014 00:21:04 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1022462823==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 55CE66E1BA for ; Sun, 20 Jul 2014 17:21:04 -0700 (PDT) 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 --===============1022462823== Content-Type: multipart/alternative; boundary="1405902064.76eb1851.28639"; charset="us-ascii" --1405902064.76eb1851.28639 Date: Mon, 21 Jul 2014 00:21:04 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=81579 --- Comment #1 from Grigori Goronzy --- There is no particular hardware limitation - multiple concurrent UVD contexts are supported. This worked for me not long ago. Unless you try to play multiple 1080p60 videos at the same time or something like that, performance should be adequate. I'm not really sure if it is reasonably possible to catch these cases. Do you have trouble with concurrent UVD usage regardless of video codec and profile? E.g. does it also happen if you try to play two rather low-res, low-fps videos at the same time? -- You are receiving this mail because: You are the assignee for the bug. --1405902064.76eb1851.28639 Date: Mon, 21 Jul 2014 00:21:04 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 1 on bug 81579 from
There is no particular hardware limitation - multiple concurrent UVD contexts
are supported. This worked for me not long ago. Unless you try to play multiple
1080p60 videos at the same time or something like that, performance should be
adequate. I'm not really sure if it is reasonably possible to catch these
cases.

Do you have trouble with concurrent UVD usage regardless of video codec and
profile? E.g. does it also happen if you try to play two rather low-res,
low-fps videos at the same time?


You are receiving this mail because:
  • You are the assignee for the bug.
--1405902064.76eb1851.28639-- --===============1022462823== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============1022462823==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 81579] VDPAU: videos slow to a crawl when more than 1 video is playing Date: Mon, 21 Jul 2014 00:37:02 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0959269048==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 168E36E1BB for ; Sun, 20 Jul 2014 17:37:02 -0700 (PDT) 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 --===============0959269048== Content-Type: multipart/alternative; boundary="1405903021.80a70.32762"; charset="us-ascii" --1405903021.80a70.32762 Date: Mon, 21 Jul 2014 00:37:01 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=81579 --- Comment #2 from joaoboia@outlook.com --- It's mainly if you have two 1080p videos at 30FPS, with one at 1080p and one at 720p video it plays fine with no slowdowns. -- You are receiving this mail because: You are the assignee for the bug. --1405903021.80a70.32762 Date: Mon, 21 Jul 2014 00:37:01 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 2 on bug 81579 from
It's mainly if you have two 1080p videos at 30FPS, with one at 1080p and one at
720p video it plays fine with no slowdowns.


You are receiving this mail because:
  • You are the assignee for the bug.
--1405903021.80a70.32762-- --===============0959269048== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0959269048==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 81579] VDPAU: videos slow to a crawl when more than 1 video is playing Date: Mon, 21 Jul 2014 07:58:23 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0200204373==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id BD4866E2C1 for ; Mon, 21 Jul 2014 00:58:23 -0700 (PDT) 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 --===============0200204373== Content-Type: multipart/alternative; boundary="1405929503.3A46f1.21636"; charset="us-ascii" --1405929503.3A46f1.21636 Date: Mon, 21 Jul 2014 07:58:23 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D81579 --- Comment #3 from Christian K=C3=B6nig --- That just sounds like your hardware is to slow to handle two 1080p videos. = What hardware are you using? Apart from that falling back to software decoding if the hardware decoding capacity is used up is job of the media player application. Denying decodin= g if we already have a stream playing would just result in an black screen. --=20 You are receiving this mail because: You are the assignee for the bug. --1405929503.3A46f1.21636 Date: Mon, 21 Jul 2014 07:58:23 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Comment= # 3 on bug 81579<= /a> from Christian K=C3=B6nig
That just sounds like your hardware is to slow to handle two 1=
080p videos. What
hardware are you using?

Apart from that falling back to software decoding if the hardware decoding
capacity is used up is job of the media player application. Denying decodin=
g if
we already have a stream playing would just result in an black screen.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1405929503.3A46f1.21636-- --===============0200204373== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0200204373==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 81579] VDPAU: videos slow to a crawl when more than 1 video is playing Date: Mon, 21 Jul 2014 11:07:08 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1551142141==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id B01FF6E212 for ; Mon, 21 Jul 2014 04:07:08 -0700 (PDT) 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 --===============1551142141== Content-Type: multipart/alternative; boundary="1405940828.21f40.1519"; charset="us-ascii" --1405940828.21f40.1519 Date: Mon, 21 Jul 2014 11:07:08 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=81579 --- Comment #4 from joaoboia@outlook.com --- (In reply to comment #3) > That just sounds like your hardware is to slow to handle two 1080p videos. > What hardware are you using? > > Apart from that falling back to software decoding if the hardware decoding > capacity is used up is job of the media player application. Denying decoding > if we already have a stream playing would just result in an black screen. It's a HD4770, it would be UVD 2.2 I think. -- You are receiving this mail because: You are the assignee for the bug. --1405940828.21f40.1519 Date: Mon, 21 Jul 2014 11:07:08 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 4 on bug 81579 from
(In reply to comment #3)
> That just sounds like your hardware is to slow to handle two 1080p videos.
> What hardware are you using?
> 
> Apart from that falling back to software decoding if the hardware decoding
> capacity is used up is job of the media player application. Denying decoding
> if we already have a stream playing would just result in an black screen.

It's a HD4770, it would be UVD 2.2 I think.


You are receiving this mail because:
  • You are the assignee for the bug.
--1405940828.21f40.1519-- --===============1551142141== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============1551142141==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 81579] VDPAU: videos slow to a crawl when more than 1 video is playing Date: Mon, 21 Jul 2014 11:18:47 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2085684137==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 412F9891D4 for ; Mon, 21 Jul 2014 04:18:47 -0700 (PDT) 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 --===============2085684137== Content-Type: multipart/alternative; boundary="1405941527.44FbAcB1.4377"; charset="us-ascii" --1405941527.44FbAcB1.4377 Date: Mon, 21 Jul 2014 11:18:47 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D81579 --- Comment #5 from Christian K=C3=B6nig --- Please provide your full dmesg with dpm enabled, but that sounds like your = card just doesn't have enough power for two 1080p streams. --=20 You are receiving this mail because: You are the assignee for the bug. --1405941527.44FbAcB1.4377 Date: Mon, 21 Jul 2014 11:18:47 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Comment= # 5 on bug 81579<= /a> from Christian K=C3=B6nig
Please provide your full dmesg with dpm enabled, but that soun=
ds like your card
just doesn't have enough power for two 1080p streams.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1405941527.44FbAcB1.4377-- --===============2085684137== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============2085684137==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 81579] VDPAU: videos slow to a crawl when more than 1 video is playing Date: Mon, 21 Jul 2014 11:39:24 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1551179793==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 5EEE96E363 for ; Mon, 21 Jul 2014 04:39:24 -0700 (PDT) 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 --===============1551179793== Content-Type: multipart/alternative; boundary="1405942764.A3d4c0e00.10435"; charset="us-ascii" --1405942764.A3d4c0e00.10435 Date: Mon, 21 Jul 2014 11:39:24 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=81579 --- Comment #6 from joaoboia@outlook.com --- Created attachment 103186 --> https://bugs.freedesktop.org/attachment.cgi?id=103186&action=edit dmesg -- You are receiving this mail because: You are the assignee for the bug. --1405942764.A3d4c0e00.10435 Date: Mon, 21 Jul 2014 11:39:24 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"


You are receiving this mail because:
  • You are the assignee for the bug.
--1405942764.A3d4c0e00.10435-- --===============1551179793== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============1551179793==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 81579] VDPAU: videos slow to a crawl when more than 1 video is playing Date: Mon, 21 Jul 2014 13:47:33 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1143742952==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 154C66E3EB for ; Mon, 21 Jul 2014 06:47:33 -0700 (PDT) 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 --===============1143742952== Content-Type: multipart/alternative; boundary="1405950453.ea8eDAb01.12648"; charset="us-ascii" --1405950453.ea8eDAb01.12648 Date: Mon, 21 Jul 2014 13:47:33 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D81579 Christian K=C3=B6nig changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |NOTABUG --- Comment #7 from Christian K=C3=B6nig --- >[ 1.093019] =3D=3D power state 2 =3D=3D >[ 1.093019] ui class: none >[ 1.093020] internal class: uvd=20 >[ 1.093021] caps: video=20 >[ 1.093022] uvd vclk: 48000 dclk: 38000 >[ 1.093023] power level 0 sclk: 50000 mclk: 80000 vddc: 1000 >[ 1.093024] power level 1 sclk: 50000 mclk: 80000 vddc: 1000 >[ 1.093025] power level 2 sclk: 50000 mclk: 80000 vddc: 1000 The power table indeed has only a single UVD performance level and that doe= sn't looks like it is suitable for handling two 1080p streams at the same time. You need at least a vclk of 533Mhz and a dclk of 400Mhz for that. You can t= ry to hack into the kernel and overclock the UVD block, but I don't advise to = do so. OEMs usually have a good reason for limiting the clocks to a lower leve= l. Anyway that's clearly not a driver bug, cause the kernel does what it is supposed to do. --=20 You are receiving this mail because: You are the assignee for the bug. --1405950453.ea8eDAb01.12648 Date: Mon, 21 Jul 2014 13:47:33 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Christian K=C3=B6nig changed bug 81579<= /a>
What Removed Added
Status NEW RESOLVED
Resolution --- NOTABUG

Comment= # 7 on bug 81579<= /a> from Christian K=C3=B6nig
>[    1.093019] =3D=3D power state 2 =
=3D=3D
>[    1.093019] 	ui class: none
>[    1.093020] 	internal class: uvd=20
>[    1.093021] 	caps: video=20
>[    1.093022] 	uvd    vclk: 48000 dclk: 38000
>[    1.093023] 		power level 0    sclk: 50000 mclk: 80000 vddc: 1000
>[    1.093024] 		power level 1    sclk: 50000 mclk: 80000 vddc: 1000
>[    1.093025] 		power level 2    sclk: 50000 mclk: 80000 vddc: 1000

The power table indeed has only a single UVD performance level and that doe=
sn't
looks like it is suitable for handling two 1080p streams at the same time.

You need at least a vclk of 533Mhz and a dclk of 400Mhz for that. You can t=
ry
to hack into the kernel and overclock the UVD block, but I don't advise to =
do
so. OEMs usually have a good reason for limiting the clocks to a lower leve=
l.

Anyway that's clearly not a driver bug, cause the kernel does what it is
supposed to do.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1405950453.ea8eDAb01.12648-- --===============1143742952== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============1143742952==--