<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 23, 2017 at 4:21 PM, Anthony Giggins <span dir="ltr"><<a href="mailto:seven@seven.dorksville.net" target="_blank">seven@seven.dorksville.net</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"><div><div class="h5">On 24 February 2017 at 05:45, Jason Zarin <span dir="ltr"><<a href="mailto:jason@zarin.org" target="_blank">jason@zarin.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"><pre style="white-space:pre-wrap;color:rgb(0,0,0)"><div><div class="m_-3915577567385661717h5">On 21 February 2017 at 21:07, Peter Carlsson <<a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">maillist.peter at home.se</a>> wrote:

><i> On Wed, Jan 18, 2017 at 08:31:34AM +0100, Peter Carlsson wrote:
</i>><i> > Hello!
</i>><i> >
</i>><i> > I would like to know what display manager and window manager people
</i>><i> > are using.
</i>><i> >
</i>><i> > I used to have a line in /etc/inittab but I think that method
</i>><i> > was deprecated in one Debian update a year or more ago.
</i>><i> >
</i>><i> > I then started to use SLiM and recently changed to LightDM.
</i>><i> >
</i>><i> > For my Debian (Jessie/stable) MythTV system I use XFCE4, but I have
</i>><i> > a problem (with both SLiM and LightDM) that it sometimes fails to
</i>><i> > autologin. It feels like a race condition where it attempts to
</i>><i> > autologin before the window manager is fully started.
</i>><i> >
</i>><i> > So I would be happy if people could tell me what combination of
</i>><i> > display manager and window manager you are using.
</i>><i> >
</i>><i> > It must support autologin but doesn't have to be fancy or anything.
</i>><i>
</i>><i> I solved this problem by using nodm and I also had to modify
</i>><i> /etc/X11/xorg.conf to always use a predefined EDID-file even if the
</i>><i> receiver/TV is turned off at boot.
</i>><i>
</i>><i> Now it seems like I have a similar problem with the audio. If the
</i>><i> receiver/TV is turned off at boot I get no sound.
</i>><i>
</i>><i> My workaround for this is to turn on the receiver/TV and then do a
</i>><i> 'killall xfce4-session'. This restarts the XFCE4 and the sound works.
</i>><i>
</i>><i> Is there a similar way for ALSA to use a predefined settings file to
</i>><i> use if the receiver/TV is turned off att boot?
</i>><i>
</i>><i> Best regards,
</i>><i> Peter Carlsson
</i>><i>
</i></div></div>
>Hi Peter,

>You should be able to define this in your /etc/asound.conf

> ie
>. pcm.!default {
>type hw
>card 1
> device 7
> }

> although you can also specify this in your mythtv Audio config
> ie. ALSA:plughw:CARD=NVidia,DEV=7

> <a href="https://www.mythtv.org/wiki/Configuring_Frontend#Audio_System" target="_blank">https://www.mythtv.org/wiki/Co<wbr>nfiguring_Frontend#Audio_Syste<wbr>m</a>

> Cheers,

> Anthony</pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)"><br></pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)">Losing sound and/or video with HDMI whenever you turn the TV or receiver off (or booting with one of them off) is a Known Issue with XFCE as the window manager. See <a href="https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-331/+bug/1308105" target="_blank">https://bugs.launchpad.net/ubu<wbr>ntu/+source/nvidia-graphics-<wbr>drivers-331/+bug/1308105</a> . It's possible this bug may have been fixed upstream in the XFCE sources, but hasn't yet migrated down to Debian. Especially Debian Stable.</pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)">The easiest solution is to change window managers. I use LXDE and have no issues. On the other hand, when I used XFCE (the default in mythbuntu), any time I turned either the receiver or TV off, things broke. Basically, change to *any* window manager from XFCE and your problem should go away.</pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)">Good luck!</pre></div>
<br></blockquote></div></div><div>Interesting this does appear to be the same issue I'm encountering in 14.04, the TV randomly wont play any audio.</div><div><br></div><div>I've tried rebooting, shutting down mythtv & unplugging the HDMI cable (but I loose display signal and a reboot is the only thing that brings it back is a reboot) but the only thing that seems to fix this is powering off the TV and powering it back on.</div><div><br></div><div>I'll try upgrading to 16.04 to get these patches in the near future.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Anthony</div></font></span></div><br></div></div>
<br>
<br></blockquote></div>My personal experience with upgrading from mythbuntu (RIP) 14.04 to 16.04 was complete failure. There are a *huge* number of major changes between the two: new mythtv (.027-->0.28), new PHP (5->7), new mysql, and switching over from upstart to systemd, and the multiple migrations between them went poorly.  I'd recommend backing up your recordings and the mythtv database, installing 16.04 fresh, and restoring them. I started over with Lubuntu 16.04 LTS and everything installed well and the database restored successfully. My system generally seems to be a lot more stable on lubuntu 16.04 than it was on mythbuntu 14.04.</div></div>