Bug 875381 - audio not recognized Radeon HD 6570
Summary: audio not recognized Radeon HD 6570
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-10 21:38 UTC by John Reiser
Modified: 2012-11-16 16:21 UTC (History)
11 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-11-16 16:21:16 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
alsa-info.sh --no-upload (43.54 KB, text/plain)
2012-11-10 21:38 UTC, John Reiser
no flags Details
Xorg.1.log (66.01 KB, text/plain)
2012-11-12 00:14 UTC, John Reiser
no flags Details

Description John Reiser 2012-11-10 21:38:58 UTC
Created attachment 642347 [details]
alsa-info.sh --no-upload

Description of problem: The audio side of Radeon HD 6570 does not appear as an output device in System Settings > Sound.


Version-Release number of selected component (if applicable):
control-center-3.6.2-1.fc18.x86_64


How reproducible: always


Steps to Reproduce:
1. (logged-in real name in upper right screen banner) > System Settings > Sound > Output
2.
3.
  
Actual results: Only builtin (on mainboard) devices Analog Audio and Digital Output appear.  Additional audio device in Radeon HD6570 is not listed.


Expected results: Audio device in Radeon HD6570 also appears as second Digital Output.


Additional info:
$ lspci
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:19.0 Ethernet controller: Intel Corporation 82579V Gigabit Network Connection (rev 05)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5)
00:1c.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 (rev b5)
00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 (rev b5)
00:1c.6 PCI bridge: Intel Corporation 82801 PCI Bridge (rev b5)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation Z68 Express Chipset Family LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Turks [Radeon HD 6570]
01:00.1 Audio device: Advanced Micro Devices [AMD] nee ATI Turks/Whistler HDMI Audio [Radeon HD 6000 Series]
03:00.0 USB controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB Host Controller
04:00.0 USB controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB Host Controller
05:00.0 PCI bridge: ASMedia Technology Inc. ASM1083/1085 PCIe to PCI Bridge (rev 01)
$ lspci -n
00:00.0 0600: 8086:0100 (rev 09)
00:01.0 0604: 8086:0101 (rev 09)
00:16.0 0780: 8086:1c3a (rev 04)
00:19.0 0200: 8086:1503 (rev 05)
00:1a.0 0c03: 8086:1c2d (rev 05)
00:1b.0 0403: 8086:1c20 (rev 05)
00:1c.0 0604: 8086:1c10 (rev b5)
00:1c.1 0604: 8086:1c12 (rev b5)
00:1c.4 0604: 8086:1c18 (rev b5)
00:1c.6 0604: 8086:244e (rev b5)
00:1d.0 0c03: 8086:1c26 (rev 05)
00:1f.0 0601: 8086:1c44 (rev 05)
00:1f.2 0106: 8086:1c02 (rev 05)
00:1f.3 0c05: 8086:1c22 (rev 05)
01:00.0 0300: 1002:6759
01:00.1 0403: 1002:aa90
03:00.0 0c03: 1b21:1042
04:00.0 0c03: 1b21:1042
05:00.0 0604: 1b21:1080 (rev 01)
$

Comment 1 John Reiser 2012-11-12 00:14:55 UTC
Created attachment 643116 [details]
Xorg.1.log

[    22.435] (II) config/udev: Adding drm device (/dev/dri/card0)
[    22.436] (II) config/udev: Adding input device HD-Audio Generic HDMI/DP,pcm=3 (/dev/input/event14)
[    22.436] (II) No input driver specified, ignoring this device.
[    22.436] (II) This device may have been added with another device file.

Comment 2 Adam Williamson 2012-11-16 04:23:02 UTC
does it show up in pavucontrol? if not, this is a PA issue and nothing to do with GNOME.

Comment 3 John Reiser 2012-11-16 04:52:06 UTC
Yes, pavucontrol shows it as "Turks/Whistler HDMI Audio [Radeon HD 6000 Series] Digital Stereo (HDMI)" and it is the default device (check mark on green circle).  The device also appears in the output from alsa-info.sh which I attached in the original Description.  The device works in Windows Vista using HDMI cable to 1920x1080 monitor with stereo speakers.

The pavucontrol shows both the digital and analog sides of the builtin (on mainboard) audio as one device [on Configuration tab] with many modes, and with the HDMI audio as a different device.  The System Settings > Sound splits the builtin audio into analog and digital pieces, and omits the HDMI digital device.  If I plug in headphones to the front panel, then System Settings > Sound shows three devices ("Digital Output (S/PDIF) - Built-in Audio", "Analog Output - Built-in Audio", "Headphones - Built-in Audio"), while pavucontrol sees no difference (just two: HDMI and Builtin).

Comment 4 Kalev Lember 2012-11-16 10:31:05 UTC
Hi John,

Are you booting with the HDMI cable connected? Does the audio device reappear if you remove the cable and plug it back in, while the system is running? What does 'dmesg' show regarding the HDMI?

Comment 5 Kalev Lember 2012-11-16 13:08:39 UTC
According to the alsa-info output you posted, the HDMI connector was unplugged, at the time you ran alsa-info.

This also likely the reason why it isn't shown in System Settings -- it's only showing devices that are actually plugged in, according to the kernel. Pavucontrol on the other hand doesn't hide unplugged devices, which is why the device is listed there.

Looks like an ALSA/kernel bug to me. Reassigning to kernel.

Comment 6 Josh Boyer 2012-11-16 14:56:41 UTC
HDMI audio is disabled by default on radeon.

commit 805c22168da76a65c978017d0fe0d59cd048e995
Author: Alex Deucher <alexdeucher>
Date:   Mon Jun 6 17:39:16 2011 -0400

    drm/radeon/kms: disable hdmi audio by default
    
    The current RE'd code causes blank screens and
    display problems on a lot of systems.  So disable
    it by default for now.  It can still be enabled
    by setting the audio parameter to 1.  E.g.:
    radeon.audio=1

Comment 7 John Reiser 2012-11-16 16:05:36 UTC
(In reply to comment #4)
> Are you booting with the HDMI cable connected? Does the audio device
> reappear if you remove the cable and plug it back in, while the system is
> running? What does 'dmesg' show regarding the HDMI?

Yes, the HDMI cable is connected at boot.  After logging in, unplugging and re-plugging the HDMI cable: then re-invoking System Settings > Sound still does not show HDMI audio.

$ dmesg | grep HDMI
[    3.362410] [drm]   HDMI-A-1
[   15.789406] input: HD-Audio Generic HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input14

Skipping ahead to comment #6, if I boot with kernel command line parameter "radeon.audio=1" then 

$ dmesg | grep HDMI
[    2.472250] [drm]   HDMI-A-1
[   11.261120] ALSA sound/pci/hda/hda_eld.c:337 HDMI: ELD buf size is 0, force 128
[   11.261135] ALSA sound/pci/hda/hda_eld.c:356 HDMI: invalid ELD data byte 0
[   11.261219] input: HD-Audio Generic HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input14

and Sound shows HDMI audio, and the speakers work.

Comment 8 John Reiser 2012-11-16 16:20:10 UTC
(In reply to comment #5)
> According to the alsa-info output you posted, the HDMI connector was
> unplugged, at the time you ran alsa-info.

Yes, I was using only DVI-D for that run.

> This also likely the reason why it isn't shown in System Settings -- it's
> only showing devices that are actually plugged in, according to the kernel.
> Pavucontrol on the other hand doesn't hide unplugged devices, which is why
> the device is listed there.

Much like NetworkManager shows "(cable unplugged)" when configuring network interfaces, then I expect that Sound will show all the actual sound hardware and status.  [For comparison, in Windows I have seen four different graphical apps (native, VIA, XFX[radeon], nVidia) each showing all audio devices, whether or not an associated cable is plugged in.  If there is no cable detected then that device is grayed out, but it is listed.]  List the "connected and ready" interfaces first if you wish, but I don't appreciate having to plug in a cable to every interface just to see the list of hardware devices that would [should] work if I did.  Yes, I could use "lspci" but I also want the presentation that Sound [should] give, including "virtual" devices that lspci does not show.

Comment 9 Josh Boyer 2012-11-16 16:21:16 UTC
(In reply to comment #7)
> Skipping ahead to comment #6, if I boot with kernel command line parameter
> "radeon.audio=1" then 
> 
> $ dmesg | grep HDMI
> [    2.472250] [drm]   HDMI-A-1
> [   11.261120] ALSA sound/pci/hda/hda_eld.c:337 HDMI: ELD buf size is 0,
> force 128
> [   11.261135] ALSA sound/pci/hda/hda_eld.c:356 HDMI: invalid ELD data byte 0
> [   11.261219] input: HD-Audio Generic HDMI/DP,pcm=3 as
> /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input14
> 
> and Sound shows HDMI audio, and the speakers work.

Great.


Note You need to log in before you can comment on or make changes to this bug.