dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [Bug 91371] Tonga HDMI Audio none on TV working on monitor - possible eld issue
@ 2015-07-17  9:46 bugzilla-daemon
  2015-07-17  9:53 ` bugzilla-daemon
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: bugzilla-daemon @ 2015-07-17  9:46 UTC (permalink / raw)
  To: dri-devel


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

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

            Bug ID: 91371
           Summary: Tonga HDMI Audio none on TV working on monitor -
                    possible eld issue
           Product: DRI
           Version: DRI git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/AMDgpu
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: adf.lists@gmail.com

I have so far not managed to get any HDMI audio from my TV via R9 285.

I can get HDMI sound when connected to a monitor (with cpu load)

With other h/w this TV has recently been OK with a bit of messing around eg.
extra run of xrandr + cpu load for R9 270x. RS880 and rv770 worked without the
cpu load.

Added complication since getting a new mobo I sometimes get i2c edid read fails
on the TV - but then it's not always and the rv770 produced them and worked and
the tonga always works for sound with the TV in windows.

I noticed that for the TV the eld does not match what edid decode reports - it
only shows one sample rate and shows "Fl/Fr C" when it's only 2 channel. TBH I
don't know what eld said historically with different h/w.

edid-decode and eld for TV attached.

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

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

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

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

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

* [Bug 91371] Tonga HDMI Audio none on TV working on monitor - possible eld issue
  2015-07-17  9:46 [Bug 91371] Tonga HDMI Audio none on TV working on monitor - possible eld issue bugzilla-daemon
@ 2015-07-17  9:53 ` bugzilla-daemon
  2015-07-17 10:01 ` bugzilla-daemon
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2015-07-17  9:53 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #1 from Andy Furniss <adf.lists@gmail.com> ---
Created attachment 117191
  --> https://bugs.freedesktop.org/attachment.cgi?id=117191&action=edit
Patch to add tonga audio pciid

Forgot to say - the behavior is the same with or without my audio pciid added
to kernel. 

Of course I don't know if the patch is right for amdgpu h/w (I did also test
without the _NS but it made no difference).

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

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

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

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

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

* [Bug 91371] Tonga HDMI Audio none on TV working on monitor - possible eld issue
  2015-07-17  9:46 [Bug 91371] Tonga HDMI Audio none on TV working on monitor - possible eld issue bugzilla-daemon
  2015-07-17  9:53 ` bugzilla-daemon
@ 2015-07-17 10:01 ` bugzilla-daemon
  2015-07-17 10:03 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2015-07-17 10:01 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #2 from Andy Furniss <adf.lists@gmail.com> ---
Created attachment 117192
  --> https://bugs.freedesktop.org/attachment.cgi?id=117192&action=edit
Tv edid decode

I checked "Linear PCM, max channels 1" and it's an edid-decode issue the specs
say it's stored -1 and the edid-decode code just reports what's in the data
when it should really add one.

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

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

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

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

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

* [Bug 91371] Tonga HDMI Audio none on TV working on monitor - possible eld issue
  2015-07-17  9:46 [Bug 91371] Tonga HDMI Audio none on TV working on monitor - possible eld issue bugzilla-daemon
  2015-07-17  9:53 ` bugzilla-daemon
  2015-07-17 10:01 ` bugzilla-daemon
@ 2015-07-17 10:03 ` bugzilla-daemon
  2015-07-17 13:10 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2015-07-17 10:03 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #3 from Andy Furniss <adf.lists@gmail.com> ---
Created attachment 117193
  --> https://bugs.freedesktop.org/attachment.cgi?id=117193&action=edit
TV - eld

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

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

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

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

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

* [Bug 91371] Tonga HDMI Audio none on TV working on monitor - possible eld issue
  2015-07-17  9:46 [Bug 91371] Tonga HDMI Audio none on TV working on monitor - possible eld issue bugzilla-daemon
                   ` (2 preceding siblings ...)
  2015-07-17 10:03 ` bugzilla-daemon
@ 2015-07-17 13:10 ` bugzilla-daemon
  2015-07-17 13:12 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2015-07-17 13:10 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #4 from Andy Furniss <adf.lists@gmail.com> ---
Another difference I notice between TV and monitor.

Results playing the same file in the same (well sort of I guess) mode.

If I poll the status like 

while true
do 
cat /proc/asound/card*/pcm3p/sub0/status
sleep 1 
done

I notice the TV has a different trigger time (what ever that is!) from the
working monitor.

TV =

hw_ptr      : 3248362
appl_ptr    : 3260160
state: RUNNING
owner_pid   : 711
trigger_time: 8886.763851145
tstamp      : 0.000000000
delay       : 11721
avail       : 279
avail_max   : 279

monitor =

hw_ptr      : 1137764
appl_ptr    : 1149600
state: RUNNING
owner_pid   : 493
trigger_time: 2439.504907490
tstamp      : 0.000000000
delay       : 11643
avail       : 357
avail_max   : 357

I'll attach edid and eld from monitor.

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

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

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

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

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

* [Bug 91371] Tonga HDMI Audio none on TV working on monitor - possible eld issue
  2015-07-17  9:46 [Bug 91371] Tonga HDMI Audio none on TV working on monitor - possible eld issue bugzilla-daemon
                   ` (3 preceding siblings ...)
  2015-07-17 13:10 ` bugzilla-daemon
@ 2015-07-17 13:12 ` bugzilla-daemon
  2015-07-17 13:14 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2015-07-17 13:12 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #5 from Andy Furniss <adf.lists@gmail.com> ---
Created attachment 117197
  --> https://bugs.freedesktop.org/attachment.cgi?id=117197&action=edit
monitor eld

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

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

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

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

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

* [Bug 91371] Tonga HDMI Audio none on TV working on monitor - possible eld issue
  2015-07-17  9:46 [Bug 91371] Tonga HDMI Audio none on TV working on monitor - possible eld issue bugzilla-daemon
                   ` (4 preceding siblings ...)
  2015-07-17 13:12 ` bugzilla-daemon
@ 2015-07-17 13:14 ` bugzilla-daemon
  2015-07-17 13:27 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2015-07-17 13:14 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #6 from Andy Furniss <adf.lists@gmail.com> ---
Created attachment 117198
  --> https://bugs.freedesktop.org/attachment.cgi?id=117198&action=edit
monitor edid-decode

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

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

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

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

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

* [Bug 91371] Tonga HDMI Audio none on TV working on monitor - possible eld issue
  2015-07-17  9:46 [Bug 91371] Tonga HDMI Audio none on TV working on monitor - possible eld issue bugzilla-daemon
                   ` (5 preceding siblings ...)
  2015-07-17 13:14 ` bugzilla-daemon
@ 2015-07-17 13:27 ` bugzilla-daemon
  2015-07-20 23:43 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2015-07-17 13:27 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #7 from Andy Furniss <adf.lists@gmail.com> ---
