trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: May 2016

Re: [trinity-users] sound in stretch on HDMI only works in VLC, analog only elsewhere

From: Felix Miata <mrmazda@...>
Date: Thu, 19 May 2016 05:33:42 -0400
deloptes composed on 2016-05-18 22:42 (UTC+0200):

> Felix Miata wrote:

>>> Look specific for your cards
>>> 00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Kaveri
>>> HDMI/DP Audio Controller
>>> 00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD] FCH Azalia
>>> Controller (rev 01)
>>> and try disable/remove one of them and see if with only 1 it works

>> "Remove" how?

> May be its the same card but reports two audio chips (hdmi+analog) - I was
> expecting you confirm or reject this.

Maybe http://fm.no-ip.com/Tmp/Linux/Bobs/aplay-l-s421.txt is what you're 
looking for?

>>> Try model=ref for each card - this will disable HDMI (enable=0,1). If msi
>>> is not supported - remove the enable_msi=1.
>>> options snd-hda-intel index=0 model=ref enable_msi=1 enable=0,1
>>> options snd-hda-intel index=1 model=ref enable_msi=1 enable=0,1

>> I cannot grok this. I don't want HDMI disabled. I want HDMI default,
>> disabling pin jack if necessary. Trying only the first of those two lines
>> didn't change anything. Trying both killed VLC sound, no such device
>> hdmi:CARD=HDMI,DEV=0 could not be used.

> What happens if you use enable=1,1 and use the line only 1x?

options snd-hda-intel index=0 model=ref enable_msi=1 enable=1,1
	and
options snd-hda-intel index=1 model=ref enable_msi=1 enable=1,1

produce:
	TDE sounds on pinjack
	Youtube sounds on pinjack
	VLC sounds on HDMI
	alsamixer for HDMI only shows S/PDIF & S/PDIF2

That's same as using nothing at all.

options snd-hda-intel index=0 model=ref enable_msi=1 enable=1,0

produce:
	TDE sounds on HDMI :-)
	Youtube sounds on HDMI :-)
	VLC sounds on HDMI :-)
	alsamixer for HDMI still only shows S/PDIF & S/PDIF1 :-p

Maybe alsamixer doesn't matter. Kmix volume control works, and so does volume 
slider in VLC. :-)

> I wanted to point out that this is a newer chipset and thus still
> improving - when they fix issues in 4.5.

Purchased 18 months ago, surely the design is at least two years old. That's 
approaching "old", middle age at least, in the PC world.

>> Only thing there I both understood and didn't already try was "options
>> snd-hda-intel model=auto". It doesn't help either.

> Going back to ground zero - you want to make HDMI default - use enable=1,0 -
> check if it works in all applications.

Looks like the right answer. Other than maybe SMplayer, which also works, I'm 
not sure what applications need to make sound for this machine's owner. KsCD 
works too. Kaffeine reads CD titles, but doesn't presume to be playing any.

> Another thing to test - from looking briefly in the specs of the chip it has
> at least 2 audio out jacks - you sure you are using the correct one?

I don't care if any jacks work on this system. HDMI is what needs to work. 
Green is the only pinjack I test with, just to see whether it works or not.

> Try both of them and make sure you have unmuted all relevant channels.

> hard to debug from distance this als

For sure.

https://lists.opensuse.org/opensuse/2016-05/msg00356.html is my latest 
openSUSE post on this same subject, and http://fm.no-ip.com/Tmp/Linux/Bobs/ 
my accumulation of troubleshooting info for this machine.

 From what I've learned from your responses, maybe I get get openSUSE to work 
the same. Thanks much!!!
-- 
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

  Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/