Re: [alsa-devel] [Alsa-user] hdmi sound rerouted?
----- Original Message ----- From: Takashi Iwai Sent: 11/04/13 04:06 PM To: Deucher, Alexander Subject: Re: [alsa-devel] [Alsa-user] hdmi sound rerouted?
At Mon, 4 Nov 2013 13:47:54 +0000, Deucher, Alexander wrote:
-----Original Message----- From: Takashi Iwai [mailto:tiwai@suse.de] Sent: Monday, November 04, 2013 8:05 AM To: daggs@gmx.com Cc: Deucher, Alexander; Clemens Ladisch; alsa-user@lists.sourceforge.net; alsa-devel@alsa-project.org Subject: Re: [alsa-devel] [Alsa-user] hdmi sound rerouted?
At Mon, 04 Nov 2013 13:21:25 +0100, daggs@gmx.com wrote:
the original issue is that wen using an ATI gpu with hdmi in it, rerouting the
sound via the ati hdmi card doesn't work, only via the generic.
alsa devs pointed out that the ati cards listed in intel_hda.c aren't updated
with latest cards due to insufficient info on about the cards.
Alex Deucher from AMD's dev answered that he will query the right team
in his workplace but no response was received fro him yet.
OK, then could you alsa-info.sh output?
The situation in the upstream has changed since we have a lot more AMD-specific HDMI codes in the latest driver for 3.13 kernel. So, it's not only a matter of snoop flag.
I was specifically trying to get clarification on which parts needed the snoop flag. Is there some other larger issue? From the feedback I've seen lately, audio has been working pretty well on AMD GPUs with Anssi's patches.
That's why I started asking :) The recent code should cover known issues of AMD HDMI codecs, at least. But if there is a new chip, we'd need to test and add the corresponding entry.
Takashi
alsa info can be found at http://www.alsa-project.org/db/?f=590cb353dd93e9ea5f9da3e072cdcd5d464e8609 hope it helps
At Mon, 04 Nov 2013 19:53:42 +0100, Dagg Stompler wrote:
----- Original Message ----- From: Takashi Iwai Sent: 11/04/13 04:06 PM To: Deucher, Alexander Subject: Re: [alsa-devel] [Alsa-user] hdmi sound rerouted?
At Mon, 4 Nov 2013 13:47:54 +0000, Deucher, Alexander wrote:
-----Original Message----- From: Takashi Iwai [mailto:tiwai@suse.de] Sent: Monday, November 04, 2013 8:05 AM To: daggs@gmx.com Cc: Deucher, Alexander; Clemens Ladisch; alsa-user@lists.sourceforge.net; alsa-devel@alsa-project.org Subject: Re: [alsa-devel] [Alsa-user] hdmi sound rerouted?
At Mon, 04 Nov 2013 13:21:25 +0100, daggs@gmx.com wrote:
the original issue is that wen using an ATI gpu with hdmi in it, rerouting the
sound via the ati hdmi card doesn't work, only via the generic.
alsa devs pointed out that the ati cards listed in intel_hda.c aren't updated
with latest cards due to insufficient info on about the cards.
Alex Deucher from AMD's dev answered that he will query the right team
in his workplace but no response was received fro him yet.
OK, then could you alsa-info.sh output?
The situation in the upstream has changed since we have a lot more AMD-specific HDMI codes in the latest driver for 3.13 kernel. So, it's not only a matter of snoop flag.
I was specifically trying to get clarification on which parts needed the snoop flag. Is there some other larger issue? From the feedback I've seen lately, audio has been working pretty well on AMD GPUs with Anssi's patches.
That's why I started asking :) The recent code should cover known issues of AMD HDMI codecs, at least. But if there is a new chip, we'd need to test and add the corresponding entry.
Takashi
alsa info can be found at http://www.alsa-project.org/db/?f=590cb353dd93e9ea5f9da3e072cdcd5d464e8609 hope it helps
The card shown as "Generic" is actually yet another AMD HDMI chip. And this should work without the snooping. Unless you hear any audible problems, no reason to fix this one.
Another "HDA ATI HDMI" one is tied with a different graphics unit. I don't know what hardware configuration you have. Do you have multiple AMD graphics cards? Basically each HDMI audio entry is tied with the dedicated graphics chip (board). You wanted to play back via this HDMI and it didn't work?
Takashi
Takashi Iwai wrote:
You wanted to play back via this HDMI and it didn't work?
The ATI card did not show up as "ATI", but the other ATI card without HDMI did: http://thread.gmane.org/gmane.linux.alsa.user/37732.
Anyway, let's close this thread:
--8<---------------------------------------------------------------->8-- ALSA: hda: add device IDs for AMD Evergreen/Northern Islands HDMI
The device IDs of the AMD Cypress/Juniper/Redwood/Cedar/Cayman/Antilles/ Barts/Turks/Caicos HDMI HDA controllers were missing for some reason. Add them so that the name shows up properly as "ATI HDMI" instead of "Generic", and so that the driver does not try to detect nonexistent codecs.
According to Takashi's tests and the lack of complaints, these devices work fine without disabling snooping.
Signed-off-by: Clemens Ladisch clemens@ladisch.de
--- a/sound/pci/hda/hda_intel.c +++ b/sound/pci/hda/hda_intel.c @@ -4079,6 +4079,22 @@ .driver_data = AZX_DRIVER_ATIHDMI | AZX_DCAPS_PRESET_ATI_HDMI }, { PCI_DEVICE(0x1002, 0xaa48), .driver_data = AZX_DRIVER_ATIHDMI | AZX_DCAPS_PRESET_ATI_HDMI }, + { PCI_DEVICE(0x1002, 0xaa50), + .driver_data = AZX_DRIVER_ATIHDMI | AZX_DCAPS_PRESET_ATI_HDMI }, + { PCI_DEVICE(0x1002, 0xaa58), + .driver_data = AZX_DRIVER_ATIHDMI | AZX_DCAPS_PRESET_ATI_HDMI }, + { PCI_DEVICE(0x1002, 0xaa60), + .driver_data = AZX_DRIVER_ATIHDMI | AZX_DCAPS_PRESET_ATI_HDMI }, + { PCI_DEVICE(0x1002, 0xaa68), + .driver_data = AZX_DRIVER_ATIHDMI | AZX_DCAPS_PRESET_ATI_HDMI }, + { PCI_DEVICE(0x1002, 0xaa80), + .driver_data = AZX_DRIVER_ATIHDMI | AZX_DCAPS_PRESET_ATI_HDMI }, + { PCI_DEVICE(0x1002, 0xaa88), + .driver_data = AZX_DRIVER_ATIHDMI | AZX_DCAPS_PRESET_ATI_HDMI }, + { PCI_DEVICE(0x1002, 0xaa90), + .driver_data = AZX_DRIVER_ATIHDMI | AZX_DCAPS_PRESET_ATI_HDMI }, + { PCI_DEVICE(0x1002, 0xaa98), + .driver_data = AZX_DRIVER_ATIHDMI | AZX_DCAPS_PRESET_ATI_HDMI }, { PCI_DEVICE(0x1002, 0x9902), .driver_data = AZX_DRIVER_ATIHDMI_NS | AZX_DCAPS_PRESET_ATI_HDMI }, { PCI_DEVICE(0x1002, 0xaaa0),
At Tue, 05 Nov 2013 09:27:10 +0100, Clemens Ladisch wrote:
Takashi Iwai wrote:
You wanted to play back via this HDMI and it didn't work?
The ATI card did not show up as "ATI", but the other ATI card without HDMI did: http://thread.gmane.org/gmane.linux.alsa.user/37732.
Anyway, let's close this thread:
--8<---------------------------------------------------------------->8-- ALSA: hda: add device IDs for AMD Evergreen/Northern Islands HDMI
The device IDs of the AMD Cypress/Juniper/Redwood/Cedar/Cayman/Antilles/ Barts/Turks/Caicos HDMI HDA controllers were missing for some reason. Add them so that the name shows up properly as "ATI HDMI" instead of "Generic", and so that the driver does not try to detect nonexistent codecs.
Well, there is no actual behavior difference between AZX_DRIVER_ATIHDMI and AZX_DRIVER_GENERIC about AMD HDMI chips. The codec-probing is pretty same. The only difference in the current code is the driver name string and the fallback of number of streams, but the latter is valid only when GCAP register doesn't give proper values, and it shouldn't happen with a proper chip.
That being said, the entries weren't added intentionally just because they aren't needed to be added explicitly. The generic entry suffices from the functionality POV.
But it seems that people misunderstand, so I think it's fine to apply your patch to give a more clear name.
Takashi
According to Takashi's tests and the lack of complaints, these devices work fine without disabling snooping.
Signed-off-by: Clemens Ladisch clemens@ladisch.de
--- a/sound/pci/hda/hda_intel.c +++ b/sound/pci/hda/hda_intel.c @@ -4079,6 +4079,22 @@ .driver_data = AZX_DRIVER_ATIHDMI | AZX_DCAPS_PRESET_ATI_HDMI }, { PCI_DEVICE(0x1002, 0xaa48), .driver_data = AZX_DRIVER_ATIHDMI | AZX_DCAPS_PRESET_ATI_HDMI },
- { PCI_DEVICE(0x1002, 0xaa50),
.driver_data = AZX_DRIVER_ATIHDMI | AZX_DCAPS_PRESET_ATI_HDMI },
- { PCI_DEVICE(0x1002, 0xaa58),
.driver_data = AZX_DRIVER_ATIHDMI | AZX_DCAPS_PRESET_ATI_HDMI },
- { PCI_DEVICE(0x1002, 0xaa60),
.driver_data = AZX_DRIVER_ATIHDMI | AZX_DCAPS_PRESET_ATI_HDMI },
- { PCI_DEVICE(0x1002, 0xaa68),
.driver_data = AZX_DRIVER_ATIHDMI | AZX_DCAPS_PRESET_ATI_HDMI },
- { PCI_DEVICE(0x1002, 0xaa80),
.driver_data = AZX_DRIVER_ATIHDMI | AZX_DCAPS_PRESET_ATI_HDMI },
- { PCI_DEVICE(0x1002, 0xaa88),
.driver_data = AZX_DRIVER_ATIHDMI | AZX_DCAPS_PRESET_ATI_HDMI },
- { PCI_DEVICE(0x1002, 0xaa90),
.driver_data = AZX_DRIVER_ATIHDMI | AZX_DCAPS_PRESET_ATI_HDMI },
- { PCI_DEVICE(0x1002, 0xaa98),
{ PCI_DEVICE(0x1002, 0x9902), .driver_data = AZX_DRIVER_ATIHDMI_NS | AZX_DCAPS_PRESET_ATI_HDMI }, { PCI_DEVICE(0x1002, 0xaaa0),.driver_data = AZX_DRIVER_ATIHDMI | AZX_DCAPS_PRESET_ATI_HDMI },
participants (3)
-
Clemens Ladisch
-
Dagg Stompler
-
Takashi Iwai