From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 73378] New: [UVD] uvd cannot enable on my RadeonHD7870 Date: Wed, 08 Jan 2014 01:38:06 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0817203604==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 7CCB7FA520 for ; Tue, 7 Jan 2014 17:38:06 -0800 (PST) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0817203604== Content-Type: multipart/alternative; boundary="1389145086.F61ee0.5189"; charset="us-ascii" --1389145086.F61ee0.5189 Date: Wed, 8 Jan 2014 01:38:06 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=73378 Priority: medium Bug ID: 73378 Assignee: dri-devel@lists.freedesktop.org Summary: [UVD] uvd cannot enable on my RadeonHD7870 Severity: normal Classification: Unclassified OS: Linux (All) Reporter: at86mouse@gmail.com Hardware: x86-64 (AMD64) Status: NEW Version: unspecified Component: DRM/Radeon Product: DRI Created attachment 91631 --> https://bugs.freedesktop.org/attachment.cgi?id=91631&action=edit linux-x86_64-full-dmesg I'm try to play video through vdpau , but vainfo shows no h264 VLD codec detecting. libva info: VA-API version 0.34.0 libva info: va_getDriverName() returns 0 libva info: User requested driver 'vdpau' libva info: Trying to open /usr/lib/dri/vdpau_drv_video.so libva info: Found init function __vaDriverInit_0_33 libva info: va_openDriver() returns 0 vainfo: VA-API version: 0.34 (libva 1.2.1) vainfo: Driver version: Splitted-Desktop Systems VDPAU backend for VA-API - 0.7.4 vainfo: Supported profile and entrypoints VAProfileMPEG2Simple : VAEntrypointVLD VAProfileMPEG2Main : VAEntrypointVLD env: LIBVA_DRIVER_NAME=vdpau VDPAU_DRIVER=radeonsi The dmesg show me some ib ring test failed, but i don't know how to going on, even pass (radeon.dpm=0) to kernel as the same error. [ 5.236963] [drm:radeon_uvd_send_upll_ctlreq] *ERROR* Timeout setting UVD clocks! [ 5.236972] [drm:uvd_v1_0_ib_test] *ERROR* radeon: failed to raise UVD clocks (-110). [ 5.236977] [drm:radeon_ib_ring_tests] *ERROR* radeon: failed testing IB on ring 5 (-110). And this command result that i don't know what its mean: root@ArchCC /home/atmouse # radeontool regmatch 0x0718 0x0718 0x0000001a (26) root@ArchCC /home/atmouse # radeontool regmatch 0x071c 0x071c 0xc080001c (-1065353188) root@ArchCC /home/atmouse # radeontool regmatch 0x0720 0x0720 0x3168680e (828925966) -- You are receiving this mail because: You are the assignee for the bug. --1389145086.F61ee0.5189 Date: Wed, 8 Jan 2014 01:38:06 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
Priority medium
Bug ID 73378
Assignee dri-devel@lists.freedesktop.org
Summary [UVD] uvd cannot enable on my RadeonHD7870
Severity normal
Classification Unclassified
OS Linux (All)
Reporter at86mouse@gmail.com
Hardware x86-64 (AMD64)
Status NEW
Version unspecified
Component DRM/Radeon
Product DRI

Created attachment 91631 [details]
linux-x86_64-full-dmesg

I'm try to play video through vdpau , but vainfo shows no h264 VLD codec
detecting.
libva info: VA-API version 0.34.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'vdpau'
libva info: Trying to open /usr/lib/dri/vdpau_drv_video.so
libva info: Found init function __vaDriverInit_0_33
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.34 (libva 1.2.1)
vainfo: Driver version: Splitted-Desktop Systems VDPAU backend for VA-API -
0.7.4
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointVLD

env:
LIBVA_DRIVER_NAME=vdpau
VDPAU_DRIVER=radeonsi

The dmesg show me some ib ring test failed, but i don't know how to going on,
even pass (radeon.dpm=0) to kernel as the same error.
[    5.236963] [drm:radeon_uvd_send_upll_ctlreq] *ERROR* Timeout setting UVD
clocks!
[    5.236972] [drm:uvd_v1_0_ib_test] *ERROR* radeon: failed to raise UVD
clocks (-110).
[    5.236977] [drm:radeon_ib_ring_tests] *ERROR* radeon: failed testing IB on
ring 5 (-110).

And this command result that i don't know what its mean:
root@ArchCC /home/atmouse # radeontool regmatch 0x0718  
0x0718    0x0000001a (26)
root@ArchCC /home/atmouse # radeontool regmatch 0x071c
0x071c    0xc080001c (-1065353188)
root@ArchCC /home/atmouse # radeontool regmatch 0x0720
0x0720    0x3168680e (828925966)


You are receiving this mail because:
  • You are the assignee for the bug.
--1389145086.F61ee0.5189-- --===============0817203604== 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 --===============0817203604==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 73378] [UVD] uvd cannot decode h264 or vc1 on my RadeonHD7870 Date: Wed, 08 Jan 2014 01:49:00 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1842010005==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 762AEFAB9A for ; Tue, 7 Jan 2014 17:49:00 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1842010005== Content-Type: multipart/alternative; boundary="1389145740.5fdAad40.7085"; charset="us-ascii" --1389145740.5fdAad40.7085 Date: Wed, 8 Jan 2014 01:49:00 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=73378 atmouse changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[UVD] uvd cannot enable on |[UVD] uvd cannot decode |my RadeonHD7870 |h264 or vc1 on my | |RadeonHD7870 -- You are receiving this mail because: You are the assignee for the bug. --1389145740.5fdAad40.7085 Date: Wed, 8 Jan 2014 01:49:00 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" changed bug 73378
What Removed Added
Summary [UVD] uvd cannot enable on my RadeonHD7870 [UVD] uvd cannot decode h264 or vc1 on my RadeonHD7870


You are receiving this mail because:
  • You are the assignee for the bug.
--1389145740.5fdAad40.7085-- --===============1842010005== 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 --===============1842010005==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 73378] [radeonsi] uvd cannot decode h264 or vc1 on my RadeonHD7870 Date: Wed, 08 Jan 2014 01:50:50 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1964052281==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 311FEFAC78 for ; Tue, 7 Jan 2014 17:50:50 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1964052281== Content-Type: multipart/alternative; boundary="1389145850.C7bC62a0.7560"; charset="us-ascii" --1389145850.C7bC62a0.7560 Date: Wed, 8 Jan 2014 01:50:49 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=73378 atmouse changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[UVD] uvd cannot decode |[radeonsi] uvd cannot |h264 or vc1 on my |decode h264 or vc1 on my |RadeonHD7870 |RadeonHD7870 -- You are receiving this mail because: You are the assignee for the bug. --1389145850.C7bC62a0.7560 Date: Wed, 8 Jan 2014 01:50:50 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" changed bug 73378
What Removed Added
Summary [UVD] uvd cannot decode h264 or vc1 on my RadeonHD7870 [radeonsi] uvd cannot decode h264 or vc1 on my RadeonHD7870


You are receiving this mail because:
  • You are the assignee for the bug.
--1389145850.C7bC62a0.7560-- --===============1964052281== 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 --===============1964052281==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 73378] [drm:radeon_uvd_send_upll_ctlreq] *ERROR* Timeout setting UVD clocks! Date: Thu, 09 Jan 2014 09:54:55 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1506107108==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 75E28106487 for ; Thu, 9 Jan 2014 01:54:55 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1506107108== Content-Type: multipart/alternative; boundary="1389261295.1e64DfE1.18156"; charset="us-ascii" --1389261295.1e64DfE1.18156 Date: Thu, 9 Jan 2014 09:54:55 +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=3D73378 Christian K=C3=B6nig changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[radeonsi] uvd cannot |[drm:radeon_uvd_send_upll_c |decode h264 or vc1 on my |tlreq] *ERROR* Timeout |RadeonHD7870 |setting UVD clocks! --=20 You are receiving this mail because: You are the assignee for the bug. --1389261295.1e64DfE1.18156 Date: Thu, 9 Jan 2014 09:54:55 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Christian K=C3=B6nig changed bug 73378<= /a>
What Removed Added
Summary [radeonsi] uvd cannot decode h264 or vc1 on my RadeonHD7870 [drm:radeon_uvd_send_upll_ctlreq] *ERROR* Timeout setting UV= D clocks!


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1389261295.1e64DfE1.18156-- --===============1506107108== 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 --===============1506107108==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 73378] [drm:radeon_uvd_send_upll_ctlreq] *ERROR* Timeout setting UVD clocks! Date: Thu, 09 Jan 2014 09:57:59 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1321182240==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id E44EB10652C for ; Thu, 9 Jan 2014 01:57:58 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1321182240== Content-Type: multipart/alternative; boundary="1389261478.8722caF1.18915"; charset="us-ascii" --1389261478.8722caF1.18915 Date: Thu, 9 Jan 2014 09:57:58 +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=3D73378 --- Comment #1 from Christian K=C3=B6nig --- Please double check that your hardware isn't overheating. Did you changed anything on the timing parameters (Over-clocking tools etc.= ..)? Cause the clocks for UVD mode look a bit odd. --=20 You are receiving this mail because: You are the assignee for the bug. --1389261478.8722caF1.18915 Date: Thu, 9 Jan 2014 09:57:58 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Comment= # 1 on bug 73378<= /a> from Christian K=C3=B6nig
Please double check that your hardware isn't overheating.

Did you changed anything on the timing parameters (Over-clocking tools etc.=
..)?
Cause the clocks for UVD mode look a bit odd.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1389261478.8722caF1.18915-- --===============1321182240== 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 --===============1321182240==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 73378] [drm:radeon_uvd_send_upll_ctlreq] *ERROR* Timeout setting UVD clocks! Date: Sun, 23 Mar 2014 19:09:30 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2117580412==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 3A8D86E76C for ; Sun, 23 Mar 2014 12:09:30 -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 --===============2117580412== Content-Type: multipart/alternative; boundary="1395601770.Dfd1Cb3a1.21751"; charset="us-ascii" --1395601770.Dfd1Cb3a1.21751 Date: Sun, 23 Mar 2014 19:09:30 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=73378 --- Comment #2 from glphvgacs --- Created attachment 96253 --> https://bugs.freedesktop.org/attachment.cgi?id=96253&action=edit full-dmesg grep for uvd_send -- You are receiving this mail because: You are the assignee for the bug. --1395601770.Dfd1Cb3a1.21751 Date: Sun, 23 Mar 2014 19:09:30 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 2 on bug 73378 from
Created attachment 96253 [details]
full-dmesg

grep for uvd_send


You are receiving this mail because:
  • You are the assignee for the bug.
--1395601770.Dfd1Cb3a1.21751-- --===============2117580412== 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 --===============2117580412==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 73378] [drm:radeon_uvd_send_upll_ctlreq] *ERROR* Timeout setting UVD clocks! Date: Sun, 23 Mar 2014 19:10:10 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0519344698==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 1CAEE6E76E for ; Sun, 23 Mar 2014 12:10:10 -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 --===============0519344698== Content-Type: multipart/alternative; boundary="1395601810.18b88b1.21958"; charset="us-ascii" --1395601810.18b88b1.21958 Date: Sun, 23 Mar 2014 19:10:10 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=73378 --- Comment #3 from glphvgacs --- same problem here. UVD is initialised properly but setting clocks timesout. -- You are receiving this mail because: You are the assignee for the bug. --1395601810.18b88b1.21958 Date: Sun, 23 Mar 2014 19:10:10 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 3 on bug 73378 from
same problem here. UVD is initialised properly but setting clocks timesout.


You are receiving this mail because:
  • You are the assignee for the bug.
--1395601810.18b88b1.21958-- --===============0519344698== 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 --===============0519344698==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 73378] [drm:radeon_uvd_send_upll_ctlreq] *ERROR* Timeout setting UVD clocks! Date: Mon, 24 Mar 2014 14:45:32 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1066960502==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 014006EA23 for ; Mon, 24 Mar 2014 07:45:32 -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 --===============1066960502== Content-Type: multipart/alternative; boundary="1395672331.876382611.27647"; charset="us-ascii" --1395672331.876382611.27647 Date: Mon, 24 Mar 2014 14:45:31 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=73378 --- Comment #4 from Alex Deucher --- (In reply to comment #3) > same problem here. UVD is initialised properly but setting clocks timesout. If this is a regression, can you bisect? -- You are receiving this mail because: You are the assignee for the bug. --1395672331.876382611.27647 Date: Mon, 24 Mar 2014 14:45:31 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 4 on bug 73378 from
(In reply to comment #3)
> same problem here. UVD is initialised properly but setting clocks timesout.

If this is a regression, can you bisect?


You are receiving this mail because:
  • You are the assignee for the bug.
--1395672331.876382611.27647-- --===============1066960502== 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 --===============1066960502==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 73378] [drm:radeon_uvd_send_upll_ctlreq] *ERROR* Timeout setting UVD clocks! Date: Mon, 05 May 2014 08:04:39 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1980757051==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 855A96E75A for ; Mon, 5 May 2014 01:04:39 -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 --===============1980757051== Content-Type: multipart/alternative; boundary="1399277079.027B06F2.12994"; charset="us-ascii" --1399277079.027B06F2.12994 Date: Mon, 5 May 2014 08:04:39 +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=3D73378 --- Comment #5 from =C3=96yvind Saether --- 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Pitcairn PRO [Radeon HD 7850] 3.14.2-gentoo [ 2.360636] [drm:radeon_uvd_send_upll_ctlreq] *ERROR* Timeout setting UVD clocks! [ 2.360795] [drm:uvd_v1_0_ib_test] *ERROR* radeon: failed to raise UVD clocks (-110). [ 2.360954] [drm:radeon_ib_ring_tests] *ERROR* radeon: failed testing IB= on ring 5 (-110). such fail. wow. also, suspend and resume does not work with 3.13 and 3.14 but works with 3.= 12 but I haz no clue if this has anything to do with radeon but those errors ^^ are present in this bug & latest kernels. --=20 You are receiving this mail because: You are the assignee for the bug. --1399277079.027B06F2.12994 Date: Mon, 5 May 2014 08:04:39 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Comment= # 5 on bug 73378<= /a> from =C3=96yvind Saether
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc=
. [AMD/ATI]
Pitcairn PRO [Radeon HD 7850]

3.14.2-gentoo

[    2.360636] [drm:radeon_uvd_send_upll_ctlreq] *ERROR* Timeout setting UVD
clocks!
[    2.360795] [drm:uvd_v1_0_ib_test] *ERROR* radeon: failed to raise UVD
clocks (-110).
[    2.360954] [drm:radeon_ib_ring_tests] *ERROR* radeon: failed testing IB=
 on
ring 5 (-110).

such fail. wow.

also, suspend and resume does not work with 3.13 and 3.14 but works with 3.=
12
but I haz no clue if this has anything to do with radeon but those errors ^^
are present in this bug & latest kernels.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1399277079.027B06F2.12994-- --===============1980757051== 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 --===============1980757051==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 73378] [drm:radeon_uvd_send_upll_ctlreq] *ERROR* Timeout setting UVD clocks! Date: Mon, 05 May 2014 13:22:38 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1351835241==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id F0DC56E8C2 for ; Mon, 5 May 2014 06:22:37 -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 --===============1351835241== Content-Type: multipart/alternative; boundary="1399296157.6b8802.16038"; charset="us-ascii" --1399296157.6b8802.16038 Date: Mon, 5 May 2014 13:22:37 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=73378 --- Comment #6 from Alex Deucher --- (In reply to comment #5) > > also, suspend and resume does not work with 3.13 and 3.14 but works with > 3.12 but I haz no clue if this has anything to do with radeon but those > errors ^^ are present in this bug & latest kernels. Can you bisect? -- You are receiving this mail because: You are the assignee for the bug. --1399296157.6b8802.16038 Date: Mon, 5 May 2014 13:22:37 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 6 on bug 73378 from
(In reply to comment #5)
> 
> also, suspend and resume does not work with 3.13 and 3.14 but works with
> 3.12 but I haz no clue if this has anything to do with radeon but those
> errors ^^ are present in this bug & latest kernels.

Can you bisect?


You are receiving this mail because:
  • You are the assignee for the bug.
--1399296157.6b8802.16038-- --===============1351835241== 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 --===============1351835241==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 73378] [drm:radeon_uvd_send_upll_ctlreq] *ERROR* Timeout setting UVD clocks! Date: Wed, 14 May 2014 22:00:59 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1862989026==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 023C26ED21 for ; Wed, 14 May 2014 15:00:59 -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 --===============1862989026== Content-Type: multipart/alternative; boundary="1400104858.4B222.25687"; charset="us-ascii" --1400104858.4B222.25687 Date: Wed, 14 May 2014 22:00:58 +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=3D73378 --- Comment #7 from =C3=96yvind Saether --- > Can you bisect? Not sure how to do that but if you want to point me to some instructions th= en please do. Basically suspend and resume works with 3.12 kernels but in later kernels I= can suspend and then resume once but after that the system does not suspend anymore. --=20 You are receiving this mail because: You are the assignee for the bug. --1400104858.4B222.25687 Date: Wed, 14 May 2014 22:00:58 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Comment= # 7 on bug 73378<= /a> from =C3=96yvind Saether
> Can you bisect?

Not sure how to do that but if you want to point me to some instructions th=
en
please do.

Basically suspend and resume works with 3.12 kernels but in later kernels I=
 can
suspend and then resume once but after that the system does not suspend
anymore.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1400104858.4B222.25687-- --===============1862989026== 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 --===============1862989026==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 73378] [drm:radeon_uvd_send_upll_ctlreq] *ERROR* Timeout setting UVD clocks! Date: Sun, 12 Oct 2014 20:40:54 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0154438290==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 3CD028979D for ; Sun, 12 Oct 2014 13:40:54 -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 --===============0154438290== Content-Type: multipart/alternative; boundary="1413146454.8C388E282.12188"; charset="UTF-8" --1413146454.8C388E282.12188 Date: Sun, 12 Oct 2014 20:40:54 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=73378 --- Comment #8 from sterfield@gmail.com --- Created attachment 107749 --> https://bugs.freedesktop.org/attachment.cgi?id=107749&action=edit lspci of my graphic card This is a result of "lspci -s 01:00.0 -vvv", showing all the details of my graphic card. -- You are receiving this mail because: You are the assignee for the bug. --1413146454.8C388E282.12188 Date: Sun, 12 Oct 2014 20:40:54 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 8 on bug 73378 from
Created attachment 107749 [details]
lspci of my graphic card

This is a result of "lspci -s 01:00.0 -vvv", showing all the details of my
graphic card.


You are receiving this mail because:
  • You are the assignee for the bug.
--1413146454.8C388E282.12188-- --===============0154438290== 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 --===============0154438290==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 73378] [drm:radeon_uvd_send_upll_ctlreq] *ERROR* Timeout setting UVD clocks! Date: Sun, 12 Oct 2014 20:41:46 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1989744831==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 8B9E689E0C for ; Sun, 12 Oct 2014 13:41:46 -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 --===============1989744831== Content-Type: multipart/alternative; boundary="1413146506.bCcDaa2.12422"; charset="UTF-8" --1413146506.bCcDaa2.12422 Date: Sun, 12 Oct 2014 20:41:46 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=73378 --- Comment #9 from sterfield@gmail.com --- Created attachment 107750 --> https://bugs.freedesktop.org/attachment.cgi?id=107750&action=edit dmesg Full dmesg after a cold boot, showing the UVD error. -- You are receiving this mail because: You are the assignee for the bug. --1413146506.bCcDaa2.12422 Date: Sun, 12 Oct 2014 20:41:46 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 9 on bug 73378 from
Created attachment 107750 [details]
dmesg

Full dmesg after a cold boot, showing the UVD error.


You are receiving this mail because:
  • You are the assignee for the bug.
--1413146506.bCcDaa2.12422-- --===============1989744831== 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 --===============1989744831==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 73378] [drm:radeon_uvd_send_upll_ctlreq] *ERROR* Timeout setting UVD clocks! Date: Sun, 12 Oct 2014 20:49:46 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0041802672==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 3926089F4F for ; Sun, 12 Oct 2014 13:49:46 -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 --===============0041802672== Content-Type: multipart/alternative; boundary="1413146986.FD3BB6c2.14992"; charset="UTF-8" --1413146986.FD3BB6c2.14992 Date: Sun, 12 Oct 2014 20:49:46 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=73378 --- Comment #10 from sterfield@gmail.com --- Hi, I've got the exact same error, preventing me to use UVD for H264 decoding [ 12.836644] [drm] Enabling RC6 states: RC6 on, RC6p off, RC6pp off [ 12.878552] [drm:radeon_uvd_send_upll_ctlreq] *ERROR* Timeout setting UVD clocks! [ 12.878574] [drm:uvd_v1_0_ib_test] *ERROR* radeon: failed to raise UVD clocks (-110). [ 12.878595] [drm:radeon_ib_ring_tests] *ERROR* radeon: failed testing IB on ring 5 (-110). I've tried with kernel 3.16-2-amd64 (from Debian testing), kernel 3.12.6 (from Debian backports), the issue is the same. As someone ask for "bisect", I did some google, and it apparently means that I have to find the previous package / library where the problem is not present. I supposed that it's located in libdrm-radeon1, so I tried last available package in sid (2.4.58-2) and back in wheezy (2.4.40-1), but the problem is still present in both version. I'm willing to help to find the root of this issue, and I'm able to do some test (I've spent several hours on this issue already), but I may just need some indication on where to search. Thanks for your help. -- You are receiving this mail because: You are the assignee for the bug. --1413146986.FD3BB6c2.14992 Date: Sun, 12 Oct 2014 20:49:46 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 10 on bug 73378 from
Hi,

I've got the exact same error, preventing me to use UVD for H264 decoding

[   12.836644] [drm] Enabling RC6 states: RC6 on, RC6p off, RC6pp off
[   12.878552] [drm:radeon_uvd_send_upll_ctlreq] *ERROR* Timeout setting UVD
clocks!
[   12.878574] [drm:uvd_v1_0_ib_test] *ERROR* radeon: failed to raise UVD
clocks (-110).
[   12.878595] [drm:radeon_ib_ring_tests] *ERROR* radeon: failed testing IB on
ring 5 (-110).


I've tried with kernel 3.16-2-amd64 (from Debian testing), kernel 3.12.6 (from
Debian backports), the issue is the same.

As someone ask for "bisect", I did some google, and it apparently means that I
have to find the previous package / library where the problem is not present. I
supposed that it's located in libdrm-radeon1, so I tried last available package
in sid (2.4.58-2) and back in wheezy (2.4.40-1), but the problem is still
present in both version.

I'm willing to help to find the root of this issue, and I'm able to do some
test (I've spent several hours on this issue already), but I may just need some
indication on where to search.

Thanks for your help.


You are receiving this mail because:
  • You are the assignee for the bug.
--1413146986.FD3BB6c2.14992-- --===============0041802672== 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 --===============0041802672==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 73378] [drm:radeon_uvd_send_upll_ctlreq] *ERROR* Timeout setting UVD clocks! Date: Sun, 07 Dec 2014 15:20:53 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2129597323==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id B25D06EB39 for ; Sun, 7 Dec 2014 07:20:53 -0800 (PST) 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 --===============2129597323== Content-Type: multipart/alternative; boundary="1417965653.BBd0deB2.3641"; charset="UTF-8" --1417965653.BBd0deB2.3641 Date: Sun, 7 Dec 2014 15:20:53 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=73378 --- Comment #11 from equeim@gmail.com --- I have the same issue with Radeon R9 280X. This happens only on cold boot. I've tried various kernels (3.14, 3.15, 3.17) without success. -- You are receiving this mail because: You are the assignee for the bug. --1417965653.BBd0deB2.3641 Date: Sun, 7 Dec 2014 15:20:53 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 11 on bug 73378 from
I have the same issue with Radeon R9 280X. This happens only on cold boot. I've
tried various kernels (3.14, 3.15, 3.17) without success.


You are receiving this mail because:
  • You are the assignee for the bug.
--1417965653.BBd0deB2.3641-- --===============2129597323== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============2129597323==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 73378] [drm:radeon_uvd_send_upll_ctlreq] *ERROR* Timeout setting UVD clocks! Date: Mon, 08 Dec 2014 15:52:13 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0334679605==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 386686E755 for ; Mon, 8 Dec 2014 07:52:13 -0800 (PST) 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 --===============0334679605== Content-Type: multipart/alternative; boundary="1418053933.0aF82.21421"; charset="UTF-8" --1418053933.0aF82.21421 Date: Mon, 8 Dec 2014 15:52:13 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=73378 --- Comment #12 from equeim@gmail.com --- Same on 3.18.0 -- You are receiving this mail because: You are the assignee for the bug. --1418053933.0aF82.21421 Date: Mon, 8 Dec 2014 15:52:13 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 12 on bug 73378 from
Same on 3.18.0


You are receiving this mail because:
  • You are the assignee for the bug.
--1418053933.0aF82.21421-- --===============0334679605== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0334679605==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 73378] [drm:radeon_uvd_send_upll_ctlreq] *ERROR* Timeout setting UVD clocks! Date: Fri, 26 Dec 2014 12:25:56 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1926817007==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id F17556E21E for ; Fri, 26 Dec 2014 04:25:56 -0800 (PST) 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 --===============1926817007== Content-Type: multipart/alternative; boundary="1419596756.8Caaa3b2.3567"; charset="UTF-8" --1419596756.8Caaa3b2.3567 Date: Fri, 26 Dec 2014 12:25:56 +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=3D73378 =C3=96yvind Saether changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |oyvinds@everdot.org --- Comment #13 from =C3=96yvind Saether --- Created attachment 111366 --> https://bugs.freedesktop.org/attachment.cgi?id=3D111366&action=3Dedit dmesg 3.18.1 with drm debug=3D0x06 [ 6.976062] [drm:radeon_uvd_send_upll_ctlreq] *ERROR* Timeout setting UVD clocks! [ 6.976064] [drm:uvd_v1_0_ib_test] *ERROR* radeon: failed to raise UVD clocks (-110). [ 6.976066] [drm:radeon_ib_ring_tests] *ERROR* radeon: failed testing IB= on ring 5 (-110). on 3.18.1, could this be because the card is factory overclocked? [ 5.613512] [drm:radeon_pm_print_states] 4 Power State(s) [ 5.613512] [drm:radeon_pm_print_states] State 0:=20 [ 5.613513] [drm:radeon_pm_print_states] Default [ 5.613514] [drm:radeon_pm_print_states] 16 PCIE Lanes [ 5.613514] [drm:radeon_pm_print_states] 1 Clock Mode(s) [ 5.613515] [drm:radeon_pm_print_states] 0 e: 860000 m: 1200000 v: 1210 [ 5.613516] [drm:radeon_pm_print_states] State 1: Performance [ 5.613517] [drm:radeon_pm_print_states] 16 PCIE Lanes [ 5.613517] [drm:radeon_pm_print_states] 3 Clock Mode(s) [ 5.613518] [drm:radeon_pm_print_states] 0 e: 300000 m: 500000 v: 825 [ 5.613519] [drm:radeon_pm_print_states] 1 e: 450000 m: 1225000 v: 900 [ 5.613520] [drm:radeon_pm_print_states] 2 e: 1000000 m: 1225000 v: 1210 [ 5.613520] [drm:radeon_pm_print_states] State 2:=20 [ 5.613521] [drm:radeon_pm_print_states] 16 PCIE Lanes [ 5.613521] [drm:radeon_pm_print_states] 3 Clock Mode(s) [ 5.613522] [drm:radeon_pm_print_states] 0 e: 450000 m: 1225000 v: 900 [ 5.613522] [drm:radeon_pm_print_states] 1 e: 450000 m: 1225000 v: 900 [ 5.613523] [drm:radeon_pm_print_states] 2 e: 1000000 m: 1225000 v: 1210 [ 5.613524] [drm:radeon_pm_print_states] State 3:=20 [ 5.613524] [drm:radeon_pm_print_states] 1 PCIE Lanes [ 5.613525] [drm:radeon_pm_print_states] 3 Clock Mode(s) [ 5.613526] [drm:radeon_pm_print_states] 0 e: 300000 m: 500000 v: 825 [ 5.613526] [drm:radeon_pm_print_states] 1 e: 300000 m: 500000 v: 825 [ 5.613527] [drm:radeon_pm_print_states] 2 e: 300000 m: 500000 v: 825 [ 5.613557] [drm] radeon: power management initialized --=20 You are receiving this mail because: You are the assignee for the bug. --1419596756.8Caaa3b2.3567 Date: Fri, 26 Dec 2014 12:25:56 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable =C3=96yvind Saether changed bug 73378<= /a>
What Removed Added
CC   oyvinds@everdot.org

Commen= t # 13 on bug 73378<= /a> from =C3=96yvind Saether
Created attac=
hment 111366 [details]
dmesg 3.18.1 with drm debug=3D0x06

[    6.976062] [drm:radeon_uvd_send_upll_ctlreq] *ERROR* Timeout setting UVD
clocks!
[    6.976064] [drm:uvd_v1_0_ib_test] *ERROR* radeon: failed to raise UVD
clocks (-110).
[    6.976066] [drm:radeon_ib_ring_tests] *ERROR* radeon: failed testing IB=
 on
ring 5 (-110).

on 3.18.1, could this be because the card is factory overclocked?

[    5.613512] [drm:radeon_pm_print_states] 4 Power State(s)
[    5.613512] [drm:radeon_pm_print_states] State 0:=20
[    5.613513] [drm:radeon_pm_print_states]     Default
[    5.613514] [drm:radeon_pm_print_states]     16 PCIE Lanes
[    5.613514] [drm:radeon_pm_print_states]     1 Clock Mode(s)
[    5.613515] [drm:radeon_pm_print_states]             0 e: 860000     m:
1200000      v: 1210
[    5.613516] [drm:radeon_pm_print_states] State 1: Performance
[    5.613517] [drm:radeon_pm_print_states]     16 PCIE Lanes
[    5.613517] [drm:radeon_pm_print_states]     3 Clock Mode(s)
[    5.613518] [drm:radeon_pm_print_states]             0 e: 300000     m:
500000       v: 825
[    5.613519] [drm:radeon_pm_print_states]             1 e: 450000     m:
1225000      v: 900
[    5.613520] [drm:radeon_pm_print_states]             2 e: 1000000    m:
1225000      v: 1210
[    5.613520] [drm:radeon_pm_print_states] State 2:=20
[    5.613521] [drm:radeon_pm_print_states]     16 PCIE Lanes
[    5.613521] [drm:radeon_pm_print_states]     3 Clock Mode(s)
[    5.613522] [drm:radeon_pm_print_states]             0 e: 450000     m:
1225000      v: 900
[    5.613522] [drm:radeon_pm_print_states]             1 e: 450000     m:
1225000      v: 900
[    5.613523] [drm:radeon_pm_print_states]             2 e: 1000000    m:
1225000      v: 1210
[    5.613524] [drm:radeon_pm_print_states] State 3:=20
[    5.613524] [drm:radeon_pm_print_states]     1 PCIE Lanes
[    5.613525] [drm:radeon_pm_print_states]     3 Clock Mode(s)
[    5.613526] [drm:radeon_pm_print_states]             0 e: 300000     m:
500000       v: 825
[    5.613526] [drm:radeon_pm_print_states]             1 e: 300000     m:
500000       v: 825
[    5.613527] [drm:radeon_pm_print_states]             2 e: 300000     m:
500000       v: 825
[    5.613557] [drm] radeon: power management initialized


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1419596756.8Caaa3b2.3567-- --===============1926817007== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1926817007==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 73378] [drm:radeon_uvd_send_upll_ctlreq] *ERROR* Timeout setting UVD clocks! Date: Fri, 26 Dec 2014 12:37:03 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0457522536==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id A76606E344 for ; Fri, 26 Dec 2014 04:37:03 -0800 (PST) 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 --===============0457522536== Content-Type: multipart/alternative; boundary="1419597423.ee6A2.8046"; charset="UTF-8" --1419597423.ee6A2.8046 Date: Fri, 26 Dec 2014 12:37:03 +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=3D73378 --- Comment #14 from Christian K=C3=B6nig --- (In reply to =C3=96yvind Saether from comment #13) > on 3.18.1, could this be because the card is factory overclocked? Yes, that's possible. If you activate UVD you must downclock the system clo= ck for it to work reliable. Not sure if we have implemented that correctly for= SI. --=20 You are receiving this mail because: You are the assignee for the bug. --1419597423.ee6A2.8046 Date: Fri, 26 Dec 2014 12:37:03 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 14 on bug 73378<= /a> from Christian K=C3=B6nig
(In reply to =C3=96yvind Saether from comment #13)
> on 3.18.1, could this be because the card is fac=
tory overclocked?

Yes, that's possible. If you activate UVD you must downclock the system clo=
ck
for it to work reliable. Not sure if we have implemented that correctly for=
 SI.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1419597423.ee6A2.8046-- --===============0457522536== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0457522536==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 73378] [drm:radeon_uvd_send_upll_ctlreq] *ERROR* Timeout setting UVD clocks! Date: Wed, 28 Jan 2015 17:29:56 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0962374377==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 32DFB6E752 for ; Wed, 28 Jan 2015 09:29:56 -0800 (PST) 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 --===============0962374377== Content-Type: multipart/alternative; boundary="1422466196.e8AC0B2.27366"; charset="UTF-8" --1422466196.e8AC0B2.27366 Date: Wed, 28 Jan 2015 17:29:56 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=73378 --- Comment #15 from Chernovsky Oleg --- I can help with code here. What should be implemented, roughly? -- You are receiving this mail because: You are the assignee for the bug. --1422466196.e8AC0B2.27366 Date: Wed, 28 Jan 2015 17:29:56 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 15 on bug 73378 from
I can help with code here.

What should be implemented, roughly?


You are receiving this mail because:
  • You are the assignee for the bug.
