Skip to contentSkip to conversation

hdmi sound rerouted?

alsa-devel Dagg Stompler 2 participants 2 messages Oct 19, 2013

lore
Share & tools
lore
#0 lore raw
Quoted 82 lines

----- Original Message -----
From: Takashi Iwai
Sent: 10/08/13 10:49 AM
To: Deucher, Alexander
Subject: Re: [alsa-devel] [Alsa-user]  hdmi sound rerouted?

At Mon, 7 Oct 2013 13:36:24 +0000,

Quoted 62 lines · Alexander
Quoted 62 lines

-----Original Message-----
From: Takashi Iwai [mailto:[email protected]]
Sent: Monday, September 30, 2013 5:18 AM
To: Deucher, Alexander
Cc: Clemens Ladisch; Dagg Stompler; [email protected]; alsa- [email protected]
Subject: Re: [alsa-devel] [Alsa-user] hdmi sound rerouted?

At Mon, 30 Sep 2013 02:23:22 +0000,

Quoted 6 lines · Alexander
Quoted 6 lines

-----Original Message-----
From: Clemens Ladisch [mailto:[email protected]]
Sent: Saturday, September 28, 2013 6:33 PM
To: Dagg Stompler
Cc: [email protected]; Deucher, Alexander; alsa-

devel@alsa-

Quoted 30 lines
Quoted 30 lines

project.org
Subject: Re: [Alsa-user] [alsa-devel] hdmi sound rerouted?

Quoted 9 lines · Dagg Stompler
Quoted 9 lines
Quoted 3 lines · [email protected] wrote:

card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0] card 1: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0] card 2: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]

The second one is called "Generic" because your kernel does not (yet) know the hardware.

Quoted 1 line

01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Cedar

HDMI Audio [Radeon HD 5400/6300 Series]

Quoted 1 line
Quoted 1 line
Quoted 1 line

06:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] RV635

HDMI Audio [Radeon HD 3600 Series]

Quoted 5 lines
Quoted 3 lines

These are the HDMI outputs of *two* graphics cards. The first one's model is so new that the driver doesn't know it.

the 3600 doesn't have hdmi socket so I think it is irrelevant for my issue.

The RV635 chip does support HDMI outputs (even if none are actually connected), so the corresponding PCI device shows up here.

Quoted 1 line
Quoted 1 line
Quoted 1 line

If you update the kernel, you will get two devices named "HDA ATI

HDMI".

Quoted 2 lines

upgrade to where?

Quoted 8 lines
Quoted 6 lines

Oops. Even the latest driver lacks the PCI IDs of many HDMI HDA devices (aa50/aa58/aa60/aa68/aa80/aa88/aa90/aa98:
Cypress/Juniper/Redwood/Cedar/ Cayman+Antilles/Barts/Turks/Caicos).

Alex, are these devices that require disabling snooping?

Sorry what does snooping mean in this context?

Most of HD-audio controller have a snoop control, but the recent AMD HDMI audio controller don't have the feature, thus the driver must use the non-cached pages. At least, PCI ID 1002:aaa0, aaa8 and aab0 are known to require such.

Quoted 5 lines
Quoted 3 lines

Now the question is whether all new chips above (aa50,...) require the same workaround, too. Could you check this or forward the inquiry to someone in AMD?

According to our internal teams, disabling snooping is only required on the audio parts included in Evergreen and Northern Islands GPUs. Older chips like R7xx (aa48) and newer chips like Southern Islands (aaa0) are able to use snooping. I'm not real familiar with the audio portions of the GPUs so if you need further clarification, let me know.

Thanks for the information.

Though, it's strange that the information doesn't match with what I've heard (and also with what I've tested with a laptop). I've heard that it's Southern Island HDMI that needs the snoop-disablement.

Quoted 20 lines

Could you ask again whether it's really Evergreen / Nothern Islands?

thanks,

Takashi

Quoted 13 lines

Alex

Quoted 8 lines

FWIW, such a chip needs to set AZX_DRIVER_ATIHDMI_NS bits in driver_data of pci entries in sound/pci/hda/hda_intel.c.

thanks,

Takashi

any updates on the matter guys?

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
Alsa-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-user

#1 lore raw
Quoted 118 lines

-----Original Message-----
From: Dagg Stompler [mailto:[email protected]]
Sent: Saturday, October 19, 2013 5:49 AM
To: Takashi Iwai; Deucher, Alexander
Cc: Clemens Ladisch; [email protected]; alsa-devel@alsa- project.org
Subject: Re: [alsa-devel] [Alsa-user] hdmi sound rerouted?