(In reply to Andy Furniss from comment #4)
> Another difference I notice between TV and monitor.

> I notice the TV has a different trigger time (what ever that is!) from the
> working monitor.

Hmm well more messing around shows the it's variable on the monitor just got -

trigger_time: 5550.580103154

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

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

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

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

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

* [Bug 91371] Tonga HDMI Audio none on TV working on monitor - possible eld issue
  2015-07-17  9:46 [Bug 91371] Tonga HDMI Audio none on TV working on monitor - possible eld issue bugzilla-daemon
                   ` (6 preceding siblings ...)
  2015-07-17 13:27 ` bugzilla-daemon
@ 2015-07-20 23:43 ` bugzilla-daemon
  2015-07-21 16:32 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2015-07-20 23:43 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #8 from Andy Furniss <adf.lists@gmail.com> ---
Created attachment 117268
  --> https://bugs.freedesktop.org/attachment.cgi?id=117268&action=edit
tv eld ubuntu fglrx

I do get sound from the TV with ubuntu 15.04 and fglrx (with cpu load).

The eld still doesn't quite match eded-decode as only 16 is listed as sample
size but it is different from my OSS setup in that it just lists 

speakers        [0x1] FL/FR

rather than the eronious extra "C" in the tv - eld I previously attached.

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

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

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

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

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

* [Bug 91371] Tonga HDMI Audio none on TV working on monitor - possible eld issue
  2015-07-17  9:46 [Bug 91371] Tonga HDMI Audio none on TV working on monitor - possible eld issue bugzilla-daemon
                   ` (7 preceding siblings ...)
  2015-07-20 23:43 ` bugzilla-daemon
@ 2015-07-21 16:32 ` bugzilla-daemon
  2015-07-22 15:20 ` bugzilla-daemon
  2019-11-19  8:06 ` bugzilla-daemon
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2015-07-21 16:32 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #9 from Andy Furniss <adf.lists@gmail.com> ---
Created attachment 117279
  --> https://bugs.freedesktop.org/attachment.cgi?id=117279&action=edit
debug/test diff

I played a bit more round this eld thing and it seems there is a bug - but it
looks like it's the same for older radeon dce as well, and "fixing" it doesn't
get me sound on the TV - it does of course make /proc/asound eld look saner.

The difference between my monitor and the TV is that the monitor has a speaker
layout block and the TV doesn't. So the monitor hits the the "if" in the
attached diff and the value of sadb[0] is 1. 

The TV hits the else and gets allocated a value of 5 which is commented as
stereo, but according to the edid sections of CEA B and D stereo is 1 and 5 is
just like I see in /proc/asound  Fl/Fr Fc.

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

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

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

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

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

* [Bug 91371] Tonga HDMI Audio none on TV working on monitor - possible eld issue
  2015-07-17  9:46 [Bug 91371] Tonga HDMI Audio none on TV working on monitor - possible eld issue bugzilla-daemon
                   ` (8 preceding siblings ...)
  2015-07-21 16:32 ` bugzilla-daemon
@ 2015-07-22 15:20 ` bugzilla-daemon
  2019-11-19  8:06 ` bugzilla-daemon
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2015-07-22 15:20 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #10 from Andy Furniss <adf.lists@gmail.com> ---
(In reply to Andy Furniss from comment #9)

> I played a bit more round this eld thing and it seems there is a bug 

Of course it's not a bug at all if you read FL/FR FC as stereo OR mono ...

Whatever it seems to be nothing to do with the issue here anyway.

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

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

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

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

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

* [Bug 91371] Tonga HDMI Audio none on TV working on monitor - possible eld issue
  2015-07-17  9:46 [Bug 91371] Tonga HDMI Audio none on TV working on monitor - possible eld issue bugzilla-daemon
                   ` (9 preceding siblings ...)
  2015-07-22 15:20 ` bugzilla-daemon
@ 2019-11-19  8:06 ` bugzilla-daemon
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2019-11-19  8:06 UTC (permalink / raw)
  To: dri-devel


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

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

Martin Peres <martin.peres@free.fr> changed:

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

--- Comment #11 from Martin Peres <martin.peres@free.fr> ---
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been
closed from further activity.

You can subscribe and participate further through the new bug through this link
to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/53.

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

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

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

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

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

end of thread, other threads:[~2019-11-19  8:06 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-17  9:46 [Bug 91371] Tonga HDMI Audio none on TV working on monitor - possible eld issue bugzilla-daemon
2015-07-17  9:53 ` bugzilla-daemon
2015-07-17 10:01 ` bugzilla-daemon
2015-07-17 10:03 ` bugzilla-daemon
2015-07-17 13:10 ` bugzilla-daemon
2015-07-17 13:12 ` bugzilla-daemon
2015-07-17 13:14 ` bugzilla-daemon
2015-07-17 13:27 ` bugzilla-daemon
2015-07-20 23:43 ` bugzilla-daemon
2015-07-21 16:32 ` bugzilla-daemon
2015-07-22 15:20 ` bugzilla-daemon
2019-11-19  8:06 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).