trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: May 2016

Re: Re: sound in stretch on HDMI only works in VLC, analog only elsewhere

From: deloptes <deloptes@...>
Date: Wed, 18 May 2016 22:42:55 +0200
Felix Miata wrote:

> deloptes composed on 2016-05-18 08:57 (UTC+0200):
> 
>> Felix Miata wrote:
> 
>>> Via manual selection in VLC, which offers about 20+ devices to choose
>>> from, sound via HDMI works.
>           ^^^^^^^^^^^^^^^^^^^^
> ...
>> is VLC setup to use HDMI?
> 
> http://fm.no-ip.com/SS/KDE/vlc-in-tde-on-kaveri-hdmi-OK.jpg
> 
>>> Instructions on http://www.alsa-project.org/main/index.php/HDA_Analyzer
>>> various fail as user. As root, sound doesn't work at all. Doing python
>>> run.py produces nothing that looks helpful, mainly confirming that
>>> cmdline tools already have shown.
> 
>>> alsa-info.sh output:
>>> http://fm.no-ip.com/Tmp/Linux/Sound/alsa-info.txt-d9stretch-a88x-easyst
> 
>> 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.

>> 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?
I do not have time to go through the whole output you posted - may be in the
weekend.
You can also play with model

>>> Various sound related packages installed:
>>> http://fm.no-ip.com/Tmp/Linux/Sound/sndpkgs-d9stretch-easyst.txt
> 
>> Furthermore
> 
>> kernel 4.5 + ALC1150 =>
>> https://bugzilla.kernel.org/show_bug.cgi?id=108301
> 
> I cannot spot any relevant connection between anything I wrote and that
> bug.
> 

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

>> other links
> 
>> http://www.jafico.co.uk/?p=90
> 
> No effect from trying.
> 
>>
http://www.linuxquestions.org/questions/slackware-14/14-1-sound-doesn't-work-4175510548/
> 
> 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.

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? 
Try both of them and make sure you have unmuted all relevant channels.

hard to debug from distance this alsa stuff is!

regards