Quoted 6 lines

----- Original Message -----
From: Takashi Iwai
Sent: 10/08/13 10:49 AM
To: Deucher, Alexander
Subject: Re: [alsa-devel] [Alsa-user]  hdmi sound rerouted?

Quoted 8 lines

At Mon, 7 Oct 2013 13:36:24 +0000,

Quoted 6 lines · Alexander
Quoted 6 lines

-----Original Message-----
From: Takashi Iwai [mailto:[email protected]]
Sent: Monday, September 30, 2013 5:18 AM
To: Deucher, Alexander
Cc: Clemens Ladisch; Dagg Stompler; [email protected];

alsa-

Quoted 15 lines
Quoted 15 lines
Quoted 15 lines

[email protected]
Subject: Re: [alsa-devel] [Alsa-user] hdmi sound rerouted?

At Mon, 30 Sep 2013 02:23:22 +0000,

Quoted 6 lines · Alexander
Quoted 6 lines

-----Original Message-----
From: Clemens Ladisch [mailto:[email protected]]
Sent: Saturday, September 28, 2013 6:33 PM
To: Dagg Stompler
Cc: [email protected]; Deucher, Alexander; alsa-

devel@alsa-

Quoted 3 lines
Quoted 3 lines

project.org
Subject: Re: [Alsa-user] [alsa-devel] hdmi sound rerouted?

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 6 lines · Dagg Stompler
Quoted 6 lines
Quoted 3 lines · [email protected] wrote:

card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0] card 1: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0] card 2: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]

The second one is called "Generic" because your kernel does not

(yet)

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

know the hardware.

Quoted 1 line

01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI]

Cedar

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

HDMI Audio [Radeon HD 5400/6300 Series]

Quoted 1 line
Quoted 1 line
Quoted 1 line

06:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI]

RV635

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

HDMI Audio [Radeon HD 3600 Series]

Quoted 2 lines
Quoted 2 lines

These are the HDMI outputs of *two* graphics cards. The first

one's

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line

model is so new that the driver doesn't know it.

the 3600 doesn't have hdmi socket so I think it is irrelevant for my

issue.

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

The RV635 chip does support HDMI outputs (even if none are

actually

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

connected), so the corresponding PCI device shows up here.

Quoted 1 line
Quoted 1 line
Quoted 1 line

If you update the kernel, you will get two devices named "HDA

ATI

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

HDMI".

Quoted 2 lines

upgrade to where?

Oops. Even the latest driver lacks the PCI IDs of many HDMI HDA

devices

Quoted 13 lines
Quoted 13 lines
Quoted 13 lines
Quoted 7 lines
Quoted 5 lines

(aa50/aa58/aa60/aa68/aa80/aa88/aa90/aa98:
Cypress/Juniper/Redwood/Cedar/
Cayman+Antilles/Barts/Turks/Caicos).

Alex, are these devices that require disabling snooping?

Sorry what does snooping mean in this context?

Most of HD-audio controller have a snoop control, but the recent AMD HDMI audio controller don't have the feature, thus the driver must use the non-cached pages. At least, PCI ID 1002:aaa0, aaa8 and aab0 are known to require such.

Quoted 5 lines
Quoted 5 lines
Quoted 3 lines

Now the question is whether all new chips above (aa50,...) require the same workaround, too. Could you check this or forward the inquiry to someone in AMD?

According to our internal teams, disabling snooping is only required on

the audio parts included in Evergreen and Northern Islands GPUs. Older chips like R7xx (aa48) and newer chips like Southern Islands (aaa0) are able to use snooping. I'm not real familiar with the audio portions of the GPUs so if you need further clarification, let me know.

Quoted 22 lines

Thanks for the information.

Though, it's strange that the information doesn't match with what I've heard (and also with what I've tested with a laptop). I've heard that it's Southern Island HDMI that needs the snoop-disablement.

Could you ask again whether it's really Evergreen / Nothern Islands?

thanks,

Takashi

Quoted 8 lines

Alex

Quoted 5 lines

FWIW, such a chip needs to set AZX_DRIVER_ATIHDMI_NS bits in driver_data of pci entries in sound/pci/hda/hda_intel.c.

Quoted 7 lines
Quoted 5 lines
Quoted 5 lines
Quoted 3 lines

thanks,

Takashi

any updates on the matter guys?

Haven't heard back. I'll ping them again.

Alex

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel