<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 9, 2017 at 2:50 PM, John Pilkington <span dir="ltr"><<a href="mailto:J.Pilk@tesco.net" target="_blank">J.Pilk@tesco.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">On 09/08/17 19:54, Ashu Desai wrote:<div><div class="gmail-h5"><br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
<br>
On Wed, Aug 9, 2017 at 1:31 PM, Peter Bennett <<a href="mailto:cats22@comcast.net" target="_blank">cats22@comcast.net</a> <mailto:<a href="mailto:cats22@comcast.net" target="_blank">cats22@comcast.net</a>>> wrote:<br>
<br>
<br>
<br>
    On 08/09/2017 02:09 PM, Ashu Desai wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
    I have a brand new install on CentOS 7.<br>
<br>
    Backend is a VM and FE is on Zotac Ion<br>
<br>
    When I open Alsammixer, i get the default one<br>
<br>
    <a href="http://tinypic.com/r/2eldu9s/9" rel="noreferrer" target="_blank">http://tinypic.com/r/2eldu9s/9</a><br>
<br>
    I then press F6 and select the NVidia card<br>
<br>
    <a href="http://tinypic.com/r/rli9ty/9" rel="noreferrer" target="_blank">http://tinypic.com/r/rli9ty/9</a><br>
<br>
    However, if I press escape and go right back to alsamixer, it<br>
    reverts it back to the original one.<br>
<br>
    lspci -vvnn reveals this for Audio:<br>
<br>
    00:08.0 Audio device [0403]: NVIDIA Corporation MCP79 High<br>
    Definition Audio [10de:0ac0] (rev b1)<br>
            Subsystem: PC Partner Limited / Sapphire Technology Device<br>
    [174b:437b]<br>
            Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV-<br>
    VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-<br>
            Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast<br>
    >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-<br>
            Latency: 0 (500ns min, 1250ns max)<br>
            Interrupt: pin A routed to IRQ 22<br>
            Region 0: Memory at fae78000 (32-bit, non-prefetchable)<br>
    [size=16K]<br>
            Capabilities: <access denied><br>
            Kernel driver in use: snd_hda_intel<br>
            Kernel modules: snd_hda_intel<br>
<br>
<br>
    [mythtv@mythfe7 ~]$ aplay -l<br>
    **** List of PLAYBACK Hardware Devices ****<br>
    card 0: NVidia [HDA NVidia], device 0: ALC662 rev1 Analog [ALC662<br>
    rev1 Analog]<br>
      Subdevices: 1/1<br>
      Subdevice #0: subdevice #0<br>
    card 0: NVidia [HDA NVidia], device 1: ALC662 rev1 Digital [ALC662<br>
    rev1 Digital]<br>
      Subdevices: 1/1<br>
      Subdevice #0: subdevice #0<br>
    card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]<br>
      Subdevices: 1/1<br>
      Subdevice #0: subdevice #0<br>
<br>
    [mythtv@mythfe7 ~]$ aplay -L<br>
    null<br>
        Discard all samples (playback) or generate zero samples (capture)<br>
    pulse<br>
        PulseAudio Sound Server<br>
    sysdefault:CARD=NVidia<br>
        HDA NVidia, ALC662 rev1 Analog<br>
        Default Audio Device<br>
    front:CARD=NVidia,DEV=0<br>
        HDA NVidia, ALC662 rev1 Analog<br>
        Front speakers<br>
    surround21:CARD=NVidia,DEV=0<br>
        HDA NVidia, ALC662 rev1 Analog<br>
        2.1 Surround output to Front and Subwoofer speakers<br>
    surround40:CARD=NVidia,DEV=0<br>
        HDA NVidia, ALC662 rev1 Analog<br>
        4.0 Surround output to Front and Rear speakers<br>
    surround41:CARD=NVidia,DEV=0<br>
        HDA NVidia, ALC662 rev1 Analog<br>
        4.1 Surround output to Front, Rear and Subwoofer speakers<br>
    surround50:CARD=NVidia,DEV=0<br>
        HDA NVidia, ALC662 rev1 Analog<br>
        5.0 Surround output to Front, Center and Rear speakers<br>
    surround51:CARD=NVidia,DEV=0<br>
        HDA NVidia, ALC662 rev1 Analog<br>
        5.1 Surround output to Front, Center, Rear and Subwoofer speakers<br>
    surround71:CARD=NVidia,DEV=0<br>
        HDA NVidia, ALC662 rev1 Analog<br>
        7.1 Surround output to Front, Center, Side, Rear and Woofer<br>
    speakers<br>
    iec958:CARD=NVidia,DEV=0<br>
        HDA NVidia, ALC662 rev1 Digital<br>
        IEC958 (S/PDIF) Digital Audio Output<br>
    hdmi:CARD=NVidia,DEV=0<br>
        HDA NVidia, HDMI 0<br>
        HDMI Audio Output<br>
<br>
<br>
    Here's my /etc/asound.conf<br>
<br>
    # Place your global alsa-lib configuration here...<br>
    #<br>
    pcm.!default {<br>
           type hw<br>
           card 0<br>
           device 3<br>
       }<br>
    ~<br>
    ~<br>
<br>
    Under Mythfrontend Setup/Audio<br>
    I have selected the ALSA:hdmi:Card=NVIDIA:DEV=0 that comes as option<br>
<br>
    When you do "Test" - everything comes ok except sound for Center<br>
    (Comes off Surround Left) & Surround Left (swapped to Center)<br>
<br>
    I also can't hear audio off quite a few movies, and when I check<br>
    my audio receiver shows input as PCM. The ones that have AC3 or<br>
    DTS comes out fine (although the sound coming off wrong speakers<br>
    irks me)<br>
<br>
    I am not hearing any TrueHD even though that is checked along with<br>
    HBR box that's checked by default<br>
<br>
    I am giving data that I feel is needed so apologies if it's too<br>
    much or too little.<br>
    .<br>
<br>
    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<br>
<br>
<br>
</blockquote>
<br>
    Check your speaker configuration - 5.1 7.1 or stereo. This can<br>
    affect which speaker the sounds come out of for PCM. You can try<br>
    different values and see if anything works,<br>
<br>
<br>
I have 5.1<br>
<br>
<br>
    Is the audio passed to the sound system via HDMI?<br>
<br>
<br>
Yes, HDMI<br>
<br>
    If there is a TOSLINK connection in there, that may affect things,<br>
    because TOSLINK only supports 2 channels in PCM mode, so if it is<br>
    sending more than 2 channels they may get lost.<br>
<br>
    If AC3 and DTS is getting to the wrong speakers you must have<br>
    something else going on, because the sound system itself will be<br>
    sorting out which track goes to which speaker. (Speaker wires crossed?)<br>
<br>
<br>
When I give the cli command "speaker-test...." audio comes out perfectly like it's supposed to.<br>
<br>
    Note that the audio system test uses PCM sound. So you cannot test<br>
    how AC3 will work that way. You say that the audio system test works<br>
    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<br>
    "Upconvert stereo to 5.1 surround". That will convert PCM audio to<br>
    Dolby Digital (AC3).<br>
<br>
<br>
I already have it checked.<br>
<br>
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<br>
<br>
</blockquote>
<br></div></div>
I have only a stereo-via-hdmi setup with a nvidia GT 710 card.  At present I'm using the 340.102 driver and Fedora 25.  I haven't knowingly done anything with alsa or pulse.<br>
<br>
ALSA:hdmi:CARD=NVidia,DEV=1 , selected from the frontend setup wizard, works with myth, and with vlc when selected as its audio device.  DEV=0 doesn't, but is selected by SMplayer which seems to offer no other hdmi option.  Just FYI<br>
<br>
John<br>
<br>
<br><br></blockquote><div><br></div><div><br></div><div> I have an older FE (0.27/fixes) that works fine on the same hardware. I didnt want upgrade process so got a new SAS drive and doing a brand new install on the same HW.</div><div><br></div><div>I can see some differences off the bat. example alsamixer shows default card as HDA Nvidia (as opposed to Pulse) and Chipset as Nvidia MCP79/7A HDMI (as opposed to Realtek something)</div><div><br></div><div>also alsamixer shows the Nvidia card and any changes I make are saved if I do alsactl store</div><div><br></div><div>With the new setup, I have to do F6 to select the Nvidia card and no matter what I do - doesn't save the config.even if I start alsamixer right away.</div><div><br></div><div><br></div></div>
</div></div>