On 10/3/07, <b class="gmail_sendername">Nicolas Will</b> &lt;<a href="mailto:nico@youplala.net">nico@youplala.net</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
OK, I decided not to be too offended by the abuse.<br><br>On top of the NVIDIA way of hard-coding the DPI (yes, I did read the FAQ<br>on the wiki) I have added the display size stuff.<br><br>Section &quot;Monitor&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Identifier&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;MonitorTMDS&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Option&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;DPMS&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Option&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;UseEdidDpi&quot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;FALSE&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Option&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;DPI&quot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;100 x 100&quot;
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;# For 1920x1080 at 100dpi&nbsp;&nbsp;(16:9)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DisplaySize&nbsp;&nbsp;487 274<br>EndSection<br><br>I kick gdm in order to restart X.<br><br>I check, same bad rendering for the OSD. No mention of DisplaySize in<br>the X logs. I still get the normal NVIDIA stuff:
<br><br>(**) NVIDIA(0): DPI set to (100, 100); computed from &quot;DPI&quot; X config<br>option<br><br>So why not remove the NVIDIA-specific stuff, and only leave the<br>displaysize statement?<br><br>Section &quot;Monitor&quot;
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Identifier&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;MonitorTMDS&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Option&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;DPMS&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;# For 1920x1080 at 100dpi&nbsp;&nbsp;(16:9)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DisplaySize&nbsp;&nbsp;&nbsp;&nbsp; 487 274<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Option&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;UseEdidDpi&quot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;FALSE&quot;
<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Option&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;DPI&quot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;100 x 100&quot;<br>EndSection<br><br>I swiftly do that and restart X.<br><br>The menus have very small fonts now. But the OSD is still badly<br>rendered.
<br><br>I check the X logs and still get no mention of DisplaySize.<br><br>But instead I get this:<br><br>(--) NVIDIA(0): DPI set to (46, 46); computed from &quot;UseEdidDpi&quot; X config<br>option<br><br>DisplaySize is apparently not a valid entry for the NVIDIA driver...
<br><br>But rest assured that DisplaySize was a valid entry when I was using the<br>on-board Intel GPU. I had tried it a few months ago, and still it did<br>not fix my OSD text rendering issues. I do read wikis and mailing list
<br>archives. I do use Google too.</blockquote><div><br>DisplaySize is a perfectly valid entry for the NVidia driver.&nbsp; It&#39;s just that the NVidia driver trusts EDID over all else unless you tell it otherwise.&nbsp; It&#39;ll use DisplaySize if you add back the
<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Option &quot;UseEdidDpi&quot; &quot;FALSE&quot;<br><br>line.<br><br></div>Carl Fongheiser<br></div><br>