<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Aug 11, 2017 at 12:05 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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 11, 2017 at 2:01 PM, Karl Newman <span dir="ltr"><<a href="mailto:newmank1@asme.org" target="_blank">newmank1@asme.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><div class="m_3191687871869397654h5">On Fri, Aug 11, 2017 at 10:18 AM, 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"><div><div class="m_3191687871869397654m_8960961398244385067gmail-h5"><div class="gmail_extra"><div class="gmail_quote"><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"><div class="gmail_extra"><div><div class="m_3191687871869397654m_8960961398244385067gmail-m_-1468205661916017912h5"><div class="gmail_quote"><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"><div class="gmail_extra"><div class="gmail_quote"><div><div class="m_3191687871869397654m_8960961398244385067gmail-m_-1468205661916017912m_4435243168663246875h5"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div class="m_3191687871869397654m_8960961398244385067gmail-m_-1468205661916017912m_4435243168663246875m_-1428928556628979455gmail-h5"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><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></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>
</blockquote></div><br></div></div>
I added optical cable - and everything works fine. HDMI audio - comes out from different speakers. </div></div>
</blockquote></div><br>
</div><div class="gmail_extra"><br></div></div></div><div class="gmail_extra">Any ideas? I am trying to debug but not sure what to do here. </div></div>
<br></blockquote></div></div><div>Here's what I found searching "mythtv wrong speaker": <a href="http://lists.mythtv.org/pipermail/mythtv-users/2011-January/308620.html" target="_blank">http://lists.mythtv.org/piperm<wbr>ail/mythtv-users/2011-January/<wbr>308620.html</a></div><span class="m_3191687871869397654HOEnZb"><font color="#888888"><div><br></div><div>Karl </div></font></span></div></div></div>
<br></blockquote><div><br></div><div>Yep - I did just that - and it didnt work. Now it may have to do with the alsamixer issue - it doesn't save changes. So when I press escape - it seems to go back to default rather than the selected Sound Card.</div><div><br></div><div>Not sure how to get alsamixer to save.</div></div></div></div></blockquote><div><br></div><div>Maybe you need to disable Pulse Audio... I don't use it, but I think it might override alsa.</div><div><br></div><div>Karl</div></div></div></div>