<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    So - as the thread title, PC stays on, tv off, then on - get no
    signal - however I can get to tty2 etc.<br>
    <br>
    Found this thread on the xfce forum
    <a class="moz-txt-link-freetext" href="https://forum.xfce.org/viewtopic.php?id=9391">https://forum.xfce.org/viewtopic.php?id=9391</a><br>
    <br>
    This bug on launchpad
<a class="moz-txt-link-freetext" href="https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-331/+bug/1308105">https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-331/+bug/1308105</a><br>
    <br>
    I have a script in home<br>
    <br>
    <blockquote>OUTPUT="HDMI-1"<br>
      BAD_MODE="1280x720"<br>
      GOOD_MODE="1920x1080"<br>
      <br>
      for MODE in $BAD_MODE $GOOD_MODE; do<br>
      DISPLAY=:0 xrandr --output $OUTPUT --mode $MODE<br>
      sleep 2<br>
      done<br>
    </blockquote>
    I have this udev rule<br>
    <br>
    KERNEL=="card0", SUBSYSTEM=="drm", ENV{DISPLAY}=":0",
    ENV{XAUTHORITY}="/home/home/.Xauthority",
    RUN+="/home/home/fixhdmi.sh"<br>
    <br>
    I've checked in /dev and it's definitely card0 there.<br>
    <br>
    I've also rebooted without xfsettingsd - and while the desktop looks
    awful - it does survive tv off and on cycles<br>
    <br>
    TIA<br>
    <br>
    <br>
  </body>
</html>