<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body>
<p>These are NVIDIA-specific options so they're kinda offtopic here,
but I'll try to address them below.</p>
<p>You might want to consider posting on the <a
moz-do-not-send="true"
href="https://forums.developer.nvidia.com/c/gpu-unix-graphics/linux/148">NVIDIA
forum</a> [1] or by emailing <a moz-do-not-send="true"
href="mailto:linux-bugs@nvidia.com">linux-bugs@nvidia.com</a><br>
</p>
<p>[1]
<a class="moz-txt-link-freetext" href="https://forums.developer.nvidia.com/c/gpu-unix-graphics/linux/148">https://forums.developer.nvidia.com/c/gpu-unix-graphics/linux/148</a><br>
</p>
<div class="moz-cite-prefix">On 3/4/21 9:36 AM, Greene, Paul J.
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:B9B44AC60C44414CB3A66B338A6F34C9403AD4AE@Z11SVRMAIL02.rivers.zai.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style>@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:"Courier New";}.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}div.WordSection1
{page:WordSection1;}</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Hello,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">First post on this list – don’t be too hard
on me. <span style="font-family:Wingdings">
J</span><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I support a bunch of software developers
that use a KVM to switch back and forth between a Windows
workstation and a CentOS 7.9 workstation. The Windows side has
dual monitors, both going through the KVM, and the Linux side
has 3 monitors – two monitors going through the KVM and the 3<sup>rd</sup>
monitor connected directly to the PC.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">In some cases, when they switch back and
forth between the Windows PC and the Linux PC, the Linux PC
loses its video resolution or 1 or more screens goes black.
I’m assuming the video loses its sync with the monitor. To get
out of this state, the user usually does a CTRL-ALT-BACKSPACE
to restart X, or they go to CTRL-ALT-F2, login from the
command prompt, and type “startx”. In both cases they lose any
unsaved work they’ve got open.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The video card (in most cases) is an NVIDIA
620 with the NVIDIA driver installed.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’ve tried adding the following 4 lines to
xorg.conf in the device section, and it seems to make only the
left most monitor stable, but the other 2 monitors appear to
be disabled, with black screens.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Courier New"">
Option "ConnectedMonitor" "DFP-0"<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Courier New"">
Option "CustomEDID" "DFP-0:/etc/X11/edid.bin"<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Courier New"">
Option "IgnoreEDID" "false"<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Courier New"">
Option "UseEDID" "true"<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</blockquote>
<p>If there's only one GPU in the system then you only need one
Device section. It's likely that the other two device sections are
ignored. ("Device" here refers to a GPU, not a physical display
device).</p>
<p>The "<a moz-do-not-send="true"
href="https://download.nvidia.com/XFree86/Linux-x86_64/460.56/README/xconfigoptions.html#ConnectedMonitor">ConnectedMonitor</a>"
option takes a comma-separated list of display devices that the
driver should always consider connected. "<a
moz-do-not-send="true"
href="https://download.nvidia.com/XFree86/Linux-x86_64/460.56/README/xconfigoptions.html#CustomEDID">CustomEDID</a>"
uses a semicolon-separated list. So in your case you probably want
this:</p>
<p><font face="monospace">Option "ConnectedMonitor" "DP-0, DP-2,
DP-6"<br>
Option "CustomEDID" "DP-0:/path/to/edid0.bin;
DP-2:/path/to/edid1.bin; DP-6:/path/to/edid2.bin"</font></p>
<p>These options are documented in the README:
<a class="moz-txt-link-freetext" href="https://download.nvidia.com/XFree86/Linux-x86_64/460.56/README/xconfigoptions.html">https://download.nvidia.com/XFree86/Linux-x86_64/460.56/README/xconfigoptions.html</a></p>
<p>You shouldn't need the IgnoreEDID or UseEDID options.<br>
</p>
<blockquote type="cite"
cite="mid:B9B44AC60C44414CB3A66B338A6F34C9403AD4AE@Z11SVRMAIL02.rivers.zai.com">
<div class="WordSection1">
<p class="MsoNormal">The system sees the 3 monitors as DP-2,
DP-0, and DP-6 (respectively, from left to right). The NVIDIA
driver includes a GUI configuration app that lets you generate
the EDID files on each of the monitors, so I created an
edid.bin file for each monitor, and adjusted the file path for
each one in the 2<sup>nd</sup> line.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">There’s 3 device sections so I put the 4
lines above into each section (adjusting for edid.bin path and
DP-x reference appropriately). That gave me one useable screen
(the left one) – the middle and right monitor were black
screens.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I tried putting the 4 lines all in one
“Device” section, with the appropriate DP-x and edid.bin path,
(total of 8 lines) and got the same result.<o:p></o:p></p>
<p class="MsoNormal"><o:p><br>
</o:p></p>
</div>
</blockquote>
<p>Options in xorg.conf don't combine when you have more than one of
the same option in a section.<br>
</p>
<p>-- Aaron<br>
</p>
<blockquote type="cite"
cite="mid:B9B44AC60C44414CB3A66B338A6F34C9403AD4AE@Z11SVRMAIL02.rivers.zai.com">
<div class="WordSection1">
<p class="MsoNormal">The PCs are Dell Optiplex 9020s, if that’s
relevant.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Any suggestions? Am I on the right track
here or should I be trying something else?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">PG<o:p></o:p></p>
</div>
<hr>
This message is intended only for the use of the individual or
entity to which it is addressed and may contain ZETA Associates
confidential or proprietary information. If you are not the
intended recipient, any use, dissemination, or distribution of
this communication is prohibited. If you have received this
communication in error, please notify the sender and delete all
copies.
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
<a class="moz-txt-link-abbreviated" href="mailto:xorg@lists.x.org">xorg@lists.x.org</a>: X.Org support
Archives: <a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/archives/xorg">http://lists.freedesktop.org/archives/xorg</a>
Info: <a class="moz-txt-link-freetext" href="https://lists.x.org/mailman/listinfo/xorg">https://lists.x.org/mailman/listinfo/xorg</a>
Your subscription address: %(user_address)s
</pre>
</blockquote>
</body>
</html>