[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    RE: EXTERNAL: Re: xorg.conf question
From:       "Greene, Paul J." <Greene-Paul () zai ! com>
Date:       2021-03-05 15:29:30
Message-ID: B9B44AC60C44414CB3A66B338A6F34C9403AD55E () Z11SVRMAIL02 ! rivers ! zai ! com
[Download RAW message or body]

Thank you. That worked, or at least it gave me 3 working monitors. I'll fol=
low up with a user and make sure that addressed his issue correctly.

And thanks for the link to the NVIDIA forum. Just to make sure, I'm not a d=
eveloper - are user related questions acceptable on your developer forum?

From: Aaron Plattner <aplattner@nvidia.com>
Sent: Friday, March 5, 2021 1:07 AM
To: Greene, Paul J. <Greene-Paul@zai.com>; 'xorg@lists.x.org' <xorg@lists.x=
.org>
Subject: EXTERNAL: Re: xorg.conf question


These are NVIDIA-specific options so they're kinda offtopic here, but I'll =
try to address them below.

You might want to consider posting on the NVIDIA forum<https://forums.devel=
oper.nvidia.com/c/gpu-unix-graphics/linux/148> [1] or by emailing linux-bug=
s@nvidia.com<mailto:linux-bugs@nvidia.com>

[1] https://forums.developer.nvidia.com/c/gpu-unix-graphics/linux/148
On 3/4/21 9:36 AM, Greene, Paul J. wrote:
Hello,

First post on this list - don't be too hard on me.   :)

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 Windo=
ws side has dual monitors, both going through the KVM, and the Linux side h=
as 3 monitors - two monitors going through the KVM and the 3rd monitor conn=
ected directly to the PC.

In some cases, when they switch back and forth between the Windows PC and t=
he Linux PC, the Linux PC loses its video resolution or 1 or more screens g=
oes black. I'm assuming the video loses its sync with the monitor. To get o=
ut 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.

The video card (in most cases) is an NVIDIA 620 with the NVIDIA driver inst=
alled.

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 mo=
nitors appear to be disabled, with black screens.

  Option         "ConnectedMonitor" "DFP-0"
  Option         "CustomEDID" "DFP-0:/etc/X11/edid.bin"
  Option         "IgnoreEDID" "false"
  Option         "UseEDID" "true"


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" her=
e refers to a GPU, not a physical display device).

The "ConnectedMonitor<https://download.nvidia.com/XFree86/Linux-x86_64/460.=
56/README/xconfigoptions.html#ConnectedMonitor>" option takes a comma-separ=
ated list of display devices that the driver should always consider connect=
ed. "CustomEDID<https://download.nvidia.com/XFree86/Linux-x86_64/460.56/REA=
DME/xconfigoptions.html#CustomEDID>" uses a semicolon-separated list. So in=
 your case you probably want this:

Option "ConnectedMonitor" "DP-0, DP-2, DP-6"
Option "CustomEDID" "DP-0:/path/to/edid0.bin; DP-2:/path/to/edid1.bin; DP-6=
:/path/to/edid2.bin"

These options are documented in the README: https://download.nvidia.com/XFr=
ee86/Linux-x86_64/460.56/README/xconfigoptions.html

You shouldn't need the IgnoreEDID or UseEDID options.
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 let=
s 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 =
2nd line.

There's 3 device sections so I put the 4 lines above into each section (adj=
usting for edid.bin path and DP-x reference appropriately). That gave me on=
e useable screen (the left one) - the middle and right monitor were black s=
creens.

I tried putting the 4 lines all in one "Device" section, with the appropria=
te DP-x and edid.bin path, (total of 8 lines) and got the same result.



Options in xorg.conf don't combine when you have more than one of the same =
option in a section.

-- Aaron
The PCs are Dell Optiplex 9020s, if that's relevant.

Any suggestions? Am I on the right track here or should I be trying somethi=
ng else?

