<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 9, 2017 at 1:54 PM, Ashu Desai <span dir="ltr"><<a href="mailto:ashu.desai@gmail.com" target="_blank">ashu.desai@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="gmail-h5">On Wed, Aug 9, 2017 at 1:31 PM, Peter Bennett <span dir="ltr"><<a href="mailto:cats22@comcast.net" target="_blank">cats22@comcast.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF"><div><div class="gmail-m_-1298107897745912361h5">
    <p><br>
    </p>
    <br>
    <div class="gmail-m_-1298107897745912361m_8894425545712268259moz-cite-prefix">On 08/09/2017 02:09 PM, Ashu Desai
      wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">I have a brand new install on CentOS 7.
        <div><br>
        </div>
        <div>Backend is a VM and FE is on Zotac Ion</div>
        <div><br>
        </div>
        <div>When I open Alsammixer, i get the default one</div>
        <div><br>
        </div>
        <div><a href="http://tinypic.com/r/2eldu9s/9" target="_blank">http://tinypic.com/r/2eldu9s/9</a><br>
        </div>
        <div><br>
        </div>
        <div>I then press F6 and select the NVidia card </div>
        <div><br>
        </div>
        <div><a href="http://tinypic.com/r/rli9ty/9" target="_blank">http://tinypic.com/r/rli9ty/9</a><br>
        </div>
        <div><br>
        </div>
        <div>However, if I press escape and go right back to alsamixer,
          it reverts it back to the original one. </div>
        <div><br>
        </div>
        <div>lspci -vvnn reveals this for Audio:</div>
        <div><br>
        </div>
        <div>
          <div>00:08.0 Audio device [0403]: NVIDIA Corporation MCP79
            High Definition Audio [10de:0ac0] (rev b1)</div>
          <div>        Subsystem: PC Partner Limited / Sapphire
            Technology Device [174b:437b]</div>
          <div>        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV-
            VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-</div>
          <div>        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr-
            DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR-
            <PERR- INTx-</div>
          <div>        Latency: 0 (500ns min, 1250ns max)</div>
          <div>        Interrupt: pin A routed to IRQ 22</div>
          <div>        Region 0: Memory at fae78000 (32-bit,
            non-prefetchable) [size=16K]</div>
          <div>        Capabilities: <access denied></div>
          <div>        Kernel driver in use: snd_hda_intel</div>
          <div>        Kernel modules: snd_hda_intel</div>
          <div><br>
          </div>
        </div>
        <div><br>
        </div>
        <div>
          <div>[mythtv@mythfe7 ~]$ aplay -l</div>
          <div>**** List of PLAYBACK Hardware Devices ****</div>
          <div>card 0: NVidia [HDA NVidia], device 0: ALC662 rev1 Analog
            [ALC662 rev1 Analog]</div>
          <div>  Subdevices: 1/1</div>
          <div>  Subdevice #0: subdevice #0</div>
          <div>card 0: NVidia [HDA NVidia], device 1: ALC662 rev1
            Digital [ALC662 rev1 Digital]</div>
          <div>  Subdevices: 1/1</div>
          <div>  Subdevice #0: subdevice #0</div>
          <div>card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]</div>
          <div>  Subdevices: 1/1</div>
          <div>  Subdevice #0: subdevice #0</div>
        </div>
        <div><br>
        </div>
        <div>
          <div>[mythtv@mythfe7 ~]$ aplay -L</div>
          <div>null</div>
          <div>    Discard all samples (playback) or generate zero
            samples (capture)</div>
          <div>pulse</div>
          <div>    PulseAudio Sound Server</div>
          <div>sysdefault:CARD=NVidia</div>
          <div>    HDA NVidia, ALC662 rev1 Analog</div>
          <div>    Default Audio Device</div>
          <div>front:CARD=NVidia,DEV=0</div>
          <div>    HDA NVidia, ALC662 rev1 Analog</div>
          <div>    Front speakers</div>
          <div>surround21:CARD=NVidia,DEV=0</div>
          <div>    HDA NVidia, ALC662 rev1 Analog</div>
          <div>    2.1 Surround output to Front and Subwoofer speakers</div>
          <div>surround40:CARD=NVidia,DEV=0</div>
          <div>    HDA NVidia, ALC662 rev1 Analog</div>
          <div>    4.0 Surround output to Front and Rear speakers</div>
          <div>surround41:CARD=NVidia,DEV=0</div>
          <div>    HDA NVidia, ALC662 rev1 Analog</div>
          <div>    4.1 Surround output to Front, Rear and Subwoofer
            speakers</div>
          <div>surround50:CARD=NVidia,DEV=0</div>
          <div>    HDA NVidia, ALC662 rev1 Analog</div>
          <div>    5.0 Surround output to Front, Center and Rear
            speakers</div>
          <div>surround51:CARD=NVidia,DEV=0</div>
          <div>    HDA NVidia, ALC662 rev1 Analog</div>
          <div>    5.1 Surround output to Front, Center, Rear and
            Subwoofer speakers</div>
          <div>surround71:CARD=NVidia,DEV=0</div>
          <div>    HDA NVidia, ALC662 rev1 Analog</div>
          <div>    7.1 Surround output to Front, Center, Side, Rear and
            Woofer speakers</div>
          <div>iec958:CARD=NVidia,DEV=0</div>
          <div>    HDA NVidia, ALC662 rev1 Digital</div>
          <div>    IEC958 (S/PDIF) Digital Audio Output</div>
          <div>hdmi:CARD=NVidia,DEV=0</div>
          <div>    HDA NVidia, HDMI 0</div>
          <div>    HDMI Audio Output</div>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>Here's my /etc/asound.conf</div>
        <div><br>
        </div>
        <div>
          <div># Place your global alsa-lib configuration here...</div>
          <div>#</div>
          <div>pcm.!default {</div>
          <div>       type hw</div>
          <div>       card 0</div>
          <div>       device 3</div>
          <div>   }</div>
          <div>~</div>
          <div>~</div>
        </div>
        <div><br>
        </div>
        <div>Under Mythfrontend Setup/Audio</div>
        <div>I have selected the ALSA:hdmi:Card=NVIDIA:DEV=0 that comes
          as option</div>
        <div><br>
        </div>
        <div>When you do "Test" - everything comes ok except sound for
          Center (Comes off Surround Left) & Surround Left (swapped
          to Center)</div>
        <div><br>
        </div>
        <div>I also can't hear audio off quite a few movies, and when I
          check my audio receiver shows input as PCM. The ones that have
          AC3 or DTS comes out fine (although the sound coming off wrong
          speakers irks me)</div>
        <div><br>
        </div>
        <div>I am not hearing any TrueHD even though that is checked
          along with HBR box that's checked by default</div>
        <div><br>
        </div>
        <div>I am giving data that I feel is needed so apologies if it's
          too much or too little. <br>
          .</div>
        <div><br>
        </div>
        <div>I am also hoping alsamixer can change default from
          PulseAudio to HDMI<br>
          I can def give any other info that's required to solve this</div>
      </div>
      <br>
      <fieldset class="gmail-m_-1298107897745912361m_8894425545712268259mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    <br></div></div>
    Check your speaker configuration - 5.1 7.1 or stereo. This can
    affect which speaker the sounds come out of for PCM. You can try
    different values and see if anything works,<br></div></blockquote><div><br></div></div></div><div>I have 5.1 </div><span class="gmail-"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF">
    <br>
    Is the audio passed to the sound system via HDMI?</div></blockquote><div><br></div></span><div>Yes, HDMI</div><span class="gmail-"><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF">If there is a
    TOSLINK connection in there, that may affect things, because TOSLINK
    only supports 2 channels in PCM mode, so if it is sending more than
    2 channels they may get lost.<br>
    <br>
    If AC3 and DTS is getting to the wrong speakers you must have
    something else going on, because the sound system itself will be
    sorting out which track goes to which speaker. (Speaker wires
    crossed?)<br>
    <br></div></blockquote><div><br></div></span><div>When I give the cli command "speaker-test...." audio comes out perfectly like it's supposed to.</div><span class="gmail-"><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF">
    Note that the audio system test uses PCM sound. So you cannot test
    how AC3 will work that way. You say that the audio system test works
    but PCM movies don't work. That does not make sense.<br>
    <br>
    If PCM does not work at all you can get past it by selecting
    "Upconvert stereo to 5.1 surround". That will convert PCM audio to
    Dolby Digital (AC3). <br></div></blockquote><div><br></div></span><div>I already have it checked.</div><div> </div><div><br></div><div>Is there a way to fix the alsamixer thing? It somehow keeps showing default as Pulse and doesn't seem to retain my changes after I press esc</div></div>
</div></div>
</blockquote></div><br>
</div><div class="gmail_extra"><br></div><div class="gmail_extra">BTW this link seems to be also talking same thing I am - however, when I added the "pcm.!hdmi..." piece in ~/.asoundrc file (there wasn't any such file so I had to create it) - nothing happened. Is it still valid being that I have the latest alsa?</div><div class="gmail_extra"><br></div><div class="gmail_extra">Also added same in /etc/asound.conf - which now looks like this:</div><div class="gmail_extra"><br></div><div class="gmail_extra">pcm.!default {</div><div class="gmail_extra">       type hw</div><div class="gmail_extra">       card 0</div><div class="gmail_extra">       device 3</div><div class="gmail_extra">   }</div><div class="gmail_extra"><br></div><div class="gmail_extra">pcm.!hdmi {</div><div class="gmail_extra">type route</div><div class="gmail_extra">slave.pcm</div><div class="gmail_extra">"cards.HDA-Intel.pcm.hdmi.0:CARD=NVidia,AES0=0x4,AES1=0x82,AES2=0x0,AES3=0x2"</div><div class="gmail_extra">ttable.0.0 1</div><div class="gmail_extra">ttable.1.1 1</div><div class="gmail_extra">ttable.6.4 1</div><div class="gmail_extra">ttable.7.5 1</div><div class="gmail_extra">ttable.4.2 1</div><div class="gmail_extra">ttable.5.3 1</div><div class="gmail_extra">ttable.2.6 1</div><div class="gmail_extra">ttable.3.7 1</div><div class="gmail_extra">}</div><div class="gmail_extra"> </div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div></div>