From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] New: [AMD Fusion E-350] Radeon UVD giving incorrect fps when playing videos Date: Mon, 24 Mar 2014 17:32:02 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1593647131==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id EAE696EB36 for ; Mon, 24 Mar 2014 10:32:02 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1593647131== Content-Type: multipart/alternative; boundary="1395682322.0aA470.6803"; charset="us-ascii" --1395682322.0aA470.6803 Date: Mon, 24 Mar 2014 17:32:02 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=76564 Priority: medium Bug ID: 76564 Assignee: dri-devel@lists.freedesktop.org Summary: [AMD Fusion E-350] Radeon UVD giving incorrect fps when playing videos Severity: normal Classification: Unclassified OS: Linux (All) Reporter: jeroenk61@hotmail.com Hardware: x86-64 (AMD64) Status: NEW Version: 10.1 Component: Drivers/Gallium/r600 Product: Mesa Created attachment 96302 --> https://bugs.freedesktop.org/attachment.cgi?id=96302&action=edit dmesg I'm currently experiencing problems when playing videos on my AMD fusion e-350 with HD6310 graphics(r600) with OpenELEC 4 beta2, which uses Mesa 10.1 and the latest Linux 3.13 kernel. This is with the system connected through HDMI to my television. Either the video is being decoded too slow, which causes skipped frames, or it is decoding too fast, which causes missed frames. 23.976fps becomes 23.92/23.95 and sometimes goes to 22.93fps 25fps becomes 25.02 or 25.05fps 29.97 interlaced decodes with around 58fps instead of 59.94fps. It is if like the clock that is used for decoding is all over the place (PLL issue?) I confirmed with the old OpenELEC 3, which uses AMD's fglrx, and everything is playing perfectly and the fps is spot on, as in. 23.98fps, 25fps and 59.94fps. I also tried disabling the new VDPAU hardware acceleration and VDPAU mixer, but with no effect. All tests were done with the television frame rate being matched to the content, so for example in the case of 23.976fps content the television is at the same frequency. -- You are receiving this mail because: You are the assignee for the bug. --1395682322.0aA470.6803 Date: Mon, 24 Mar 2014 17:32:02 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
Priority medium
Bug ID 76564
Assignee dri-devel@lists.freedesktop.org
Summary [AMD Fusion E-350] Radeon UVD giving incorrect fps when playing videos
Severity normal
Classification Unclassified
OS Linux (All)
Reporter jeroenk61@hotmail.com
Hardware x86-64 (AMD64)
Status NEW
Version 10.1
Component Drivers/Gallium/r600
Product Mesa

Created attachment 96302 [details]
dmesg

I'm currently experiencing problems when playing videos on my AMD fusion e-350
with HD6310 graphics(r600) with OpenELEC 4 beta2, which uses Mesa 10.1 and the
latest Linux 3.13 kernel. This is with the system connected through HDMI to my
television.
Either the video is being decoded too slow, which causes skipped frames, or it
is decoding too fast, which causes missed frames.

23.976fps becomes 23.92/23.95 and sometimes goes to 22.93fps
25fps becomes 25.02 or 25.05fps
29.97 interlaced decodes with around 58fps instead of 59.94fps.

It is if like the clock that is used for decoding is all over the place (PLL
issue?)

I confirmed with the old OpenELEC 3, which uses AMD's fglrx, and everything is
playing perfectly and the fps is spot on, as in. 23.98fps, 25fps and 59.94fps.

I also tried disabling the new VDPAU hardware acceleration and VDPAU mixer, but
with no effect.
All tests were done with the television frame rate being matched to the
content, so for example in the case of 23.976fps content the television is at
the same frequency.


You are receiving this mail because:
  • You are the assignee for the bug.
--1395682322.0aA470.6803-- --===============1593647131== 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 --===============1593647131==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] Radeon UVD giving incorrect fps when playing videos Date: Mon, 24 Mar 2014 17:34:30 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0918129113==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 3CA336EB41 for ; Mon, 24 Mar 2014 10:34: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 --===============0918129113== Content-Type: multipart/alternative; boundary="1395682470.76cD36AD0.7498"; charset="us-ascii" --1395682470.76cD36AD0.7498 Date: Mon, 24 Mar 2014 17:34:30 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=76564 --- Comment #1 from jeroen --- Created attachment 96303 --> https://bugs.freedesktop.org/attachment.cgi?id=96303&action=edit lspci output -- You are receiving this mail because: You are the assignee for the bug. --1395682470.76cD36AD0.7498 Date: Mon, 24 Mar 2014 17:34:30 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"


You are receiving this mail because:
  • You are the assignee for the bug.
--1395682470.76cD36AD0.7498-- --===============0918129113== 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 --===============0918129113==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Mon, 24 Mar 2014 17:38:08 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0790563763==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id CA48D6EB4C for ; Mon, 24 Mar 2014 10:38:07 -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 --===============0790563763== Content-Type: multipart/alternative; boundary="1395682687.8F0Ff1.8429"; charset="us-ascii" --1395682687.8F0Ff1.8429 Date: Mon, 24 Mar 2014 17:38: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=3D76564 Christian K=C3=B6nig changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[AMD Fusion E-350] Radeon |[AMD Fusion E-350] HDMI |UVD giving incorrect fps |refresh rates doesn't match |when playing videos |expectations --=20 You are receiving this mail because: You are the assignee for the bug. --1395682687.8F0Ff1.8429 Date: Mon, 24 Mar 2014 17:38:07 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Christian K=C3=B6nig changed bug 76564<= /a>
What Removed Added
Summary [AMD Fusion E-350] Radeon UVD giving incorrect fps when play= ing videos [AMD Fusion E-350] HDMI refresh rates doesn't match expectat= ions


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1395682687.8F0Ff1.8429-- --===============0790563763== 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 --===============0790563763==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Mon, 24 Mar 2014 17:39:24 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1000995761==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id E2B646EB54 for ; Mon, 24 Mar 2014 10:39:23 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1000995761== Content-Type: multipart/alternative; boundary="1395682763.6C785e1.8757"; charset="us-ascii" --1395682763.6C785e1.8757 Date: Mon, 24 Mar 2014 17:39: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=3D76564 --- Comment #2 from Christian K=C3=B6nig --- HDMI refresh rate seems to be off, UVD decoding speed is completely unrelat= ed to this. --=20 You are receiving this mail because: You are the assignee for the bug. --1395682763.6C785e1.8757 Date: Mon, 24 Mar 2014 17:39:23 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Comment= # 2 on bug 76564<= /a> from Christian K=C3=B6nig
HDMI refresh rate seems to be off, UVD decoding speed is compl=
etely unrelated
to this.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1395682763.6C785e1.8757-- --===============1000995761== 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 --===============1000995761==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Mon, 24 Mar 2014 17:42:46 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0224659017==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 5A83C6EB59 for ; Mon, 24 Mar 2014 10:42: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 --===============0224659017== Content-Type: multipart/alternative; boundary="1395682966.3bF61.9826"; charset="us-ascii" --1395682966.3bF61.9826 Date: Mon, 24 Mar 2014 17:42:46 +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=3D76564 --- Comment #3 from Christian K=C3=B6nig --- (In reply to comment #0) > 23.976fps becomes 23.92/23.95 and sometimes goes to 22.93fps > 25fps becomes 25.02 or 25.05fps > 29.97 interlaced decodes with around 58fps instead of 59.94fps. That the refresh frequency is a bit off might happen, but not that much. How did you measured those nunmbers? --=20 You are receiving this mail because: You are the assignee for the bug. --1395682966.3bF61.9826 Date: Mon, 24 Mar 2014 17:42:46 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Comment= # 3 on bug 76564<= /a> from Christian K=C3=B6nig
(In reply to comment #0=
)
> 23.976fps becomes 23.92/23.95 and sometimes goes=
 to 22.93fps
> 25fps becomes 25.02 or 25.05fps
> 29.97 interlaced decodes with around 58fps instead of 59.94fps.

That the refresh frequency is a bit off might happen, but not that much.

How did you measured those nunmbers?


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1395682966.3bF61.9826-- --===============0224659017== 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 --===============0224659017==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Mon, 24 Mar 2014 18:49:25 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1458197530==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id B24C789C49 for ; Mon, 24 Mar 2014 11:49:25 -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 --===============1458197530== Content-Type: multipart/alternative; boundary="1395686965.aC8d280.28267"; charset="us-ascii" --1395686965.aC8d280.28267 Date: Mon, 24 Mar 2014 18:49:25 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=76564 --- Comment #4 from jeroen --- Sorry for not providing that information. OpenELEC uses XBMC to play the videos. XBMC has the option to display stats (http://wiki.xbmc.org/?title=Codecinfo). One of the stats is the actual video frame rate. Other useful stats are the amount of frames dropped and skipped. When I look at for example the numbers 23.95 and 23.92 it seems it is off by 1/1000 or 2/1000 respectively. -- You are receiving this mail because: You are the assignee for the bug. --1395686965.aC8d280.28267 Date: Mon, 24 Mar 2014 18:49:25 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 4 on bug 76564 from
Sorry for not providing that information.

OpenELEC uses XBMC to play the videos. XBMC has the option to display stats
(http://wiki.xbmc.org/?title=Codecinfo). One of the stats is the actual video
frame rate. Other useful stats are the amount of frames dropped and skipped.

When I look at for example the numbers 23.95 and 23.92 it seems it is off by
1/1000 or 2/1000 respectively.


You are receiving this mail because:
  • You are the assignee for the bug.
--1395686965.aC8d280.28267-- --===============1458197530== 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 --===============1458197530==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Mon, 24 Mar 2014 19:06:14 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1978571295==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 5C3C589970 for ; Mon, 24 Mar 2014 12:06:14 -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 --===============1978571295== Content-Type: multipart/alternative; boundary="1395687974.d2C44eA81.32629"; charset="us-ascii" --1395687974.d2C44eA81.32629 Date: Mon, 24 Mar 2014 19:06:14 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=76564 --- Comment #5 from Alex Deucher --- Probably a duplicate of bug 71753. -- You are receiving this mail because: You are the assignee for the bug. --1395687974.d2C44eA81.32629 Date: Mon, 24 Mar 2014 19:06:14 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 5 on bug 76564 from
Probably a duplicate of bug 71753.


You are receiving this mail because:
  • You are the assignee for the bug.
--1395687974.d2C44eA81.32629-- --===============1978571295== 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 --===============1978571295==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Mon, 24 Mar 2014 19:16:21 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0082990721==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 457B389C84 for ; Mon, 24 Mar 2014 12:16:21 -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 --===============0082990721== Content-Type: multipart/alternative; boundary="1395688581.cE22Fe10.2557"; charset="us-ascii" --1395688581.cE22Fe10.2557 Date: Mon, 24 Mar 2014 19:16:21 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=76564 --- Comment #6 from jeroen --- (In reply to comment #5) > Probably a duplicate of bug 71753. Yes I read that report. What I don't understand is how the audio clock, uvd clock, hdmi clock, etc relate to each other. For audio I use the realtek chip and it's SPDIF. I guess with the audio clock, the HDMI audio clock is used? Which in my case is not used I guess. -- You are receiving this mail because: You are the assignee for the bug. --1395688581.cE22Fe10.2557 Date: Mon, 24 Mar 2014 19:16:21 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 6 on bug 76564 from
(In reply to comment #5)
> Probably a duplicate of bug 71753.

Yes I read that report. What I don't understand is how the audio clock, uvd
clock, hdmi clock, etc relate to each other.

For audio I use the realtek chip and it's SPDIF. I guess with the audio clock,
the HDMI audio clock is used? Which in my case is not used I guess.


You are receiving this mail because:
  • You are the assignee for the bug.
--1395688581.cE22Fe10.2557-- --===============0082990721== 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 --===============0082990721==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Mon, 24 Mar 2014 19:40:22 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1956453185==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 6428289CD8 for ; Mon, 24 Mar 2014 12:40:22 -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 --===============1956453185== Content-Type: multipart/alternative; boundary="1395690022.Ba451BE51.9288"; charset="us-ascii" --1395690022.Ba451BE51.9288 Date: Mon, 24 Mar 2014 19:40:22 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=76564 --- Comment #7 from Alex Deucher --- (In reply to comment #6) > (In reply to comment #5) > > Probably a duplicate of bug 71753. > > Yes I read that report. What I don't understand is how the audio clock, uvd > clock, hdmi clock, etc relate to each other. > > For audio I use the realtek chip and it's SPDIF. I guess with the audio > clock, the HDMI audio clock is used? Which in my case is not used I guess. They are not really related on the hw side. UVD decodes as fast as it can based on it's own clocks. When the decoded frame is displayed is up to the application. The audio chip has it's own clock and the display has it's own clock. The hdmi audio information is embedded in the display stream. The monitor uses special packets that the GPU embeds in the display stream to reconstruct the audio stream on the monitor based on the display clock. There seem to be cases where the hdmi stream is not set up properly so the audio clock is not recovered properly on the monitor side. -- You are receiving this mail because: You are the assignee for the bug. --1395690022.Ba451BE51.9288 Date: Mon, 24 Mar 2014 19:40:22 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 7 on bug 76564 from
(In reply to comment #6)
> (In reply to comment #5)
> > Probably a duplicate of bug 71753.
> 
> Yes I read that report. What I don't understand is how the audio clock, uvd
> clock, hdmi clock, etc relate to each other.
> 
> For audio I use the realtek chip and it's SPDIF. I guess with the audio
> clock, the HDMI audio clock is used? Which in my case is not used I guess.

They are not really related on the hw side.  UVD decodes as fast as it can
based on it's own clocks.  When the decoded frame is displayed is up to the
application.  The audio chip has it's own clock and the display has it's own
clock.  The hdmi audio information is embedded in the display stream.  The
monitor uses special packets that the GPU embeds in the display stream to
reconstruct the audio stream on the monitor based on the display clock.  There
seem to be cases where the hdmi stream is not set up properly so the audio
clock is not recovered properly on the monitor side.


You are receiving this mail because:
  • You are the assignee for the bug.
--1395690022.Ba451BE51.9288-- --===============1956453185== 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 --===============1956453185==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Mon, 24 Mar 2014 20:39:31 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1361834463==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 3726089C69 for ; Mon, 24 Mar 2014 13:39:31 -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 --===============1361834463== Content-Type: multipart/alternative; boundary="1395693571.6ce1B10.23321"; charset="us-ascii" --1395693571.6ce1B10.23321 Date: Mon, 24 Mar 2014 20:39:31 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=76564 --- Comment #8 from jeroen --- (In reply to comment #7) > (In reply to comment #6) > > (In reply to comment #5) > > > Probably a duplicate of bug 71753. > > > > Yes I read that report. What I don't understand is how the audio clock, uvd > > clock, hdmi clock, etc relate to each other. > > > > For audio I use the realtek chip and it's SPDIF. I guess with the audio > > clock, the HDMI audio clock is used? Which in my case is not used I guess. > > They are not really related on the hw side. UVD decodes as fast as it can > based on it's own clocks. When the decoded frame is displayed is up to the > application. The audio chip has it's own clock and the display has it's own > clock. The hdmi audio information is embedded in the display stream. The > monitor uses special packets that the GPU embeds in the display stream to > reconstruct the audio stream on the monitor based on the display clock. > There seem to be cases where the hdmi stream is not set up properly so the > audio clock is not recovered properly on the monitor side. Okay, but doesnt that mean in this case it is a problem with the display (HDMI?) clock, as I am not using HDMI audio? Is there a way I could get more detailed logging of what is happening on my system? -- You are receiving this mail because: You are the assignee for the bug. --1395693571.6ce1B10.23321 Date: Mon, 24 Mar 2014 20:39:31 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 8 on bug 76564 from
(In reply to comment #7)
> (In reply to comment #6)
> > (In reply to comment #5)
> > > Probably a duplicate of bug 71753.
> > 
> > Yes I read that report. What I don't understand is how the audio clock, uvd
> > clock, hdmi clock, etc relate to each other.
> > 
> > For audio I use the realtek chip and it's SPDIF. I guess with the audio
> > clock, the HDMI audio clock is used? Which in my case is not used I guess.
> 
> They are not really related on the hw side.  UVD decodes as fast as it can
> based on it's own clocks.  When the decoded frame is displayed is up to the
> application.  The audio chip has it's own clock and the display has it's own
> clock.  The hdmi audio information is embedded in the display stream.  The
> monitor uses special packets that the GPU embeds in the display stream to
> reconstruct the audio stream on the monitor based on the display clock. 
> There seem to be cases where the hdmi stream is not set up properly so the
> audio clock is not recovered properly on the monitor side.

Okay, but doesnt that mean in this case it is a problem with the display
(HDMI?) clock, as I am not using HDMI audio?

Is there a way I could get more detailed logging of what is happening on my
system?


You are receiving this mail because:
  • You are the assignee for the bug.
--1395693571.6ce1B10.23321-- --===============1361834463== 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 --===============1361834463==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Tue, 25 Mar 2014 19:16:13 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0641167769==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 5D4C289A60 for ; Tue, 25 Mar 2014 12:16:13 -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 --===============0641167769== Content-Type: multipart/alternative; boundary="1395774973.dcCeA0.9784"; charset="us-ascii" --1395774973.dcCeA0.9784 Date: Tue, 25 Mar 2014 19:16:13 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=76564 --- Comment #9 from jeroen --- Created attachment 96379 --> https://bugs.freedesktop.org/attachment.cgi?id=96379&action=edit drm_debug log This big drm log was created while starting xbmc with the display set to 50fps, then playing a 23.976fps test clip and afterwards switching back to 50fps In the log I notice: [ 1.982022] [drm:drm_calc_timestamping_constants], crtc 12: clock 148500 kHz framedur 20000000 linedur 17777, pixeldur 6 [ 32.608813] [drm:drm_calc_timestamping_constants], crtc 12: clock 74176 kHz framedur 41708234 linedur 37073, pixeldur 13 [ 124.623308] [drm:drm_calc_timestamping_constants], crtc 12: clock 148500 kHz framedur 20000000 linedur 17777, pixeldur 6 These correspond to the 50fps -> 23.976fps -> 50fps mode switches Does this log tell you guys what is going wrong? -- You are receiving this mail because: You are the assignee for the bug. --1395774973.dcCeA0.9784 Date: Tue, 25 Mar 2014 19:16:13 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 9 on bug 76564 from
Created attachment 96379 [details]
drm_debug log

This big drm log was created while starting xbmc with the display set to 50fps,
then playing a 23.976fps test clip and afterwards switching back to 50fps

In the log I notice:
[    1.982022] [drm:drm_calc_timestamping_constants], crtc 12: clock 148500 kHz
framedur 20000000 linedur 17777, pixeldur 6
[   32.608813] [drm:drm_calc_timestamping_constants], crtc 12: clock 74176 kHz
framedur 41708234 linedur 37073, pixeldur 13
[  124.623308] [drm:drm_calc_timestamping_constants], crtc 12: clock 148500 kHz
framedur 20000000 linedur 17777, pixeldur 6
These correspond to the 50fps -> 23.976fps -> 50fps mode switches

Does this log tell you guys what is going wrong?


You are receiving this mail because:
  • You are the assignee for the bug.
--1395774973.dcCeA0.9784-- --===============0641167769== 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 --===============0641167769==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Tue, 25 Mar 2014 19:55:24 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1542528822==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 80F6D6E3D7 for ; Tue, 25 Mar 2014 12:55:24 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1542528822== Content-Type: multipart/alternative; boundary="1395777324.527F1.20188"; charset="us-ascii" --1395777324.527F1.20188 Date: Tue, 25 Mar 2014 19:55:24 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=76564 --- Comment #10 from Alex Deucher --- (In reply to comment #8) > Okay, but doesnt that mean in this case it is a problem with the display > (HDMI?) clock, as I am not using HDMI audio? > > Is there a way I could get more detailed logging of what is happening on my > system? I don't know how XBMC calculates the frame rate off hand. The PLL used to generate the display clock may not always match the exact pixel clock of the monitor. The driver calculates pll dividers to get as close as possible to the pixel clock of the display mode. See radeon_compute_pll_avivo() in radeon_display.c -- You are receiving this mail because: You are the assignee for the bug. --1395777324.527F1.20188 Date: Tue, 25 Mar 2014 19:55:24 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 10 on bug 76564 from
(In reply to comment #8)
> Okay, but doesnt that mean in this case it is a problem with the display
> (HDMI?) clock, as I am not using HDMI audio?
> 
> Is there a way I could get more detailed logging of what is happening on my
> system?

I don't know how XBMC calculates the frame rate off hand.  The PLL used to
generate the display clock may not always match the exact pixel clock of the
monitor.  The driver calculates pll dividers to get as close as possible to the
pixel clock of the display mode.  See radeon_compute_pll_avivo() in
radeon_display.c


You are receiving this mail because:
  • You are the assignee for the bug.
--1395777324.527F1.20188-- --===============1542528822== 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 --===============1542528822==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Tue, 25 Mar 2014 20:14:56 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1120619079==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 4C3856E3EA for ; Tue, 25 Mar 2014 13:14:56 -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 --===============1120619079== Content-Type: multipart/alternative; boundary="1395778495.EB6646c0.25337"; charset="us-ascii" --1395778495.EB6646c0.25337 Date: Tue, 25 Mar 2014 20:14:55 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=76564 --- Comment #11 from jeroen --- Created attachment 96380 --> https://bugs.freedesktop.org/attachment.cgi?id=96380&action=edit drm debug log with kms and driver level I found out to see the PLL numbers KMS level debugging needed to be on. So I redid the test and attached a new log file that shows the pll information. -- You are receiving this mail because: You are the assignee for the bug. --1395778495.EB6646c0.25337 Date: Tue, 25 Mar 2014 20:14:55 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 11 on bug 76564 from
Created attachment 96380 [details]
drm debug log with kms and driver level

I found out to see the PLL numbers KMS level debugging needed to be on. So I
redid the test and attached a new log file that shows the pll information.


You are receiving this mail because:
  • You are the assignee for the bug.
--1395778495.EB6646c0.25337-- --===============1120619079== 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 --===============1120619079==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Tue, 25 Mar 2014 20:21:56 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2086542762==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 222FD6E3F4 for ; Tue, 25 Mar 2014 13:21:56 -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 --===============2086542762== Content-Type: multipart/alternative; boundary="1395778916.F15dC1.27022"; charset="us-ascii" --1395778916.F15dC1.27022 Date: Tue, 25 Mar 2014 20:21: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=3D76564 --- Comment #12 from Christian K=C3=B6nig --- (In reply to comment #10) > (In reply to comment #8) > > Okay, but doesnt that mean in this case it is a problem with the display > > (HDMI?) clock, as I am not using HDMI audio? > >=20 > > Is there a way I could get more detailed logging of what is happening o= n my > > system? >=20 > I don't know how XBMC calculates the frame rate off hand. The PLL used to > generate the display clock may not always match the exact pixel clock of = the > monitor. The driver calculates pll dividers to get as close as possible = to > the pixel clock of the display mode. See radeon_compute_pll_avivo() in > radeon_display.c Yeah, but on multiple occasions I had the feeling that fglrx might do a bet= ter job on this than the radeon kernel module. We might want to take a second look at this and try to compare the settings fglrx and radeon uses for the same mode. --=20 You are receiving this mail because: You are the assignee for the bug. --1395778916.F15dC1.27022 Date: Tue, 25 Mar 2014 20:21:56 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 12 on bug 76564<= /a> from Christian K=C3=B6nig
(In reply to comment #=
10)
> (In reply to comment #8)
> > Okay, but doesnt that mean in this case it is a problem with the =
display
> > (HDMI?) clock, as I am not using HDMI audio?
> >=20
> > Is there a way I could get more detailed logging of what is happe=
ning on my
> > system?
>=20
> I don't know how XBMC calculates the frame rate off hand.  The PLL use=
d to
> generate the display clock may not always match the exact pixel clock =
of the
> monitor.  The driver calculates pll dividers to get as close as possib=
le to
> the pixel clock of the display mode.  See radeon_compute_pll_avivo() in
> radeon_display.c

Yeah, but on multiple occasions I had the feeling that fglrx might do a bet=
ter
job on this than the radeon kernel module.

We might want to take a second look at this and try to compare the settings
fglrx and radeon uses for the same mode.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1395778916.F15dC1.27022-- --===============2086542762== 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 --===============2086542762==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Wed, 26 Mar 2014 19:30:04 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0514024649==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 565BB6E75C for ; Wed, 26 Mar 2014 12:30:04 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0514024649== Content-Type: multipart/alternative; boundary="1395862204.86a30.26041"; charset="us-ascii" --1395862204.86a30.26041 Date: Wed, 26 Mar 2014 19:30:04 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=76564 --- Comment #13 from jeroen --- Do the PLL values in the log files I posted indicate a problem, or are they okay? How can you see the PLL values fglrx is using? -- You are receiving this mail because: You are the assignee for the bug. --1395862204.86a30.26041 Date: Wed, 26 Mar 2014 19:30:04 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 13 on bug 76564 from
Do the PLL values in the log files I posted indicate a problem, or are they
okay?

How can you see the PLL values fglrx is using?


You are receiving this mail because:
  • You are the assignee for the bug.
--1395862204.86a30.26041-- --===============0514024649== 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 --===============0514024649==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Wed, 26 Mar 2014 20:50:38 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1231901836==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 475D16E794 for ; Wed, 26 Mar 2014 13:50:38 -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 --===============1231901836== Content-Type: multipart/alternative; boundary="1395867038.21ad7c41.19281"; charset="us-ascii" --1395867038.21ad7c41.19281 Date: Wed, 26 Mar 2014 20:50:38 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=76564 --- Comment #14 from Alex Deucher --- (In reply to comment #13) > Do the PLL values in the log files I posted indicate a problem, or are they > okay? [drm:radeon_compute_pll_avivo], 14875, pll dividers - fb: 23.8 ref: 2, post 8 [drm:radeon_compute_pll_avivo], 7406, pll dividers - fb: 23.7 ref: 2, post 16 The display pll looks fine to me. The clock formula is: pixel_clock = (reference_frequency * feedback_divider) / (reference_divider * post_divider) The reference frequency is 100 Mhz, so: (100Mhz * 23.8) / (2 * 8) = 148.75Mhz (100Mhz * 23.7) / (2 * 16) = 74.0625Mhz > > How can you see the PLL values fglrx is using? You'd need to dump the PLL registers using radeonreg (http://cgit.freedesktop.org/~airlied/radeontool/). PPLL1 0x400 - ref div - bits 9:0 0x404 - fb div - whole part bits 26:16, fractional part bits 3:0 0x408 - post div - bits 6:0 PPLL2 0x440 - ref div - bits 9:0 0x444 - fb div - whole part bits 26:16, fractional part bits 3:0 0x448 - post div - bits 6:0 e.g., ./radeonreg regmatch 0x400 -- You are receiving this mail because: You are the assignee for the bug. --1395867038.21ad7c41.19281 Date: Wed, 26 Mar 2014 20:50:38 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 14 on bug 76564 from
(In reply to comment #13)
> Do the PLL values in the log files I posted indicate a problem, or are they
> okay?

[drm:radeon_compute_pll_avivo], 14875, pll dividers - fb: 23.8 ref: 2, post 8
[drm:radeon_compute_pll_avivo], 7406, pll dividers - fb: 23.7 ref: 2, post 16

The display pll looks fine to me. The clock formula is:

pixel_clock = (reference_frequency * feedback_divider) / (reference_divider *
post_divider)

The reference frequency is 100 Mhz, so:

(100Mhz * 23.8) / (2 * 8) = 148.75Mhz

(100Mhz * 23.7) / (2 * 16) = 74.0625Mhz

> 
> How can you see the PLL values fglrx is using?

You'd need to dump the PLL registers using radeonreg
(http://cgit.freedesktop.org/~airlied/radeontool/).
PPLL1
0x400 - ref div - bits 9:0
0x404 - fb div - whole part bits 26:16, fractional part bits 3:0
0x408 - post div - bits 6:0
PPLL2
0x440 - ref div - bits 9:0
0x444 - fb div - whole part bits 26:16, fractional part bits 3:0
0x448 - post div - bits 6:0

e.g., ./radeonreg regmatch 0x400


You are receiving this mail because:
  • You are the assignee for the bug.
--1395867038.21ad7c41.19281-- --===============1231901836== 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 --===============1231901836==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Thu, 27 Mar 2014 17:14:31 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1386773222==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 393C36EA16 for ; Thu, 27 Mar 2014 10:14:31 -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 --===============1386773222== Content-Type: multipart/alternative; boundary="1395940471.f3b1b50.19415"; charset="us-ascii" --1395940471.f3b1b50.19415 Date: Thu, 27 Mar 2014 17:14:31 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=76564 --- Comment #15 from jeroen --- (In reply to comment #14) > (In reply to comment #13) > > Do the PLL values in the log files I posted indicate a problem, or are they > > okay? > > [drm:radeon_compute_pll_avivo], 14875, pll dividers - fb: 23.8 ref: 2, post 8 > [drm:radeon_compute_pll_avivo], 7406, pll dividers - fb: 23.7 ref: 2, post 16 > > The display pll looks fine to me. The clock formula is: > > pixel_clock = (reference_frequency * feedback_divider) / (reference_divider > * post_divider) > > The reference frequency is 100 Mhz, so: > > (100Mhz * 23.8) / (2 * 8) = 148.75Mhz > > (100Mhz * 23.7) / (2 * 16) = 74.0625Mhz > > > > > How can you see the PLL values fglrx is using? > > You'd need to dump the PLL registers using radeonreg > (http://cgit.freedesktop.org/~airlied/radeontool/). > PPLL1 > 0x400 - ref div - bits 9:0 > 0x404 - fb div - whole part bits 26:16, fractional part bits 3:0 > 0x408 - post div - bits 6:0 > PPLL2 > 0x440 - ref div - bits 9:0 > 0x444 - fb div - whole part bits 26:16, fractional part bits 3:0 > 0x448 - post div - bits 6:0 > > e.g., ./radeonreg regmatch 0x400 I got the results with fglrx: PPLL1@50Hz: fb=23.7 ref=2 post=6 PPLL2@50Hz: fb=296.16 ref=7 post=6 PPLL1@23.976Hz: fb=23.7 ref=2 post=12 PPLL2@23.976Hz: fb=296.16 ref=7 post=6 PPLL2 does seem to be used as it does not change. PPLL1 has different values than with the radeon OSS driver. What does this mean? -- You are receiving this mail because: You are the assignee for the bug. --1395940471.f3b1b50.19415 Date: Thu, 27 Mar 2014 17:14:31 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 15 on bug 76564 from
(In reply to comment #14)
> (In reply to comment #13)
> > Do the PLL values in the log files I posted indicate a problem, or are they
> > okay?
> 
> [drm:radeon_compute_pll_avivo], 14875, pll dividers - fb: 23.8 ref: 2, post 8
> [drm:radeon_compute_pll_avivo], 7406, pll dividers - fb: 23.7 ref: 2, post 16
> 
> The display pll looks fine to me. The clock formula is:
> 
> pixel_clock = (reference_frequency * feedback_divider) / (reference_divider
> * post_divider)
> 
> The reference frequency is 100 Mhz, so:
> 
> (100Mhz * 23.8) / (2 * 8) = 148.75Mhz
> 
> (100Mhz * 23.7) / (2 * 16) = 74.0625Mhz
> 
> > 
> > How can you see the PLL values fglrx is using?
> 
> You'd need to dump the PLL registers using radeonreg
> (http://cgit.freedesktop.org/~airlied/radeontool/).
> PPLL1
> 0x400 - ref div - bits 9:0
> 0x404 - fb div - whole part bits 26:16, fractional part bits 3:0
> 0x408 - post div - bits 6:0
> PPLL2
> 0x440 - ref div - bits 9:0
> 0x444 - fb div - whole part bits 26:16, fractional part bits 3:0
> 0x448 - post div - bits 6:0
> 
> e.g., ./radeonreg regmatch 0x400

I got the results with fglrx:
PPLL1@50Hz:     fb=23.7    ref=2    post=6
PPLL2@50Hz:     fb=296.16  ref=7    post=6
PPLL1@23.976Hz: fb=23.7    ref=2    post=12
PPLL2@23.976Hz: fb=296.16  ref=7    post=6

PPLL2 does seem to be used as it does not change. PPLL1 has different values
than with the radeon OSS driver. What does this mean?


You are receiving this mail because:
  • You are the assignee for the bug.
--1395940471.f3b1b50.19415-- --===============1386773222== 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 --===============1386773222==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Thu, 27 Mar 2014 17:53:04 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1528087955==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 332886EA53 for ; Thu, 27 Mar 2014 10:53:04 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1528087955== Content-Type: multipart/alternative; boundary="1395942784.7aCc72F1.32553"; charset="us-ascii" --1395942784.7aCc72F1.32553 Date: Thu, 27 Mar 2014 17:53:04 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=76564 --- Comment #16 from Alex Deucher --- (In reply to comment #15) > I got the results with fglrx: > PPLL1@50Hz: fb=23.7 ref=2 post=6 > PPLL1@23.976Hz: fb=23.7 ref=2 post=12 > > PPLL2 does seem to be used as it does not change. PPLL1 has different values > than with the radeon OSS driver. What does this mean? (100Mhz * 23.7) / (2 * 6) = 197.5Mhz (100Mhz * 23.7) / (2 * 12) = 98.75Mhz Maybe fglrx is using different modelines with a different display clock? Can you print what modes are being used with fglrx and radeon? E.g., xrandr --verbose. -- You are receiving this mail because: You are the assignee for the bug. --1395942784.7aCc72F1.32553 Date: Thu, 27 Mar 2014 17:53:04 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 16 on bug 76564 from
(In reply to comment #15)
> I got the results with fglrx:
> PPLL1@50Hz:     fb=23.7    ref=2    post=6
> PPLL1@23.976Hz: fb=23.7    ref=2    post=12
> 
> PPLL2 does seem to be used as it does not change. PPLL1 has different values
> than with the radeon OSS driver. What does this mean?


(100Mhz * 23.7) / (2 * 6) = 197.5Mhz

(100Mhz * 23.7) / (2 * 12) = 98.75Mhz

Maybe fglrx is using different modelines with a different display clock?  Can
you print what modes are being used with fglrx and radeon?  E.g., xrandr
--verbose.


You are receiving this mail because:
  • You are the assignee for the bug.
--1395942784.7aCc72F1.32553-- --===============1528087955== 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 --===============1528087955==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Thu, 27 Mar 2014 17:53:21 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1273769956==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id C3D9B6EA54 for ; Thu, 27 Mar 2014 10:53:21 -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 --===============1273769956== Content-Type: multipart/alternative; boundary="1395942801.16Ac3.32553"; charset="us-ascii" --1395942801.16Ac3.32553 Date: Thu, 27 Mar 2014 17:53:21 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=76564 Alex Deucher changed: What |Removed |Added ---------------------------------------------------------------------------- Product|Mesa |DRI Version|10.1 |unspecified Component|Drivers/Gallium/r600 |DRM/Radeon -- You are receiving this mail because: You are the assignee for the bug. --1395942801.16Ac3.32553 Date: Thu, 27 Mar 2014 17:53:21 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" changed bug 76564
What Removed Added
Product Mesa DRI
Version 10.1 unspecified
Component Drivers/Gallium/r600 DRM/Radeon


You are receiving this mail because:
  • You are the assignee for the bug.
--1395942801.16Ac3.32553-- --===============1273769956== 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 --===============1273769956==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Thu, 27 Mar 2014 18:22:53 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1495989549==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 03F9F6E58B for ; Thu, 27 Mar 2014 11:22: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 --===============1495989549== Content-Type: multipart/alternative; boundary="1395944573.Bd3fC8f0.9160"; charset="us-ascii" --1395944573.Bd3fC8f0.9160 Date: Thu, 27 Mar 2014 18:22:53 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=76564 --- Comment #17 from jeroen --- Created attachment 96471 --> https://bugs.freedesktop.org/attachment.cgi?id=96471&action=edit fgrlx xrandr -- You are receiving this mail because: You are the assignee for the bug. --1395944573.Bd3fC8f0.9160 Date: Thu, 27 Mar 2014 18:22:53 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"


You are receiving this mail because:
  • You are the assignee for the bug.
--1395944573.Bd3fC8f0.9160-- --===============1495989549== 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 --===============1495989549==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Thu, 27 Mar 2014 18:23:18 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2097235622==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 878D16E57F for ; Thu, 27 Mar 2014 11:23:18 -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 --===============2097235622== Content-Type: multipart/alternative; boundary="1395944598.C00506aD0.9340"; charset="us-ascii" --1395944598.C00506aD0.9340 Date: Thu, 27 Mar 2014 18:23:18 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=76564 --- Comment #18 from jeroen --- Created attachment 96473 --> https://bugs.freedesktop.org/attachment.cgi?id=96473&action=edit oss xrandr -- You are receiving this mail because: You are the assignee for the bug. --1395944598.C00506aD0.9340 Date: Thu, 27 Mar 2014 18:23:18 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"


You are receiving this mail because:
  • You are the assignee for the bug.
--1395944598.C00506aD0.9340-- --===============2097235622== 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 --===============2097235622==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Thu, 27 Mar 2014 18:24:24 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0381616870==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id A205F6E583 for ; Thu, 27 Mar 2014 11:24:24 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0381616870== Content-Type: multipart/alternative; boundary="1395944664.f6040.9715"; charset="us-ascii" --1395944664.f6040.9715 Date: Thu, 27 Mar 2014 18:24:24 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=76564 --- Comment #19 from jeroen --- (In reply to comment #16) > (In reply to comment #15) > > I got the results with fglrx: > > PPLL1@50Hz: fb=23.7 ref=2 post=6 > > PPLL1@23.976Hz: fb=23.7 ref=2 post=12 > > > > PPLL2 does seem to be used as it does not change. PPLL1 has different values > > than with the radeon OSS driver. What does this mean? > > > (100Mhz * 23.7) / (2 * 6) = 197.5Mhz > > (100Mhz * 23.7) / (2 * 12) = 98.75Mhz > > Maybe fglrx is using different modelines with a different display clock? > Can you print what modes are being used with fglrx and radeon? E.g., xrandr > --verbose. I attached both xrandr outputs. I also noticed that for fgrlx the PLL values are the same for 50Hz,60Hz and 59.94Hz output. -- You are receiving this mail because: You are the assignee for the bug. --1395944664.f6040.9715 Date: Thu, 27 Mar 2014 18:24:24 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 19 on bug 76564 from
(In reply to comment #16)
> (In reply to comment #15)
> > I got the results with fglrx:
> > PPLL1@50Hz:     fb=23.7    ref=2    post=6
> > PPLL1@23.976Hz: fb=23.7    ref=2    post=12
> > 
> > PPLL2 does seem to be used as it does not change. PPLL1 has different values
> > than with the radeon OSS driver. What does this mean?
> 
> 
> (100Mhz * 23.7) / (2 * 6) = 197.5Mhz
> 
> (100Mhz * 23.7) / (2 * 12) = 98.75Mhz
> 
> Maybe fglrx is using different modelines with a different display clock? 
> Can you print what modes are being used with fglrx and radeon?  E.g., xrandr
> --verbose.

I attached both xrandr outputs.

I also noticed that for fgrlx the PLL values are the same for 50Hz,60Hz and
59.94Hz output.


You are receiving this mail because:
  • You are the assignee for the bug.
--1395944664.f6040.9715-- --===============0381616870== 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 --===============0381616870==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Thu, 27 Mar 2014 18:53:17 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1100564488==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 3193F6EA74 for ; Thu, 27 Mar 2014 11:53: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 --===============1100564488== Content-Type: multipart/alternative; boundary="1395946397.5C72FCD0.18032"; charset="us-ascii" --1395946397.5C72FCD0.18032 Date: Thu, 27 Mar 2014 18:53:17 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=76564 --- Comment #20 from jeroen --- (In reply to comment #19) > (In reply to comment #16) > > (In reply to comment #15) > > > I got the results with fglrx: > > > PPLL1@50Hz: fb=23.7 ref=2 post=6 > > > PPLL1@23.976Hz: fb=23.7 ref=2 post=12 > > > > > > PPLL2 does seem to be used as it does not change. PPLL1 has different values > > > than with the radeon OSS driver. What does this mean? > > > > > > (100Mhz * 23.7) / (2 * 6) = 197.5Mhz > > > > (100Mhz * 23.7) / (2 * 12) = 98.75Mhz > > > > Maybe fglrx is using different modelines with a different display clock? > > Can you print what modes are being used with fglrx and radeon? E.g., xrandr > > --verbose. > > I attached both xrandr outputs. > > I also noticed that for fgrlx the PLL values are the same for 50Hz,60Hz and > 59.94Hz output. When I look at the xrandr output I wonder if the reference frequency is not 75MHz for fgrlx? Can the reference even change is this not fixed by the hardware? -- You are receiving this mail because: You are the assignee for the bug. --1395946397.5C72FCD0.18032 Date: Thu, 27 Mar 2014 18:53:17 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 20 on bug 76564 from
(In reply to comment #19)
> (In reply to comment #16)
> > (In reply to comment #15)
> > > I got the results with fglrx:
> > > PPLL1@50Hz:     fb=23.7    ref=2    post=6
> > > PPLL1@23.976Hz: fb=23.7    ref=2    post=12
> > > 
> > > PPLL2 does seem to be used as it does not change. PPLL1 has different values
> > > than with the radeon OSS driver. What does this mean?
> > 
> > 
> > (100Mhz * 23.7) / (2 * 6) = 197.5Mhz
> > 
> > (100Mhz * 23.7) / (2 * 12) = 98.75Mhz
> > 
> > Maybe fglrx is using different modelines with a different display clock? 
> > Can you print what modes are being used with fglrx and radeon?  E.g., xrandr
> > --verbose.
> 
> I attached both xrandr outputs.
> 
> I also noticed that for fgrlx the PLL values are the same for 50Hz,60Hz and
> 59.94Hz output.

When I look at the xrandr output I wonder if the reference frequency is not
75MHz for fgrlx? Can the reference even change is this not fixed by the
hardware?


You are receiving this mail because:
  • You are the assignee for the bug.
--1395946397.5C72FCD0.18032-- --===============1100564488== 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 --===============1100564488==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Fri, 28 Mar 2014 14:08:17 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1229923128==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id B93AC6ED0B for ; Fri, 28 Mar 2014 07:08:16 -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 --===============1229923128== Content-Type: multipart/alternative; boundary="1396015696.2DFe1.17147"; charset="us-ascii" --1396015696.2DFe1.17147 Date: Fri, 28 Mar 2014 14:08:16 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=76564 --- Comment #21 from Alex Deucher --- (In reply to comment #20) > > When I look at the xrandr output I wonder if the reference frequency is not > 75MHz for fgrlx? Can the reference even change is this not fixed by the > hardware? As far as I know, it's fixed. I'm not really sure what fglrx is doing. Anyway, it's probably easier to just fix the open source driver. the modes are: 1920x1080 (0x55) 148.5MHz +HSync +VSync *current +preferred h: width 1920 start 2448 end 2492 total 2640 skew 0 clock 56.2KHz v: height 1080 start 1084 end 1089 total 1125 clock 50.0Hz 1920x1080 (0x5a) 74.2MHz +HSync +VSync h: width 1920 start 2558 end 2602 total 2750 skew 0 clock 27.0KHz v: height 1080 start 1084 end 1089 total 1125 clock 24.0Hz and the driver ends up calculating the dividers as such: for 148.5MHz target clock: (100Mhz * 23.8) / (2 * 8) = 148.75Mhz for 74.2MHz target clock: (100Mhz * 23.7) / (2 * 16) = 74.0625Mhz One would need to tweak radeon_compute_pll_avivo() in radeon_display.c to try and get dividers that are closer to the target clock. -- You are receiving this mail because: You are the assignee for the bug. --1396015696.2DFe1.17147 Date: Fri, 28 Mar 2014 14:08:16 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 21 on bug 76564 from
(In reply to comment #20)
>  
> When I look at the xrandr output I wonder if the reference frequency is not
> 75MHz for fgrlx? Can the reference even change is this not fixed by the
> hardware?

As far as I know, it's fixed.  I'm not really sure what fglrx is doing. 
Anyway, it's probably easier to just fix the open source driver.

the modes are:
  1920x1080 (0x55)  148.5MHz +HSync +VSync *current +preferred
        h: width  1920 start 2448 end 2492 total 2640 skew    0 clock   56.2KHz
        v: height 1080 start 1084 end 1089 total 1125           clock   50.0Hz

  1920x1080 (0x5a)   74.2MHz +HSync +VSync
        h: width  1920 start 2558 end 2602 total 2750 skew    0 clock   27.0KHz
        v: height 1080 start 1084 end 1089 total 1125           clock   24.0Hz

and the driver ends up calculating the dividers as such:

for 148.5MHz target clock:
(100Mhz * 23.8) / (2 * 8) = 148.75Mhz

for 74.2MHz target clock:
(100Mhz * 23.7) / (2 * 16) = 74.0625Mhz

One would need to tweak radeon_compute_pll_avivo() in radeon_display.c to try
and get dividers that are closer to the target clock.


You are receiving this mail because:
  • You are the assignee for the bug.
--1396015696.2DFe1.17147-- --===============1229923128== 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 --===============1229923128==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Fri, 28 Mar 2014 14:34:52 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0789463453==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 2D97F890B3 for ; Fri, 28 Mar 2014 07:34:52 -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 --===============0789463453== Content-Type: multipart/alternative; boundary="1396017292.b5ed1.25293"; charset="us-ascii" --1396017292.b5ed1.25293 Date: Fri, 28 Mar 2014 14:34: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=3D76564 --- Comment #22 from Christian K=C3=B6nig --- (In reply to comment #21) > One would need to tweak radeon_compute_pll_avivo() in radeon_display.c to > try and get dividers that are closer to the target clock. That was some kind of calculus or rather functional analyesis of finding the sweet spot for getting the frequency exact without toasting the hardware wa= sn't it? --=20 You are receiving this mail because: You are the assignee for the bug. --1396017292.b5ed1.25293 Date: Fri, 28 Mar 2014 14:34:52 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 22 on bug 76564<= /a> from Christian K=C3=B6nig
(In reply to comment #=
21)
> One would need to tweak radeon_compute_pll_avivo=
() in radeon_display.c to
> try and get dividers that are closer to the target clock.

That was some kind of calculus or rather functional analyesis of finding the
sweet spot for getting the frequency exact without toasting the hardware wa=
sn't
it?


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1396017292.b5ed1.25293-- --===============0789463453== 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 --===============0789463453==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Fri, 28 Mar 2014 14:37:43 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0144525385==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 7AD1D6ED23 for ; Fri, 28 Mar 2014 07:37:43 -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 --===============0144525385== Content-Type: multipart/alternative; boundary="1396017463.fA66600.26605"; charset="us-ascii" --1396017463.fA66600.26605 Date: Fri, 28 Mar 2014 14:37:43 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=76564 --- Comment #23 from jeroen --- (In reply to comment #21) > (In reply to comment #20) > > > > When I look at the xrandr output I wonder if the reference frequency is not > > 75MHz for fgrlx? Can the reference even change is this not fixed by the > > hardware? > > As far as I know, it's fixed. I'm not really sure what fglrx is doing. > Anyway, it's probably easier to just fix the open source driver. > > the modes are: > 1920x1080 (0x55) 148.5MHz +HSync +VSync *current +preferred > h: width 1920 start 2448 end 2492 total 2640 skew 0 clock > 56.2KHz > v: height 1080 start 1084 end 1089 total 1125 clock > 50.0Hz > > 1920x1080 (0x5a) 74.2MHz +HSync +VSync > h: width 1920 start 2558 end 2602 total 2750 skew 0 clock > 27.0KHz > v: height 1080 start 1084 end 1089 total 1125 clock > 24.0Hz > > and the driver ends up calculating the dividers as such: > > for 148.5MHz target clock: > (100Mhz * 23.8) / (2 * 8) = 148.75Mhz > > for 74.2MHz target clock: > (100Mhz * 23.7) / (2 * 16) = 74.0625Mhz > > One would need to tweak radeon_compute_pll_avivo() in radeon_display.c to > try and get dividers that are closer to the target clock. Isn't that what the OSS driver is currently doing? If you look in the post history those are the exact values that are currently being used -- You are receiving this mail because: You are the assignee for the bug. --1396017463.fA66600.26605 Date: Fri, 28 Mar 2014 14:37:43 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 23 on bug 76564 from
(In reply to comment #21)
> (In reply to comment #20)
> >  
> > When I look at the xrandr output I wonder if the reference frequency is not
> > 75MHz for fgrlx? Can the reference even change is this not fixed by the
> > hardware?
> 
> As far as I know, it's fixed.  I'm not really sure what fglrx is doing. 
> Anyway, it's probably easier to just fix the open source driver.
> 
> the modes are:
>   1920x1080 (0x55)  148.5MHz +HSync +VSync *current +preferred
>         h: width  1920 start 2448 end 2492 total 2640 skew    0 clock  
> 56.2KHz
>         v: height 1080 start 1084 end 1089 total 1125           clock  
> 50.0Hz
> 
>   1920x1080 (0x5a)   74.2MHz +HSync +VSync
>         h: width  1920 start 2558 end 2602 total 2750 skew    0 clock  
> 27.0KHz
>         v: height 1080 start 1084 end 1089 total 1125           clock  
> 24.0Hz
> 
> and the driver ends up calculating the dividers as such:
> 
> for 148.5MHz target clock:
> (100Mhz * 23.8) / (2 * 8) = 148.75Mhz
> 
> for 74.2MHz target clock:
> (100Mhz * 23.7) / (2 * 16) = 74.0625Mhz
> 
> One would need to tweak radeon_compute_pll_avivo() in radeon_display.c to
> try and get dividers that are closer to the target clock.

Isn't that what the OSS driver is currently doing? If you look in the post
history those are the exact values that are currently being used


You are receiving this mail because:
  • You are the assignee for the bug.
--1396017463.fA66600.26605-- --===============0144525385== 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 --===============0144525385==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Fri, 28 Mar 2014 14:42:12 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1806631899==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 08D1B6ED2A for ; Fri, 28 Mar 2014 07:42:12 -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 --===============1806631899== Content-Type: multipart/alternative; boundary="1396017731.C3C87321.28745"; charset="us-ascii" --1396017731.C3C87321.28745 Date: Fri, 28 Mar 2014 14:42: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=3D76564 --- Comment #24 from Christian K=C3=B6nig --- (In reply to comment #23) > (In reply to comment #21) > > (In reply to comment #20) > > >=20=20 > > > When I look at the xrandr output I wonder if the reference frequency = is not > > > 75MHz for fgrlx? Can the reference even change is this not fixed by t= he > > > hardware? > >=20 > > As far as I know, it's fixed. I'm not really sure what fglrx is doing.= =20 > > Anyway, it's probably easier to just fix the open source driver. > >=20 > > the modes are: > > 1920x1080 (0x55) 148.5MHz +HSync +VSync *current +preferred > > h: width 1920 start 2448 end 2492 total 2640 skew 0 clock= =20=20 > > 56.2KHz > > v: height 1080 start 1084 end 1089 total 1125 clock= =20=20 > > 50.0Hz > >=20 > > 1920x1080 (0x5a) 74.2MHz +HSync +VSync > > h: width 1920 start 2558 end 2602 total 2750 skew 0 clock= =20=20 > > 27.0KHz > > v: height 1080 start 1084 end 1089 total 1125 clock= =20=20 > > 24.0Hz > >=20 > > and the driver ends up calculating the dividers as such: > >=20 > > for 148.5MHz target clock: > > (100Mhz * 23.8) / (2 * 8) =3D 148.75Mhz > >=20 > > for 74.2MHz target clock: > > (100Mhz * 23.7) / (2 * 16) =3D 74.0625Mhz > >=20 > > One would need to tweak radeon_compute_pll_avivo() in radeon_display.c = to > > try and get dividers that are closer to the target clock. >=20 > Isn't that what the OSS driver is currently doing? If you look in the post > history those are the exact values that are currently being used The problem is that the frequencys are exact enough so that the display dev= ice (Monitor/TV/Whatever) accepts them, but not 100% precise. E.g. for the 50Hz mode we wanted 148.5MHz pixel clock, but got 148.75Mhz instead. And for the 24Hz mode we wanted 74.2MHz but got 74.0625Mhz instead. So as Alex said somebody would need to dig into that and try to improve the numbers without toasting the hardware. --=20 You are receiving this mail because: You are the assignee for the bug. --1396017731.C3C87321.28745 Date: Fri, 28 Mar 2014 14:42:11 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 24 on bug 76564<= /a> from Christian K=C3=B6nig
(In reply to comment #=
23)
> (In reply to comment #21)
> > (In reply to comment #20<=
/a>)
> > >=20=20
> > > When I look at the xrandr output I wonder if the reference f=
requency is not
> > > 75MHz for fgrlx? Can the reference even change is this not f=
ixed by the
> > > hardware?
> >=20
> > As far as I know, it's fixed.  I'm not really sure what fglrx is =
doing.=20
> > Anyway, it's probably easier to just fix the open source driver.
> >=20
> > the modes are:
> >   1920x1080 (0x55)  148.5MHz +HSync +VSync *current +preferred
> >         h: width  1920 start 2448 end 2492 total 2640 skew    0 c=
lock=20=20
> > 56.2KHz
> >         v: height 1080 start 1084 end 1089 total 1125           c=
lock=20=20
> > 50.0Hz
> >=20
> >   1920x1080 (0x5a)   74.2MHz +HSync +VSync
> >         h: width  1920 start 2558 end 2602 total 2750 skew    0 c=
lock=20=20
> > 27.0KHz
> >         v: height 1080 start 1084 end 1089 total 1125           c=
lock=20=20
> > 24.0Hz
> >=20
> > and the driver ends up calculating the dividers as such:
> >=20
> > for 148.5MHz target clock:
> > (100Mhz * 23.8) / (2 * 8) =3D 148.75Mhz
> >=20
> > for 74.2MHz target clock:
> > (100Mhz * 23.7) / (2 * 16) =3D 74.0625Mhz
> >=20
> > One would need to tweak radeon_compute_pll_avivo() in radeon_disp=
lay.c to
> > try and get dividers that are closer to the target clock.
>=20
> Isn't that what the OSS driver is currently doing? If you look in the =
post
> history those are the exact values that are currently being used

The problem is that the frequencys are exact enough so that the display dev=
ice
(Monitor/TV/Whatever) accepts them, but not 100% precise.

E.g. for the 50Hz mode we wanted 148.5MHz pixel clock, but got 148.75Mhz
instead. And for the 24Hz mode we wanted 74.2MHz but got 74.0625Mhz instead.

So as Alex said somebody would need to dig into that and try to improve the
numbers without toasting the hardware.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1396017731.C3C87321.28745-- --===============1806631899== 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 --===============1806631899==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Fri, 28 Mar 2014 15:18:18 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1688301337==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 06B186E695 for ; Fri, 28 Mar 2014 08:18:18 -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 --===============1688301337== Content-Type: multipart/alternative; boundary="1396019897.Cf35DA680.5446"; charset="us-ascii" --1396019897.Cf35DA680.5446 Date: Fri, 28 Mar 2014 15:18:17 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=76564 --- Comment #25 from jeroen --- (In reply to comment #24) > (In reply to comment #23) > > (In reply to comment #21) > > > (In reply to comment #20) > > > > > > > > When I look at the xrandr output I wonder if the reference frequency is not > > > > 75MHz for fgrlx? Can the reference even change is this not fixed by the > > > > hardware? > > > > > > As far as I know, it's fixed. I'm not really sure what fglrx is doing. > > > Anyway, it's probably easier to just fix the open source driver. > > > > > > the modes are: > > > 1920x1080 (0x55) 148.5MHz +HSync +VSync *current +preferred > > > h: width 1920 start 2448 end 2492 total 2640 skew 0 clock > > > 56.2KHz > > > v: height 1080 start 1084 end 1089 total 1125 clock > > > 50.0Hz > > > > > > 1920x1080 (0x5a) 74.2MHz +HSync +VSync > > > h: width 1920 start 2558 end 2602 total 2750 skew 0 clock > > > 27.0KHz > > > v: height 1080 start 1084 end 1089 total 1125 clock > > > 24.0Hz > > > > > > and the driver ends up calculating the dividers as such: > > > > > > for 148.5MHz target clock: > > > (100Mhz * 23.8) / (2 * 8) = 148.75Mhz > > > > > > for 74.2MHz target clock: > > > (100Mhz * 23.7) / (2 * 16) = 74.0625Mhz > > > > > > One would need to tweak radeon_compute_pll_avivo() in radeon_display.c to > > > try and get dividers that are closer to the target clock. > > > > Isn't that what the OSS driver is currently doing? If you look in the post > > history those are the exact values that are currently being used > > The problem is that the frequencys are exact enough so that the display > device (Monitor/TV/Whatever) accepts them, but not 100% precise. > > E.g. for the 50Hz mode we wanted 148.5MHz pixel clock, but got 148.75Mhz > instead. And for the 24Hz mode we wanted 74.2MHz but got 74.0625Mhz instead. > > So as Alex said somebody would need to dig into that and try to improve the > numbers without toasting the hardware. So that would mean for example using fb=29.7 Ref=2 post=10? Or would that fry the hardware? Why must it exactly match? Because for fgrlx it seems roughly 30% higher than needed -- You are receiving this mail because: You are the assignee for the bug. --1396019897.Cf35DA680.5446 Date: Fri, 28 Mar 2014 15:18:17 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 25 on bug 76564 from
(In reply to comment #24)
> (In reply to comment #23)
> > (In reply to comment #21)
> > > (In reply to comment #20)
> > > >  
> > > > When I look at the xrandr output I wonder if the reference frequency is not
> > > > 75MHz for fgrlx? Can the reference even change is this not fixed by the
> > > > hardware?
> > > 
> > > As far as I know, it's fixed.  I'm not really sure what fglrx is doing. 
> > > Anyway, it's probably easier to just fix the open source driver.
> > > 
> > > the modes are:
> > >   1920x1080 (0x55)  148.5MHz +HSync +VSync *current +preferred
> > >         h: width  1920 start 2448 end 2492 total 2640 skew    0 clock  
> > > 56.2KHz
> > >         v: height 1080 start 1084 end 1089 total 1125           clock  
> > > 50.0Hz
> > > 
> > >   1920x1080 (0x5a)   74.2MHz +HSync +VSync
> > >         h: width  1920 start 2558 end 2602 total 2750 skew    0 clock  
> > > 27.0KHz
> > >         v: height 1080 start 1084 end 1089 total 1125           clock  
> > > 24.0Hz
> > > 
> > > and the driver ends up calculating the dividers as such:
> > > 
> > > for 148.5MHz target clock:
> > > (100Mhz * 23.8) / (2 * 8) = 148.75Mhz
> > > 
> > > for 74.2MHz target clock:
> > > (100Mhz * 23.7) / (2 * 16) = 74.0625Mhz
> > > 
> > > One would need to tweak radeon_compute_pll_avivo() in radeon_display.c to
> > > try and get dividers that are closer to the target clock.
> > 
> > Isn't that what the OSS driver is currently doing? If you look in the post
> > history those are the exact values that are currently being used
> 
> The problem is that the frequencys are exact enough so that the display
> device (Monitor/TV/Whatever) accepts them, but not 100% precise.
> 
> E.g. for the 50Hz mode we wanted 148.5MHz pixel clock, but got 148.75Mhz
> instead. And for the 24Hz mode we wanted 74.2MHz but got 74.0625Mhz instead.
> 
> So as Alex said somebody would need to dig into that and try to improve the
> numbers without toasting the hardware.

So that would mean for example using fb=29.7   Ref=2   post=10?

Or would that fry the hardware?
Why must it exactly match? Because for fgrlx it seems roughly 30% higher than
needed


You are receiving this mail because:
  • You are the assignee for the bug.
--1396019897.Cf35DA680.5446-- --===============1688301337== 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 --===============1688301337==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Fri, 28 Mar 2014 16:04:08 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1321717992==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 7C65A6ED34 for ; Fri, 28 Mar 2014 09:04:08 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1321717992== Content-Type: multipart/alternative; boundary="1396022648.4FB4BDB1.20840"; charset="us-ascii" --1396022648.4FB4BDB1.20840 Date: Fri, 28 Mar 2014 16:04:08 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=76564 --- Comment #26 from Alex Deucher --- (In reply to comment #25) > (In reply to comment #24) > > (In reply to comment #23) > > > (In reply to comment #21) > > > > (In reply to comment #20) > > > > > > > > > > When I look at the xrandr output I wonder if the reference frequency is not > > > > > 75MHz for fgrlx? Can the reference even change is this not fixed by the > > > > > hardware? > > > > > > > > As far as I know, it's fixed. I'm not really sure what fglrx is doing. > > > > Anyway, it's probably easier to just fix the open source driver. > > > > > > > > the modes are: > > > > 1920x1080 (0x55) 148.5MHz +HSync +VSync *current +preferred > > > > h: width 1920 start 2448 end 2492 total 2640 skew 0 clock > > > > 56.2KHz > > > > v: height 1080 start 1084 end 1089 total 1125 clock > > > > 50.0Hz > > > > > > > > 1920x1080 (0x5a) 74.2MHz +HSync +VSync > > > > h: width 1920 start 2558 end 2602 total 2750 skew 0 clock > > > > 27.0KHz > > > > v: height 1080 start 1084 end 1089 total 1125 clock > > > > 24.0Hz > > > > > > > > and the driver ends up calculating the dividers as such: > > > > > > > > for 148.5MHz target clock: > > > > (100Mhz * 23.8) / (2 * 8) = 148.75Mhz > > > > > > > > for 74.2MHz target clock: > > > > (100Mhz * 23.7) / (2 * 16) = 74.0625Mhz > > > > > > > > One would need to tweak radeon_compute_pll_avivo() in radeon_display.c to > > > > try and get dividers that are closer to the target clock. > > > > > > Isn't that what the OSS driver is currently doing? If you look in the post > > > history those are the exact values that are currently being used > > > > The problem is that the frequencys are exact enough so that the display > > device (Monitor/TV/Whatever) accepts them, but not 100% precise. > > > > E.g. for the 50Hz mode we wanted 148.5MHz pixel clock, but got 148.75Mhz > > instead. And for the 24Hz mode we wanted 74.2MHz but got 74.0625Mhz instead. > > > > So as Alex said somebody would need to dig into that and try to improve the > > numbers without toasting the hardware. > > So that would mean for example using fb=29.7 Ref=2 post=10? > > Or would that fry the hardware? That should work. You aren't likely to fry the hw. You just don't want to set a 400 Mhz clock as you monitor properly won't like it. The hard part is adjusting the algorithm to reliably calculate a good value for a wide range of clocks. > Why must it exactly match? You want to the clock to accurately match what userspace expects. So if userspace expects 148.5MHz and the clock is actually 148.75MHz the actual and expected frame rate will be slightly off. -- You are receiving this mail because: You are the assignee for the bug. --1396022648.4FB4BDB1.20840 Date: Fri, 28 Mar 2014 16:04:08 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 26 on bug 76564 from
(In reply to comment #25)
> (In reply to comment #24)
> > (In reply to comment #23)
> > > (In reply to comment #21)
> > > > (In reply to comment #20)
> > > > >  
> > > > > When I look at the xrandr output I wonder if the reference frequency is not
> > > > > 75MHz for fgrlx? Can the reference even change is this not fixed by the
> > > > > hardware?
> > > > 
> > > > As far as I know, it's fixed.  I'm not really sure what fglrx is doing. 
> > > > Anyway, it's probably easier to just fix the open source driver.
> > > > 
> > > > the modes are:
> > > >   1920x1080 (0x55)  148.5MHz +HSync +VSync *current +preferred
> > > >         h: width  1920 start 2448 end 2492 total 2640 skew    0 clock  
> > > > 56.2KHz
> > > >         v: height 1080 start 1084 end 1089 total 1125           clock  
> > > > 50.0Hz
> > > > 
> > > >   1920x1080 (0x5a)   74.2MHz +HSync +VSync
> > > >         h: width  1920 start 2558 end 2602 total 2750 skew    0 clock  
> > > > 27.0KHz
> > > >         v: height 1080 start 1084 end 1089 total 1125           clock  
> > > > 24.0Hz
> > > > 
> > > > and the driver ends up calculating the dividers as such:
> > > > 
> > > > for 148.5MHz target clock:
> > > > (100Mhz * 23.8) / (2 * 8) = 148.75Mhz
> > > > 
> > > > for 74.2MHz target clock:
> > > > (100Mhz * 23.7) / (2 * 16) = 74.0625Mhz
> > > > 
> > > > One would need to tweak radeon_compute_pll_avivo() in radeon_display.c to
> > > > try and get dividers that are closer to the target clock.
> > > 
> > > Isn't that what the OSS driver is currently doing? If you look in the post
> > > history those are the exact values that are currently being used
> > 
> > The problem is that the frequencys are exact enough so that the display
> > device (Monitor/TV/Whatever) accepts them, but not 100% precise.
> > 
> > E.g. for the 50Hz mode we wanted 148.5MHz pixel clock, but got 148.75Mhz
> > instead. And for the 24Hz mode we wanted 74.2MHz but got 74.0625Mhz instead.
> > 
> > So as Alex said somebody would need to dig into that and try to improve the
> > numbers without toasting the hardware.
> 
> So that would mean for example using fb=29.7   Ref=2   post=10?
> 
> Or would that fry the hardware?

That should work.  You aren't likely to fry the hw.  You just don't want to set
a 400 Mhz clock as you monitor properly won't like it.  The hard part is
adjusting the algorithm to reliably calculate a good value for a wide range of
clocks.

> Why must it exactly match?

You want to the clock to accurately match what userspace expects.  So if
userspace expects 148.5MHz and the clock is actually 148.75MHz the actual and
expected frame rate will be slightly off.


You are receiving this mail because:
  • You are the assignee for the bug.
--1396022648.4FB4BDB1.20840-- --===============1321717992== 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 --===============1321717992==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Fri, 28 Mar 2014 16:22:42 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1779502157==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id E60866ED3B for ; Fri, 28 Mar 2014 09:22:41 -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 --===============1779502157== Content-Type: multipart/alternative; boundary="1396023761.eB61C61.25380"; charset="us-ascii" --1396023761.eB61C61.25380 Date: Fri, 28 Mar 2014 16:22: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=3D76564 --- Comment #27 from Christian K=C3=B6nig --- (In reply to comment #26) > (In reply to comment #25) > > (In reply to comment #24) > > > (In reply to comment #23) > > > The problem is that the frequencys are exact enough so that the displ= ay > > > device (Monitor/TV/Whatever) accepts them, but not 100% precise. > > >=20 > > > E.g. for the 50Hz mode we wanted 148.5MHz pixel clock, but got 148.75= Mhz > > > instead. And for the 24Hz mode we wanted 74.2MHz but got 74.0625Mhz i= nstead. > > >=20 > > > So as Alex said somebody would need to dig into that and try to impro= ve the > > > numbers without toasting the hardware. > >=20 > > So that would mean for example using fb=3D29.7 Ref=3D2 post=3D10? > >=20 > > Or would that fry the hardware? >=20 > That should work. You aren't likely to fry the hw. You just don't want = to > set a 400 Mhz clock as you monitor properly won't like it. The hard part= is > adjusting the algorithm to reliably calculate a good value for a wide ran= ge > of clocks. I'm not sure if those values would work. A post divider of 10 might result = in a to high VCO and that could indeed damage the hardware (even if that's rather unlikely). Essentially the target clock multiplied with the post divider must be in a certain range. I think between pll->pll_out_max and pll->pll_out_min. I think the problem is that we don't try to choose a good value to match the target frequency as close as possible in avivo_get_post_div, but just a val= ue that either matches the maximum or minimum VCO frequency. --=20 You are receiving this mail because: You are the assignee for the bug. --1396023761.eB61C61.25380 Date: Fri, 28 Mar 2014 16:22:41 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 27 on bug 76564<= /a> from Christian K=C3=B6nig
(In reply to comment #=
26)
> (In reply to comment #25)
> > (In reply to comment #24<=
/a>)
> > > (In reply to comment=
 #23)
> > > The problem is that the frequencys are exact enough so that =
the display
> > > device (Monitor/TV/Whatever) accepts them, but not 100% prec=
ise.
> > >=20
> > > E.g. for the 50Hz mode we wanted 148.5MHz pixel clock, but g=
ot 148.75Mhz
> > > instead. And for the 24Hz mode we wanted 74.2MHz but got 74.=
0625Mhz instead.
> > >=20
> > > So as Alex said somebody would need to dig into that and try=
 to improve the
> > > numbers without toasting the hardware.
> >=20
> > So that would mean for example using fb=3D29.7   Ref=3D2   post=
=3D10?
> >=20
> > Or would that fry the hardware?
>=20
> That should work.  You aren't likely to fry the hw.  You just don't wa=
nt to
> set a 400 Mhz clock as you monitor properly won't like it.  The hard p=
art is
> adjusting the algorithm to reliably calculate a good value for a wide =
range
> of clocks.

I'm not sure if those values would work. A post divider of 10 might result =
in a
to high VCO and that could indeed damage the hardware (even if that's rather
unlikely).

Essentially the target clock multiplied with the post divider must be in a
certain range. I think between pll->pll_out_max and pll->pll_out_min.

I think the problem is that we don't try to choose a good value to match the
target frequency as close as possible in avivo_get_post_div, but just a val=
ue
that either matches the maximum or minimum VCO frequency.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1396023761.eB61C61.25380-- --===============1779502157== 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 --===============1779502157==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Fri, 28 Mar 2014 17:02:22 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1733212791==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id A97AC6ED5A for ; Fri, 28 Mar 2014 10:02:22 -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 --===============1733212791== Content-Type: multipart/alternative; boundary="1396026142.51207260.7140"; charset="us-ascii" --1396026142.51207260.7140 Date: Fri, 28 Mar 2014 17:02:22 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=76564 --- Comment #28 from jeroen --- (In reply to comment #27) > (In reply to comment #26) > > (In reply to comment #25) > > > (In reply to comment #24) > > > > (In reply to comment #23) > > > > The problem is that the frequencys are exact enough so that the display > > > > device (Monitor/TV/Whatever) accepts them, but not 100% precise. > > > > > > > > E.g. for the 50Hz mode we wanted 148.5MHz pixel clock, but got 148.75Mhz > > > > instead. And for the 24Hz mode we wanted 74.2MHz but got 74.0625Mhz instead. > > > > > > > > So as Alex said somebody would need to dig into that and try to improve the > > > > numbers without toasting the hardware. > > > > > > So that would mean for example using fb=29.7 Ref=2 post=10? > > > > > > Or would that fry the hardware? > > > > That should work. You aren't likely to fry the hw. You just don't want to > > set a 400 Mhz clock as you monitor properly won't like it. The hard part is > > adjusting the algorithm to reliably calculate a good value for a wide range > > of clocks. > > I'm not sure if those values would work. A post divider of 10 might result > in a to high VCO and that could indeed damage the hardware (even if that's > rather unlikely). > > Essentially the target clock multiplied with the post divider must be in a > certain range. I think between pll->pll_out_max and pll->pll_out_min. > > I think the problem is that we don't try to choose a good value to match the > target frequency as close as possible in avivo_get_post_div, but just a > value that either matches the maximum or minimum VCO frequency. Perhaps before somebody is going to modify the algorithm, it is a good idea to verify that this is indeed the problem. If this is the problem why don't more people have these problems? If I know which values for fb,ref and post to use for 23.976fps I can hard code these In a patch and test if it indeed works. So which values are save to get a clock of 74.2MHz? -- You are receiving this mail because: You are the assignee for the bug. --1396026142.51207260.7140 Date: Fri, 28 Mar 2014 17:02:22 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 28 on bug 76564 from
(In reply to comment #27)
> (In reply to comment #26)
> > (In reply to comment #25)
> > > (In reply to comment #24)
> > > > (In reply to comment #23)
> > > > The problem is that the frequencys are exact enough so that the display
> > > > device (Monitor/TV/Whatever) accepts them, but not 100% precise.
> > > > 
> > > > E.g. for the 50Hz mode we wanted 148.5MHz pixel clock, but got 148.75Mhz
> > > > instead. And for the 24Hz mode we wanted 74.2MHz but got 74.0625Mhz instead.
> > > > 
> > > > So as Alex said somebody would need to dig into that and try to improve the
> > > > numbers without toasting the hardware.
> > > 
> > > So that would mean for example using fb=29.7   Ref=2   post=10?
> > > 
> > > Or would that fry the hardware?
> > 
> > That should work.  You aren't likely to fry the hw.  You just don't want to
> > set a 400 Mhz clock as you monitor properly won't like it.  The hard part is
> > adjusting the algorithm to reliably calculate a good value for a wide range
> > of clocks.
> 
> I'm not sure if those values would work. A post divider of 10 might result
> in a to high VCO and that could indeed damage the hardware (even if that's
> rather unlikely).
> 
> Essentially the target clock multiplied with the post divider must be in a
> certain range. I think between pll->pll_out_max and pll->pll_out_min.
> 
> I think the problem is that we don't try to choose a good value to match the
> target frequency as close as possible in avivo_get_post_div, but just a
> value that either matches the maximum or minimum VCO frequency.

Perhaps before somebody is going to modify the algorithm, it is a good idea to
verify that this is indeed the problem.
If this is the problem why don't more people have these problems?

If I know which values for fb,ref and post to use for 23.976fps I can hard code
these In a patch and test if it indeed works.

So which values are save to get a clock of 74.2MHz?


You are receiving this mail because:
  • You are the assignee for the bug.
--1396026142.51207260.7140-- --===============1733212791== 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 --===============1733212791==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Fri, 28 Mar 2014 17:06:07 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1943801923==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id CBA4D6ED62 for ; Fri, 28 Mar 2014 10:06:06 -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 --===============1943801923== Content-Type: multipart/alternative; boundary="1396026366.2eCC1.8553"; charset="us-ascii" --1396026366.2eCC1.8553 Date: Fri, 28 Mar 2014 17:06: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=3D76564 --- Comment #29 from Christian K=C3=B6nig --- (In reply to comment #28) > Perhaps before somebody is going to modify the algorithm, it is a good id= ea > to verify that this is indeed the problem. > If this is the problem why don't more people have these problems? >=20 > If I know which values for fb,ref and post to use for 23.976fps I can hard > code these In a patch and test if it indeed works. >=20 > So which values are save to get a clock of 74.2MHz? I've already hacked together a patch that from inituial testing seems to wo= rk fine. Just give me a about an hour to clean that up and then I will attach it so = you can test. --=20 You are receiving this mail because: You are the assignee for the bug. --1396026366.2eCC1.8553 Date: Fri, 28 Mar 2014 17:06:06 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 29 on bug 76564<= /a> from Christian K=C3=B6nig
(In reply to comment #=
28)
> Perhaps before somebody is going to modify the a=
lgorithm, it is a good idea
> to verify that this is indeed the problem.
> If this is the problem why don't more people have these problems?
>=20
> If I know which values for fb,ref and post to use for 23.976fps I can =
hard
> code these In a patch and test if it indeed works.
>=20
> So which values are save to get a clock of 74.2MHz?

I've already hacked together a patch that from inituial testing seems to wo=
rk
fine.

Just give me a about an hour to clean that up and then I will attach it so =
you
can test.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1396026366.2eCC1.8553-- --===============1943801923== 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 --===============1943801923==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Fri, 28 Mar 2014 17:56:45 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0462813600==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id B94746ED7D for ; Fri, 28 Mar 2014 10:56:45 -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 --===============0462813600== Content-Type: multipart/alternative; boundary="1396029405.081cDaB1.23891"; charset="us-ascii" --1396029405.081cDaB1.23891 Date: Fri, 28 Mar 2014 17:56:45 +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=3D76564 --- Comment #30 from Christian K=C3=B6nig --- Created attachment 96561 --> https://bugs.freedesktop.org/attachment.cgi?id=3D96561&action=3Dedit Possible fix Please try if the attached patch helps. --=20 You are receiving this mail because: You are the assignee for the bug. --1396029405.081cDaB1.23891 Date: Fri, 28 Mar 2014 17:56:45 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 30 on bug 76564<= /a> from Christian K=C3=B6nig
Created attachment 96561 [de=
tails] [review]
Possible fix

Please try if the attached patch helps.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1396029405.081cDaB1.23891-- --===============0462813600== 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 --===============0462813600==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Fri, 28 Mar 2014 18:06:29 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1156127168==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 3A8046ED87 for ; Fri, 28 Mar 2014 11:06:29 -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 --===============1156127168== Content-Type: multipart/alternative; boundary="1396029989.6aCC271.26881"; charset="us-ascii" --1396029989.6aCC271.26881 Date: Fri, 28 Mar 2014 18:06:29 +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=3D76564 Christian K=C3=B6nig changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #96561|0 |1 is obsolete| | --- Comment #31 from Christian K=C3=B6nig --- Created attachment 96562 --> https://bugs.freedesktop.org/attachment.cgi?id=3D96562&action=3Dedit Possible fix v2 Sorry just found a stupid typo in the last patch, attached is a new one. --=20 You are receiving this mail because: You are the assignee for the bug. --1396029989.6aCC271.26881 Date: Fri, 28 Mar 2014 18:06:29 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Christian K=C3=B6nig changed bug 76564<= /a>
What Removed Added
Attachment #96561 is obsolete   1

Commen= t # 31 on bug 76564<= /a> from Christian K=C3=B6nig
Created attachment 96562 
References: 
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============2134281195=="
Return-path: 
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
 by gabe.freedesktop.org (Postfix) with ESMTP id 5E3946E92B
 for ; Sat, 29 Mar 2014 04:20:00 -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


--===============2134281195==
Content-Type: multipart/alternative; boundary="1396092000.0ff7bd40.18876"; charset="us-ascii"


--1396092000.0ff7bd40.18876
Date: Sat, 29 Mar 2014 11:20:00 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"

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

--- Comment #32 from jeroen  ---
(In reply to comment #31)
> Created attachment 96562 [details] [review]
> Possible fix v2
> 
> Sorry just found a stupid typo in the last patch, attached is a new one.

I've tested the patch and it definately better, as in less frames are
dropped/skipped. The fps indicated by xbmc is now 23.98fps as expected, but
every so many seconds it drops to 22fps. Without the patch it was 23.95fps and
dropped to 22fps so many seconds.

The PLL values are now:
23.976 content: [drm:radeon_compute_pll_avivo], 7416, pll dividers - fb: 17.8
ref: 2, post 12
50fps content: [drm:radeon_compute_pll_avivo], 14833, pll dividers - fb: 17.8
ref: 2, post 6

So compared to without the patch it is closer to the perfect value, but still
not there. So since the frame rate is closer now I expect the only way to get
it to work properly is to get a perfect match I guess.

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

--1396092000.0ff7bd40.18876
Date: Sat, 29 Mar 2014 11:20:00 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"


    
      
    
    
      

Comment # 32 on bug 76564 from
(In reply to comment #31)
> Created attachment 96562 [details] [review] [review]
> Possible fix v2
> 
> Sorry just found a stupid typo in the last patch, attached is a new one.

I've tested the patch and it definately better, as in less frames are
dropped/skipped. The fps indicated by xbmc is now 23.98fps as expected, but
every so many seconds it drops to 22fps. Without the patch it was 23.95fps and
dropped to 22fps so many seconds.

The PLL values are now:
23.976 content: [drm:radeon_compute_pll_avivo], 7416, pll dividers - fb: 17.8
ref: 2, post 12
50fps content: [drm:radeon_compute_pll_avivo], 14833, pll dividers - fb: 17.8
ref: 2, post 6

So compared to without the patch it is closer to the perfect value, but still
not there. So since the frame rate is closer now I expect the only way to get
it to work properly is to get a perfect match I guess.


You are receiving this mail because:
  • You are the assignee for the bug.
--1396092000.0ff7bd40.18876-- --===============2134281195== 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 --===============2134281195==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Sat, 29 Mar 2014 14:03:32 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2090681215==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 686E46ECF4 for ; Sat, 29 Mar 2014 07:03: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 --===============2090681215== Content-Type: multipart/alternative; boundary="1396101812.68e2e0.8925"; charset="us-ascii" --1396101812.68e2e0.8925 Date: Sat, 29 Mar 2014 14:03:32 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=76564 --- Comment #34 from jeroen --- Why not increase the ref_div? hardware frying? That way you can get the clock exactly right. For example: 148.5 = 100 * 29.7 / 4 * 5 74.2 = 100 * 37.1 / 5 * 10 -- You are receiving this mail because: You are the assignee for the bug. --1396101812.68e2e0.8925 Date: Sat, 29 Mar 2014 14:03:32 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 34 on bug 76564 from
Why not increase the ref_div? hardware frying? That way you can get the clock
exactly right.

For example: 148.5 = 100 * 29.7 / 4 * 5
             74.2  = 100 * 37.1 / 5 * 10


You are receiving this mail because:
  • You are the assignee for the bug.
--1396101812.68e2e0.8925-- --===============2090681215== 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 --===============2090681215==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Sat, 29 Mar 2014 16:29:19 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1219066511==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 53DDD6EE16 for ; Sat, 29 Mar 2014 09:29:19 -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 --===============1219066511== Content-Type: multipart/alternative; boundary="1396110559.62e70.26647"; charset="us-ascii" --1396110559.62e70.26647 Date: Sat, 29 Mar 2014 16:29:19 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=76564 --- Comment #35 from jeroen --- (In reply to comment #34) > Why not increase the ref_div? hardware frying? That way you can get the > clock exactly right. > > For example: 148.5 = 100 * 29.7 / 4 * 5 > 74.2 = 100 * 37.1 / 5 * 10 Just noticed that the clock values shown by xrandr are already rounded. So the 74.2MHz for 23.976fps actually is 74.17MHz. This would mean the PLL can never exactly generate the clock that is requested by the television I guess. Perhaps something else is wrong with the PLL then -- You are receiving this mail because: You are the assignee for the bug. --1396110559.62e70.26647 Date: Sat, 29 Mar 2014 16:29:19 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 35 on bug 76564 from
(In reply to comment #34)
> Why not increase the ref_div? hardware frying? That way you can get the
> clock exactly right.
> 
> For example: 148.5 = 100 * 29.7 / 4 * 5
>              74.2  = 100 * 37.1 / 5 * 10

Just noticed that the clock values shown by xrandr are already rounded. So the
74.2MHz for 23.976fps actually is 74.17MHz. This would mean the PLL can never
exactly generate the clock that is requested by the television I guess.

Perhaps something else is wrong with the PLL then


You are receiving this mail because:
  • You are the assignee for the bug.
--1396110559.62e70.26647-- --===============1219066511== 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 --===============1219066511==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Sat, 29 Mar 2014 18:18:29 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2108924701==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 5A3796EB0E for ; Sat, 29 Mar 2014 11:18:29 -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 --===============2108924701== Content-Type: multipart/alternative; boundary="1396117109.87d71CDb1.17074"; charset="us-ascii" --1396117109.87d71CDb1.17074 Date: Sat, 29 Mar 2014 18:18:29 +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=3D76564 --- Comment #36 from Christian K=C3=B6nig --- (In reply to comment #35) > (In reply to comment #34) > > Why not increase the ref_div? hardware frying? That way you can get the > > clock exactly right. > >=20 > > For example: 148.5 =3D 100 * 29.7 / 4 * 5 > > 74.2 =3D 100 * 37.1 / 5 * 10 >=20 > Just noticed that the clock values shown by xrandr are already rounded. So > the 74.2MHz for 23.976fps actually is 74.17MHz. This would mean the PLL c= an > never exactly generate the clock that is requested by the television I gu= ess. >=20 > Perhaps something else is wrong with the PLL then The PLL is fine, you can't just represent some frequencies 100% correct. I'm already digging into making more use of the ref divider, just give me s= ome time to get the algorithem straight. --=20 You are receiving this mail because: You are the assignee for the bug. --1396117109.87d71CDb1.17074 Date: Sat, 29 Mar 2014 18:18:29 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 36 on bug 76564<= /a> from Christian K=C3=B6nig
(In reply to comment #=
35)
> (In reply to comment #34)
> > Why not increase the ref_div? hardware frying? That way you can g=
et the
> > clock exactly right.
> >=20
> > For example: 148.5 =3D 100 * 29.7 / 4 * 5
> >              74.2  =3D 100 * 37.1 / 5 * 10
>=20
> Just noticed that the clock values shown by xrandr are already rounded=
. So
> the 74.2MHz for 23.976fps actually is 74.17MHz. This would mean the PL=
L can
> never exactly generate the clock that is requested by the television I=
 guess.
>=20
> Perhaps something else is wrong with the PLL then

The PLL is fine, you can't just represent some frequencies 100% correct.

I'm already digging into making more use of the ref divider, just give me s=
ome
time to get the algorithem straight.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1396117109.87d71CDb1.17074-- --===============2108924701== 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 --===============2108924701==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Sat, 29 Mar 2014 21:10:20 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0052052409==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 5A04E6EE28 for ; Sat, 29 Mar 2014 14:10:20 -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 --===============0052052409== Content-Type: multipart/alternative; boundary="1396127420.BA241f041.10514"; charset="us-ascii" --1396127420.BA241f041.10514 Date: Sat, 29 Mar 2014 21:10:20 +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=3D76564 Christian K=C3=B6nig changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #96562|0 |1 is obsolete| | --- Comment #37 from Christian K=C3=B6nig --- Created attachment 96604 --> https://bugs.freedesktop.org/attachment.cgi?id=3D96604&action=3Dedit Possible fix v3 Please try this one, it's a complete rewrite of finding the right PLL numbe= rs. --=20 You are receiving this mail because: You are the assignee for the bug. --1396127420.BA241f041.10514 Date: Sat, 29 Mar 2014 21:10:20 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Christian K=C3=B6nig changed bug 76564<= /a>
What Removed Added
Attachment #96562 is obsolete   1

Commen= t # 37 on bug 76564<= /a> from Christian K=C3=B6nig
Created attachment 96604 
References: 
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0232132669=="
Return-path: 
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
 by gabe.freedesktop.org (Postfix) with ESMTP id CBA0F6E0B8
 for ; Sun, 30 Mar 2014 05:33:18 -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


--===============0232132669==
Content-Type: multipart/alternative; boundary="1396182798.40D021.30925"; charset="us-ascii"


--1396182798.40D021.30925
Date: Sun, 30 Mar 2014 12:33:18 +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=3D76564

--- Comment #38 from Peter Fr=C3=BChberger  ---
Here is an OpenELEC image with kernel 3.14-rc8+ with that PLL patch include=
d,
so no need to compile manually:
http://saraev.ca/OpenELEC-Generic.x86_64-devel-20140330151700-r18049-g02739=
c3.tar

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

--1396182798.40D021.30925
Date: Sun, 30 Mar 2014 12:33:18 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable


    
      
    
    
      

Commen= t # 38 on bug 76564<= /a> from Peter Fr=C3=BChberger
Here is an OpenELEC image with kernel 3.14-rc8+ with that PLL =
patch included,
so no need to compile manually:
http://saraev.ca/OpenELEC-Generic.x86_64-devel-201403301=
51700-r18049-g02739c3.tar


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1396182798.40D021.30925-- --===============0232132669== 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 --===============0232132669==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Sun, 30 Mar 2014 13:39:31 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0265395554==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 4644E6E106 for ; Sun, 30 Mar 2014 06:39:31 -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 --===============0265395554== Content-Type: multipart/alternative; boundary="1396186771.acCeeF11.15022"; charset="us-ascii" --1396186771.acCeeF11.15022 Date: Sun, 30 Mar 2014 13:39:31 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=76564 --- Comment #39 from jeroen --- (In reply to comment #37) > Created attachment 96604 [details] [review] > Possible fix v3 > > Please try this one, it's a complete rewrite of finding the right PLL > numbers. No problem Peter I was already compiling it manually for the previous tests. I just tested the patch using OpenElec 4. 50fps: 14850, pll dividers - fb: 29.7 ref: 4, post 5 23.976fps: 7417, pll dividers - fb: 741.7 ref: 100, post 10 59.94fps: 14835, pll dividers - fb: 296.7 ref: 25, post 8 50fps is spot on and no frames are dropped. The dividers are optimal. 23.976fps is better, but I still count on average a skipped frame every 28sec. Since the skipped frames are not at a regular interval I took the average. Sometimes a frame is skipped after 10sec, but it sometimes also takes 40 seconds. When a frame is skipped I see the fps in XBMC drop to around 22.98fps. What I do not understand is why it is still so often as the error in the clock would suggest a drop every ~9min. 59.94fps is also much better. Here XBMC reports a missed frame maybe every minute or so. This patch is definately an improvement, but it still not as good as fgrlx which could play for many minutes without every dropping/skipping/missing frames. Perhaps since Peter is apparently also following this thread could give some insight in the synchronisation in XBMC? I have the idea the sync behaves differently in OE4 compared to OE3. For example in OE3, the player (P) in the codec info overlay never had the field skipped, only dropped? Is the VBlank moment in XBMC derived from the pixel clock from the radeon or the pixel clock the TV is expecting? Could it be that as the phase between the two pixel clocks is becoming to big, that this is solved/handled differently between fgrlx and OSS radeon? -- You are receiving this mail because: You are the assignee for the bug. --1396186771.acCeeF11.15022 Date: Sun, 30 Mar 2014 13:39:31 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 39 on bug 76564 from
(In reply to comment #37)
> Created attachment 96604 [details] [review] [review]
> Possible fix v3
> 
> Please try this one, it's a complete rewrite of finding the right PLL
> numbers.

No problem Peter I was already compiling it manually for the previous tests.

I just tested the patch using OpenElec 4.
50fps:     14850, pll dividers - fb: 29.7 ref: 4, post 5
23.976fps: 7417, pll dividers - fb: 741.7 ref: 100, post 10
59.94fps:  14835, pll dividers - fb: 296.7 ref: 25, post 8

50fps is spot on and no frames are dropped. The dividers are optimal.

23.976fps is better, but I still count on average a skipped frame every 28sec.
Since the skipped frames are not at a regular interval I took the average.
Sometimes a frame is skipped after 10sec, but it sometimes also takes 40
seconds.
When a frame is skipped I see the fps in XBMC drop to around 22.98fps.
What I do not understand is why it is still so often as the error in the clock
would suggest a drop every ~9min.

59.94fps is also much better. Here XBMC reports a missed frame maybe every
minute or so.

This patch is definately an improvement, but it still not as good as fgrlx
which could play for many minutes without every dropping/skipping/missing
frames.

Perhaps since Peter is apparently also following this thread could give some
insight in the synchronisation in XBMC?
I have the idea the sync behaves differently in OE4 compared to OE3. For
example in OE3, the player (P) in the codec info overlay never had the field
skipped, only dropped?
Is the VBlank moment in XBMC derived from the pixel clock from the radeon or
the pixel clock the TV is expecting?

Could it be that as the phase between the two pixel clocks is becoming to big,
that this is solved/handled differently between fgrlx and OSS radeon?


You are receiving this mail because:
  • You are the assignee for the bug.
--1396186771.acCeeF11.15022-- --===============0265395554== 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 --===============0265395554==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Sun, 30 Mar 2014 15:27:38 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1994274691==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id E4D2D6E12D for ; Sun, 30 Mar 2014 08:27: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 --===============1994274691== Content-Type: multipart/alternative; boundary="1396193257.F54D2.12542"; charset="us-ascii" --1396193257.F54D2.12542 Date: Sun, 30 Mar 2014 15:27:37 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=76564 --- Comment #40 from Rainer Hochecker --- If you set "sync playback to display" in XBMC, an inaccurate clock has no impact on dropped or skipped frames. Suppose you only have a 24Hz mode and play material which is 23.976. It would slightly speed up playback: every vblank interval a frame is rendered. If you observe skipped frames, the render thread may have been blocked too long or a vertical retrace was missed. -- You are receiving this mail because: You are the assignee for the bug. --1396193257.F54D2.12542 Date: Sun, 30 Mar 2014 15:27:37 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 40 on bug 76564 from
If you set "sync playback to display" in XBMC, an inaccurate clock has no
impact on dropped or skipped frames. Suppose you only have a 24Hz mode and play
material which is 23.976. It would slightly speed up playback: every vblank
interval a frame is rendered.
If you observe skipped frames, the render thread may have been blocked too long
or a vertical retrace was missed.


You are receiving this mail because:
  • You are the assignee for the bug.
--1396193257.F54D2.12542-- --===============1994274691== 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 --===============1994274691==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Sun, 30 Mar 2014 16:18:04 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0175901664==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 64BCF6E12C for ; Sun, 30 Mar 2014 09:18:04 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0175901664== Content-Type: multipart/alternative; boundary="1396196284.641E5a2E1.30461"; charset="us-ascii" --1396196284.641E5a2E1.30461 Date: Sun, 30 Mar 2014 16:18:04 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=76564 --- Comment #41 from jeroen --- (In reply to comment #40) > If you set "sync playback to display" in XBMC, an inaccurate clock has no > impact on dropped or skipped frames. Suppose you only have a 24Hz mode and > play material which is 23.976. It would slightly speed up playback: every > vblank interval a frame is rendered. > If you observe skipped frames, the render thread may have been blocked too > long or a vertical retrace was missed. Hello FernetMenta, Thanks for commenting, as you are one of the experts on this subject in XBMC. "sync playback to display" is definately enabled on my system and still I am seeing skipped or missed frames depending on if the clock is too slow or too fast, respectively. Also, the patches from Christian already proved that a clock that is closer to the television display clock DOES have an influence on skipping/missing frames. If the clock had no impact there wouldn't be a problem in the first place. The posted xrandr logs also show my television does have a 23.976 mode. -- You are receiving this mail because: You are the assignee for the bug. --1396196284.641E5a2E1.30461 Date: Sun, 30 Mar 2014 16:18:04 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 41 on bug 76564 from
(In reply to comment #40)
> If you set "sync playback to display" in XBMC, an inaccurate clock has no
> impact on dropped or skipped frames. Suppose you only have a 24Hz mode and
> play material which is 23.976. It would slightly speed up playback: every
> vblank interval a frame is rendered.
> If you observe skipped frames, the render thread may have been blocked too
> long or a vertical retrace was missed.

Hello FernetMenta,

Thanks for commenting, as you are one of the experts on this subject in XBMC.

"sync playback to display" is definately enabled on my system and still I am
seeing skipped or missed frames depending on if the clock is too slow or too
fast, respectively.
Also, the patches from Christian already proved that a clock that is closer to
the television display clock DOES have an influence on skipping/missing frames.
If the clock had no impact there wouldn't be a problem in the first place.

The posted xrandr logs also show my television does have a 23.976 mode.


You are receiving this mail because:
  • You are the assignee for the bug.
--1396196284.641E5a2E1.30461-- --===============0175901664== 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 --===============0175901664==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Mon, 31 Mar 2014 07:49:38 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0807692406==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 211A86E1D2 for ; Mon, 31 Mar 2014 00:49:38 -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 --===============0807692406== Content-Type: multipart/alternative; boundary="1396252178.F0875dA2.6250"; charset="us-ascii" --1396252178.F0875dA2.6250 Date: Mon, 31 Mar 2014 07:49:38 +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=3D76564 --- Comment #42 from Christian K=C3=B6nig --- The only other option I'm aware of would be to adjust the modes to have a doable pixel clock. On modern displays we could for exampler increase the vertical blanking per= iod slightly to make the mode hit a pixel clock that is exactly representable. --=20 You are receiving this mail because: You are the assignee for the bug. --1396252178.F0875dA2.6250 Date: Mon, 31 Mar 2014 07:49:38 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 42 on bug 76564<= /a> from Christian K=C3=B6nig
The only other option I'm aware of would be to adjust the mode=
s to have a
doable pixel clock.

On modern displays we could for exampler increase the vertical blanking per=
iod
slightly to make the mode hit a pixel clock that is exactly representable.<=
/pre>
        


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1396252178.F0875dA2.6250-- --===============0807692406== 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 --===============0807692406==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Mon, 31 Mar 2014 14:17:08 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1389713659==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 5D4516E2CE for ; Mon, 31 Mar 2014 07:17:08 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1389713659== Content-Type: multipart/alternative; boundary="1396275428.6E6eb2.27816"; charset="us-ascii" --1396275428.6E6eb2.27816 Date: Mon, 31 Mar 2014 14:17:08 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=76564 --- Comment #43 from Alex Deucher --- We could also update the adjusted mode clock to the actual clock set by the pll so that drm_calc_timestamping_constants() uses the actual clock value on the PLL. E.g., diff --git a/drivers/gpu/drm/radeon/atombios_crtc.c b/drivers/gpu/drm/radeon/atombios_crtc.c index daa4dd3..2a2da82 100644 --- a/drivers/gpu/drm/radeon/atombios_crtc.c +++ b/drivers/gpu/drm/radeon/atombios_crtc.c @@ -1085,6 +1085,7 @@ static void atombios_crtc_set_pll(struct drm_crtc *crtc, struct drm_display_mode atombios_crtc_program_ss(rdev, ATOM_ENABLE, radeon_crtc->pll_id, radeon_crtc->crtc_id, &radeon_crtc->ss); } + mode->clock = pll_clock * 10; } static int dce4_crtc_do_set_base(struct drm_crtc *crtc, -- You are receiving this mail because: You are the assignee for the bug. --1396275428.6E6eb2.27816 Date: Mon, 31 Mar 2014 14:17:08 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 43 on bug 76564 from
We could also update the adjusted mode clock to the actual clock set by the pll
so that drm_calc_timestamping_constants() uses the actual clock value on the
PLL.  E.g.,

diff --git a/drivers/gpu/drm/radeon/atombios_crtc.c
b/drivers/gpu/drm/radeon/atombios_crtc.c
index daa4dd3..2a2da82 100644
--- a/drivers/gpu/drm/radeon/atombios_crtc.c
+++ b/drivers/gpu/drm/radeon/atombios_crtc.c
@@ -1085,6 +1085,7 @@ static void atombios_crtc_set_pll(struct drm_crtc *crtc,
struct drm_display_mode
                atombios_crtc_program_ss(rdev, ATOM_ENABLE,
radeon_crtc->pll_id,
                                         radeon_crtc->crtc_id,
&radeon_crtc->ss);
        }
+       mode->clock = pll_clock * 10;
 }

 static int dce4_crtc_do_set_base(struct drm_crtc *crtc,


You are receiving this mail because:
  • You are the assignee for the bug.
--1396275428.6E6eb2.27816-- --===============1389713659== 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 --===============1389713659==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Mon, 31 Mar 2014 15:59:56 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0063946896==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id B4A006E363 for ; Mon, 31 Mar 2014 08:59:56 -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 --===============0063946896== Content-Type: multipart/alternative; boundary="1396281596.B1AEd1.30115"; charset="us-ascii" --1396281596.B1AEd1.30115 Date: Mon, 31 Mar 2014 15:59:56 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=76564 --- Comment #44 from jeroen --- (In reply to comment #43) > We could also update the adjusted mode clock to the actual clock set by the > pll so that drm_calc_timestamping_constants() uses the actual clock value on > the PLL. E.g., > > diff --git a/drivers/gpu/drm/radeon/atombios_crtc.c > b/drivers/gpu/drm/radeon/atombios_crtc.c > index daa4dd3..2a2da82 100644 > --- a/drivers/gpu/drm/radeon/atombios_crtc.c > +++ b/drivers/gpu/drm/radeon/atombios_crtc.c > @@ -1085,6 +1085,7 @@ static void atombios_crtc_set_pll(struct drm_crtc > *crtc, struct drm_display_mode > atombios_crtc_program_ss(rdev, ATOM_ENABLE, > radeon_crtc->pll_id, > radeon_crtc->crtc_id, > &radeon_crtc->ss); > } > + mode->clock = pll_clock * 10; > } > > static int dce4_crtc_do_set_base(struct drm_crtc *crtc, I think that would only help if radeon_compute_pll_avivo could not compute an exact match. In the case of 23.976Hz the target clock is 74170kHz and the PLL is set exactly to this value. This does raise another question why the target clock' last digit is always zero? For example, for 23.976Hz the target clock should be 74176kHz (with correct rounding). I looked through the source code, but the target clock seems to come all the way from some deep generic drm code. 74176kHz could be matched by the PLL using fb=927.2, post_div=10 and ref_div=125 -- You are receiving this mail because: You are the assignee for the bug. --1396281596.B1AEd1.30115 Date: Mon, 31 Mar 2014 15:59:56 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 44 on bug 76564 from
(In reply to comment #43)
> We could also update the adjusted mode clock to the actual clock set by the
> pll so that drm_calc_timestamping_constants() uses the actual clock value on
> the PLL.  E.g.,
> 
> diff --git a/drivers/gpu/drm/radeon/atombios_crtc.c
> b/drivers/gpu/drm/radeon/atombios_crtc.c
> index daa4dd3..2a2da82 100644
> --- a/drivers/gpu/drm/radeon/atombios_crtc.c
> +++ b/drivers/gpu/drm/radeon/atombios_crtc.c
> @@ -1085,6 +1085,7 @@ static void atombios_crtc_set_pll(struct drm_crtc
> *crtc, struct drm_display_mode
>                 atombios_crtc_program_ss(rdev, ATOM_ENABLE,
> radeon_crtc->pll_id,
>                                          radeon_crtc->crtc_id,
> &radeon_crtc->ss);
>         }
> +       mode->clock = pll_clock * 10;
>  }
>  
>  static int dce4_crtc_do_set_base(struct drm_crtc *crtc,

I think that would only help if radeon_compute_pll_avivo could not compute an
exact match. In the case of 23.976Hz the target clock is 74170kHz and the PLL
is set exactly to this value.
This does raise another question why the target clock' last digit is always
zero? For example, for 23.976Hz the target clock should be 74176kHz (with
correct rounding). I looked through the source code, but the target clock seems
to come all the way from some deep generic drm code.

74176kHz could be matched by the PLL using fb=927.2, post_div=10 and
ref_div=125


You are receiving this mail because:
  • You are the assignee for the bug.
--1396281596.B1AEd1.30115-- --===============0063946896== 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 --===============0063946896==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Mon, 31 Mar 2014 18:09:56 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1408483010==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 580BD6E3C9 for ; Mon, 31 Mar 2014 11:09:56 -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 --===============1408483010== Content-Type: multipart/alternative; boundary="1396289396.1Bd62.2999"; charset="us-ascii" --1396289396.1Bd62.2999 Date: Mon, 31 Mar 2014 18:09: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=3D76564 Christian K=C3=B6nig changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |deathsimple@vodafone.de --- Comment #45 from Christian K=C3=B6nig --- (In reply to comment #44) > (In reply to comment #43) > > We could also update the adjusted mode clock to the actual clock set by= the > > pll so that drm_calc_timestamping_constants() uses the actual clock val= ue on > > the PLL. E.g., > >=20 > > diff --git a/drivers/gpu/drm/radeon/atombios_crtc.c > > b/drivers/gpu/drm/radeon/atombios_crtc.c > > index daa4dd3..2a2da82 100644 > > --- a/drivers/gpu/drm/radeon/atombios_crtc.c > > +++ b/drivers/gpu/drm/radeon/atombios_crtc.c > > @@ -1085,6 +1085,7 @@ static void atombios_crtc_set_pll(struct drm_crtc > > *crtc, struct drm_display_mode > > atombios_crtc_program_ss(rdev, ATOM_ENABLE, > > radeon_crtc->pll_id, > > radeon_crtc->crtc_id, > > &radeon_crtc->ss); > > } > > + mode->clock =3D pll_clock * 10; > > } > >=20=20 > > static int dce4_crtc_do_set_base(struct drm_crtc *crtc, >=20 > I think that would only help if radeon_compute_pll_avivo could not compute > an exact match. In the case of 23.976Hz the target clock is 74170kHz and = the > PLL is set exactly to this value. > This does raise another question why the target clock' last digit is alwa= ys > zero? For example, for 23.976Hz the target clock should be 74176kHz (with > correct rounding). I looked through the source code, but the target clock > seems to come all the way from some deep generic drm code. >=20 > 74176kHz could be matched by the PLL using fb=3D927.2, post_div=3D10 and > ref_div=3D125 You might want to take a look at atombios_adjust_pll which does the mode fi= xup before a mode is actually used. Since atombios always works with 10khz pixel clock which always sets the ta= rget clocks last digit to zero. --=20 You are receiving this mail because: You are the assignee for the bug. --1396289396.1Bd62.2999 Date: Mon, 31 Mar 2014 18:09:56 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Christian K=C3=B6nig changed bug 76564<= /a>
What Removed Added
CC   deathsimple@vodafone.de

Commen= t # 45 on bug 76564<= /a> from Christian K=C3=B6nig
(In reply to comment #=
44)
> (In reply to comment #43)
> > We could also update the adjusted mode clock to the actual clock =
set by the
> > pll so that drm_calc_timestamping_constants() uses the actual clo=
ck value on
> > the PLL.  E.g.,
> >=20
> > diff --git a/drivers/gpu/drm/radeon/atombios_crtc.c
> > b/drivers/gpu/drm/radeon/atombios_crtc.c
> > index daa4dd3..2a2da82 100644
> > --- a/drivers/gpu/drm/radeon/atombios_crtc.c
> > +++ b/drivers/gpu/drm/radeon/atombios_crtc.c
> > @@ -1085,6 +1085,7 @@ static void atombios_crtc_s=
et_pll(struct drm_crtc
> > *crtc, struct drm_display_mode
> >                 atombios_crtc_program_ss(rdev, ATOM_ENABLE,
> > radeon_crtc->pll_id,
> >                                          radeon_crtc->crtc_id,
> > &radeon_crtc->ss);
> >         }
> > +       mode->clock =3D pll_clock * 10;
> >  }
> >=20=20
> >  static int dce4_crtc_do_set_base(struct drm_crtc *crtc,
>=20
> I think that would only help if radeon_compute_pll_avivo could not com=
pute
> an exact match. In the case of 23.976Hz the target clock is 74170kHz a=
nd the
> PLL is set exactly to this value.
> This does raise another question why the target clock' last digit is a=
lways
> zero? For example, for 23.976Hz the target clock should be 74176kHz (w=
ith
> correct rounding). I looked through the source code, but the target cl=
ock
> seems to come all the way from some deep generic drm code.
>=20
> 74176kHz could be matched by the PLL using fb=3D927.2, post_div=3D10 a=
nd
> ref_div=3D125

You might want to take a look at atombios_adjust_pll which does the mode fi=
xup
before a mode is actually used.

Since atombios always works with 10khz pixel clock which always sets the ta=
rget
clocks last digit to zero.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1396289396.1Bd62.2999-- --===============1408483010== 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 --===============1408483010==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Mon, 31 Mar 2014 20:42:37 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1521051232==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id CC8716E42B for ; Mon, 31 Mar 2014 13:42:36 -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 --===============1521051232== Content-Type: multipart/alternative; boundary="1396298556.1CaDA1.20114"; charset="us-ascii" --1396298556.1CaDA1.20114 Date: Mon, 31 Mar 2014 20:42:36 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=76564 --- Comment #46 from jeroen --- (In reply to comment #45) > (In reply to comment #44) > > (In reply to comment #43) > > > We could also update the adjusted mode clock to the actual clock set by the > > > pll so that drm_calc_timestamping_constants() uses the actual clock value on > > > the PLL. E.g., > > > > > > diff --git a/drivers/gpu/drm/radeon/atombios_crtc.c > > > b/drivers/gpu/drm/radeon/atombios_crtc.c > > > index daa4dd3..2a2da82 100644 > > > --- a/drivers/gpu/drm/radeon/atombios_crtc.c > > > +++ b/drivers/gpu/drm/radeon/atombios_crtc.c > > > @@ -1085,6 +1085,7 @@ static void atombios_crtc_set_pll(struct drm_crtc > > > *crtc, struct drm_display_mode > > > atombios_crtc_program_ss(rdev, ATOM_ENABLE, > > > radeon_crtc->pll_id, > > > radeon_crtc->crtc_id, > > > &radeon_crtc->ss); > > > } > > > + mode->clock = pll_clock * 10; > > > } > > > > > > static int dce4_crtc_do_set_base(struct drm_crtc *crtc, > > > > I think that would only help if radeon_compute_pll_avivo could not compute > > an exact match. In the case of 23.976Hz the target clock is 74170kHz and the > > PLL is set exactly to this value. > > This does raise another question why the target clock' last digit is always > > zero? For example, for 23.976Hz the target clock should be 74176kHz (with > > correct rounding). I looked through the source code, but the target clock > > seems to come all the way from some deep generic drm code. > > > > 74176kHz could be matched by the PLL using fb=927.2, post_div=10 and > > ref_div=125 > > You might want to take a look at atombios_adjust_pll which does the mode > fixup before a mode is actually used. > > Since atombios always works with 10khz pixel clock which always sets the > target clocks last digit to zero. atombios_adjust_pll seems to do nothing to compensate for the 10kHz pixel clock, or didn't you mean that? When I look at drm_calc_timestamping_constants(), does this mean the vblank moment is calculated by the OSS driver? What about Alex' idea in comment 43? Would tat help Christian? -- You are receiving this mail because: You are the assignee for the bug. --1396298556.1CaDA1.20114 Date: Mon, 31 Mar 2014 20:42:36 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 46 on bug 76564 from
(In reply to comment #45)
> (In reply to comment #44)
> > (In reply to comment #43)
> > > We could also update the adjusted mode clock to the actual clock set by the
> > > pll so that drm_calc_timestamping_constants() uses the actual clock value on
> > > the PLL.  E.g.,
> > > 
> > > diff --git a/drivers/gpu/drm/radeon/atombios_crtc.c
> > > b/drivers/gpu/drm/radeon/atombios_crtc.c
> > > index daa4dd3..2a2da82 100644
> > > --- a/drivers/gpu/drm/radeon/atombios_crtc.c
> > > +++ b/drivers/gpu/drm/radeon/atombios_crtc.c
> > > @@ -1085,6 +1085,7 @@ static void atombios_crtc_set_pll(struct drm_crtc
> > > *crtc, struct drm_display_mode
> > >                 atombios_crtc_program_ss(rdev, ATOM_ENABLE,
> > > radeon_crtc->pll_id,
> > >                                          radeon_crtc->crtc_id,
> > > &radeon_crtc->ss);
> > >         }
> > > +       mode->clock = pll_clock * 10;
> > >  }
> > >  
> > >  static int dce4_crtc_do_set_base(struct drm_crtc *crtc,
> > 
> > I think that would only help if radeon_compute_pll_avivo could not compute
> > an exact match. In the case of 23.976Hz the target clock is 74170kHz and the
> > PLL is set exactly to this value.
> > This does raise another question why the target clock' last digit is always
> > zero? For example, for 23.976Hz the target clock should be 74176kHz (with
> > correct rounding). I looked through the source code, but the target clock
> > seems to come all the way from some deep generic drm code.
> > 
> > 74176kHz could be matched by the PLL using fb=927.2, post_div=10 and
> > ref_div=125
> 
> You might want to take a look at atombios_adjust_pll which does the mode
> fixup before a mode is actually used.
> 
> Since atombios always works with 10khz pixel clock which always sets the
> target clocks last digit to zero.

atombios_adjust_pll seems to do nothing to compensate for the 10kHz pixel
clock, or didn't you mean that?

When I look at drm_calc_timestamping_constants(), does this mean the vblank
moment is calculated by the OSS driver?

What about Alex' idea in comment 43? Would tat help Christian?


You are receiving this mail because:
  • You are the assignee for the bug.
--1396298556.1CaDA1.20114-- --===============1521051232== 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 --===============1521051232==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Wed, 02 Apr 2014 17:50:08 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0406753541==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 566066EBCB for ; Wed, 2 Apr 2014 10:50:08 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0406753541== Content-Type: multipart/alternative; boundary="1396461008.cFD837bC2.29365"; charset="us-ascii" --1396461008.cFD837bC2.29365 Date: Wed, 2 Apr 2014 17:50:08 +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=3D76564 --- Comment #49 from Christian K=C3=B6nig --- (In reply to comment #48) > Created attachment 96792 [details] > logs working and not >=20 > This patch appears to have broken my 24P playback which has been fine unt= il > now. My set is a Sony KDL 40NX711 NTSC set, A4-3400 - HDMI to set for > vid/audio stereo out speakers/no avr. Using Openelec- gotham nightlies > (this patch is now comitted to OE-nightlies): > Playing 29.97 plays fine enough (a few skips- why I am testing this patch= ), > 23.976 playback breaks the TV display- it starts to buzz then says "no > signal", I press stop and the menu/screen resumes at ~30P like normal. I = am > attaching dmesg/xorg logs drm.debug=3D0xe both working w/o patch and bro= ken > w/patch. let me know if you need more. Are you sure you're logs are valid? Cause both a single mode switch shortly after boot: bad/dmesg_24pbroken.log:[ 11.148315] [drm:radeon_compute_pll_avivo], 2970= 00 - 29700, pll dividers - fb: 29.7 ref: 2, post 5 good/dmesg_24pOK.log:[ 11.400765] [drm:radeon_compute_pll_avivo], 29700, = pll dividers - fb: 29.7 ref: 2, post 5 You might try to ssh into the box and change the modes using xrandr directl= y. --=20 You are receiving this mail because: You are the assignee for the bug. --1396461008.cFD837bC2.29365 Date: Wed, 2 Apr 2014 17:50:08 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 49 on bug 76564<= /a> from Christian K=C3=B6nig
(In reply to comment #=
48)
> Created attachm=
ent 96792 [details]
> logs working and not
>=20
> This patch appears to have broken my 24P playback which has been fine =
until
> now.  My set is a Sony KDL 40NX711 NTSC set, A4-3400 - HDMI to set for
> vid/audio stereo out speakers/no avr.  Using Openelec- gotham nightlies
> (this patch is now comitted to OE-nightlies):
> Playing 29.97 plays fine enough (a few skips- why I am testing this pa=
tch),
> 23.976 playback breaks the TV display- it starts to buzz then says &qu=
ot;no
> signal", I press stop and the menu/screen resumes at ~30P like no=
rmal. I am
> attaching dmesg/xorg logs  drm.debug=3D0xe both working w/o patch and =
broken
> w/patch.  let me know if you need more.

Are you sure you're logs are valid? Cause both a single mode switch shortly
after boot:

bad/dmesg_24pbroken.log:[   11.148315] [drm:radeon_compute_pll_avivo], 2970=
00 -
29700, pll dividers - fb: 29.7 ref: 2, post 5

good/dmesg_24pOK.log:[   11.400765] [drm:radeon_compute_pll_avivo], 29700, =
pll
dividers - fb: 29.7 ref: 2, post 5

You might try to ssh into the box and change the modes using xrandr directl=
y.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1396461008.cFD837bC2.29365-- --===============0406753541== 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 --===============0406753541==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Wed, 02 Apr 2014 20:25:38 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1268617615==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id AB3436E76F for ; Wed, 2 Apr 2014 13:25:38 -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 --===============1268617615== Content-Type: multipart/alternative; boundary="1396470338.be1dbE1.5932"; charset="us-ascii" --1396470338.be1dbE1.5932 Date: Wed, 2 Apr 2014 20:25:38 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=76564 --- Comment #52 from jeroen --- (In reply to comment #51) > This bugtracker is not about fglrx. Not a single thing will change for the > radeon oss driver cause of such statements. > > At the end - before we dropped support for it (xvba + fglrx) - it was not > even able to hold vsync without one core at 100%. So that's not any > alternative at all. > > Btw. such comments are really distracting, as we never had that good support > from AMD as we get from christian and alex right now. Then you misunderstand me! I think it is really good that radeon OSS is getting so much support. I never said I want fgrlx back. It is just that comments like "a wrong speed does NOT have direct influence on dropped or skipped frames." are not helping without any explanation and are not constructive. Most people on this mailing list have probably no idea how XBMC internally works making it difficult to help us. -- You are receiving this mail because: You are the assignee for the bug. --1396470338.be1dbE1.5932 Date: Wed, 2 Apr 2014 20:25:38 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 52 on bug 76564 from
(In reply to comment #51)
> This bugtracker is not about fglrx. Not a single thing will change for the
> radeon oss driver cause of such statements.
> 
> At the end - before we dropped support for it (xvba + fglrx) - it was not
> even able to hold vsync without one core at 100%. So that's not any
> alternative at all.
> 
> Btw. such comments are really distracting, as we never had that good support
> from AMD as we get from christian and alex right now. </offtopic>

Then you misunderstand me! I think it is really good that radeon OSS is getting
so much support. I never said I want fgrlx back.

It is just that comments like "a wrong speed does NOT have direct influence on
dropped or skipped frames." are not helping without any explanation and are not
constructive. Most people on this mailing list have probably no idea how XBMC
internally works making it difficult to help us. </offtopic>


You are receiving this mail because:
  • You are the assignee for the bug.
--1396470338.be1dbE1.5932-- --===============1268617615== 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 --===============1268617615==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Wed, 02 Apr 2014 19:59:45 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0573778173==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 08A1C6E3BB for ; Wed, 2 Apr 2014 12:59:45 -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 --===============0573778173== Content-Type: multipart/alternative; boundary="1396468784.7f6e8BdF1.32214"; charset="us-ascii" --1396468784.7f6e8BdF1.32214 Date: Wed, 2 Apr 2014 19:59:44 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=76564 --- Comment #50 from jeroen --- (In reply to comment #47) > (In reply to comment #41) > > (In reply to comment #40) > > > If you set "sync playback to display" in XBMC, an inaccurate clock has no > > > impact on dropped or skipped frames. Suppose you only have a 24Hz mode and > > > play material which is 23.976. It would slightly speed up playback: every > > > vblank interval a frame is rendered. > > > If you observe skipped frames, the render thread may have been blocked too > > > long or a vertical retrace was missed. > > > > Hello FernetMenta, > > > > Thanks for commenting, as you are one of the experts on this subject in XBMC. > > > > "sync playback to display" is definately enabled on my system and still I am > > seeing skipped or missed frames depending on if the clock is too slow or too > > fast, respectively. > > Also, the patches from Christian already proved that a clock that is closer > > to the television display clock DOES have an influence on skipping/missing > > frames. If the clock had no impact there wouldn't be a problem in the first > > place. > > > > The posted xrandr logs also show my television does have a 23.976 mode. > > Again, a wrong speed does NOT have direct influence on dropped or skipped > frames. If you see a some kind of relationship you have to look for the > missing piece. Okay, but some more information would be helpful. This way the bug report becomes more constructive in finding the root cause. It would help me (and perhaps others) to find the missing piece if it clear how radeon OSS and XBMC work in respect to the vblank timing etc. For example the XBMC wiki is not very thorough on what the missing/skipping/dropping really means. Therefore, I already read a lot of threads on the XBMC forum. In http://forum.xbmc.org/showthread.php?tid=178173&pid=1551907#pid1551907 you state that skipping MAY be caused by refresh rate problems. So what I got together in terms of definitions in XMBC: - Skipping: The renderer is late - Dropping: The decoder is late - Missing: A vblank interrupt was missed If the 'sync to display' option is on in XBMC the video pixels clock is master and I guess it then uses the vblank interrupt generated by the OSS driver. These interrupts are generated using the same clock settings that were used to set the PLL parameters. Why are there then ever skips reported, because the renderer cannot be late as it is the master and just puts a frame out for each vblank interrupt? or do I misunderstand something? Are missed vblanks reported by the OSS driver to XBMC or does XBMC keep some shadow adminstration to see if vblank interrupts arrive at the expected time? In my opinion there were a lot of bad comments on fgrlx, but atleast it got the core rendering of frames done without stuttering. The XVBA part was not that ideal though. -- You are receiving this mail because: You are the assignee for the bug. --1396468784.7f6e8BdF1.32214 Date: Wed, 2 Apr 2014 19:59:44 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 50 on bug 76564 from
(In reply to comment #47)
> (In reply to comment #41)
> > (In reply to comment #40)
> > > If you set "sync playback to display" in XBMC, an inaccurate clock has no
> > > impact on dropped or skipped frames. Suppose you only have a 24Hz mode and
> > > play material which is 23.976. It would slightly speed up playback: every
> > > vblank interval a frame is rendered.
> > > If you observe skipped frames, the render thread may have been blocked too
> > > long or a vertical retrace was missed.
> >  
> > Hello FernetMenta,
> > 
> > Thanks for commenting, as you are one of the experts on this subject in XBMC.
> > 
> > "sync playback to display" is definately enabled on my system and still I am
> > seeing skipped or missed frames depending on if the clock is too slow or too
> > fast, respectively.
> > Also, the patches from Christian already proved that a clock that is closer
> > to the television display clock DOES have an influence on skipping/missing
> > frames. If the clock had no impact there wouldn't be a problem in the first
> > place.
> > 
> > The posted xrandr logs also show my television does have a 23.976 mode.
> 
> Again, a wrong speed does NOT have direct influence on dropped or skipped
> frames. If you see a some kind of relationship you have to look for the
> missing piece.

Okay, but some more information would be helpful. This way the bug report
becomes more constructive in finding the root cause. It would help me (and
perhaps others) to find the missing piece if it clear how radeon OSS and XBMC
work in respect to the vblank timing etc.

For example the XBMC wiki is not very thorough on what the
missing/skipping/dropping really means. Therefore, I already read a lot of
threads on the XBMC forum. In
http://forum.xbmc.org/showthread.php?tid=178173&pid=1551907#pid1551907 you
state that skipping MAY be caused by refresh rate problems.

So what I got together in terms of definitions in XMBC:
- Skipping: The renderer is late
- Dropping: The decoder is late
- Missing: A vblank interrupt was missed

If the 'sync to display' option is on in XBMC the video pixels clock is master
and I guess it then uses the vblank interrupt generated by the OSS driver.
These interrupts are generated using the same clock settings that were used to
set the PLL parameters. Why are there then ever skips reported, because the
renderer cannot be late as it is the master and just puts a frame out for each
vblank interrupt? or do I misunderstand something?
Are missed vblanks reported by the OSS driver to XBMC or does XBMC keep some
shadow adminstration to see if vblank interrupts arrive at the expected time?

In my opinion there were a lot of bad comments on fgrlx, but atleast it got the
core rendering of frames done without stuttering. The XVBA part was not that
ideal though.


You are receiving this mail because:
  • You are the assignee for the bug.
--1396468784.7f6e8BdF1.32214-- --===============0573778173== 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 --===============0573778173==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Thu, 03 Apr 2014 04:16:22 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0683993146==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id AEDE56EC92 for ; Wed, 2 Apr 2014 21:16:22 -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 --===============0683993146== Content-Type: multipart/alternative; boundary="1396498582.01472.16550"; charset="us-ascii" --1396498582.01472.16550 Date: Thu, 3 Apr 2014 04:16:22 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=76564 --- Comment #55 from Garrett --- Created attachment 96820 --> https://bugs.freedesktop.org/attachment.cgi?id=96820&action=edit dmesg xrandr old code working 23.98 xrandr prepatch 1920x1080px23.98 OK LCD display. "xrandr --output HDMI-0 --mode 1920x1080 --rate 23.98" [ 183.991214] [drm:radeon_compute_pll_avivo], 14818, pll dividers - fb: 32.6 ref: 2, post 11 LCD = "DISPLAY" button 1080/24p. -- You are receiving this mail because: You are the assignee for the bug. --1396498582.01472.16550 Date: Thu, 3 Apr 2014 04:16:22 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 55 on bug 76564 from
Created attachment 96820 [details]
dmesg xrandr old code working 23.98

xrandr prepatch 1920x1080px23.98 OK LCD display.
"xrandr --output HDMI-0 --mode 1920x1080 --rate 23.98"
[  183.991214] [drm:radeon_compute_pll_avivo], 14818, pll dividers - fb: 32.6
ref: 2, post 11
LCD = "DISPLAY" button 1080/24p.


You are receiving this mail because:
  • You are the assignee for the bug.
--1396498582.01472.16550-- --===============0683993146== 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 --===============0683993146==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Wed, 02 Apr 2014 16:20:49 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1047029460==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id AA5666E6C5 for ; Wed, 2 Apr 2014 09:20:49 -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 --===============1047029460== Content-Type: multipart/alternative; boundary="1396455649.fdE3c2.3192"; charset="us-ascii" --1396455649.fdE3c2.3192 Date: Wed, 2 Apr 2014 16:20:49 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=76564 --- Comment #48 from Garrett --- Created attachment 96792 --> https://bugs.freedesktop.org/attachment.cgi?id=96792&action=edit logs working and not This patch appears to have broken my 24P playback which has been fine until now. My set is a Sony KDL 40NX711 NTSC set, A4-3400 - HDMI to set for vid/audio stereo out speakers/no avr. Using Openelec- gotham nightlies (this patch is now comitted to OE-nightlies): Playing 29.97 plays fine enough (a few skips- why I am testing this patch), 23.976 playback breaks the TV display- it starts to buzz then says "no signal", I press stop and the menu/screen resumes at ~30P like normal. I am attaching dmesg/xorg logs drm.debug=0xe both working w/o patch and broken w/patch. let me know if you need more. -- You are receiving this mail because: You are the assignee for the bug. --1396455649.fdE3c2.3192 Date: Wed, 2 Apr 2014 16:20:49 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 48 on bug 76564 from
Created attachment 96792 [details]
logs working and not

This patch appears to have broken my 24P playback which has been fine until
now.  My set is a Sony KDL 40NX711 NTSC set, A4-3400 - HDMI to set for
vid/audio stereo out speakers/no avr.  Using Openelec- gotham nightlies (this
patch is now comitted to OE-nightlies):
Playing 29.97 plays fine enough (a few skips- why I am testing this patch),
23.976 playback breaks the TV display- it starts to buzz then says "no signal",
I press stop and the menu/screen resumes at ~30P like normal. I am attaching
dmesg/xorg logs  drm.debug=0xe both working w/o patch and broken w/patch.  let
me know if you need more.


You are receiving this mail because:
  • You are the assignee for the bug.
--1396455649.fdE3c2.3192-- --===============1047029460== 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 --===============1047029460==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Wed, 02 Apr 2014 15:18:46 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1421012363==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id EDFEF6EB9B for ; Wed, 2 Apr 2014 08:18:45 -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 --===============1421012363== Content-Type: multipart/alternative; boundary="1396451925.EF504c1E2.18561"; charset="us-ascii" --1396451925.EF504c1E2.18561 Date: Wed, 2 Apr 2014 15:18:45 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=76564 --- Comment #47 from Rainer Hochecker --- (In reply to comment #41) > (In reply to comment #40) > > If you set "sync playback to display" in XBMC, an inaccurate clock has no > > impact on dropped or skipped frames. Suppose you only have a 24Hz mode and > > play material which is 23.976. It would slightly speed up playback: every > > vblank interval a frame is rendered. > > If you observe skipped frames, the render thread may have been blocked too > > long or a vertical retrace was missed. > > Hello FernetMenta, > > Thanks for commenting, as you are one of the experts on this subject in XBMC. > > "sync playback to display" is definately enabled on my system and still I am > seeing skipped or missed frames depending on if the clock is too slow or too > fast, respectively. > Also, the patches from Christian already proved that a clock that is closer > to the television display clock DOES have an influence on skipping/missing > frames. If the clock had no impact there wouldn't be a problem in the first > place. > > The posted xrandr logs also show my television does have a 23.976 mode. Again, a wrong speed does NOT have direct influence on dropped or skipped frames. If you see a some kind of relationship you have to look for the missing piece. -- You are receiving this mail because: You are the assignee for the bug. --1396451925.EF504c1E2.18561 Date: Wed, 2 Apr 2014 15:18:45 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 47 on bug 76564 from
(In reply to comment #41)
> (In reply to comment #40)
> > If you set "sync playback to display" in XBMC, an inaccurate clock has no
> > impact on dropped or skipped frames. Suppose you only have a 24Hz mode and
> > play material which is 23.976. It would slightly speed up playback: every
> > vblank interval a frame is rendered.
> > If you observe skipped frames, the render thread may have been blocked too
> > long or a vertical retrace was missed.
>  
> Hello FernetMenta,
> 
> Thanks for commenting, as you are one of the experts on this subject in XBMC.
> 
> "sync playback to display" is definately enabled on my system and still I am
> seeing skipped or missed frames depending on if the clock is too slow or too
> fast, respectively.
> Also, the patches from Christian already proved that a clock that is closer
> to the television display clock DOES have an influence on skipping/missing
> frames. If the clock had no impact there wouldn't be a problem in the first
> place.
> 
> The posted xrandr logs also show my television does have a 23.976 mode.

Again, a wrong speed does NOT have direct influence on dropped or skipped
frames. If you see a some kind of relationship you have to look for the missing
piece.


You are receiving this mail because:
  • You are the assignee for the bug.
--1396451925.EF504c1E2.18561-- --===============1421012363== 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 --===============1421012363==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Wed, 02 Apr 2014 20:07:58 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1484312868==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 834D66E72C for ; Wed, 2 Apr 2014 13:07:58 -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 --===============1484312868== Content-Type: multipart/alternative; boundary="1396469278.3E6B73a41.1803"; charset="us-ascii" --1396469278.3E6B73a41.1803 Date: Wed, 2 Apr 2014 20:07: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=3D76564 --- Comment #51 from Peter Fr=C3=BChberger --- This bugtracker is not about fglrx. Not a single thing will change for the radeon oss driver cause of such statements. At the end - before we dropped support for it (xvba + fglrx) - it was not e= ven able to hold vsync without one core at 100%. So that's not any alternative = at all. Btw. such comments are really distracting, as we never had that good support from AMD as we get from christian and alex right now. --=20 You are receiving this mail because: You are the assignee for the bug. --1396469278.3E6B73a41.1803 Date: Wed, 2 Apr 2014 20:07:58 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 51 on bug 76564<= /a> from Peter Fr=C3=BChberger
This bugtracker is not about fglrx. Not a single thing will ch=
ange for the
radeon oss driver cause of such statements.

At the end - before we dropped support for it (xvba + fglrx) - it was not e=
ven
able to hold vsync without one core at 100%. So that's not any alternative =
at
all.

Btw. such comments are really distracting, as we never had that good support
from AMD as we get from christian and alex right now. </offtopic>
        


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1396469278.3E6B73a41.1803-- --===============1484312868== 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 --===============1484312868==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Thu, 03 Apr 2014 07:39:21 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1657452470==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id E83076ECCD for ; Thu, 3 Apr 2014 00:39:20 -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 --===============1657452470== Content-Type: multipart/alternative; boundary="1396510760.A252D76D2.29095"; charset="us-ascii" --1396510760.A252D76D2.29095 Date: Thu, 3 Apr 2014 07:39:20 +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=3D76564 --- Comment #56 from Christian K=C3=B6nig --- @Garrett: That looks rather interesting. First of all please open up a new bug report= , I want to separate this problem from the discussion here. To this new bug report please add the output of "xrandr --verbose" and your dmesg logs of the 23.98 mode in the working and not working case. I have a pretty good idea what's going wrong here, but you need to test a couple of patches to make sure. --=20 You are receiving this mail because: You are the assignee for the bug. --1396510760.A252D76D2.29095 Date: Thu, 3 Apr 2014 07:39:20 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 56 on bug 76564<= /a> from Christian K=C3=B6nig
@Garrett:

That looks rather interesting. First of all please open up a new bug report=
, I
want to separate this problem from the discussion here.

To this new bug report please add the output of "xrandr --verbose"=
; and your
dmesg logs of the 23.98 mode in the working and not working case.

I have a pretty good idea what's going wrong here, but you need to test a
couple of patches to make sure.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1396510760.A252D76D2.29095-- --===============1657452470== 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 --===============1657452470==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Thu, 03 Apr 2014 03:24:52 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0538925023==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id F2EC86EC8C for ; Wed, 2 Apr 2014 20:24:52 -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 --===============0538925023== Content-Type: multipart/alternative; boundary="1396495492.EA2CF2.514"; charset="us-ascii" --1396495492.EA2CF2.514 Date: Thu, 3 Apr 2014 03:24:52 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=76564 --- Comment #53 from Garrett --- Created attachment 96817 --> https://bugs.freedesktop.org/attachment.cgi?id=96817&action=edit xrandr 1920x1080x24p and OE crashed lcd Sorry. Here you go: dmesg just after- "xrandr --output HDMI-0 --mode 1920x1080 --rate 24". It did change refresh w/o blank screen: [2465.347782] [drm:radeon_compute_pll_avivo], 148500 - 14850, pll dividers - fb: 29.7 ref: 2, post 10. My LCD shows 1080/24P now pressing remote "DISPLAY" button. Opening OE 24p video >> crashes the screen. dmesg while on a crashed screen. [958.084974] [drm:radeon_compute_pll_avivo], 148340 - 14834, pll dividers - fb: 741.7 ref: 50, post 10 -- You are receiving this mail because: You are the assignee for the bug. --1396495492.EA2CF2.514 Date: Thu, 3 Apr 2014 03:24:52 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 53 on bug 76564 from
Created attachment 96817 [details]
xrandr 1920x1080x24p and OE crashed lcd

Sorry.  Here you go: dmesg just after- "xrandr --output HDMI-0 --mode 1920x1080
--rate 24". It did change refresh w/o blank screen: 
[2465.347782] [drm:radeon_compute_pll_avivo], 148500 - 14850, pll dividers -
fb: 29.7 ref: 2, post 10.    My LCD shows 1080/24P now pressing remote
"DISPLAY" button.

Opening OE 24p video >> crashes the screen.  dmesg while on a crashed screen.
[958.084974] [drm:radeon_compute_pll_avivo], 148340 - 14834, pll dividers - fb:
741.7 ref: 50, post 10


You are receiving this mail because:
  • You are the assignee for the bug.
--1396495492.EA2CF2.514-- --===============0538925023== 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 --===============0538925023==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Thu, 03 Apr 2014 03:34:31 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2017525675==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 7C1256EC90 for ; Wed, 2 Apr 2014 20:34:31 -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 --===============2017525675== Content-Type: multipart/alternative; boundary="1396496071.D1b0eef12.3859"; charset="us-ascii" --1396496071.D1b0eef12.3859 Date: Thu, 3 Apr 2014 03:34:31 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=76564 --- Comment #54 from Garrett --- Created attachment 96819 --> https://bugs.freedesktop.org/attachment.cgi?id=96819&action=edit xrandr 1920x1080x23.98 crashed ok "xrandr --output HDMI-0 --mode 1920x1080 --rate 23.98" crashes the screen. Same as the OE when playing a 24p video. [ 4592.767636] [drm:radeon_compute_pll_avivo], 148340 - 14834, pll dividers - fb: 741.7 ref: 50, post 10 LMK if you need more. -- You are receiving this mail because: You are the assignee for the bug. --1396496071.D1b0eef12.3859 Date: Thu, 3 Apr 2014 03:34:31 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 54 on bug 76564 from
Created attachment 96819 [details]
xrandr 1920x1080x23.98 crashed

ok "xrandr --output HDMI-0 --mode 1920x1080 --rate 23.98" crashes the screen.
Same as the OE when playing a 24p video.
[ 4592.767636] [drm:radeon_compute_pll_avivo], 148340 - 14834, pll dividers -
fb: 741.7 ref: 50, post 10
LMK if you need more.


You are receiving this mail because:
  • You are the assignee for the bug.
--1396496071.D1b0eef12.3859-- --===============2017525675== 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 --===============2017525675==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Thu, 03 Apr 2014 16:59:59 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0238772214==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 855716E35B for ; Thu, 3 Apr 2014 09:59: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 --===============0238772214== Content-Type: multipart/alternative; boundary="1396544399.Df5a3A02.30952"; charset="us-ascii" --1396544399.Df5a3A02.30952 Date: Thu, 3 Apr 2014 16:59:59 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=76564 --- Comment #57 from Rainer Hochecker --- (In reply to comment #50) > If the 'sync to display' option is on in XBMC the video pixels clock is > master and I guess it then uses the vblank interrupt generated by the OSS > driver. These interrupts are generated using the same clock settings that > were used to set the PLL parameters. Why are there then ever skips reported, > because the renderer cannot be late as it is the master and just puts a > frame out for each vblank interrupt? or do I misunderstand something? > Are missed vblanks reported by the OSS driver to XBMC or does XBMC keep some > shadow adminstration to see if vblank interrupts arrive at the expected time? > Almost correct. At the application level we don't see interrupts. We just render the frames. We only can render one frame per vblank interval. Decoding should be fasted than rendering, hence the queue of ready frames fills and frames wait for being picked up. At this point (when the render thread comes by) we check the timestamp attached to the frame. If the time has already passed and there is more than a single frame in the queue, the next frame is skipped. Means the render thread is late by minimum frametime 41ms when running at 23.976. So even if we run at wrong speed, the render thread should not get that late. -- You are receiving this mail because: You are the assignee for the bug. --1396544399.Df5a3A02.30952 Date: Thu, 3 Apr 2014 16:59:59 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 57 on bug 76564 from
(In reply to comment #50)

> If the 'sync to display' option is on in XBMC the video pixels clock is
> master and I guess it then uses the vblank interrupt generated by the OSS
> driver. These interrupts are generated using the same clock settings that
> were used to set the PLL parameters. Why are there then ever skips reported,
> because the renderer cannot be late as it is the master and just puts a
> frame out for each vblank interrupt? or do I misunderstand something?
> Are missed vblanks reported by the OSS driver to XBMC or does XBMC keep some
> shadow adminstration to see if vblank interrupts arrive at the expected time?
> 

Almost correct. At the application level we don't see interrupts. We just
render the frames. We only can render one frame per vblank interval. Decoding
should be fasted than rendering, hence the queue of ready frames fills and
frames wait for being picked up. At this point (when the render thread comes
by) we check the timestamp attached to the frame. If the time has already
passed and there is more than a single frame in the queue, the next frame is
skipped. Means the render thread is late by minimum frametime 41ms when running
at 23.976.

So even if we run at wrong speed, the render thread should not get that late.


You are receiving this mail because:
  • You are the assignee for the bug.
--1396544399.Df5a3A02.30952-- --===============0238772214== 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 --===============0238772214==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Thu, 03 Apr 2014 19:26:56 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1506065522==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 638C06E907 for ; Thu, 3 Apr 2014 12:26:56 -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 --===============1506065522== Content-Type: multipart/alternative; boundary="1396553216.a4A83E2.5825"; charset="us-ascii" --1396553216.a4A83E2.5825 Date: Thu, 3 Apr 2014 19:26:56 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=76564 --- Comment #58 from Rackow, Detlev --- Created attachment 96869 --> https://bugs.freedesktop.org/attachment.cgi?id=96869&action=edit dmesg after switching to 25hz and back to 24hz -- You are receiving this mail because: You are the assignee for the bug. --1396553216.a4A83E2.5825 Date: Thu, 3 Apr 2014 19:26:56 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 58 on bug 76564 from
Created attachment 96869 [details]
dmesg after switching to 25hz and back to 24hz


You are receiving this mail because:
  • You are the assignee for the bug.
--1396553216.a4A83E2.5825-- --===============1506065522== 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 --===============1506065522==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Thu, 03 Apr 2014 19:27:50 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1426674967==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 1D2D66E909 for ; Thu, 3 Apr 2014 12:27:50 -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 --===============1426674967== Content-Type: multipart/alternative; boundary="1396553270.Bfdd4Aee2.6101"; charset="us-ascii" --1396553270.Bfdd4Aee2.6101 Date: Thu, 3 Apr 2014 19:27:50 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=76564 --- Comment #59 from Rackow, Detlev --- Hi, I also have issues with OE 3.95.x and Radeon 6320 (AMD E-450). On my device, issues happened with all fractional frequencies (23.9x, 29.9x, 59.9x hz) The test-version which Peter Fruehberger posted and which contains your preliminary patch changed the behaviour. With that new patch fractionalmodes (23.976, ... , ... ) are now working fine, but with 25hz I have a problem. (Peter supposes that it's actually 50i and I believe this too, but I'm just a user and I can only report the frequency that I select in the XBMC-settings) When I set the rate to 25Hz, the picture begins to shiver up and down a few millimeters. When I don't acknowledge the new rate, XBMC switches back to the old rate, and the picture is immediately stable as ever. This effect used to happen with all fractional rates in OE 3.95.x, while 25Hz worked fine. With the mentioned test-version it is gone on the fractional rates, but now it happens on 25Hz (or 50i, as Peter says). As instructed, I booted OE with the kernel-parameter drm.debug=0xe and took dmesg and Xorg.0.log immediately after switching to 25hz and falling back. This is my first post on this site, I hope I don't mess it ;) -- You are receiving this mail because: You are the assignee for the bug. --1396553270.Bfdd4Aee2.6101 Date: Thu, 3 Apr 2014 19:27:50 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 59 on bug 76564 from
Hi, I also have issues with OE 3.95.x and Radeon 6320 (AMD E-450). On my
device, issues happened with all fractional frequencies (23.9x, 29.9x, 59.9x
hz)

The test-version which Peter Fruehberger posted and which contains your
preliminary patch changed the behaviour.

With that new patch fractionalmodes (23.976, ... , ... ) are now working
fine, but with 25hz I have a problem. (Peter supposes that it's actually 50i
and I believe this too, but I'm just a user and I can only report the frequency
that I select in the XBMC-settings)

When I set the rate to 25Hz, the picture begins to shiver up and down a few
millimeters. When I don't acknowledge the new rate, XBMC switches back to the
old rate, and the picture is immediately stable as ever. 

This effect used to happen with all fractional rates in OE 3.95.x, while 25Hz
worked fine. With the mentioned test-version it is gone on the fractional
rates, but now it happens on 25Hz (or 50i, as Peter says).

As instructed, I booted OE with the kernel-parameter drm.debug=0xe and took
dmesg and Xorg.0.log immediately after switching to 25hz and falling back.

This is my first post on this site, I hope I don't mess it ;)


You are receiving this mail because:
  • You are the assignee for the bug.
--1396553270.Bfdd4Aee2.6101-- --===============1426674967== 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 --===============1426674967==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Thu, 03 Apr 2014 19:29:18 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1676693135==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 99D126E90E for ; Thu, 3 Apr 2014 12:29:18 -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 --===============1676693135== Content-Type: multipart/alternative; boundary="1396553358.721c2.6444"; charset="us-ascii" --1396553358.721c2.6444 Date: Thu, 3 Apr 2014 19:29:18 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=76564 --- Comment #60 from Rackow, Detlev --- Created attachment 96870 --> https://bugs.freedesktop.org/attachment.cgi?id=96870&action=edit Xorg.0.log after switching to 25hz and back to 24hz -- You are receiving this mail because: You are the assignee for the bug. --1396553358.721c2.6444 Date: Thu, 3 Apr 2014 19:29:18 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 60 on bug 76564 from
Created attachment 96870 [details]
Xorg.0.log after switching to 25hz and back to 24hz


You are receiving this mail because:
  • You are the assignee for the bug.
--1396553358.721c2.6444-- --===============1676693135== 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 --===============1676693135==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Fri, 04 Apr 2014 08:06:44 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0522881229==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 890C06ECE3 for ; Fri, 4 Apr 2014 01:06:44 -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 --===============0522881229== Content-Type: multipart/alternative; boundary="1396598804.cb0ea2.16615"; charset="us-ascii" --1396598804.cb0ea2.16615 Date: Fri, 4 Apr 2014 08:06:44 +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=3D76564 --- Comment #61 from Christian K=C3=B6nig --- Detlev, please attache your logs to this bug instead: ttps://bugs.freedesktop.org/show_bug.cgi?id=3D77009 It's essentially a different problem and I want to keep it separated from t= he discussion here. Thanks, Christian. --=20 You are receiving this mail because: You are the assignee for the bug. --1396598804.cb0ea2.16615 Date: Fri, 4 Apr 2014 08:06:44 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 61 on bug 76564<= /a> from Christian K=C3=B6nig
Detlev, please attache your logs to this bug instead:
ttps://bugs.freedesktop.org/show_bug.cgi?id=3D77009

It's essentially a different problem and I want to keep it separated from t=
he
discussion here.

Thanks,
Christian.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1396598804.cb0ea2.16615-- --===============0522881229== 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 --===============0522881229==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Fri, 04 Apr 2014 17:50:52 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0775793857==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 7CBB86EDD5 for ; Fri, 4 Apr 2014 10:50:52 -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 --===============0775793857== Content-Type: multipart/alternative; boundary="1396633852.A25d3a2.25474"; charset="us-ascii" --1396633852.A25d3a2.25474 Date: Fri, 4 Apr 2014 17:50:52 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=76564 --- Comment #62 from Rackow, Detlev --- Thanks for your fast reply, it's done. Regards, Detlev -- You are receiving this mail because: You are the assignee for the bug. --1396633852.A25d3a2.25474 Date: Fri, 4 Apr 2014 17:50:52 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 62 on bug 76564 from
Thanks for your fast reply, it's done.

Regards,

Detlev


You are receiving this mail because:
  • You are the assignee for the bug.
--1396633852.A25d3a2.25474-- --===============0775793857== 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 --===============0775793857==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Wed, 23 Apr 2014 08:46:52 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0956796704==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id E021E6EA27 for ; Wed, 23 Apr 2014 01:46:52 -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 --===============0956796704== Content-Type: multipart/alternative; boundary="1398242812.ea38BdC32.18735"; charset="us-ascii" --1398242812.ea38BdC32.18735 Date: Wed, 23 Apr 2014 08:46: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=3D76564 --- Comment #63 from Christian K=C3=B6nig --- Please try http://cgit.freedesktop.org/~deathsimple/linux/log/?h=3Ddrm-next= -3.16. This branch might fix the remaining frame drop problems. --=20 You are receiving this mail because: You are the assignee for the bug. --1398242812.ea38BdC32.18735 Date: Wed, 23 Apr 2014 08:46:52 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1398242812.ea38BdC32.18735-- --===============0956796704== 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 --===============0956796704==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Wed, 23 Apr 2014 15:43:34 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1528149054==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id B3AE88A16C for ; Wed, 23 Apr 2014 08:43:34 -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 --===============1528149054== Content-Type: multipart/alternative; boundary="1398267814.1a464FC1.19221"; charset="us-ascii" --1398267814.1a464FC1.19221 Date: Wed, 23 Apr 2014 15:43:34 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=76564 --- Comment #64 from jeroen --- (In reply to comment #63) > Please try > http://cgit.freedesktop.org/~deathsimple/linux/log/?h=drm-next-3.16. > > This branch might fix the remaining frame drop problems. Hi Christian, I see multiple commits, are you specifically referring to the page flip commits? Problems with the vblank handling could explain skipped frames in XBMC as this indicates the render thread is late as explained by Rainer. I will see if I can create a patch for OpenElec to pull in all the changes made to drm/radeon and test it -- You are receiving this mail because: You are the assignee for the bug. --1398267814.1a464FC1.19221 Date: Wed, 23 Apr 2014 15:43:34 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 64 on bug 76564 from
(In reply to comment #63)
> Please try
> http://cgit.freedesktop.org/~deathsimple/linux/log/?h=drm-next-3.16.
> 
> This branch might fix the remaining frame drop problems.

Hi Christian,

I see multiple commits, are you specifically referring to the page flip
commits?  Problems with the vblank handling could explain skipped frames in
XBMC as this indicates the render thread is late as explained by Rainer.

I will see if I can create a patch for OpenElec to pull in all the changes made
to drm/radeon and test it


You are receiving this mail because:
  • You are the assignee for the bug.
--1398267814.1a464FC1.19221-- --===============1528149054== 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 --===============1528149054==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Wed, 23 Apr 2014 15:45:51 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0547886010==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 236746EAE4 for ; Wed, 23 Apr 2014 08:45:51 -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 --===============0547886010== Content-Type: multipart/alternative; boundary="1398267951.16Cb52.19875"; charset="us-ascii" --1398267951.16Cb52.19875 Date: Wed, 23 Apr 2014 15:45:51 +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=3D76564 --- Comment #65 from Christian K=C3=B6nig --- (In reply to comment #64) > I will see if I can create a patch for OpenElec to pull in all the changes > made to drm/radeon and test it Peter already did so, you should contact him to get the merged patch. --=20 You are receiving this mail because: You are the assignee for the bug. --1398267951.16Cb52.19875 Date: Wed, 23 Apr 2014 15:45:51 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 65 on bug 76564<= /a> from Christian K=C3=B6nig
(In reply to comment #=
64)
> I will see if I can create a patch for OpenElec =
to pull in all the changes
> made to drm/radeon and test it

Peter already did so, you should contact him to get the merged patch.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1398267951.16Cb52.19875-- --===============0547886010== 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 --===============0547886010==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Thu, 24 Apr 2014 06:37:06 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0179619010==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 1B3B16EBAF for ; Wed, 23 Apr 2014 23:37:06 -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 --===============0179619010== Content-Type: multipart/alternative; boundary="1398321426.18511.17125"; charset="us-ascii" --1398321426.18511.17125 Date: Thu, 24 Apr 2014 06:37: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=3D76564 --- Comment #66 from Peter Fr=C3=BChberger --- I gave the patches I extracted a try (http://sprunge.us/ZRBT). It seems to have major issues with fractional modes. When watching 24p cont= ent, it jumps all the way from 0.89 fps to 18fps and 24fps, the skip counter is running monotonically. I think jeroen, which als has the issue, will post some logfiles later. It's nothing subtile, so I think you can directly see it, when running a fractio= nal mode. Might also be, that I missed a patch (see above). --=20 You are receiving this mail because: You are the assignee for the bug. --1398321426.18511.17125 Date: Thu, 24 Apr 2014 06:37:06 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 66 on bug 76564<= /a> from Peter Fr=C3=BChberger
I gave the patches I extracted a try (http://sprunge.us/ZRBT).

It seems to have major issues with fractional modes. When watching 24p cont=
ent,
it jumps all the way from 0.89 fps to 18fps and 24fps, the skip counter is
running monotonically.

I think jeroen, which als has the issue, will post some logfiles later. It's
nothing subtile, so I think you can directly see it, when running a fractio=
nal
mode.

Might also be, that I missed a patch (see above).


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1398321426.18511.17125-- --===============0179619010== 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 --===============0179619010==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Thu, 24 Apr 2014 13:49:17 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0851960155==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id B234D6EC72 for ; Thu, 24 Apr 2014 06:49: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 --===============0851960155== Content-Type: multipart/alternative; boundary="1398347357.FFb62.26500"; charset="us-ascii" --1398347357.FFb62.26500 Date: Thu, 24 Apr 2014 13:49:17 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=76564 --- Comment #67 from Garrett --- Created attachment 97901 --> https://bugs.freedesktop.org/attachment.cgi?id=97901&action=edit dmesg xrandr new patch slow 18fps on 24p I tested this new patch. it plays back very slowly in xbmc (reverting the kernel fixes it- i have that dmesg too if you need it). attached is the dmesg (error level 14) after cmd: xrandr --output HDMI-0 --mode 1920x1080 --rate 23.98 in log note: [ 45.594953] [drm:drm_mode_debug_printmodeline], Modeline 24:"1920x1080" 60 148500 1920 2008 2052 2200 1080 1084 1089 1125 0x48 0x5 [ 45.594955] [drm:drm_mode_debug_printmodeline], Modeline 31:"" 0 74176 1920 2558 2602 2750 1080 1084 1089 1125 0x0 0x5 [ 45.594958] [drm:drm_crtc_helper_set_config], [CONNECTOR:18:HDMI-A-1] to [CRTC:12] [ 45.594960] [drm:drm_crtc_helper_set_config], attempting to set mode from userspace [ 45.594962] [drm:drm_mode_debug_printmodeline], Modeline 31:"" 0 74176 1920 2558 2602 2750 1080 1084 1089 1125 0x0 0x5 Not sure where 31 came from. Let me know if you need to see anything else. system: a4-3400 hdmi to tv direct a/v both. xubuntu64 14.04 full desktop. -- You are receiving this mail because: You are the assignee for the bug. --1398347357.FFb62.26500 Date: Thu, 24 Apr 2014 13:49:17 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 67 on bug 76564 from
Created attachment 97901 [details]
dmesg xrandr new patch slow 18fps on 24p

I tested this new patch.  it plays back very slowly in xbmc (reverting the
kernel fixes it- i have that dmesg too if you need it).  attached is the dmesg
(error level 14) after cmd:

xrandr --output HDMI-0 --mode 1920x1080 --rate 23.98

in log note:  
[   45.594953] [drm:drm_mode_debug_printmodeline], Modeline 24:"1920x1080" 60
148500 1920 2008 2052 2200 1080 1084 1089 1125 0x48 0x5
[   45.594955] [drm:drm_mode_debug_printmodeline], Modeline 31:"" 0 74176 1920
2558 2602 2750 1080 1084 1089 1125 0x0 0x5
[   45.594958] [drm:drm_crtc_helper_set_config], [CONNECTOR:18:HDMI-A-1] to
[CRTC:12]
[   45.594960] [drm:drm_crtc_helper_set_config], attempting to set mode from
userspace
[   45.594962] [drm:drm_mode_debug_printmodeline], Modeline 31:"" 0 74176 1920
2558 2602 2750 1080 1084 1089 1125 0x0 0x5

Not sure where 31 came from.
Let me know if you need to see anything else.
system: a4-3400 hdmi to tv direct a/v both.  xubuntu64 14.04 full desktop.


You are receiving this mail because:
  • You are the assignee for the bug.
--1398347357.FFb62.26500-- --===============0851960155== 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 --===============0851960155==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Thu, 24 Apr 2014 15:53:05 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0956168829==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id E156A6ECE0 for ; Thu, 24 Apr 2014 08:53:05 -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 --===============0956168829== Content-Type: multipart/alternative; boundary="1398354785.b86e1342.23686"; charset="us-ascii" --1398354785.b86e1342.23686 Date: Thu, 24 Apr 2014 15:53:05 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=76564 --- Comment #68 from jeroen --- dmesg output with drm debug on: http://sprunge.us/gSWc I tested it too and have similar results as Peter. When playing 23.976 content the average framerate is around 21fps and XBMC reports constant 'skipped frames', meaning the render thread is late. This was tested using OpenElec 4.0 master on a AMD E-350 -- You are receiving this mail because: You are the assignee for the bug. --1398354785.b86e1342.23686 Date: Thu, 24 Apr 2014 15:53:05 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 68 on bug 76564 from
dmesg output with drm debug on: http://sprunge.us/gSWc

I tested it too and have similar results as Peter. When playing 23.976 content
the average framerate is around 21fps and XBMC reports constant 'skipped
frames', meaning the render thread is late.

This was tested using OpenElec 4.0 master on a AMD E-350


You are receiving this mail because:
  • You are the assignee for the bug.
--1398354785.b86e1342.23686-- --===============0956168829== 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 --===============0956168829==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Sun, 27 Apr 2014 13:12:21 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1580859632==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 00E856E708 for ; Sun, 27 Apr 2014 06:12:21 -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 --===============1580859632== Content-Type: multipart/alternative; boundary="1398604340.A1Fe8efe3.7435"; charset="us-ascii" --1398604340.A1Fe8efe3.7435 Date: Sun, 27 Apr 2014 13:12:20 +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=3D76564 --- Comment #69 from Christian K=C3=B6nig --- Hi Peter & Jereon, please give this commit a try: http://cgit.freedesktop.org/~deathsimple/linux/commit/?h=3Ddrm-fixes-3.15-w= ip&id=3Dcebb0b66645d8d18982c160521c164a51d0f1fd9 It should now use the pflip irq to avoid problems with missed flips. --=20 You are receiving this mail because: You are the assignee for the bug. --1398604340.A1Fe8efe3.7435 Date: Sun, 27 Apr 2014 13:12:20 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 69 on bug 76564<= /a> from Christian K=C3=B6nig
Hi Peter & Jereon,

please give this commit a try:
http://cgi=
t.freedesktop.org/~deathsimple/linux/commit/?h=3Ddrm-fixes-3.15-wip&id=
=3Dcebb0b66645d8d18982c160521c164a51d0f1fd9

It should now use the pflip irq to avoid problems with missed flips.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1398604340.A1Fe8efe3.7435-- --===============1580859632== 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 --===============1580859632==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Sun, 27 Apr 2014 13:25:23 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1080287941==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id DD9836E711 for ; Sun, 27 Apr 2014 06:25:23 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1080287941== Content-Type: multipart/alternative; boundary="1398605123.de47642.10999"; charset="us-ascii" --1398605123.de47642.10999 Date: Sun, 27 Apr 2014 13:25: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=3D76564 --- Comment #70 from Peter Fr=C3=BChberger --- @Jereon: Here is the updated patch: http://sprunge.us/DOjf I am currently building debian packages, so drop me a mail if you test on debian based system to save you that work. @Christian: Thx much as usual. --=20 You are receiving this mail because: You are the assignee for the bug. --1398605123.de47642.10999 Date: Sun, 27 Apr 2014 13:25:23 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 70 on bug 76564<= /a> from Peter Fr=C3=BChberger
@Jereon: Here is the updated patch: http://sprunge.us/DOjf

I am currently building debian packages, so drop me a mail if you test on
debian based system to save you that work.

@Christian: Thx much as usual.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1398605123.de47642.10999-- --===============1080287941== 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 --===============1080287941==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Sun, 27 Apr 2014 14:42:26 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1698541480==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 624CA6E72D for ; Sun, 27 Apr 2014 07:42:26 -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 --===============1698541480== Content-Type: multipart/alternative; boundary="1398609746.3f71FB2.30860"; charset="us-ascii" --1398609746.3f71FB2.30860 Date: Sun, 27 Apr 2014 14:42:26 +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=3D76564 --- Comment #71 from Peter Fr=C3=BChberger --- Works perfectly for me. Test 50hz, 24.0 hz and 23.976 hz. No skips, rock solid fps. --=20 You are receiving this mail because: You are the assignee for the bug. --1398609746.3f71FB2.30860 Date: Sun, 27 Apr 2014 14:42:26 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 71 on bug 76564<= /a> from Peter Fr=C3=BChberger
Works perfectly for me.

Test 50hz, 24.0 hz and 23.976 hz. No skips, rock solid fps.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1398609746.3f71FB2.30860-- --===============1698541480== 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 --===============1698541480==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Sun, 27 Apr 2014 14:58:10 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0678124518==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 5A5186E72E for ; Sun, 27 Apr 2014 07:58: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 --===============0678124518== Content-Type: multipart/alternative; boundary="1398610690.E4DFEE32.2594"; charset="us-ascii" --1398610690.E4DFEE32.2594 Date: Sun, 27 Apr 2014 14:58:10 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=76564 --- Comment #72 from Garrett --- (In reply to comment #69) > Hi Peter & Jereon, > > please give this commit a try: > http://cgit.freedesktop.org/~deathsimple/linux/commit/?h=drm-fixes-3.15- > wip&id=cebb0b66645d8d18982c160521c164a51d0f1fd9 > > It should now use the pflip irq to avoid problems with missed flips. @Christian, Thanks so much! I have NO (very rare) additional skips now in OE, A4-3400 HDMI to Sony LCD. On 1080ix29.97 h264. I have been trying to fix this for a long time. I have some really hard to play panning vids that used to skip a lot, and it is now none. 1080px23.976 h.264 = perfect. @Peter thanks for posting the patch. PQ is amazing! No judders at all. I forgot to mention the 210 PLL limit works great too. Thanks for that also. @Jereon. I hope that this fixes your issues. This bug report has made a huge difference for my systems. Garrett -- You are receiving this mail because: You are the assignee for the bug. --1398610690.E4DFEE32.2594 Date: Sun, 27 Apr 2014 14:58:10 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 72 on bug 76564 from
(In reply to comment #69)
> Hi Peter & Jereon,
> 
> please give this commit a try:
> http://cgit.freedesktop.org/~deathsimple/linux/commit/?h=drm-fixes-3.15-
> wip&id=cebb0b66645d8d18982c160521c164a51d0f1fd9
> 
> It should now use the pflip irq to avoid problems with missed flips.

@Christian, 
Thanks so much!  I have NO (very rare) additional skips now in OE, A4-3400 HDMI
to Sony LCD.  On 1080ix29.97 h264.  I have been trying to fix this for a long
time.  I have some really hard to play panning vids that used to skip a lot,
and it is now none.  1080px23.976 h.264 = perfect.  @Peter thanks for posting
the patch.  PQ is amazing!  No judders at all.  

I forgot to mention the 210 PLL limit works great too.  Thanks for that also.

@Jereon.   I hope that this fixes your issues.  This bug report has made a huge
difference for my systems.

Garrett


You are receiving this mail because:
  • You are the assignee for the bug.
--1398610690.E4DFEE32.2594-- --===============0678124518== 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 --===============0678124518==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Sun, 27 Apr 2014 15:27:24 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1773461087==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 00C846E73D for ; Sun, 27 Apr 2014 08:27:24 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1773461087== Content-Type: multipart/alternative; boundary="1398612443.C37DAC2.9794"; charset="us-ascii" --1398612443.C37DAC2.9794 Date: Sun, 27 Apr 2014 15:27:23 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=76564 --- Comment #73 from jeroen --- (In reply to comment #70) > @Jereon: Here is the updated patch: http://sprunge.us/DOjf > > I am currently building debian packages, so drop me a mail if you test on > debian based system to save you that work. > > @Christian: Thx much as usual. Thanks for providing the patch. I am currently building OE 4.0 master with it and hopefully can report similar results as you guys later. -- You are receiving this mail because: You are the assignee for the bug. --1398612443.C37DAC2.9794 Date: Sun, 27 Apr 2014 15:27:23 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 73 on bug 76564 from
(In reply to comment #70)
> @Jereon: Here is the updated patch: http://sprunge.us/DOjf
> 
> I am currently building debian packages, so drop me a mail if you test on
> debian based system to save you that work.
> 
> @Christian: Thx much as usual.

Thanks for providing the patch. I am currently building OE 4.0 master with it
and hopefully can report similar results as you guys later.


You are receiving this mail because:
  • You are the assignee for the bug.
--1398612443.C37DAC2.9794-- --===============1773461087== 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 --===============1773461087==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Sun, 27 Apr 2014 15:37:55 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1173131118==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 25C746E744 for ; Sun, 27 Apr 2014 08:37:55 -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 --===============1173131118== Content-Type: multipart/alternative; boundary="1398613075.a4e8aaD02.12301"; charset="us-ascii" --1398613075.a4e8aaD02.12301 Date: Sun, 27 Apr 2014 15:37: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=3D76564 --- Comment #74 from Peter Fr=C3=BChberger --- Wait a moment, the last one has changed a bit to support more than R600, pl= ease use that one: http://sprunge.us/XcQW --=20 You are receiving this mail because: You are the assignee for the bug. --1398613075.a4e8aaD02.12301 Date: Sun, 27 Apr 2014 15:37:55 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 74 on bug 76564<= /a> from Peter Fr=C3=BChberger
Wait a moment, the last one has changed a bit to support more =
than R600, please
use that one: http://sprunge.us/XcQW=


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1398613075.a4e8aaD02.12301-- --===============1173131118== 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 --===============1173131118==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Sun, 27 Apr 2014 17:15:17 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0432987435==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 047426E762 for ; Sun, 27 Apr 2014 10:15: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 --===============0432987435== Content-Type: multipart/alternative; boundary="1398618916.dFADd62.32564"; charset="us-ascii" --1398618916.dFADd62.32564 Date: Sun, 27 Apr 2014 17:15:16 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=76564 --- Comment #75 from Garrett --- (In reply to comment #74) > Wait a moment, the last one has changed a bit to support more than R600, > please use that one: http://sprunge.us/XcQW OK built it and works great! A4-3400 all good, like before. Now I can play 1080ix29.97 on my Zotac AQ01 (A4-5000 APU) 59.94fps stable. Even VDPAU Temoral de-interlacing no skips! It failed to play before. I got ~54-58FPS before, and only plain BOB worked kind of, not even VDPAU BOB. This is a good patch even for new chips. I am using 3.14.0 Kernel from OE (r18133) git, removed older PLL patches, applied these: http://sprunge.us/XcQW Garrett -- You are receiving this mail because: You are the assignee for the bug. --1398618916.dFADd62.32564 Date: Sun, 27 Apr 2014 17:15:16 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 75 on bug 76564 from
(In reply to comment #74)
> Wait a moment, the last one has changed a bit to support more than R600,
> please use that one: http://sprunge.us/XcQW

OK built it and works great!  A4-3400 all good, like before.

Now I can play 1080ix29.97 on my Zotac AQ01 (A4-5000 APU) 59.94fps stable. 
Even VDPAU Temoral de-interlacing no skips!  It failed to play before.  I got
~54-58FPS before, and only plain BOB worked kind of, not even VDPAU BOB.  This
is a good patch even for new chips.

I am using 3.14.0 Kernel from OE (r18133) git, removed older PLL patches,
applied these:  http://sprunge.us/XcQW

Garrett


You are receiving this mail because:
  • You are the assignee for the bug.
--1398618916.dFADd62.32564-- --===============0432987435== 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 --===============0432987435==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Sun, 27 Apr 2014 17:48:05 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0851381153==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 5E49B6E76C for ; Sun, 27 Apr 2014 10:48:05 -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 --===============0851381153== Content-Type: multipart/alternative; boundary="1398620885.A456A2.8119"; charset="us-ascii" --1398620885.A456A2.8119 Date: Sun, 27 Apr 2014 17:48:05 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=76564 --- Comment #76 from jeroen --- (In reply to comment #74) > Wait a moment, the last one has changed a bit to support more than R600, > please use that one: http://sprunge.us/XcQW I just tested with this patch in combination with OE 4.0 master and it is like you said 'rock solid'. I tested 23.976fps content for 20 min and not a single skipped or dropped frame. I will test some more the coming days, but this patch seems to be the solution. Thanks Christian! Now, I can ditch OE 3.0 and switch to OE 4.0 finally. -- You are receiving this mail because: You are the assignee for the bug. --1398620885.A456A2.8119 Date: Sun, 27 Apr 2014 17:48:05 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 76 on bug 76564 from
(In reply to comment #74)
> Wait a moment, the last one has changed a bit to support more than R600,
> please use that one: http://sprunge.us/XcQW

I just tested with this patch in combination with OE 4.0 master and it is like
you said 'rock solid'. I tested 23.976fps content for 20 min and not a single
skipped or dropped frame.

I will test some more the coming days, but this patch seems to be the solution. 

Thanks Christian!

Now, I can ditch OE 3.0 and switch to OE 4.0 finally.


You are receiving this mail because:
  • You are the assignee for the bug.
--1398620885.A456A2.8119-- --===============0851381153== 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 --===============0851381153==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Mon, 28 Apr 2014 08:23:07 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0023627964==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 67CA96E7C3 for ; Mon, 28 Apr 2014 01:23:07 -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 --===============0023627964== Content-Type: multipart/alternative; boundary="1398673387.FD6bD3.25393"; charset="us-ascii" --1398673387.FD6bD3.25393 Date: Mon, 28 Apr 2014 08:23: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=3D76564 Christian K=C3=B6nig changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #77 from Christian K=C3=B6nig --- I'm trying to get that patch into 3.15 and going to create a cleaned up solution for 3.16. Thanks for all the help, Christian. --=20 You are receiving this mail because: You are the assignee for the bug. --1398673387.FD6bD3.25393 Date: Mon, 28 Apr 2014 08:23:07 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Christian K=C3=B6nig changed bug 76564<= /a>
What Removed Added
Status NEW RESOLVED
Resolution --- FIXED

Commen= t # 77 on bug 76564<= /a> from Christian K=C3=B6nig
I'm trying to get that patch into 3.15 and going to create a c=
leaned up
solution for 3.16.

Thanks for all the help,
Christian.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1398673387.FD6bD3.25393-- --===============0023627964== 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 --===============0023627964==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Sun, 04 May 2014 08:39:36 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0792844476==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 11F986E3F5 for ; Sun, 4 May 2014 01:39: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 --===============0792844476== Content-Type: multipart/alternative; boundary="1399192777.60768403.3903"; charset="us-ascii" --1399192777.60768403.3903 Date: Sun, 4 May 2014 08:39:36 +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=3D76564 adb76@gmx.de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |--- --- Comment #78 from adb76@gmx.de --- I've tested the attached patch, which is now included in OpenELEC 4.0 Beta = 7 on my AMD Fusion E-350 with Radeon HD 6310 system (see adb76_lspci.txt). There seems to be still a problem with which I was alread in contact with Peter Fr=C3=BChberger (fritsch) on the github site for OpenELEC: https://github.com/OpenELEC/OpenELEC.tv/issues/3163 . Peter asked me to att= ach my information to this bug: The problem is that when I watch videos with XBMC on OpenELEC 4.0 Beta 7 the "missed frames" counter (not the skipped frames counter!) increases constan= tly during playback. In around 45 minutes there are approximately 30 "missed frames". The missed frames are recognisable, so when I see a stuttering I l= ook afterwards on the OSD of XBMC and the missed frame counter increased by +1 = or +2. I previously had installed OpenELEC 3.2 where I didn't get any missed frames during the full playback. The assumption of Peter is that "the driver did not do swaps". My TV is displaying the framerate of all the tested videos natively: 1920x1080@25fps and 1280x720@25fps. See also the attached file adb76_xrandr= .txt for the display properties. On XBMC side I have set the following preferences (according to the suggest= ions of Peter):=20 Enable Adjust Refreshrate to match video (On Start / Stop) Enable Sync Playback to Display Method Video Clock (Drop / Dupe) Deinterlace: Auto=20 Deinterlace Method: Bob Scaling: Bilinear Vertical Blank Setting: Let Driver Decide Enalbe HQ Scaler: above 20% I have attached multiple logs from my system (adb76_*). Which further informations are required to narrow down the problem? --=20 You are receiving this mail because: You are the assignee for the bug. --1399192777.60768403.3903 Date: Sun, 4 May 2014 08:39:37 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable adb76@gmx.de changed bug 76564<= /a>
What Removed Added
Status RESOLVED REOPENED
Resolution FIXED ---

Commen= t # 78 on bug 76564<= /a> from adb76@gmx.de
I've tested the attached patch, which is now included in OpenE=
LEC 4.0 Beta 7 on
my AMD Fusion E-350 with Radeon HD 6310 system (see adb76_lspci.txt). There
seems to be still a problem with which I was alread in contact with Peter
Fr=C3=BChberger (fritsch) on the github site for OpenELEC:
https://git=
hub.com/OpenELEC/OpenELEC.tv/issues/3163 . Peter asked me to attach
my information to this bug:

The problem is that when I watch videos with XBMC on OpenELEC 4.0 Beta 7 the
"missed frames" counter (not the skipped frames counter!) increas=
es constantly
during playback. In around 45 minutes there are approximately 30 "miss=
ed
frames". The missed frames are recognisable, so when I see a stutterin=
g I look
afterwards on the OSD of XBMC and the missed frame counter increased by +1 =
or
+2. I previously had installed OpenELEC 3.2 where I didn't get any missed
frames during the full playback. The assumption of Peter is that "the =
driver
did not do swaps".

My TV is displaying the framerate of all the tested videos natively:
1920x1080@25fps and 1280x720@25fps. See also the attached file adb7=
6_xrandr.txt
for the display properties.

On XBMC side I have set the following preferences (according to the suggest=
ions
of Peter):=20

Enable Adjust Refreshrate to match video (On Start / Stop)
Enable Sync Playback to Display Method Video Clock (Drop / Dupe)
Deinterlace: Auto=20
Deinterlace Method: Bob
Scaling: Bilinear
Vertical Blank Setting: Let Driver Decide
Enalbe HQ Scaler: above 20%

I have attached multiple logs from my system (adb76_*). Which further
informations are required to narrow down the problem?


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1399192777.60768403.3903-- --===============0792844476== 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 --===============0792844476==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Sun, 04 May 2014 08:40:44 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1204592397==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id F2B2C6E3F5 for ; Sun, 4 May 2014 01:40:44 -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 --===============1204592397== Content-Type: multipart/alternative; boundary="1399192844.B5Bee8c43.4117"; charset="us-ascii" --1399192844.B5Bee8c43.4117 Date: Sun, 4 May 2014 08:40:44 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=76564 --- Comment #79 from adb76@gmx.de --- Created attachment 98406 --> https://bugs.freedesktop.org/attachment.cgi?id=98406&action=edit adb76 dmesg output -- You are receiving this mail because: You are the assignee for the bug. --1399192844.B5Bee8c43.4117 Date: Sun, 4 May 2014 08:40:44 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 79 on bug 76564 from
Created attachment 98406 [details]
adb76 dmesg output


You are receiving this mail because:
  • You are the assignee for the bug.
--1399192844.B5Bee8c43.4117-- --===============1204592397== 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 --===============1204592397==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Sun, 04 May 2014 08:41:10 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1425586095==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 564696E3F8 for ; Sun, 4 May 2014 01:41: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 --===============1425586095== Content-Type: multipart/alternative; boundary="1399192870.6c116BcA8.4117"; charset="us-ascii" --1399192870.6c116BcA8.4117 Date: Sun, 4 May 2014 08:41:10 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=76564 --- Comment #80 from adb76@gmx.de --- Created attachment 98407 --> https://bugs.freedesktop.org/attachment.cgi?id=98407&action=edit adb76 lspci output -- You are receiving this mail because: You are the assignee for the bug. --1399192870.6c116BcA8.4117 Date: Sun, 4 May 2014 08:41:10 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 80 on bug 76564 from
Created attachment 98407 [details]
adb76 lspci output


You are receiving this mail because:
  • You are the assignee for the bug.
--1399192870.6c116BcA8.4117-- --===============1425586095== 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 --===============1425586095==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Sun, 04 May 2014 08:41:34 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0772444550==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 302D16E3F9 for ; Sun, 4 May 2014 01:41:35 -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 --===============0772444550== Content-Type: multipart/alternative; boundary="1399192895.6FddA413.4117"; charset="us-ascii" --1399192895.6FddA413.4117 Date: Sun, 4 May 2014 08:41:35 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=76564 --- Comment #81 from adb76@gmx.de --- Created attachment 98408 --> https://bugs.freedesktop.org/attachment.cgi?id=98408&action=edit adb76 xorg.log -- You are receiving this mail because: You are the assignee for the bug. --1399192895.6FddA413.4117 Date: Sun, 4 May 2014 08:41:35 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"


You are receiving this mail because:
  • You are the assignee for the bug.
--1399192895.6FddA413.4117-- --===============0772444550== 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 --===============0772444550==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Sun, 04 May 2014 08:42:16 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0908177139==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 672886E402 for ; Sun, 4 May 2014 01:42:16 -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 --===============0908177139== Content-Type: multipart/alternative; boundary="1399192936.Dd2b84Fe3.4408"; charset="us-ascii" --1399192936.Dd2b84Fe3.4408 Date: Sun, 4 May 2014 08:42:16 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=76564 --- Comment #82 from adb76@gmx.de --- Created attachment 98409 --> https://bugs.freedesktop.org/attachment.cgi?id=98409&action=edit adb76 xbmc-xrandr ouput -- You are receiving this mail because: You are the assignee for the bug. --1399192936.Dd2b84Fe3.4408 Date: Sun, 4 May 2014 08:42:16 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 82 on bug 76564 from
Created attachment 98409 [details]
adb76 xbmc-xrandr ouput


You are receiving this mail because:
  • You are the assignee for the bug.
--1399192936.Dd2b84Fe3.4408-- --===============0908177139== 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 --===============0908177139==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Sun, 04 May 2014 08:42:42 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0216894834==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 8EB636E406 for ; Sun, 4 May 2014 01: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 --===============0216894834== Content-Type: multipart/alternative; boundary="1399192962.0baf3148.4408"; charset="us-ascii" --1399192962.0baf3148.4408 Date: Sun, 4 May 2014 08:42:42 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=76564 adb76@gmx.de changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #98409|adb76 xbmc-xrandr ouput |adb76 xbmc-xrandr output description| | -- You are receiving this mail because: You are the assignee for the bug. --1399192962.0baf3148.4408 Date: Sun, 4 May 2014 08:42:42 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" changed bug 76564
What Removed Added
Attachment #98409 description adb76 xbmc-xrandr ouput adb76 xbmc-xrandr output


You are receiving this mail because:
  • You are the assignee for the bug.
--1399192962.0baf3148.4408-- --===============0216894834== 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 --===============0216894834==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Sun, 04 May 2014 11:02:59 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1965160706==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id C19556E4C0 for ; Sun, 4 May 2014 04:02: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 --===============1965160706== Content-Type: multipart/alternative; boundary="1399201379.eBF57A673.25838"; charset="us-ascii" --1399201379.eBF57A673.25838 Date: Sun, 4 May 2014 11:02:59 +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=3D76564 --- Comment #83 from Christian K=C3=B6nig --- (In reply to comment #79) > Created attachment 98406 [details] > adb76 dmesg output Please provide a dmesg output generated with drm.debug=3D0xE. Thanks, Christian. --=20 You are receiving this mail because: You are the assignee for the bug. --1399201379.eBF57A673.25838 Date: Sun, 4 May 2014 11:02:59 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 83 on bug 76564<= /a> from Christian K=C3=B6nig
(In reply to comment #=
79)
> Created attachmen=
t 98406 [details]
> adb76 dmesg output

Please provide a dmesg output generated with drm.debug=3D0xE.

Thanks,
Christian.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1399201379.eBF57A673.25838-- --===============1965160706== 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 --===============1965160706==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Sun, 04 May 2014 13:48:09 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0257982271==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id BE9ED6E5B7 for ; Sun, 4 May 2014 06:48:09 -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 --===============0257982271== Content-Type: multipart/alternative; boundary="1399211289.404cDbE3.23781"; charset="us-ascii" --1399211289.404cDbE3.23781 Date: Sun, 4 May 2014 13:48:09 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=76564 --- Comment #84 from adb76@gmx.de --- Since the dmesg log buffer seems very small, I called "dmesg | pastebinit" directly afterwards the missed frame counter increased. I made this three times: http://sprunge.us/gCRU http://sprunge.us/EHNG http://sprunge.us/MWEY -- You are receiving this mail because: You are the assignee for the bug. --1399211289.404cDbE3.23781 Date: Sun, 4 May 2014 13:48:09 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 84 on bug 76564 from
Since the dmesg log buffer seems very small, I called "dmesg | pastebinit"
directly afterwards the missed frame counter increased. I made this three
times:

http://sprunge.us/gCRU
http://sprunge.us/EHNG
http://sprunge.us/MWEY


You are receiving this mail because:
  • You are the assignee for the bug.
--1399211289.404cDbE3.23781-- --===============0257982271== 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 --===============0257982271==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Sun, 04 May 2014 13:58:36 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1428580599==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id C0E206E5A9 for ; Sun, 4 May 2014 06:58:36 -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 --===============1428580599== Content-Type: multipart/alternative; boundary="1399211916.e045343.25784"; charset="us-ascii" --1399211916.e045343.25784 Date: Sun, 4 May 2014 13:58:36 +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=3D76564 --- Comment #85 from Christian K=C3=B6nig --- (In reply to comment #84) > Since the dmesg log buffer seems very small, I called "dmesg | pastebinit" > directly afterwards the missed frame counter increased. I made this three > times: >=20 > http://sprunge.us/gCRU > http://sprunge.us/EHNG > http://sprunge.us/MWEY The dmesg after the missed frame is uninteresting. I need the dmesg of the = boot process with drm.debug=3D0xE. --=20 You are receiving this mail because: You are the assignee for the bug. --1399211916.e045343.25784 Date: Sun, 4 May 2014 13:58:36 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 85 on bug 76564<= /a> from Christian K=C3=B6nig
(In reply to comment #=
84)
> Since the dmesg log buffer seems very small, I c=
alled "dmesg | pastebinit"
> directly afterwards the missed frame counter increased. I made this th=
ree
> times:
>=20
> http://sprunge.us/gCRU
> http://sprunge.us/EHNG
> http://sprunge.us/MWEY

The dmesg after the missed frame is uninteresting. I need the dmesg of the =
boot
process with drm.debug=3D0xE.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1399211916.e045343.25784-- --===============1428580599== 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 --===============1428580599==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Sun, 04 May 2014 14:45:45 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0950982932==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 379826E5B7 for ; Sun, 4 May 2014 07:45:45 -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 --===============0950982932== Content-Type: multipart/alternative; boundary="1399214745.EdC0f7C3.1173"; charset="us-ascii" --1399214745.EdC0f7C3.1173 Date: Sun, 4 May 2014 14:45:45 +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=3D76564 --- Comment #86 from adb76@gmx.de --- Sorry. Here it is:=20 http://sprunge.us/NhCD Because of the small dmesg log buffer I can't get all of the output from the second 0. Hope the necessary information is included. Regards, Andr=C3=A9 --=20 You are receiving this mail because: You are the assignee for the bug. --1399214745.EdC0f7C3.1173 Date: Sun, 4 May 2014 14:45:45 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 86 on bug 76564<= /a> from adb76@gmx.de
Sorry. Here it is:=20

http://sprunge.us/NhCD

Because of the small dmesg log buffer I can't get all of the output from the
second 0. Hope the necessary information is included.

Regards,

Andr=C3=A9


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1399214745.EdC0f7C3.1173-- --===============0950982932== 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 --===============0950982932==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Mon, 05 May 2014 19:59:00 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1302073411==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id A31646E9C5 for ; Mon, 5 May 2014 12:59:00 -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 --===============1302073411== Content-Type: multipart/alternative; boundary="1399319940.ADa03.27876"; charset="us-ascii" --1399319940.ADa03.27876 Date: Mon, 5 May 2014 19:59:00 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=76564 --- Comment #87 from adb76@gmx.de --- I've retested this evening the playback with OE 3.2 + xvba: 0 missed frames in 45 minutes for 1280x720@25 fps. For the same video file with OE 4 beta 7 + vdpau: 38 missed frames. -- You are receiving this mail because: You are the assignee for the bug. --1399319940.ADa03.27876 Date: Mon, 5 May 2014 19:59:00 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 87 on bug 76564 from
I've retested this evening the playback with OE 3.2 + xvba: 0 missed frames in
45 minutes for 1280x720@25 fps. For the same video file with OE 4 beta 7 +
vdpau: 38 missed frames.


You are receiving this mail because:
  • You are the assignee for the bug.
--1399319940.ADa03.27876-- --===============1302073411== 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 --===============1302073411==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations Date: Wed, 15 Jun 2016 12:03:12 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0592805387==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id A30DA6E0FB for ; Wed, 15 Jun 2016 12:03:12 +0000 (UTC) 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 --===============0592805387== Content-Type: multipart/alternative; boundary="14659921922.781A9aB06.30122"; charset="UTF-8" --14659921922.781A9aB06.30122 Date: Wed, 15 Jun 2016 12:03:12 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D76564 Christian K=C3=B6nig changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|REOPENED |RESOLVED --- Comment #88 from Christian K=C3=B6nig --- We should probably close this bug now. The original problem is clearly fixed and the remaining frame drops have different causes. If you still have issues with some modes/hw combinations feel free to open = up a new bug report. --=20 You are receiving this mail because: You are the assignee for the bug.= --14659921922.781A9aB06.30122 Date: Wed, 15 Jun 2016 12:03:12 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated Christian K=C3=B6nig changed bug 76564<= /a>
What Removed Added
Resolution --- FIXED
Status REOPENED RESOLVED

Commen= t # 88 on bug 76564<= /a> from Christian K=C3=B6nig
We should probably close this bug now. The original problem is=
 clearly fixed
and the remaining frame drops have different causes.

If you still have issues with some modes/hw combinations feel free to open =
up a
new bug report.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14659921922.781A9aB06.30122-- --===============0592805387== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0592805387==--