<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=6688&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Nouveau, multimonitor setup and tearing]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=6688</link>
		<description><![CDATA[The most recent posts in Nouveau, multimonitor setup and tearing.]]></description>
		<lastBuildDate>Thu, 27 Jun 2024 22:30:51 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Nouveau, multimonitor setup and tearing]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=50730#p50730</link>
			<description><![CDATA[<p>Hello:</p><p>Still trying to solve a relatively small but annoying tear/artifact in my <span class="bbc">xorg</span>/<span class="bbc">nouveau</span> setup in Dadedalus.</p><p>Like I posted <a href="https://dev1galaxy.org/viewtopic.php?pid=50429#p50429" rel="nofollow">here</a>:</p><div class="quotebox"><cite>I wrote:</cite><blockquote><div><p>There is still the matter of some slight tearing which did not ocurr with the Nvidia drivers ...<br />... there may be some xorg.conf magic to be done as nouveau does not seem to use one by default.</p></div></blockquote></div><p>I have managed to sort out an <span class="bbc">xorg.conf</span> with just a <span class="bbc">Monitors</span> section to exactly duplicate what <span class="bbc">xorg</span> <em>automagically</em> does by itself <span class="bbu">without</span> one for a three 19&quot; monitor setup with two Nvidia FX580 cards and <span class="bbu">no</span> <span class="bbc">Xinerama</span>.</p><p>Not using <span class="bbc">Xinerama</span> is a large bonus: now <span class="bbc">RandR</span> can be used and other applicatons (such as Firefox) which use its output don&#039;t make a mess of the way the drop down menus work. ie: invading the next monitor&#039;s screen when deploying sideways.</p><div class="codebox"><pre class="vscroll"><code>~$ cat /etc/X11/xorg.conf
# xorg.test - started 20240618
# Layout for four screens - 4th. screen not connected
#
#     (0,0)---------+(1280,0)------+(2560,0)------+
# 1 &gt; |             ||             ||             |(3840,256)---+
# 0 &gt; |  1280x1024  ||  1280x1024  ||  1280x1024  ||  1024x768  |&lt; 7
# 2 &gt; |     DP-3    ||    DP-1-2   ||     DP-4    ||   DP-1-1   |&lt; 6
# 4 &gt; |    SM940n   ||    D1914S   ||    SM940n   ||   P150S    |&lt; 8
#     +-------------++-------------++-------------++------------+
#     |&lt;--- 1280 ---|
#     |&lt;---------  2560  ---------&gt;|
#     |&lt;-----------------  3840  ----------------&gt;|
#     |&lt;------------------------  4864  -----------------------&gt;|
#

### &lt;--- MONITORS ###                           
Section &quot;Monitor&quot;
    Identifier  &quot;DP-3&quot;
#   Option      &quot;Primary&quot; &quot;true&quot;                   # defined in Option &quot;Position&quot;
    Option      &quot;DPMS&quot; &quot;0&quot;
    Option      &quot;PreferredMode&quot; &quot;1280x1024_75.00&quot;
    Option      &quot;Position&quot; &quot;0 0&quot;
 EndSection

Section &quot;Monitor&quot;
    Identifier  &quot;DP-1-2&quot;
#   Option      &quot;LeftOf&quot; &quot;DP-4&quot;                    # defined in Option &quot;Position&quot;
    Option      &quot;DPMS&quot; &quot;0&quot;
    Option      &quot;PreferredMode&quot; &quot;1280x1024_75.00&quot;
    Option      &quot;Position&quot; &quot;1280 0&quot;
EndSection

Section &quot;Monitor&quot;
    Identifier  &quot;DP-4&quot;
#   Option      &quot;RightOf&quot; &quot;DP-1-2&quot;                 # defined in Option &quot;Position&quot;
    Option      &quot;DPMS&quot; &quot;0&quot;
    Option      &quot;PreferredMode&quot; &quot;1280x1024_75.00&quot;
    Option      &quot;Position&quot; &quot;2560 0&quot;
EndSection
 
#####################################################################################
# Section &quot;Monitor&quot;                                # not connected 
#   Identifier  &quot;DP-4&quot;                             # n/c check with monitor connected
#   Option      &quot;RightOf&quot; &quot;DP-1-2&quot;                 # defined in Option &quot;Position&quot;
#   Option      &quot;DPMS&quot; &quot;0&quot;
#   Option      &quot;PreferredMode&quot; &quot;1024x768&quot;
#   Option      &quot;Position&quot; &quot;3840 256&quot;              # n/c check with monitor connected
# EndSection
######################################################################################

### MONITORS --&gt; ###</code></pre></div><p>This makes for a 3840x1024 screen, which <span class="bbc">xrandr</span> IDs as <span class="bbc">Screen0</span>:</p><div class="codebox"><pre><code>~$ xrandr
Screen 0: minimum 320 x 200, current 3840 x 1024, maximum 8192 x 8192
DVI-I-2 disconnected (normal left inverted right x axis y axis)
DP-3 connected primary 1280x1024+0+0 (normal left inverted right x axis y axis) 376mm x 301mm</code></pre></div><p>Unfortunately, I have not been able to find out what settings I need for the <span class="bbc">ServerLayout</span>, <span class="bbc">Device</span> and <span class="bbc">Screen</span> sections to be able to finish putting together a complete <span class="bbc">xorg.conf</span> which I hope to be able to <em>tweak</em> so as to get the most of my twin card setup.&#160; &#160;</p><p>But I think I have found the origin of the diagonal tear at times present in the middle of my center monitor&#039;s screen (upper left down to lower right).</p><p>While trawling the web I came across <a href="https://bbs.archlinux.org/viewtopic.php?pid=1709740#p1709740" rel="nofollow">this</a> tidbit:</p><div class="quotebox"><blockquote><div><p>About not using Xinerama, I ran into a &quot;BaseMosaic&quot; option in the nvidia documentation somewhere in Appendix B:<br />--- snip ---<br />... Base Mosaic does not guarantee there will be no tearing between the display boundaries.<br />--- snip ---</p></div></blockquote></div><p>Did not quite understand what it was about till I realised that I <em>don&#039;t</em> have three working 1280x1024 screens but <span class="bbu">one</span> 3840x1024 screen driven by the combined output from the two cards, each card driving 50% of the whole screen.</p><p>And the <em>display boundary</em> mentioned in the cited post being the slight diagonal tear I see in the center of the 3840x1024 screen.</p><p>This is as far as I have been able to get.</p><p>Any ideas on how to continue?<br />I think there is room for improvement as I expect that <em>whatever</em> settings the <span class="bbc">xorg</span>/<span class="bbc">nouveau</span> combo is using are probably default/conservative.</p><p>Thanks in advance.</p><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Thu, 27 Jun 2024 22:30:51 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=50730#p50730</guid>
		</item>
	</channel>
</rss>