--1422466196.e8AC0B2.27366-- --===============0962374377== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0962374377==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 73378] [drm:radeon_uvd_send_upll_ctlreq] *ERROR* Timeout setting UVD clocks! Date: Wed, 28 Jan 2015 18:35:11 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0541826239==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 54E446E75B for ; Wed, 28 Jan 2015 10:35:12 -0800 (PST) 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 --===============0541826239== Content-Type: multipart/alternative; boundary="1422470111.fEE7bF3.9841"; charset="UTF-8" --1422470111.fEE7bF3.9841 Date: Wed, 28 Jan 2015 18:35:11 +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=3D73378 --- Comment #16 from Alex Deucher --- (In reply to Christian K=C3=B6nig from comment #14) > (In reply to =C3=96yvind Saether from comment #13) > > on 3.18.1, could this be because the card is factory overclocked? >=20 > Yes, that's possible. If you activate UVD you must downclock the system > clock for it to work reliable. Not sure if we have implemented that > correctly for SI. We already handle it. SI has UVD power states which also include validated sclk and mclk levels that are often different than the performance state. = The driver switches to those states when UVD is used. At driver load time (when the ring and IB tests are done), the hw is still in the boot state (which h= as really low clocks) anyway. --=20 You are receiving this mail because: You are the assignee for the bug. --1422470111.fEE7bF3.9841 Date: Wed, 28 Jan 2015 18:35:11 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 16 on bug 73378<= /a> from Alex Deucher
(In reply to Christian K=C3=B6nig from comment #14)
> (In reply to =C3=96yvind Saether from comment #13)
> > on 3.18.1, could this be because the card is factory overclocked?
>=20
> Yes, that's possible. If you activate UVD you must downclock the system
> clock for it to work reliable. Not sure if we have implemented that
> correctly for SI.

We already handle it.  SI has UVD power states which also include validated
sclk and mclk levels that are often different than the performance state.  =
The
driver switches to those states when UVD is used.  At driver load time (when
the ring and IB tests are done), the hw is still in the boot state (which h=
as
really low clocks) anyway.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1422470111.fEE7bF3.9841-- --===============0541826239== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0541826239==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 73378] [drm:radeon_uvd_send_upll_ctlreq] *ERROR* Timeout setting UVD clocks! Date: Wed, 28 Jan 2015 18:47:22 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1807686685==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id DA4AC6E75D for ; Wed, 28 Jan 2015 10:47:22 -0800 (PST) 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 --===============1807686685== Content-Type: multipart/alternative; boundary="1422470842.eaFB2cD3.12073"; charset="UTF-8" --1422470842.eaFB2cD3.12073 Date: Wed, 28 Jan 2015 18:47:22 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=73378 --- Comment #17 from Alex Deucher --- On older versions of the driver we init dpm after everything else, so the ring and ib tests happen before we even touch the dpm hw so clocks are at their low boot up levels. On newer versions of the driver we init dpm early, but we don't enable the non boot states until the end of the init sequence after the ring and ib tests. >>From the log: [ 5.237881] == power state 0 == [ 5.237882] ui class: none [ 5.237883] internal class: boot [ 5.237884] caps: [ 5.237885] uvd vclk: 0 dclk: 0 [ 5.237887] power level 0 sclk: 15000 mclk: 15000 vddc: 900 vddci: 950 pcie gen: 2 [ 5.237887] status: c r b This is the boot state. The clocks are fixed at 150Mhz for both sclk and mclk. [ 5.237889] == power state 1 == [ 5.237890] ui class: performance [ 5.237890] internal class: none [ 5.237891] caps: [ 5.237892] uvd vclk: 0 dclk: 0 [ 5.237893] power level 0 sclk: 30000 mclk: 15000 vddc: 825 vddci: 850 pcie gen: 2 [ 5.237895] power level 1 sclk: 45000 mclk: 120000 vddc: 900 vddci: 975 pcie gen: 2 [ 5.237896] power level 2 sclk: 100000 mclk: 120000 vddc: 1219 vddci: 975 pcie gen: 2 [ 5.237896] status: This is the performance state. The sclk can range from 300 Mhz to 1Ghz and the mclk can range from 150Mhz to 1.2Ghz based on GPU demand. [ 5.237897] == power state 2 == [ 5.237898] ui class: none [ 5.237898] internal class: uvd [ 5.237899] caps: video [ 5.237901] uvd vclk: 72000 dclk: 56000 [ 5.237902] power level 0 sclk: 45000 mclk: 120000 vddc: 900 vddci: 975 pcie gen: 2 [ 5.237903] power level 1 sclk: 45000 mclk: 120000 vddc: 900 vddci: 975 pcie gen: 2 [ 5.237904] power level 2 sclk: 100000 mclk: 120000 vddc: 1219 vddci: 975 pcie gen: 2 [ 5.237905] status: This is the UVD state. As you can see there is a floor of 450Mhz on the sclk to maintain the necessary performance level for post processing and presentation. [ 5.237905] == power state 3 == [ 5.237906] ui class: none [ 5.237907] internal class: ulv [ 5.237908] caps: [ 5.237909] uvd vclk: 0 dclk: 0 [ 5.237910] power level 0 sclk: 30000 mclk: 15000 vddc: 825 vddci: 850 pcie gen: 2 [ 5.237911] power level 1 sclk: 30000 mclk: 15000 vddc: 825 vddci: 850 pcie gen: 2 [ 5.237912] power level 2 sclk: 30000 mclk: 15000 vddc: 825 vddci: 850 pcie gen: 2 This is the ulv state which is only active when the board is completely idle. -- You are receiving this mail because: You are the assignee for the bug. --1422470842.eaFB2cD3.12073 Date: Wed, 28 Jan 2015 18:47:22 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 17 on bug 73378 from
On older versions of the driver we init dpm after everything else, so the ring
and ib tests happen before we even touch the dpm hw so clocks are at their low
boot up levels.

On newer versions of the driver we init dpm early, but we don't enable the non
boot states until the end of the init sequence after the ring and ib tests.

>>From the log:

[    5.237881] == power state 0 ==
[    5.237882]     ui class: none
[    5.237883]     internal class: boot 
[    5.237884]     caps: 
[    5.237885]     uvd    vclk: 0 dclk: 0
[    5.237887]         power level 0    sclk: 15000 mclk: 15000 vddc: 900
vddci: 950 pcie gen: 2
[    5.237887]     status: c r b 

This is the boot state.  The clocks are fixed at 150Mhz for both sclk and mclk.

[    5.237889] == power state 1 ==
[    5.237890]     ui class: performance
[    5.237890]     internal class: none
[    5.237891]     caps: 
[    5.237892]     uvd    vclk: 0 dclk: 0
[    5.237893]         power level 0    sclk: 30000 mclk: 15000 vddc: 825
vddci: 850 pcie gen: 2
[    5.237895]         power level 1    sclk: 45000 mclk: 120000 vddc: 900
vddci: 975 pcie gen: 2
[    5.237896]         power level 2    sclk: 100000 mclk: 120000 vddc: 1219
vddci: 975 pcie gen: 2
[    5.237896]     status: 


This is the performance state.  The sclk can range from 300 Mhz to 1Ghz and the
mclk can range from 150Mhz to 1.2Ghz based on GPU demand.

[    5.237897] == power state 2 ==
[    5.237898]     ui class: none
[    5.237898]     internal class: uvd 
[    5.237899]     caps: video 
[    5.237901]     uvd    vclk: 72000 dclk: 56000
[    5.237902]         power level 0    sclk: 45000 mclk: 120000 vddc: 900
vddci: 975 pcie gen: 2
[    5.237903]         power level 1    sclk: 45000 mclk: 120000 vddc: 900
vddci: 975 pcie gen: 2
[    5.237904]         power level 2    sclk: 100000 mclk: 120000 vddc: 1219
vddci: 975 pcie gen: 2
[    5.237905]     status: 

This is the UVD state.  As you can see there is a floor of 450Mhz on the sclk
to maintain the necessary performance level for post processing and
presentation.

[    5.237905] == power state 3 ==
[    5.237906]     ui class: none
[    5.237907]     internal class: ulv 
[    5.237908]     caps: 
[    5.237909]     uvd    vclk: 0 dclk: 0
[    5.237910]         power level 0    sclk: 30000 mclk: 15000 vddc: 825
vddci: 850 pcie gen: 2
[    5.237911]         power level 1    sclk: 30000 mclk: 15000 vddc: 825
vddci: 850 pcie gen: 2
[    5.237912]         power level 2    sclk: 30000 mclk: 15000 vddc: 825
vddci: 850 pcie gen: 2

This is the ulv state which is only active when the board is completely idle.


You are receiving this mail because:
  • You are the assignee for the bug.
--1422470842.eaFB2cD3.12073-- --===============1807686685== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1807686685==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 73378] [drm:radeon_uvd_send_upll_ctlreq] *ERROR* Timeout setting UVD clocks! Date: Wed, 28 Jan 2015 20:44:25 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0268938564==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 61C3F6E467 for ; Wed, 28 Jan 2015 12:44:25 -0800 (PST) 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 --===============0268938564== Content-Type: multipart/alternative; boundary="1422477865.E5BB2.4294"; charset="UTF-8" --1422477865.E5BB2.4294 Date: Wed, 28 Jan 2015 20:44:25 +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=3D73378 --- Comment #18 from Chernovsky Oleg --- (In reply to Alex Deucher from comment #16) > (In reply to Christian K=C3=B6nig from comment #14) > > (In reply to =C3=96yvind Saether from comment #13) > > > on 3.18.1, could this be because the card is factory overclocked? > >=20 > > Yes, that's possible. If you activate UVD you must downclock the system > > clock for it to work reliable. Not sure if we have implemented that > > correctly for SI. >=20 > We already handle it. SI has UVD power states which also include validat= ed > sclk and mclk levels that are often different than the performance state.= =20 > The driver switches to those states when UVD is used. At driver load time > (when the ring and IB tests are done), the hw is still in the boot state > (which has really low clocks) anyway. Hm-m, just tried drm-next-3.20 branch and: [ 365.200918] [drm:radeon_uvd_send_upll_ctlreq [radeon]] *ERROR* Timeout setting UVD clocks! [ 365.200922] [drm:uvd_v1_0_ib_test [radeon]] *ERROR* radeon: failed to ra= ise UVD clocks (-110). [ 365.200928] [drm:radeon_ib_ring_tests [radeon]] *ERROR* radeon: failed testing IB on ring 5 (-110). Both on cold start and resume from suspend, Pitcairn, Mesa 10.4.3 Ah yes, the card is factory overclocked (at least box states so) It's not very painful for me but if I can help somehow, I'm in --=20 You are receiving this mail because: You are the assignee for the bug. --1422477865.E5BB2.4294 Date: Wed, 28 Jan 2015 20:44:25 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 18 on bug 73378<= /a> from = Chernovsky Oleg
(In reply to Alex Deucher from comment #16)
> (In reply to Christian K=C3=B6nig from comment #14)
> > (In reply to =C3=96yvind Saether from comment #13)
> > > on 3.18.1, could this be because the card is factory overclo=
cked?
> >=20
> > Yes, that's possible. If you activate UVD you must downclock the =
system
> > clock for it to work reliable. Not sure if we have implemented th=
at
> > correctly for SI.
>=20
> We already handle it.  SI has UVD power states which also include vali=
dated
> sclk and mclk levels that are often different than the performance sta=
te.=20
> The driver switches to those states when UVD is used.  At driver load =
time
> (when the ring and IB tests are done), the hw is still in the boot sta=
te
> (which has really low clocks) anyway.

Hm-m, just tried drm-next-3.20 branch and:

[  365.200918] [drm:radeon_uvd_send_upll_ctlreq [radeon]] *ERROR* Timeout
setting UVD clocks!
[  365.200922] [drm:uvd_v1_0_ib_test [radeon]] *ERROR* radeon: failed to ra=
ise
UVD clocks (-110).
[  365.200928] [drm:radeon_ib_ring_tests [radeon]] *ERROR* radeon: failed
testing IB on ring 5 (-110).


Both on cold start and resume from suspend, Pitcairn, Mesa 10.4.3
Ah yes, the card is factory overclocked (at least box states so)

It's not very painful for me but if I can help somehow, I'm in


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1422477865.E5BB2.4294-- --===============0268938564== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0268938564==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 73378] [drm:radeon_uvd_send_upll_ctlreq] *ERROR* Timeout setting UVD clocks! Date: Wed, 28 Jan 2015 21:43:12 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0898277301==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 4FB206E604 for ; Wed, 28 Jan 2015 13:43:12 -0800 (PST) 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 --===============0898277301== Content-Type: multipart/alternative; boundary="1422481392.C6c06A3.19369"; charset="UTF-8" --1422481392.C6c06A3.19369 Date: Wed, 28 Jan 2015 21:43:12 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=73378 --- Comment #19 from Alex Deucher --- (In reply to Chernovsky Oleg from comment #18) > Hm-m, just tried drm-next-3.20 branch and: > > [ 365.200918] [drm:radeon_uvd_send_upll_ctlreq [radeon]] *ERROR* Timeout > setting UVD clocks! > [ 365.200922] [drm:uvd_v1_0_ib_test [radeon]] *ERROR* radeon: failed to > raise UVD clocks (-110). > [ 365.200928] [drm:radeon_ib_ring_tests [radeon]] *ERROR* radeon: failed > testing IB on ring 5 (-110). > > > Both on cold start and resume from suspend, Pitcairn, Mesa 10.4.3 > Ah yes, the card is factory overclocked (at least box states so) > > It's not very painful for me but if I can help somehow, I'm in I don't think it will make a difference, but you can try limiting the clocks in si_apply_state_adjust_rules(). Take a look at the quirk handling code for how to limit the sclk and mclk. -- You are receiving this mail because: You are the assignee for the bug. --1422481392.C6c06A3.19369 Date: Wed, 28 Jan 2015 21:43:12 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 19 on bug 73378 from
(In reply to Chernovsky Oleg from comment #18)
> Hm-m, just tried drm-next-3.20 branch and:
> 
> [  365.200918] [drm:radeon_uvd_send_upll_ctlreq [radeon]] *ERROR* Timeout
> setting UVD clocks!
> [  365.200922] [drm:uvd_v1_0_ib_test [radeon]] *ERROR* radeon: failed to
> raise UVD clocks (-110).
> [  365.200928] [drm:radeon_ib_ring_tests [radeon]] *ERROR* radeon: failed
> testing IB on ring 5 (-110).
> 
> 
> Both on cold start and resume from suspend, Pitcairn, Mesa 10.4.3
> Ah yes, the card is factory overclocked (at least box states so)
> 
> It's not very painful for me but if I can help somehow, I'm in

I don't think it will make a difference, but you can try limiting the clocks in
si_apply_state_adjust_rules().  Take a look at the quirk handling code for how
to limit the sclk and mclk.


You are receiving this mail because:
  • You are the assignee for the bug.
--1422481392.C6c06A3.19369-- --===============0898277301== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0898277301==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 73378] [drm:radeon_uvd_send_upll_ctlreq] *ERROR* Timeout setting UVD clocks! Date: Thu, 29 Jan 2015 10:44:43 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0918225753==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 7A4D96E739 for ; Thu, 29 Jan 2015 02:44:43 -0800 (PST) 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 --===============0918225753== Content-Type: multipart/alternative; boundary="1422528283.Ec08b8653.29946"; charset="UTF-8" --1422528283.Ec08b8653.29946 Date: Thu, 29 Jan 2015 10:44:43 +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=3D73378 --- Comment #20 from Christian K=C3=B6nig --- (In reply to Chernovsky Oleg from comment #15) > I can help with code here. >=20 > What should be implemented, roughly? Sounds good. I assume you got a card with that problem. First of all try if UVD works otherwise. E.g. we raise the clocks for the b= oot up test (and lower them again after that), but that's actually not necessary most of the time. So get into radeon_uvd_send_upll_ctlreq, just comment out the error return value and pretend everything worked fine. Then check if the following IB test works or not. If that doesn't work the input clocks to the PLL doesn't seem to work and we have a clock routing problem or something like that. If that works the PLL = just doesn't likes our parameters and we need to figure out why. Feel free to contact me by mail if you have more questions. Thanks, Christian. --=20 You are receiving this mail because: You are the assignee for the bug. --1422528283.Ec08b8653.29946 Date: Thu, 29 Jan 2015 10:44:43 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 20 on bug 73378<= /a> from Christian K=C3=B6nig
(In reply to Chernovsky Oleg from comment #15)
> I can help with code here.
>=20
> What should be implemented, roughly?

Sounds good. I assume you got a card with that problem.

First of all try if UVD works otherwise. E.g. we raise the clocks for the b=
oot
up test (and lower them again after that), but that's actually not necessary
most of the time.

So get into radeon_uvd_send_upll_ctlreq, just comment out the error return
value and pretend everything worked fine.

Then check if the following IB test works or not.

If that doesn't work the input clocks to the PLL doesn't seem to work and we
have a clock routing problem or something like that. If that works the PLL =
just
doesn't likes our parameters and we need to figure out why.

Feel free to contact me by mail if you have more questions.

Thanks,
Christian.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1422528283.Ec08b8653.29946-- --===============0918225753== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0918225753==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 73378] [drm:radeon_uvd_send_upll_ctlreq] *ERROR* Timeout setting UVD clocks! Date: Fri, 30 Jan 2015 20:13:41 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1732630410==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id BF1706E86E for ; Fri, 30 Jan 2015 12:13:41 -0800 (PST) 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 --===============1732630410== Content-Type: multipart/alternative; boundary="1422648821.aFbf2.16467"; charset="UTF-8" --1422648821.aFbf2.16467 Date: Fri, 30 Jan 2015 20:13:41 +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=3D73378 --- Comment #21 from Chernovsky Oleg --- (In reply to Christian K=C3=B6nig from comment #20) > (In reply to Chernovsky Oleg from comment #15) > > I can help with code here. > >=20 > > What should be implemented, roughly? >=20 > Sounds good. I assume you got a card with that problem. >=20 > First of all try if UVD works otherwise. E.g. we raise the clocks for the > boot up test (and lower them again after that), but that's actually not > necessary most of the time. >=20 > So get into radeon_uvd_send_upll_ctlreq, just comment out the error return > value and pretend everything worked fine. >=20 > Then check if the following IB test works or not. >=20 > If that doesn't work the input clocks to the PLL doesn't seem to work and= we > have a clock routing problem or something like that. If that works the PLL > just doesn't likes our parameters and we need to figure out why. >=20 > Feel free to contact me by mail if you have more questions. >=20 > Thanks, > Christian. Yes, I have a card with that problem Ok Christian, I'll be doing tests on this weekend and report here. If this won't work out, I'll look through the code Alex mentioned. Thanks for clarifications! --=20 You are receiving this mail because: You are the assignee for the bug. --1422648821.aFbf2.16467 Date: Fri, 30 Jan 2015 20:13:41 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 21 on bug 73378<= /a> from = Chernovsky Oleg
(In reply to Christian K=C3=B6nig from comment #20)
> (In reply to Chernovsky Oleg from comment #15)
> > I can help with code here.
> >=20
> > What should be implemented, roughly?
>=20
> Sounds good. I assume you got a card with that problem.
>=20
> First of all try if UVD works otherwise. E.g. we raise the clocks for =
the
> boot up test (and lower them again after that), but that's actually not
> necessary most of the time.
>=20
> So get into radeon_uvd_send_upll_ctlreq, just comment out the error re=
turn
> value and pretend everything worked fine.
>=20
> Then check if the following IB test works or not.
>=20
> If that doesn't work the input clocks to the PLL doesn't seem to work =
and we
> have a clock routing problem or something like that. If that works the=
 PLL
> just doesn't likes our parameters and we need to figure out why.
>=20
> Feel free to contact me by mail if you have more questions.
>=20
> Thanks,
> Christian.

Yes, I have a card with that problem

Ok Christian, I'll be doing tests on this weekend and report here.
If this won't work out, I'll look through the code Alex mentioned.

Thanks for clarifications!


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1422648821.aFbf2.16467-- --===============1732630410== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1732630410==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 73378] [drm:radeon_uvd_send_upll_ctlreq] *ERROR* Timeout setting UVD clocks! Date: Fri, 30 Jan 2015 23:35:57 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1456132684==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 1A51F6E1AE for ; Fri, 30 Jan 2015 15:35:57 -0800 (PST) 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 --===============1456132684== Content-Type: multipart/alternative; boundary="1422660957.1307Fd2.22449"; charset="UTF-8" --1422660957.1307Fd2.22449 Date: Fri, 30 Jan 2015 23:35:57 +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=3D73378 --- Comment #22 from Chernovsky Oleg --- (In reply to Christian K=C3=B6nig from comment #20) It seems you were right, Christian, now I see [ 120.417486] [drm] UVD initialized successfully. I've played some videos using -vo=3Dvdpau -hwdec=3Dvdpau, all seems smooth What are our next steps then? --=20 You are receiving this mail because: You are the assignee for the bug. --1422660957.1307Fd2.22449 Date: Fri, 30 Jan 2015 23:35:57 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 22 on bug 73378<= /a> from = Chernovsky Oleg
(In reply to Christian K=C3=B6nig from comment #20)

It seems you were right, Christian, now I see

[  120.417486] [drm] UVD initialized successfully.

I've played some videos using -vo=3Dvdpau -hwdec=3Dvdpau, all seems smooth

What are our next steps then?


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1422660957.1307Fd2.22449-- --===============1456132684== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1456132684==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 73378] [drm:radeon_uvd_send_upll_ctlreq] *ERROR* Timeout setting UVD clocks! Date: Fri, 30 Jan 2015 23:43:51 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2140188454==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 583C36E894 for ; Fri, 30 Jan 2015 15:43:51 -0800 (PST) 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 --===============2140188454== Content-Type: multipart/alternative; boundary="1422661431.Dba68f2.23916"; charset="UTF-8" --1422661431.Dba68f2.23916 Date: Fri, 30 Jan 2015 23:43:51 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=73378 --- Comment #23 from Chernovsky Oleg --- Wow! Pls forget my last comment completely. Just tried to watch H264 video and it was slow as hell :( Playing: Zoku Sayonara Zetsubou Sensei - 06.mkv [stream] Video (+) --vid=1 (h264) [stream] Audio (+) --aid=1 --alang=jpn (*) (aac) Trying to use hardware decoding. AO: [pulse] 48000Hz stereo 2ch float VO: [vdpau] 1280x720 vdpau AV: 00:00:00 / 00:23:59 (0%) A-V: 0.346 ************************************************* **** Audio/Video desynchronisation detected! **** ************************************************* AV: 00:00:00 / 00:23:59 (0%) A-V: 2.083 Dropped: 3 Exiting... (Quit) mpv --vo=vdpau --hwdec=vdpau Zoku\ Sayonara\ Zetsubou\ Sensei\ -\ 06.mkv 0,16s user 14,18s system 96% cpu 14,790 total -- You are receiving this mail because: You are the assignee for the bug. --1422661431.Dba68f2.23916 Date: Fri, 30 Jan 2015 23:43:51 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 23 on bug 73378 from
Wow! Pls forget my last comment completely.

Just tried to watch H264 video and it was slow as hell :(


Playing: Zoku Sayonara Zetsubou Sensei - 06.mkv
[stream] Video (+) --vid=1 (h264)
[stream] Audio (+) --aid=1 --alang=jpn (*) (aac)
Trying to use hardware decoding.
AO: [pulse] 48000Hz stereo 2ch float
VO: [vdpau] 1280x720 vdpau
AV: 00:00:00 / 00:23:59 (0%) A-V:  0.346


           *************************************************
           **** Audio/Video desynchronisation detected! ****
           *************************************************

AV: 00:00:00 / 00:23:59 (0%) A-V:  2.083 Dropped: 3
Exiting... (Quit)
mpv --vo=vdpau --hwdec=vdpau Zoku\ Sayonara\ Zetsubou\ Sensei\ -\ 06.mkv  0,16s
user 14,18s system 96% cpu 14,790 total


You are receiving this mail because:
  • You are the assignee for the bug.
--1422661431.Dba68f2.23916-- --===============2140188454== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============2140188454==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 73378] [drm:radeon_uvd_send_upll_ctlreq] *ERROR* Timeout setting UVD clocks! Date: Sat, 31 Jan 2015 10:18:06 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1407394354==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id F0CEC6E212 for ; Sat, 31 Jan 2015 02:18:06 -0800 (PST) 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 --===============1407394354== Content-Type: multipart/alternative; boundary="1422699486.83f38E83.26918"; charset="UTF-8" --1422699486.83f38E83.26918 Date: Sat, 31 Jan 2015 10:18:06 +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=3D73378 --- Comment #24 from Christian K=C3=B6nig --- (In reply to Chernovsky Oleg from comment #23) > Wow! Pls forget my last comment completely. >=20 > Just tried to watch H264 video and it was slow as hell :( Which is the espected result if you don't setup the clocks :) In this case the UVD block runs with the default 100Mhz instead of the desi= red 400,500,900 or whatever the power tables say we should programm it to. At l= east we now knew that the input frequency works well. Now take a look at si_set_uvd_clocks in si.c. Especially try to figure out = if the first or the second call to radeon_uvd_send_upll_ctlreq fails. Additional to that please install radeontool and get me the content of the CG_UPLL_* registers. E.g. I need the output of: radeontool regmatch 0x634 radeontool regmatch 0x638 radeontool regmatch 0x63c radeontool regmatch 0x644 radeontool regmatch 0x648 radeontool regmatch 0x650 Thanks, Christian. --=20 You are receiving this mail because: You are the assignee for the bug. --1422699486.83f38E83.26918 Date: Sat, 31 Jan 2015 10:18:06 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 24 on bug 73378<= /a> from Christian K=C3=B6nig
(In reply to Chernovsky Oleg from comment #23)
> Wow! Pls forget my last comment completely.
>=20
> Just tried to watch H264 video and it was slow as hell :(

Which is the espected result if you don't setup the clocks :)

In this case the UVD block runs with the default 100Mhz instead of the desi=
red
400,500,900 or whatever the power tables say we should programm it to. At l=
east
we now knew that the input frequency works well.

Now take a look at si_set_uvd_clocks in si.c. Especially try to figure out =
if
the first or the second call to radeon_uvd_send_upll_ctlreq fails.

Additional to that please install radeontool and get me the content of the
CG_UPLL_* registers. E.g. I need the output of:

radeontool regmatch 0x634
radeontool regmatch 0x638
radeontool regmatch 0x63c
radeontool regmatch 0x644
radeontool regmatch 0x648
radeontool regmatch 0x650

Thanks,
Christian.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1422699486.83f38E83.26918-- --===============1407394354== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1407394354==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 73378] [drm:radeon_uvd_send_upll_ctlreq] *ERROR* Timeout setting UVD clocks! Date: Sat, 31 Jan 2015 22:19:01 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1986408047==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 39CED6E287 for ; Sat, 31 Jan 2015 14:19:01 -0800 (PST) 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 --===============1986408047== Content-Type: multipart/alternative; boundary="1422742741.2CcC2.16476"; charset="UTF-8" --1422742741.2CcC2.16476 Date: Sat, 31 Jan 2015 22:19:01 +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=3D73378 --- Comment #25 from Chernovsky Oleg --- (In reply to Christian K=C3=B6nig from comment #24) > Now take a look at si_set_uvd_clocks in si.c. Especially try to figure out > if the first or the second call to radeon_uvd_send_upll_ctlreq fails. >=20 > Additional to that please install radeontool and get me the content of the > CG_UPLL_* registers. E.g. I need the output of: >=20 > radeontool regmatch 0x634 > radeontool regmatch 0x638 > radeontool regmatch 0x63c > radeontool regmatch 0x644 > radeontool regmatch 0x648 > radeontool regmatch 0x650 >=20 > Thanks, > Christian. It's the first call to this function in si_set_uvd_clocks that's failing. Doesn't work in bypass mode? Or maybe too low mdelay before call? [ 2.237380] [drm] At call 1 [ 3.278457] [drm] At call 2 [ 3.288474] [drm] Passed! Registers dump: 0x634 0x00000706 (1798) 0x638 0x021e0403 (35521539) 0x63c 0x100ece38 (269405752) 0x644 0x00820000 (8519680) 0x648 0x00000000 (0) --=20 You are receiving this mail because: You are the assignee for the bug. --1422742741.2CcC2.16476 Date: Sat, 31 Jan 2015 22:19:01 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 25 on bug 73378<= /a> from = Chernovsky Oleg
(In reply to Christian K=C3=B6nig from comment #24)
> Now take a look at si_set_uvd_clocks in si.c. Es=
pecially try to figure out
> if the first or the second call to radeon_uvd_send_upll_ctlreq fails.
>=20
> Additional to that please install radeontool and get me the content of=
 the
> CG_UPLL_* registers. E.g. I need the output of:
>=20
> radeontool regmatch 0x634
> radeontool regmatch 0x638
> radeontool regmatch 0x63c
> radeontool regmatch 0x644
> radeontool regmatch 0x648
> radeontool regmatch 0x650
>=20
> Thanks,
> Christian.

It's the first call to this function in si_set_uvd_clocks that's failing.
Doesn't work in bypass mode? Or maybe too low mdelay before call?

[    2.237380] [drm] At call 1
[    3.278457] [drm] At call 2
[    3.288474] [drm] Passed!

Registers dump:
0x634   0x00000706 (1798)
0x638   0x021e0403 (35521539)
0x63c   0x100ece38 (269405752)
0x644   0x00820000 (8519680)
0x648   0x00000000 (0)


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1422742741.2CcC2.16476-- --===============1986408047== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1986408047==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 73378] [drm:radeon_uvd_send_upll_ctlreq] *ERROR* Timeout setting UVD clocks! Date: Sat, 31 Jan 2015 23:33:19 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2111016565==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 086BD6E287 for ; Sat, 31 Jan 2015 15:33:19 -0800 (PST) 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 --===============2111016565== Content-Type: multipart/alternative; boundary="1422747198.AfC62.28863"; charset="UTF-8" --1422747198.AfC62.28863 Date: Sat, 31 Jan 2015 23:33:18 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=73378 --- Comment #26 from Chernovsky Oleg --- Ah, forgot the last reg 0x648 0x00000000 (0) P.S. tried to increase wait delay with no success -- You are receiving this mail because: You are the assignee for the bug. --1422747198.AfC62.28863 Date: Sat, 31 Jan 2015 23:33:18 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 26 on bug 73378 from
Ah, forgot the last reg

0x648   0x00000000 (0)

P.S. tried to increase wait delay with no success


You are receiving this mail because:
  • You are the assignee for the bug.
--1422747198.AfC62.28863-- --===============2111016565== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============2111016565==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 73378] [drm:radeon_uvd_send_upll_ctlreq] *ERROR* Timeout setting UVD clocks! Date: Sun, 01 Feb 2015 10:10:37 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1583018580==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 100D76E2CA for ; Sun, 1 Feb 2015 02:10:37 -0800 (PST) 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 --===============1583018580== Content-Type: multipart/alternative; boundary="1422785437.C32f3.30386"; charset="UTF-8" --1422785437.C32f3.30386 Date: Sun, 1 Feb 2015 10:10:37 +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=3D73378 --- Comment #27 from Christian K=C3=B6nig --- (In reply to Chernovsky Oleg from comment #25) > It's the first call to this function in si_set_uvd_clocks that's failing. > Doesn't work in bypass mode? Or maybe too low mdelay before call? >=20 > [ 2.237380] [drm] At call 1 > [ 3.278457] [drm] At call 2 > [ 3.288474] [drm] Passed! Well just that I got it right: The first call runs into an error, but after issuing the reset and reprogramming everything the second call succeeds? In this case I would just speculate that somebody (the BIOS?) programmed the PLL with such incorrect values that it locked up and need a reset to work properly again. Can you just reduce the first call to radeon_uvd_send_upll_ctlreq to a warn= ing and continue? If the second call works we have successfully programmed the = PLL and everything is fine. --=20 You are receiving this mail because: You are the assignee for the bug. --1422785437.C32f3.30386 Date: Sun, 1 Feb 2015 10:10:37 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 27 on bug 73378<= /a> from Christian K=C3=B6nig
(In reply to Chernovsky Oleg from comment #25)
> It's the first call to this function in si_set_u=
vd_clocks that's failing.
> Doesn't work in bypass mode? Or maybe too low mdelay before call?
>=20
> [    2.237380] [drm] At call 1
> [    3.278457] [drm] At call 2
> [    3.288474] [drm] Passed!

Well just that I got it right: The first call runs into an error, but after
issuing the reset and reprogramming everything the second call succeeds?

In this case I would just speculate that somebody (the BIOS?) programmed the
PLL with such incorrect values that it locked up and need a reset to work
properly again.

Can you just reduce the first call to radeon_uvd_send_upll_ctlreq to a warn=
ing
and continue? If the second call works we have successfully programmed the =
PLL
and everything is fine.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1422785437.C32f3.30386-- --===============1583018580== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1583018580==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 73378] [drm:radeon_uvd_send_upll_ctlreq] *ERROR* Timeout setting UVD clocks! Date: Sun, 01 Feb 2015 11:01:06 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1671969805==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 9519A6E2D4 for ; Sun, 1 Feb 2015 03:01:06 -0800 (PST) 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 --===============1671969805== Content-Type: multipart/alternative; boundary="1422788466.F55dA2.6216"; charset="UTF-8" --1422788466.F55dA2.6216 Date: Sun, 1 Feb 2015 11:01:06 +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=3D73378 --- Comment #28 from Chernovsky Oleg --- (In reply to Christian K=C3=B6nig from comment #27) > >=20 > > [ 2.237380] [drm] At call 1 > > [ 3.278457] [drm] At call 2 > > [ 3.288474] [drm] Passed! >=20 > Well just that I got it right: The first call runs into an error, but aft= er > issuing the reset and reprogramming everything the second call succeeds? Yep, the DRM_INFO was at the "break" line in a loop of radeon_uvd_send_upll_ctlreq. >=20 > In this case I would just speculate that somebody (the BIOS?) programmed = the > PLL with such incorrect values that it locked up and need a reset to work > properly again. >=20 > Can you just reduce the first call to radeon_uvd_send_upll_ctlreq to a > warning and continue? If the second call works we have successfully > programmed the PLL and everything is fine. But does it differ from previous behaviour when both calls were reduced to return success even on timeout? Could the first call lock PLL somehow? I'll try again today. --=20 You are receiving this mail because: You are the assignee for the bug. --1422788466.F55dA2.6216 Date: Sun, 1 Feb 2015 11:01:06 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 28 on bug 73378<= /a> from = Chernovsky Oleg
(In reply to Christian K=C3=B6nig from comment #27)
> >=20
> > [    2.237380] [drm] At call 1
> > [    3.278457] [drm] At call 2
> > [    3.288474] [drm] Passed!
>=20
> Well just that I got it right: The first call runs into an error, but =
after
> issuing the reset and reprogramming everything the second call succeed=
s?

Yep, the DRM_INFO was at the "break" line in a loop of
radeon_uvd_send_upll_ctlreq.

>=20
> In this case I would just speculate that somebody (the BIOS?) programm=
ed the
> PLL with such incorrect values that it locked up and need a reset to w=
ork
> properly again.
>=20
> Can you just reduce the first call to radeon_uvd_send_upll_ctlreq to a
> warning and continue? If the second call works we have successfully
> programmed the PLL and everything is fine.

But does it differ from previous behaviour when both calls were reduced to
return success even on timeout? Could the first call lock PLL somehow?

I'll try again today.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1422788466.F55dA2.6216-- --===============1671969805== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1671969805==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 73378] [drm:radeon_uvd_send_upll_ctlreq] *ERROR* Timeout setting UVD clocks! Date: Thu, 05 Feb 2015 22:36:23 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1052251758==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id BE2256E866 for ; Thu, 5 Feb 2015 14:36:23 -0800 (PST) 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 --===============1052251758== Content-Type: multipart/alternative; boundary="1423175783.073eBCFe2.20510"; charset="UTF-8" --1423175783.073eBCFe2.20510 Date: Thu, 5 Feb 2015 22:36:23 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=73378 --- Comment #29 from Chernovsky Oleg --- No luck. Tried various hacks and commenting return values. Will try mmiotracing these registers from fglrx on weekend -- You are receiving this mail because: You are the assignee for the bug. --1423175783.073eBCFe2.20510 Date: Thu, 5 Feb 2015 22:36:23 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 29 on bug 73378 from
No luck. Tried various hacks and commenting return values.

Will try mmiotracing these registers from fglrx on weekend


You are receiving this mail because:
  • You are the assignee for the bug.
--1423175783.073eBCFe2.20510-- --===============1052251758== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1052251758==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 73378] [drm:radeon_uvd_send_upll_ctlreq] *ERROR* Timeout setting UVD clocks! Date: Fri, 06 Feb 2015 09:19:23 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1208280594==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id E85B96E8F6 for ; Fri, 6 Feb 2015 01:19:22 -0800 (PST) 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 --===============1208280594== Content-Type: multipart/alternative; boundary="1423214362.0dc6f3A73.7378"; charset="UTF-8" --1423214362.0dc6f3A73.7378 Date: Fri, 6 Feb 2015 09:19:22 +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=3D73378 --- Comment #30 from Christian K=C3=B6nig --- (In reply to Chernovsky Oleg from comment #29) > No luck. Tried various hacks and commenting return values. >=20 > Will try mmiotracing these registers from fglrx on weekend Be careful that to write no irrational values into the PLL registers, e.g. don't use partly radeon partly fglrx settings. I once over clocked UVD to 4GHz instead of 400MHz by accident and the card = is still working, but at least in theory you can damage the hardware with that. --=20 You are receiving this mail because: You are the assignee for the bug. --1423214362.0dc6f3A73.7378 Date: Fri, 6 Feb 2015 09:19:22 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 30 on bug 73378<= /a> from Christian K=C3=B6nig
(In reply to Chernovsky Oleg from comment #29)
> No luck. Tried various hacks and commenting retu=
rn values.
>=20
> Will try mmiotracing these registers from fglrx on weekend

Be careful that to write no irrational values into the PLL registers, e.g.
don't use partly radeon partly fglrx settings.

I once over clocked UVD to 4GHz instead of 400MHz by accident and the card =
is
still working, but at least in theory you can damage the hardware with that=
.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1423214362.0dc6f3A73.7378-- --===============1208280594== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1208280594==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 73378] [drm:radeon_uvd_send_upll_ctlreq] *ERROR* Timeout setting UVD clocks! Date: Sun, 15 Feb 2015 09:37:14 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1448131872==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 0DFD96E1EA for ; Sun, 15 Feb 2015 01:37:14 -0800 (PST) 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 --===============1448131872== Content-Type: multipart/alternative; boundary="1423993034.a3d72.22220"; charset="UTF-8" --1423993034.a3d72.22220 Date: Sun, 15 Feb 2015 09:37:14 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=73378 --- Comment #31 from Chernovsky Oleg --- Tried to launch vdpau-accelerated mpv with fglrx driver and mmiotrace. Interesting, the CG_UPLL_FUNC_CNTL always has flags 0x100 | 0x600 R 4 456.556542 1 0xf0000634 0x707 0x0 0 W 4 456.556547 1 0xf0000634 0x705 0x0 0 R 4 456.556553 1 0xf0000634 0x705 0x0 0 W 4 456.556576 1 0xf0000634 0x705 0x0 0 R 4 456.556688 1 0xf0000634 0x705 0x0 0 W 4 456.556693 1 0xf0000634 0x705 0x0 0 R 4 456.556709 1 0xf0000634 0x705 0x0 0 R 4 456.556725 1 0xf0000634 0x705 0x0 0 W 4 456.556730 1 0xf0000634 0x705 0x0 0 R 4 456.556771 1 0xf0000634 0x705 0x0 0 W 4 456.556776 1 0xf0000634 0x704 0x0 0 R 4 456.556837 1 0xf0000634 0x704 0x0 0 W 4 456.556842 1 0xf0000634 0x700 0x0 0 W 4 456.556847 1 0xf0000634 0x708 0x0 0 Any ideas what can 0x100 mask be for? -- You are receiving this mail because: You are the assignee for the bug. --1423993034.a3d72.22220 Date: Sun, 15 Feb 2015 09:37:14 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 31 on bug 73378 from
Tried to launch vdpau-accelerated mpv with fglrx driver and mmiotrace.
Interesting, the CG_UPLL_FUNC_CNTL always has flags 0x100 | 0x600

R 4 456.556542 1 0xf0000634 0x707 0x0 0
W 4 456.556547 1 0xf0000634 0x705 0x0 0
R 4 456.556553 1 0xf0000634 0x705 0x0 0
W 4 456.556576 1 0xf0000634 0x705 0x0 0
R 4 456.556688 1 0xf0000634 0x705 0x0 0
W 4 456.556693 1 0xf0000634 0x705 0x0 0
R 4 456.556709 1 0xf0000634 0x705 0x0 0
R 4 456.556725 1 0xf0000634 0x705 0x0 0
W 4 456.556730 1 0xf0000634 0x705 0x0 0
R 4 456.556771 1 0xf0000634 0x705 0x0 0
W 4 456.556776 1 0xf0000634 0x704 0x0 0
R 4 456.556837 1 0xf0000634 0x704 0x0 0
W 4 456.556842 1 0xf0000634 0x700 0x0 0
W 4 456.556847 1 0xf0000634 0x708 0x0 0

Any ideas what can 0x100 mask be for?


You are receiving this mail because:
  • You are the assignee for the bug.
--1423993034.a3d72.22220-- --===============1448131872== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1448131872==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 73378] [drm:radeon_uvd_send_upll_ctlreq] *ERROR* Timeout setting UVD clocks! Date: Sun, 15 Feb 2015 10:12:49 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0303868229==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 4A8BD6E3EC for ; Sun, 15 Feb 2015 02:12:49 -0800 (PST) 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 --===============0303868229== Content-Type: multipart/alternative; boundary="1423995169.68A03.27081"; charset="UTF-8" --1423995169.68A03.27081 Date: Sun, 15 Feb 2015 10:12:49 +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=3D73378 --- Comment #32 from Christian K=C3=B6nig --- (In reply to Chernovsky Oleg from comment #31) > Tried to launch vdpau-accelerated mpv with fglrx driver and mmiotrace. > Interesting, the CG_UPLL_FUNC_CNTL always has flags 0x100 | 0x600 >=20 > R 4 456.556542 1 0xf0000634 0x707 0x0 0 > W 4 456.556547 1 0xf0000634 0x705 0x0 0 > R 4 456.556553 1 0xf0000634 0x705 0x0 0 > W 4 456.556576 1 0xf0000634 0x705 0x0 0 > R 4 456.556688 1 0xf0000634 0x705 0x0 0 > W 4 456.556693 1 0xf0000634 0x705 0x0 0 > R 4 456.556709 1 0xf0000634 0x705 0x0 0 > R 4 456.556725 1 0xf0000634 0x705 0x0 0 > W 4 456.556730 1 0xf0000634 0x705 0x0 0 > R 4 456.556771 1 0xf0000634 0x705 0x0 0 > W 4 456.556776 1 0xf0000634 0x704 0x0 0 > R 4 456.556837 1 0xf0000634 0x704 0x0 0 > W 4 456.556842 1 0xf0000634 0x700 0x0 0 > W 4 456.556847 1 0xf0000634 0x708 0x0 0 >=20 > Any ideas what can 0x100 mask be for? Strange, the hardware docs say this is for routing the reset signal and shouldn't be touched by the driver, e.g. it should always be 1. Is that bit 0 when you use the open source driver? --=20 You are receiving this mail because: You are the assignee for the bug. --1423995169.68A03.27081 Date: Sun, 15 Feb 2015 10:12:49 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 32 on bug 73378<= /a> from Christian K=C3=B6nig
(In reply to Chernovsky Oleg from comment #31)
> Tried to launch vdpau-accelerated mpv with fglrx=
 driver and mmiotrace.
> Interesting, the CG_UPLL_FUNC_CNTL always has flags 0x100 | 0x600
>=20
> R 4 456.556542 1 0xf0000634 0x707 0x0 0
> W 4 456.556547 1 0xf0000634 0x705 0x0 0
> R 4 456.556553 1 0xf0000634 0x705 0x0 0
> W 4 456.556576 1 0xf0000634 0x705 0x0 0
> R 4 456.556688 1 0xf0000634 0x705 0x0 0
> W 4 456.556693 1 0xf0000634 0x705 0x0 0
> R 4 456.556709 1 0xf0000634 0x705 0x0 0
> R 4 456.556725 1 0xf0000634 0x705 0x0 0
> W 4 456.556730 1 0xf0000634 0x705 0x0 0
> R 4 456.556771 1 0xf0000634 0x705 0x0 0
> W 4 456.556776 1 0xf0000634 0x704 0x0 0
> R 4 456.556837 1 0xf0000634 0x704 0x0 0
> W 4 456.556842 1 0xf0000634 0x700 0x0 0
> W 4 456.556847 1 0xf0000634 0x708 0x0 0
>=20
> Any ideas what can 0x100 mask be for?

Strange, the hardware docs say this is for routing the reset signal and
shouldn't be touched by the driver, e.g. it should always be 1.

Is that bit 0 when you use the open source driver?


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1423995169.68A03.27081-- --===============0303868229== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0303868229==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 73378] [drm:radeon_uvd_send_upll_ctlreq] *ERROR* Timeout setting UVD clocks! Date: Sun, 15 Feb 2015 11:09:48 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0601005552==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 453E46E201 for ; Sun, 15 Feb 2015 03:09:48 -0800 (PST) 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 --===============0601005552== Content-Type: multipart/alternative; boundary="1423998588.0ED62.4358"; charset="UTF-8" --1423998588.0ED62.4358 Date: Sun, 15 Feb 2015 11:09:48 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=73378 --- Comment #33 from Chernovsky Oleg --- Yep, I rechecked it and it seems set to 1 always... Anyway I gathered around 18 Mb of mmiotrace logs to investigate. Now digging through divider and clock registers. P.S. I only fear that maybe I launched mmiotrace too late, I did rmmod and then modprobe fglrx again. Could it setup any registers at the first run? Because at second it touched UVD only when I launched mpv. -- You are receiving this mail because: You are the assignee for the bug. --1423998588.0ED62.4358 Date: Sun, 15 Feb 2015 11:09:48 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 33 on bug 73378 from
Yep, I rechecked it and it seems set to 1 always...

Anyway I gathered around 18 Mb of mmiotrace logs to investigate. Now digging
through divider and clock registers.

P.S. I only fear that maybe I launched mmiotrace too late, I did rmmod and then
modprobe fglrx again. Could it setup any registers at the first run? Because at
second it touched UVD only when I launched mpv.


You are receiving this mail because:
  • You are the assignee for the bug.
--1423998588.0ED62.4358-- --===============0601005552== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0601005552==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 73378] [drm:radeon_uvd_send_upll_ctlreq] *ERROR* Timeout setting UVD clocks! Date: Sun, 15 Feb 2015 11:12:07 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0867737348==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id D5F3B6E205 for ; Sun, 15 Feb 2015 03:12:07 -0800 (PST) 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 --===============0867737348== Content-Type: multipart/alternative; boundary="1423998727.d4bb2.4790"; charset="UTF-8" --1423998727.d4bb2.4790 Date: Sun, 15 Feb 2015 11:12:07 +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=3D73378 --- Comment #34 from Chernovsky Oleg --- (In reply to Christian K=C3=B6nig from comment #32) > Strange, the hardware docs say this is for routing the reset signal and > shouldn't be touched by the driver, e.g. it should always be 1. Is this some kind of open hardware docs? Or just internal? Maybe I missed something --=20 You are receiving this mail because: You are the assignee for the bug. --1423998727.d4bb2.4790 Date: Sun, 15 Feb 2015 11:12:07 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 34 on bug 73378<= /a> from = Chernovsky Oleg
(In reply to Christian K=C3=B6nig from comment #32)

> Strange, the hardware docs say this is for routi=
ng the reset signal and
> shouldn't be touched by the driver, e.g. it should always be 1.

Is this some kind of open hardware docs? Or just internal? Maybe I missed
something


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1423998727.d4bb2.4790-- --===============0867737348== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0867737348==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 73378] [drm:radeon_uvd_send_upll_ctlreq] *ERROR* Timeout setting UVD clocks! Date: Mon, 16 Feb 2015 17:21:49 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1384183653==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 356516E31A for ; Mon, 16 Feb 2015 09:21:49 -0800 (PST) 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 --===============1384183653== Content-Type: multipart/alternative; boundary="1424107309.AE6783.24618"; charset="UTF-8" --1424107309.AE6783.24618 Date: Mon, 16 Feb 2015 17:21:49 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=73378 --- Comment #35 from Alex Deucher --- (In reply to Chernovsky Oleg from comment #34) > > Is this some kind of open hardware docs? Or just internal? Maybe I missed > something Just internal. (In reply to Chernovsky Oleg from comment #33) > P.S. I only fear that maybe I launched mmiotrace too late, I did rmmod and > then modprobe fglrx again. Could it setup any registers at the first run? > Because at second it touched UVD only when I launched mpv. To save power the UVD clocks are only raised when it's actually in use. I think fglrx does some low level hw init similar to what we do in radeon, but they don't do a ring test so they probably don't change the UVD plls at driver load time only when UVD is in use (although I'm not 100% sure off hand). -- You are receiving this mail because: You are the assignee for the bug. --1424107309.AE6783.24618 Date: Mon, 16 Feb 2015 17:21:49 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 35 on bug 73378 from
(In reply to Chernovsky Oleg from comment #34)
> 
> Is this some kind of open hardware docs? Or just internal? Maybe I missed
> something

Just internal.

(In reply to Chernovsky Oleg from comment #33)
> P.S. I only fear that maybe I launched mmiotrace too late, I did rmmod and
> then modprobe fglrx again. Could it setup any registers at the first run?
> Because at second it touched UVD only when I launched mpv.

To save power the UVD clocks are only raised when it's actually in use.  I
think fglrx does some low level hw init similar to what we do in radeon, but
they don't do a ring test so they probably don't change the UVD plls at driver
load time only when UVD is in use (although I'm not 100% sure off hand).


You are receiving this mail because:
  • You are the assignee for the bug.
--1424107309.AE6783.24618-- --===============1384183653== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1384183653==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 73378] [drm:radeon_uvd_send_upll_ctlreq] *ERROR* Timeout setting UVD clocks! Date: Mon, 16 Feb 2015 17:56:23 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1026936628==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id A62A66E4D2 for ; Mon, 16 Feb 2015 09:56:23 -0800 (PST) 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 --===============1026936628== Content-Type: multipart/alternative; boundary="1424109383.22703.29944"; charset="UTF-8" --1424109383.22703.29944 Date: Mon, 16 Feb 2015 17:56: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=3D73378 --- Comment #36 from Christian K=C3=B6nig --- As Alex already noted the detailed register specs are unfortunately only available internally. We tried to have at least all the bit definitions needed by the driver documented in the header files, but some things are just market as for hard= ware validation only or debug only etc... and those aren't documented. (In reply to Chernovsky Oleg from comment #33) > Yep, I rechecked it and it seems set to 1 always... >=20 > Anyway I gathered around 18 Mb of mmiotrace logs to investigate. Now digg= ing > through divider and clock registers. Well it might already help if you provide the values for the UPLL registers together under fglrx, so that we can compare them to the values Radeon uses. Regards, Christian. --=20 You are receiving this mail because: You are the assignee for the bug. --1424109383.22703.29944 Date: Mon, 16 Feb 2015 17:56:23 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 36 on bug 73378<= /a> from Christian K=C3=B6nig
As Alex already noted the detailed register specs are unfortun=
ately only
available internally.

We tried to have at least all the bit definitions needed by the driver
documented in the header files, but some things are just market as for hard=
ware
validation only or debug only etc... and those aren't documented.

(In reply to Chernovsky Oleg from c=
omment #33)
> Yep, I rechecked it and it seems set to 1 always=
...
>=20
> Anyway I gathered around 18 Mb of mmiotrace logs to investigate. Now d=
igging
> through divider and clock registers.

Well it might already help if you provide the values for the UPLL registers
together under fglrx, so that we can compare them to the values Radeon uses.

Regards,
Christian.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1424109383.22703.29944-- --===============1026936628== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1026936628==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 73378] [drm:radeon_uvd_send_upll_ctlreq] *ERROR* Timeout setting UVD clocks! Date: Mon, 16 Feb 2015 21:15:37 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1792740643==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id E74AA6E10B for ; Mon, 16 Feb 2015 13:15:37 -0800 (PST) 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 --===============1792740643== Content-Type: multipart/alternative; boundary="1424121337.5ea872.27154"; charset="UTF-8" --1424121337.5ea872.27154 Date: Mon, 16 Feb 2015 21:15:37 +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=3D73378 --- Comment #37 from Chernovsky Oleg --- Created attachment 113544 --> https://bugs.freedesktop.org/attachment.cgi?id=3D113544&action=3Dedit fglrx mmiotrace dump (In reply to Christian K=C3=B6nig from comment #36) > Well it might already help if you provide the values for the UPLL registe= rs > together under fglrx, so that we can compare them to the values Radeon us= es. >=20 > Regards, > Christian. Just thought about that. Here it is, quite near the place where first related register R/W occured. --=20 You are receiving this mail because: You are the assignee for the bug. --1424121337.5ea872.27154 Date: Mon, 16 Feb 2015 21:15:37 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 37 on bug 73378<= /a> from = Chernovsky Oleg
Created attachment 113544 [details]
fglrx mmiotrace dump

(In reply to Christian K=C3=B6nig from comment #36)
> Well it might already help if you provide the va=
lues for the UPLL registers
> together under fglrx, so that we can compare them to the values Radeon=
 uses.
>=20
> Regards,
> Christian.

Just thought about that.
Here it is, quite near the place where first related register R/W occured.<=
/pre>
        


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1424121337.5ea872.27154-- --===============1792740643== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1792740643==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 73378] [drm:radeon_uvd_send_upll_ctlreq] *ERROR* Timeout setting UVD clocks! Date: Wed, 18 Feb 2015 20:53:35 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0369565129==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 3F8296E57B for ; Wed, 18 Feb 2015 12:53:35 -0800 (PST) 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 --===============0369565129== Content-Type: multipart/alternative; boundary="1424292815.84FBC552.8917"; charset="UTF-8" --1424292815.84FBC552.8917 Date: Wed, 18 Feb 2015 20:53:35 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=73378 --- Comment #38 from Chernovsky Oleg --- I managed to make it work on my machine. I actually noticed that fglrx code never puts UPLL to sleep like we do. So I commented out all WREG32_P(CG_UPLL_FUNC_CNTL, UPLL_SLEEP_MASK, ~UPLL_SLEEP_MASK); After that initialization finishes successfully and I'm able to watch my .mkv's with decent speed. adonai@Heaven] % mpv --vo=vdpau --hwdec=vdpau Zoku\ Sayonara\ Zetsubou\ Sensei\ -\ 06.mkv Playing: Zoku Sayonara Zetsubou Sensei - 06.mkv (+) Video --vid=1 (h264) (+) Audio --aid=1 --alang=jpn (*) (aac) Subs --sid=1 --slang=eng (*) (ass) (+) Subs --sid=2 'Zoku Sayonara Zetsubou Sensei - 06.ass' (ass) (external) Trying to use hardware decoding. AO: [pulse] 48000Hz stereo 2ch float VO: [vdpau] 1280x720 vdpau [vo/vdpau] Compositing window manager detected. Assuming timing info is inaccurate. AV: 00:06:16 / 00:23:59 (26%) A-V: 0.000 Exiting... (Quit) What kind of further testing can be done from my side? -- You are receiving this mail because: You are the assignee for the bug. --1424292815.84FBC552.8917 Date: Wed, 18 Feb 2015 20:53:35 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 38 on bug 73378 from
I managed to make it work on my machine.

I actually noticed that fglrx code never puts UPLL to sleep like we do.
So I commented out all WREG32_P(CG_UPLL_FUNC_CNTL, UPLL_SLEEP_MASK,
~UPLL_SLEEP_MASK);

After that initialization finishes successfully and I'm able to watch my .mkv's
with decent speed.

adonai@Heaven] % mpv --vo=vdpau --hwdec=vdpau Zoku\ Sayonara\ Zetsubou\ Sensei\
-\ 06.mkv           
Playing: Zoku Sayonara Zetsubou Sensei - 06.mkv
 (+) Video --vid=1 (h264)
 (+) Audio --aid=1 --alang=jpn (*) (aac)
     Subs  --sid=1 --slang=eng (*) (ass)
 (+) Subs  --sid=2 'Zoku Sayonara Zetsubou Sensei - 06.ass' (ass) (external)
Trying to use hardware decoding.
AO: [pulse] 48000Hz stereo 2ch float
VO: [vdpau] 1280x720 vdpau
[vo/vdpau] Compositing window manager detected. Assuming timing info is
inaccurate.
AV: 00:06:16 / 00:23:59 (26%) A-V:  0.000


Exiting... (Quit)

What kind of further testing can be done from my side?


You are receiving this mail because:
  • You are the assignee for the bug.
--1424292815.84FBC552.8917-- --===============0369565129== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0369565129==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 73378] [drm:radeon_uvd_send_upll_ctlreq] *ERROR* Timeout setting UVD clocks! Date: Thu, 19 Feb 2015 08:43:52 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0870413820==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id E62326E14B for ; Thu, 19 Feb 2015 00:43:52 -0800 (PST) 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 --===============0870413820== Content-Type: multipart/alternative; boundary="1424335432.f88f1eFf3.15313"; charset="UTF-8" --1424335432.f88f1eFf3.15313 Date: Thu, 19 Feb 2015 08:43:52 +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=3D73378 Christian K=C3=B6nig changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |deathsimple@vodafone.de --- Comment #39 from Christian K=C3=B6nig --- Created attachment 113654 --> https://bugs.freedesktop.org/attachment.cgi?id=3D113654&action=3Dedit Possible fix Wow, nice catch! I have to admit that i just copied the sleep mode handling from previous generations. Well, in this case please everybody on this bug take a look at the attached patch and see if it does the trick. Thanks a lot for the help, Christian. --=20 You are receiving this mail because: You are the assignee for the bug. --1424335432.f88f1eFf3.15313 Date: Thu, 19 Feb 2015 08:43:52 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Christian K=C3=B6nig changed bug 73378<= /a>
What Removed Added
CC   deathsimple@vodafone.de

Commen= t # 39 on bug 73378<= /a> from Christian K=C3=B6nig
Created attachment 113654 =
[details] [review]
Possible fix

Wow, nice catch!

I have to admit that i just copied the sleep mode handling from previous
generations.

Well, in this case please everybody on this bug take a look at the attached
patch and see if it does the trick.

Thanks a lot for the help,
Christian.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1424335432.f88f1eFf3.15313-- --===============0870413820== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0870413820==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 73378] [drm:radeon_uvd_send_upll_ctlreq] *ERROR* Timeout setting UVD clocks! Date: Tue, 10 Mar 2015 19:46:39 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0673788616==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id D76456E743 for ; Tue, 10 Mar 2015 12:46:39 -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 --===============0673788616== Content-Type: multipart/alternative; boundary="1426016799.d01e1E52.27022"; charset="UTF-8" --1426016799.d01e1E52.27022 Date: Tue, 10 Mar 2015 19:46:39 +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=3D73378 --- Comment #40 from Alex Deucher --- (In reply to Christian K=C3=B6nig from comment #39) > Created attachment 113654 [details] [review] > Possible fix >=20 > Wow, nice catch! >=20 > I have to admit that i just copied the sleep mode handling from previous > generations. >=20 > Well, in this case please everybody on this bug take a look at the attach= ed > patch and see if it does the trick. >=20 > Thanks a lot for the help, > Christian. Do you want me to pick this up for -fixes? --=20 You are receiving this mail because: You are the assignee for the bug. --1426016799.d01e1E52.27022 Date: Tue, 10 Mar 2015 19:46:39 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 40 on bug 73378<= /a> from Alex Deucher
(In reply to Christian K=C3=B6nig from comment #39)
> Created attachment 11=
3654 [details] [review] [review]
> Possible fix
>=20
> Wow, nice catch!
>=20
> I have to admit that i just copied the sleep mode handling from previo=
us
> generations.
>=20
> Well, in this case please everybody on this bug take a look at the att=
ached
> patch and see if it does the trick.
>=20
> Thanks a lot for the help,
> Christian.

Do you want me to pick this up for -fixes?


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1426016799.d01e1E52.27022-- --===============0673788616== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0673788616==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 73378] [drm:radeon_uvd_send_upll_ctlreq] *ERROR* Timeout setting UVD clocks! Date: Wed, 11 Mar 2015 08:29:16 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1521759393==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 8311A6E777 for ; Wed, 11 Mar 2015 01:29:17 -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 --===============1521759393== Content-Type: multipart/alternative; boundary="1426062556.2381d32.787"; charset="UTF-8" --1426062556.2381d32.787 Date: Wed, 11 Mar 2015 08:29:16 +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=3D73378 --- Comment #41 from Christian K=C3=B6nig --- (In reply to Alex Deucher from comment #40) > (In reply to Christian K=C3=B6nig from comment #39) > > Created attachment 113654 [details] [review] [review] > > Possible fix > >=20 > > Wow, nice catch! > >=20 > > I have to admit that i just copied the sleep mode handling from previous > > generations. > >=20 > > Well, in this case please everybody on this bug take a look at the atta= ched > > patch and see if it does the trick. > >=20 > > Thanks a lot for the help, > > Christian. >=20 > Do you want me to pick this up for -fixes? I hoped for some more feedback before we do this, but yeah go ahead. The patch shouldn't break anything and so should be save for -fixes. Just a= dd the link to this bugreport. Thanks, Christian. --=20 You are receiving this mail because: You are the assignee for the bug. --1426062556.2381d32.787 Date: Wed, 11 Mar 2015 08:29:16 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 41 on bug 73378<= /a> from Christian K=C3=B6nig
(In reply to Alex Deucher from comment #40)
> (In reply to Christian K=C3=B6nig from comment #39)
> > Created attachment 113654 [d=
etails] [review] [review] [review]
> > Possible fix
> >=20
> > Wow, nice catch!
> >=20
> > I have to admit that i just copied the sleep mode handling from p=
revious
> > generations.
> >=20
> > Well, in this case please everybody on this bug take a look at th=
e attached
> > patch and see if it does the trick.
> >=20
> > Thanks a lot for the help,
> > Christian.
>=20
> Do you want me to pick this up for -fixes?

I hoped for some more feedback before we do this, but yeah go ahead.

The patch shouldn't break anything and so should be save for -fixes. Just a=
dd
the link to this bugreport.

Thanks,
Christian.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1426062556.2381d32.787-- --===============1521759393== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1521759393==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 73378] [drm:radeon_uvd_send_upll_ctlreq] *ERROR* Timeout setting UVD clocks! Date: Sun, 22 Mar 2015 11:42:42 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0242002253==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id CE8F56E137 for ; Sun, 22 Mar 2015 04:42:42 -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 --===============0242002253== Content-Type: multipart/alternative; boundary="1427024562.80e62.3627"; charset="UTF-8" --1427024562.80e62.3627 Date: Sun, 22 Mar 2015 11:42:42 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=73378 --- Comment #42 from equeim@gmail.com --- This patch fixed my issue of non-working UVD on cold boot. Thanks! -- You are receiving this mail because: You are the assignee for the bug. --1427024562.80e62.3627 Date: Sun, 22 Mar 2015 11:42:42 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 42 on bug 73378 from
This patch fixed my issue of non-working UVD on cold boot. Thanks!


You are receiving this mail because:
  • You are the assignee for the bug.
--1427024562.80e62.3627-- --===============0242002253== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0242002253==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 73378] [drm:radeon_uvd_send_upll_ctlreq] *ERROR* Timeout setting UVD clocks! Date: Mon, 23 Mar 2015 14:29:01 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1591650574==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 9E08072077 for ; Mon, 23 Mar 2015 07:29:01 -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 --===============1591650574== Content-Type: multipart/alternative; boundary="1427120941.f20eDb372.19587"; charset="UTF-8" --1427120941.f20eDb372.19587 Date: Mon, 23 Mar 2015 14:29:01 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=73378 Alex Deucher changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #43 from Alex Deucher --- fix is upstream: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=a17d4996e051e78d164989b894608cf37cd5110b -- You are receiving this mail because: You are the assignee for the bug. --1427120941.f20eDb372.19587 Date: Mon, 23 Mar 2015 14:29:01 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" changed bug 73378
What Removed Added
Status NEW RESOLVED
Resolution --- FIXED


You are receiving this mail because:
  • You are the assignee for the bug.
--1427120941.f20eDb372.19587-- --===============1591650574== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1591650574==--