PG
________________________________
This message is intended only for the use of the individual or entity to wh=
ich it is addressed and may contain ZETA Associates confidential or proprie=
tary information. If you are not the intended recipient, any use, dissemina=
tion, or distribution of this communication is prohibited. If you have rece=
ived this communication in error, please notify the sender and delete all c=
opies.


_______________________________________________

xorg@lists.x.org<mailto:xorg@lists.x.org>: X.Org support

Archives: http://lists.freedesktop.org/archives/xorg

Info: https://lists.x.org/mailman/listinfo/xorg

Your subscription address: %(user_address)s

________________________________
This message is intended only for the use of the individual or entity to wh=
ich it is addressed and may contain ZETA Associates confidential or proprie=
tary information. If you are not the intended recipient, any use, dissemina=
tion, or distribution of this communication is prohibited. If you have rece=
ived this communication in error, please notify the sender and delete all c=
opies.

[Attachment #3 (text/html)]

<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40"> <head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@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;}
/* Style Definitions */
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;}
p
	{mso-style-priority:99;
	mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	font-size:12.0pt;
	font-family:"Times New Roman",serif;}
pre
	{mso-style-priority:99;
	mso-style-link:"HTML Preformatted Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";}
p.msonormal0, li.msonormal0, div.msonormal0
	{mso-style-name:msonormal;
	mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	font-size:12.0pt;
	font-family:"Times New Roman",serif;}
span.HTMLPreformattedChar
	{mso-style-name:"HTML Preformatted Char";
	mso-style-priority:99;
	mso-style-link:"HTML Preformatted";
	font-family:"Courier New";}
span.EmailStyle21
	{mso-style-type:personal;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
span.EmailStyle22
	{mso-style-type:personal-reply;
	font-family:"Calibri",sans-serif;
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
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]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Thank you. That worked, or at least \
it gave me 3 working monitors. I&#8217;ll follow up with a user and make sure that \
addressed his issue correctly.<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="color:#1F497D"><o:p>&nbsp;</o:p></span></p> <p class="MsoNormal"><span \
style="color:#1F497D">And thanks for the link to the NVIDIA forum. Just to make sure, \
I&#8217;m not a developer &#8211; are user related questions acceptable on your \
developer forum?<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="color:#1F497D"><o:p>&nbsp;</o:p></span></p> <div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> Aaron Plattner &lt;aplattner@nvidia.com&gt; <br>
<b>Sent:</b> Friday, March 5, 2021 1:07 AM<br>
<b>To:</b> Greene, Paul J. &lt;Greene-Paul@zai.com&gt;; 'xorg@lists.x.org' \
&lt;xorg@lists.x.org&gt;<br> <b>Subject:</b> EXTERNAL: Re: xorg.conf \
question<o:p></o:p></p> </div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p>These are NVIDIA-specific options so they're kinda offtopic here, but I'll try to \
address them below.<o:p></o:p></p> <p>You might want to consider posting on the <a \
href="https://forums.developer.nvidia.com/c/gpu-unix-graphics/linux/148"> NVIDIA \
forum</a> [1] or by emailing <a \
href="mailto:linux-bugs@nvidia.com">linux-bugs@nvidia.com</a><o:p></o:p></p> <p>[1] \
<a href="https://forums.developer.nvidia.com/c/gpu-unix-graphics/linux/148"> \
https://forums.developer.nvidia.com/c/gpu-unix-graphics/linux/148</a><o:p></o:p></p> \
<div> <p class="MsoNormal">On 3/4/21 9:36 AM, Greene, Paul J. wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">Hello,<o:p></o:p></p>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
<p class="MsoNormal">First post on this list &#8211; don&#8217;t be too hard on \
me.&nbsp;&nbsp; <span style="font-family:Wingdings"> J</span><o:p></o:p></p>
<p class="MsoNormal">&nbsp;<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  &#8211; 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">&nbsp;<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&#8217;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 &#8220;startx&#8221;. In both cases they lose any unsaved work \
they&#8217;ve got open.<o:p></o:p></p> <p class="MsoNormal">&nbsp;<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">&nbsp;<o:p></o:p></p>
<p class="MsoNormal">I&#8217;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">&nbsp;<o:p></o:p></p> <p class="MsoNormal"><span \
style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&nbsp; \
Option&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;ConnectedMonitor&quot; \
&quot;DFP-0&quot;</span><o:p></o:p></p> <p class="MsoNormal"><span \
style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&nbsp; \
Option&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;CustomEDID&quot; \
&quot;DFP-0:/etc/X11/edid.bin&quot;</span><o:p></o:p></p> <p class="MsoNormal"><span \
style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&nbsp; \
Option&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;IgnoreEDID&quot; \
&quot;false&quot;</span><o:p></o:p></p> <p class="MsoNormal"><span \
style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&nbsp; \
Option&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;UseEDID&quot; \
&quot;true&quot;</span><o:p></o:p></p> <p class="MsoNormal">&nbsp;<o:p></o:p></p>
</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. (&quot;Device&quot; here \
refers to a GPU, not a physical display device).<o:p></o:p></p> <p>The &quot;<a \
href="https://download.nvidia.com/XFree86/Linux-x86_64/460.56/README/xconfigoptions.html#ConnectedMonitor">ConnectedMonitor</a>&quot; \
option takes a comma-separated list of display devices that the driver should always \
consider connected. &quot;<a \
href="https://download.nvidia.com/XFree86/Linux-x86_64/460.56/README/xconfigoptions.html#CustomEDID">CustomEDID</a>&quot;
  uses a semicolon-separated list. So in your case you probably want \
this:<o:p></o:p></p> <p><span style="font-family:&quot;Courier New&quot;">Option \
&quot;ConnectedMonitor&quot; &quot;DP-0, DP-2, DP-6&quot;<br> Option \
&quot;CustomEDID&quot; &quot;DP-0:/path/to/edid0.bin; DP-2:/path/to/edid1.bin; \
DP-6:/path/to/edid2.bin&quot;</span><o:p></o:p></p> <p>These options are documented \
in the README: <a 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><o:p></o:p></p>
 <p>You shouldn't need the IgnoreEDID or UseEDID options.<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<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">&nbsp;<o:p></o:p></p>
<p class="MsoNormal">There&#8217;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) &#8211; the middle and right monitor were \
black screens.<o:p></o:p></p> <p class="MsoNormal">&nbsp;<o:p></o:p></p>
<p class="MsoNormal">I tried putting the 4 lines all in one &#8220;Device&#8221; \
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"><br>
<br>
<o:p></o:p></p>
</blockquote>
<p>Options in xorg.conf don't combine when you have more than one of the same option \
in a section.<o:p></o:p></p> <p>-- Aaron<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">The PCs are Dell Optiplex 9020s, if that&#8217;s \
relevant.<o:p></o:p></p> <p class="MsoNormal">&nbsp;<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">&nbsp;<o:p></o:p></p>
<p class="MsoNormal">PG<o:p></o:p></p>
<div class="MsoNormal" align="center" style="text-align:center"><span \
style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif"> <hr size="2" \
width="100%" align="center"> </span></div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New \
Roman&quot;,serif">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> <br>
<o:p></o:p></span></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre><a href="mailto:xorg@lists.x.org">xorg@lists.x.org</a>: X.Org \
support<o:p></o:p></pre> <pre>Archives: <a \
href="http://lists.freedesktop.org/archives/xorg">http://lists.freedesktop.org/archives/xorg</a><o:p></o:p></pre>
 <pre>Info: <a href="https://lists.x.org/mailman/listinfo/xorg">https://lists.x.org/mailman/listinfo/xorg</a><o:p></o:p></pre>
 <pre>Your subscription address: %(user_address)s<o:p></o:p></pre>
</blockquote>
</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. </body>
</html>



_______________________________________________
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s

--===============1463779072==--

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic