<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Tue, Oct 30, 2018 at 8:49 AM Stephen Worthington <<a href="mailto:stephen_agent@jsw.gen.nz">stephen_agent@jsw.gen.nz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Tue, 30 Oct 2018 07:09:46 -0700, you wrote:<br>
<br>
<br>
> Not sure why I have two instances of lightdm running<br>
>dad@NewMyth:~$ ps -e | grep dm<br>
>  825 ?        00:00:00 lightdm<br>
> 1096 ?        00:00:00 lightdm<br>
<br>
That is normal - I am not sure either just why there are two<br>
instances, but if you look more closely (ps -ef | grep dm), you find<br>
that the second one is a child of the first one.<br>
<br>
>My 750ti has three outputs, VGA-0, HDMI-0, DVI-D-0.<br>
>With just the two monitors hooked up my xorg.conf has this line in the<br>
>Screen section<br>
> Option         "metamodes" "VGA-0: nvidia-auto-select +0+0, HDMI-0:<br>
>1920x1080 +1280+0"<br>
><br>
>I assume I could add the DVI monitor to this definition.  What I don't know<br>
>is how I can get Myth to show up on both the HDMI and DVI monitors but not<br>
>on the VGA monitor.<br>
>Googling is good at finding examples with two monitors but not so much on<br>
>three.<br>
><br>
>The projector is a Panasonic PT-AX100U and it 720p native although it will<br>
>take other inputs.<br>
><br>
>Allen<br>
<br>
I think you will need to reconfigure things so that each of the<br>
outputs is a separate X display.  I have never use the "metamodes"<br>
option they way you have to configure two outputs, but I was surprised<br>
to see that it was valid to have both of them as "-0".  I would have<br>
thought that what that would do is to make the monitor and TV both<br>
have the same output, rather than have the desktop on the monitor and<br>
MythTV on the TV.  But it depends on how your other X config is done -<br>
you can set up X so that the two screens are side by side and you can<br>
then drag mythfrontend to the right from the monitor to the TV.  Is<br>
that what you are doing?  Anyway, please post the full<br>
/etc/X11/xorg.conf file and more detail about how your current setup<br>
works.<br>
<br>
I think the way you should be setting it up is so that each output is<br>
a separate X display, say VGA on 0, TV on 1 and projector on 2.  Then<br>
you would be able to set up each of them in their native best<br>
resolution, and send the desktop to the monitor, and use the -display<br>
option on mythfrontend to choose which of the TV or projector it ran<br>
on.  The problem with doing it that way is that you can run out of GPU<br>
RAM running three displays at once, but I think trying for that first<br>
would be the best idea because it the most simple way to do what you<br>
want.  And I think it might help with your problem with the progress<br>
bar, as having each display running in native resolution is the best<br>
way to avoid strange problems like that.<br>
<br>
To help work out the best config, it would be useful to also have the<br>
/var/log/Xorg.*.log file(s) after booting with all three display<br>
attached and switched on.  Of particular interest is the section at<br>
the start of the log file where it tells you what are the valid<br>
devices and their characteristics, starting with a section like this:<br>
<br>
[    36.700] (--) NVIDIA(0): Valid display device(s) on GeForce GT 220<br>
at PCI:1:0:0<br>
[    36.700] (--) NVIDIA(0):     CRT-0<br>
[    36.700] (--) NVIDIA(0):     CRT-1<br>
[    36.700] (--) NVIDIA(0):     SONY TV (DFP-0) (boot, connected)<br>
[    36.700] (--) NVIDIA(0):     DFP-1<br>
_______________________________________________<br></blockquote><div><br></div><div>xorg.conf was created by nvidia-settings.  What it is essentially doing is creating a single desktop that extends across both monitors. I can drag things across but there is an option to declare the TV as the primary monitor and when I do that Myth starts on that monitor.  I have been unable to figure out how it does that.  I looked at the code for starting myth on startup and it isn't clear.  I think I could modify the metamode line to add the projector and place if off to the right of the TV with its native resolution. I could then shutdown mythfrontend and launch it again targeted to that part of the three monitor desktop that is the projector.  If myth responds to the </div><div>--geometry=WidthxHeight+Xoffset+Yoffset command I could use that.  I don't know if that works.  It did not work for Chrome.  Then I could create a desktop icon that launched myth with the appropriate options. Right now mythfrontend launches with a "--service" option</div><div><br></div><div>Here is what I am thinking:</div><div><br></div><div>Modify xorg.conf</div><div>Option         "metamodes" "VGA-0: nvidia-auto-select +0+0, HDMI-0: 1920x1080 +1280+0,DVI-D-0: 1280x720 + 3200+0"<br></div><div><br></div><div>create desktop option</div><div>mythfrontend --service --geometry=1920x1080+3200+0 </div><div><br></div><div>The only thing is I am not at all sure this will work.  I guess I will have to try it.</div><div><br></div><div>Allen</div><div><br></div><div>******************************************************************************************</div><div><div>dad@NewMyth:~$ more /etc/X11/xorg.conf</div><div># nvidia-settings: X configuration file generated by nvidia-settings</div><div># nvidia-settings:  version 410.73</div><div><br></div><div><br></div><div>Section "ServerLayout"</div><div>    Identifier     "Layout0"</div><div>    Screen      0  "Screen0" 0 0</div><div>    InputDevice    "Keyboard0" "CoreKeyboard"</div><div>    InputDevice    "Mouse0" "CorePointer"</div><div>    Option         "Xinerama" "0"</div><div>EndSection</div><div><br></div><div>Section "Files"</div><div>EndSection</div><div><br></div><div>Section "Module"</div><div>    Load           "dbe"</div><div>    Load           "extmod"</div><div>    Load           "type1"</div><div>    Load           "freetype"</div><div>    Load           "glx"</div><div>EndSection</div><div><br></div><div>Section "InputDevice"</div><div><br></div><div>    # generated from default</div><div>    Identifier     "Mouse0"</div><div>    Driver         "mouse"</div><div>    Option         "Protocol" "auto"</div><div>    Option         "Device" "/dev/psaux"</div><div>    Option         "Emulate3Buttons" "no"</div><div>    Option         "ZAxisMapping" "4 5"</div><div>EndSection</div><div><br></div><div>Section "InputDevice"</div><div><br></div><div>    # generated from default</div><div>    Identifier     "Keyboard0"</div><div>    Driver         "kbd"</div><div>EndSection</div><div><br></div><div>Section "Monitor"</div><div><br></div><div>    # HorizSync source: edid, VertRefresh source: edid</div><div>    Identifier     "Monitor0"</div><div>    VendorName     "Unknown"</div><div>    ModelName      "Samsung SyncMaster"</div><div>    HorizSync       30.0 - 81.0</div><div>    VertRefresh     56.0 - 75.0</div><div>    Option         "DPMS"</div><div>EndSection</div><div><br></div><div>Section "Device"</div><div>    Identifier     "Device0"</div><div>    Driver         "nvidia"</div><div>    VendorName     "NVIDIA Corporation"</div><div>    BoardName      "GeForce GTX 750 Ti"</div><div>EndSection</div><div><br></div><div>Section "Screen"</div><div><br></div><div># Removed Option "nvidiaXineramaInfoOrder" "CRT-0"</div><div># Removed Option "metamodes" "VGA-0: nvidia-auto-select +0+0, HDMI-0: 1280x720 +1280+0"</div><div>    Identifier     "Screen0"</div><div>    Device         "Device0"</div><div>    Monitor        "Monitor0"</div><div>    DefaultDepth    24</div><div>    Option         "Stereo" "0"</div><div>    Option         "nvidiaXineramaInfoOrder" "DFP-1"</div><div>    Option         "metamodes" "VGA-0: nvidia-auto-select +0+0, HDMI-0: 1920x1080 +1280+0"</div><div>    Option         "SLI" "Off"</div><div>    Option         "MultiGPU" "Off"</div><div>    Option         "BaseMosaic" "off"</div><div>    SubSection     "Display"</div><div>        Depth       24</div><div>    EndSubSection</div><div>EndSection</div></div><div><br></div><div><br></div></div></div></div></div></div>