Page 1 of 1

Problems getting resolution to be OTHER than 96 dpi

Posted: 4. Jul 2012, 20:22
by zsd
In a Slackware64 current (almost 14.0?) guest, I am so far unable to convince X to match the actual DPI of my screen. I have tried putting various and sundry configurations in /etc/X11/xorg.conf.d/01-screensection, such as the following, but all to no avail.

Code: Select all

Section "Screen"
        Identifier      "t900 laptop screen inside VBox"
        Option          "DPI" "113x113"
        DefaultDepth    24
        Monitor         "t900 screen"
        Option          "UseEdidDpi"    "False"
        Option          "IgnoreEDID"    "true"
        Option          "NoDDC"         "true"
EndSection
Section "Monitor"
        Identifier "t900 screen"
        DisplaySize 272 163
EndSection

I have no /etc/X11/xorg.conf file.

xdpyinfo reports the (apparently) correct number of pixels, but the reported screen size and the DPI are both wrong. With all of the above additions, /var/log/Xorg.0.log reports

[ 21936.479] (**) VBoxVideo(0): Display dimensions: (272, 163) mm
[ 21936.479] (**) VBoxVideo(0): DPI set to (2988, 4986)

Following that a ways is a report of the EDID, notwithstanding my requests for X not to use it.

I'd really like to get X to use the correct DPI value. Anyone know a solution to this? (FWIW, I am using a Slackware 64 host system as well.)

Thanks.