From: bugzilla-daemon@bugzilla.kernel.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 85241] audio over HDMI on AMD E-350 with radeon driver
Date: Fri, 31 Jul 2015 18:57:11 +0000 [thread overview]
Message-ID: <bug-85241-2300-x891Mfmx9w@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-85241-2300@https.bugzilla.kernel.org/>
https://bugzilla.kernel.org/show_bug.cgi?id=85241
--- Comment #3 from Sergei Sinyak <serega.belarus@gmail.com> ---
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@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2015-07-31 18:57 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-28 14:36 [Bug 85241] New: audio over HDMI on AMD E-350 with radeon driver bugzilla-daemon
2014-09-28 14:36 ` [Bug 85241] " bugzilla-daemon
2014-09-29 15:00 ` bugzilla-daemon
2014-10-06 18:21 ` bugzilla-daemon
2015-07-31 18:57 ` bugzilla-daemon [this message]
2016-05-09 14:09 ` bugzilla-daemon
2016-08-15 6:05 ` bugzilla-daemon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-85241-2300-x891Mfmx9w@https.bugzilla.kernel.org/ \
--to=bugzilla-daemon@bugzilla.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.