Kevin Deldycke - screenhttps://kevin.deldycke.com/2008-03-07T01:20:53+01:00HP W2207h External Display on Intel 9452008-03-07T01:20:53+01:002008-03-07T01:20:53+01:00Kevin Deldycketag:kevin.deldycke.com,2008-03-07:/2008/03/hp-w2207h-external-display-on-intel-945/<p>I recently had the oportunity to plug the <a href="https://amzn.com/B00139S3U6/?tag=kevideld-20"><span class="caps">HP</span> w2207h screen</a> (see <a href="https://www.anandtech.com/displays/showdoc.aspx?i=3054">review #1</a> and <a href="https://www.prad.de/en/monitore/review/2007/review-hp-w2207.html">review #2</a>) as an external display to my <a href="https://kevin.deldycke.com/2006/10/samsung-q35-xic-5500-tiny-review-of-a-strong-compact-laptop/">Samsung Q35 laptop</a>. The external display has a native resolution of 1680x1050 and the laptop&rsquo;s is&nbsp;1280x800.</p> <p>The laptop is powered by an <a href="https://en.wikipedia.org/wiki/Intel_GMA#GMA_950">Intel 945 graphic …</a></p><p>I recently had the oportunity to plug the <a href="https://amzn.com/B00139S3U6/?tag=kevideld-20"><span class="caps">HP</span> w2207h screen</a> (see <a href="https://www.anandtech.com/displays/showdoc.aspx?i=3054">review #1</a> and <a href="https://www.prad.de/en/monitore/review/2007/review-hp-w2207.html">review #2</a>) as an external display to my <a href="https://kevin.deldycke.com/2006/10/samsung-q35-xic-5500-tiny-review-of-a-strong-compact-laptop/">Samsung Q35 laptop</a>. The external display has a native resolution of 1680x1050 and the laptop&rsquo;s is&nbsp;1280x800.</p> <p>The laptop is powered by an <a href="https://en.wikipedia.org/wiki/Intel_GMA#GMA_950">Intel 945 graphic chip</a>:</p> <div class="highlight"><pre><span></span>$ lspci <span class="m">00</span>:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, <span class="m">943</span>/940GML and 945GT Express Memory Controller Hub <span class="o">(</span>rev <span class="m">03</span><span class="o">)</span> <span class="m">00</span>:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, <span class="m">943</span>/940GML Express Integrated Graphics Controller <span class="o">(</span>rev <span class="m">03</span><span class="o">)</span> <span class="m">00</span>:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, <span class="m">943</span>/940GML Express Integrated Graphics Controller <span class="o">(</span>rev <span class="m">03</span><span class="o">)</span> <span class="o">(</span>...<span class="o">)</span> </pre></div> <p><a href="https://slforums.typo3-factory.net/lofiversion/index.php/t63508.html">After some googling</a> and tests, I&rsquo;ve designed the perfect <code>xorg.conf</code> for this&nbsp;configuration:</p> <div class="highlight"><pre><span></span># ********************************************************************** # Refer to the xorg.conf man page for details about the format of # this file. # ********************************************************************** Section &quot;Extensions&quot; Option &quot;Composite&quot; EndSection Section &quot;ServerFlags&quot; AllowMouseOpenFail # allows the server to start up even if the mouse does not work EndSection Section &quot;Module&quot; Load &quot;dbe&quot; # Double-Buffering Extension Load &quot;v4l&quot; # Video for Linux Load &quot;extmod&quot; Load &quot;type1&quot; Load &quot;freetype&quot; Load &quot;glx&quot; # 3D layer Load &quot;dri&quot; # direct rendering EndSection Section &quot;InputDevice&quot; Identifier &quot;Keyboard1&quot; Driver &quot;kbd&quot; Option &quot;XkbModel&quot; &quot;pc105&quot; Option &quot;XkbLayout&quot; &quot;fr&quot; Option &quot;XkbOptions&quot; &quot;compose:rwin&quot; EndSection Section &quot;InputDevice&quot; Identifier &quot;Mouse1&quot; Driver &quot;mouse&quot; Option &quot;Protocol&quot; &quot;ExplorerPS/2&quot; Option &quot;Device&quot; &quot;/dev/mouse&quot; EndSection Section &quot;InputDevice&quot; Identifier &quot;SynapticsMouse1&quot; Driver &quot;synaptics&quot; Option &quot;SHMConfig&quot; &quot;on&quot; EndSection Section &quot;Monitor&quot; Identifier &quot;laptop&quot; Option &quot;PreferredMode&quot; &quot;1280x800&quot; Option &quot;Below&quot; &quot;external&quot; EndSection Section &quot;Monitor&quot; Identifier &quot;external&quot; Option &quot;PreferredMode&quot; &quot;1680x1050@60&quot; HorizSync 24.0 - 82.0 VertRefresh 48.0 - 76.0 Modeline &quot;1680x1050@60&quot; 147.14 1680 1784 1968 2256 1050 1051 1054 1087 -HSync +Vsync EndSection Section &quot;Device&quot; Identifier &quot;device1&quot; VendorName &quot;Intel Corporation&quot; BoardName &quot;Intel 810 and later&quot; Driver &quot;intel&quot; Option &quot;DPMS&quot; # Option &quot;XaaNoOffscreenPixmaps&quot; &quot;1&quot; Option &quot;monitor-LVDS&quot; &quot;laptop&quot; Option &quot;monitor-VGA&quot; &quot;external&quot; EndSection Section &quot;Screen&quot; Identifier &quot;screen1&quot; Device &quot;device1&quot; Monitor &quot;external&quot; Subsection &quot;Display&quot; Virtual 1680 1850 EndSubsection EndSection Section &quot;ServerLayout&quot; Identifier &quot;layout1&quot; InputDevice &quot;Keyboard1&quot; &quot;CoreKeyboard&quot; InputDevice &quot;Mouse1&quot; &quot;CorePointer&quot; InputDevice &quot;SynapticsMouse1&quot; &quot;AlwaysCore&quot; Screen &quot;screen1&quot; EndSection </pre></div> <p>What I&rsquo;ve learned so far during these&nbsp;experiments:</p> <ul> <li> <p>With <span class="caps">DRI</span>, <a href="https://www.thinkwiki.org/wiki/Xorg_RandR_1.2#the_Virtual_screen">virtual screen can&rsquo;t be greater than 2048x2048</a> for Intel 945 (or less) chips. This explain why my screens are one above the other instead of&nbsp;side-by-side.</p> </li> <li> <p><a href="https://www.x.org/wiki/Projects/XRandR">XRandR</a> and its friend <a href="https://www.novell.com/coolsolutions/trench/16034.html">KRandRTray</a> make screen positionning&nbsp;user-friendly&hellip;</p> </li> <li> <p>&hellip;until you play with the <code>xrandr</code><span class="quo">&lsquo;</span>s &ldquo;<code>--off</code>&rdquo; option! After I manually called it, this parameter disabled all my screens, forever, and at each boot. I&rsquo;ve randomly deleted xorg-related files, but I still didn&rsquo;t know how I solved this mess. If you have a better understanding of how <code>xrandr</code> store its configuration, please let me&nbsp;know!</p> </li> <li> <p>Dual screening is awesome!&nbsp;:D</p> </li> </ul>