<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">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="h5">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/<wbr>Configuring_Frontend#Audio_<wbr>System</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/<wbr>ubuntu/+source/nvidia-<wbr>graphics-drivers-331/+bug/<wbr>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>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><div><br></div><div>Anthony</div></div><br></div></div>