[Bug 85241] audio over HDMI on AMD E-350 with radeon driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.kernel.org/show_bug.cgi?id=85241

--- Comment #3 from Sergei Sinyak <serega.belarus@xxxxxxxxx> ---
hi, i can reproduce this bug on two configurations.
That's radeon hd 6320, radeon hd 5650.
kernel version 4.1.3, but tried to load radeon module
compiled from 4.1-rc8, and it presents.

Description:
The actual question is that:
  after just loading radeon module
  there is no sound from monitor
  connected through hdmi wire.
  But after running gdm, or
  to be correct reinitializing driver
  with a help of Xorg based application
  everything comes back. But e.g.
  after suspend/resume cycle it
  again generates incorrect eld.
  As a result dmesg shouts
  NO SPEAKER ALLOCATION FOR ELD

Full text:

it generates eld file

$ cat /proc/asound/card0/eld#0.0
monitor_present        0
eld_valid        0

And hdmi codec

$ cat /proc/asound/card0/codec#0
Codec: ATI R6xx HDMI
Address: 0
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x1002aa01
Subsystem Id: 0x00aa0100
Revision Id: 0x100200
No Modem Function Group found
Default PCM:
    rates [0x70]: 32000 44100 48000
    bits [0x2]: 16
    formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
State of AFG node 0x01:
  Power states:  D0 D3
  Power: setting=D0, actual=D0
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x02 [Audio Output] wcaps 0x201: Stereo Digital
  Converter: stream=0, channel=0
  Digital: Enabled GenLevel
  Digital category: 0x2
  IEC Coding Type: 0x0
Node 0x03 [Pin Complex] wcaps 0x400381: Stereo Digital
  Control: name="HDMI/DP,pcm=3 Jack", index=0, device=0
  Control: name="IEC958 Playback Con Mask", index=0, device=0
  Control: name="IEC958 Playback Pro Mask", index=0, device=0
  Control: name="IEC958 Playback Default", index=0, device=0
  Control: name="IEC958 Playback Switch", index=0, device=0
  Control: name="ELD", index=0, device=3
  Pincap 0x00000094: OUT Detect HDMI
  Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=01, enabled=1
  Connection: 1
     0x02

As a result dmesg contains:
  snd_hda_codec_hdmi: "HDMI/ATI audio: No speaker allocation for ELD"

Won't describe the experience of such speaker, probably
it has no connection with a real problem.
I'll say only that after running Xorg i fix it.
In the following way changes appears:

In the codec file appears that line, and eld
file is filled with correct info.
P.S. i tried to fill eld file with a correct info
using possibilities of alsa driver, but no soudn.
Perhaps i should alter codec as well, or there are
still some missed work from the side of radeon driver.

$ diff -p
*** f2/card0/codec#0    2015-07-28 00:10:36.000000000 +0300
--- f1/card0/codec#0    2015-07-28 00:07:58.000000000 +0300
*************** State of AFG node 0x01:
*** 16,21 ****
--- 16,22 ----
    Power: setting=D0, actual=D0
  GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
  Node 0x02 [Audio Output] wcaps 0x201: Stereo Digital
+   Device: name="HDMI 0", type="HDMI", device=3
    Converter: stream=1, channel=0
    Digital: Enabled GenLevel
    Digital category: 0x2

$ cat f1/card0/eld#0.0
monitor_present        1
eld_valid        1
monitor_name        
connection_type        HDMI
eld_version        [0x2] CEA-861D or below
edid_version        [0x0] no CEA EDID Timing Extension block present
manufacture_id        0x0
product_id        0x0
port_id            0x0
support_hdcp        0
support_ai        0
audio_sync_delay    0
speakers        [0x1] FL/FR
sad_count        1
sad0_coding_type    [0x1] LPCM
sad0_channels        2
sad0_rates        [0xe0] 32000 44100 48000
sad0_bits        [0xe0000] 16 20 24

Best regards,
nartes

P.S. Further question are welcome!

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux