You are not logged in.

#1 2013-07-06 02:22:13

steve___
Member
Registered: 2008-02-24
Posts: 454

Setting Display Size in X

Connecting a laptop to a new 42" Panasonic monitor (TC-L42E60), I found
the display to be blurry.

xrandr shows this line:
HDMI2 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 698mm x 392mm

Use the same hardware, on my co-worker's older 42" monitor, I see:
HDMI2 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 930mm x 520mm

A physical size of 698mm x 392mm is closer to 32".  I assume there is a
problem with the monitor's EDID (the monitor's firmware is up to date).
Does anyone know how to manually set the physical size?  I fiddled
around with 'xrandr --fbmm' but to no avail.

Offline

#2 2013-07-06 03:04:49

boast
Member
Registered: 2010-09-28
Posts: 219

Re: Setting Display Size in X

Well, I know in xorg.conf (or in the .d) it would be something like

DisplaySize    597    336

under your Monitor section


Asus M4A785TD-V ;; Phenom II X4 @ 3.9GHz ;; Ripjaws 12GB DDR3-1600 ;; 128GB Samsung 830 ;; MSI GTX460 v2 w/ blob ;; Arch Linux + KDE 4.x

Offline

#3 2013-07-06 03:21:49

steve___
Member
Registered: 2008-02-24
Posts: 454

Re: Setting Display Size in X

I don't have a 'Monitor' section in /etc/X11/xorg.conf*  I haven't been
paying close attention to X in the past couple of years.  I thought
xorg.conf was being deprecated.  Is there a command like Xorg -configure
to populate what that file should look like on my system?

Offline

#4 2013-07-08 15:13:34

steve___
Member
Registered: 2008-02-24
Posts: 454

Re: Setting Display Size in X

Before making changes, I see these two lines in the output of xrandr:

LVDS1 connected 1366x768+0+0 (normal left inverted right x axis y axis) 277mm x 156mm
HDMI2 connected 1366x768+0+0 (normal left inverted right x axis y axis) 698mm x 392mm

And this information from Xorg.log:

$ grep monitor /var/log/Xorg.0.log
[225833.747] (**) |   |-->Monitor "<default monitor>"
[225833.747] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[225833.763] (II) intel(0): Output LVDS1 has no monitor section
[225833.763] (II) intel(0): Output VGA1 has no monitor section
[225834.294] (II) intel(0): Output HDMI1 has no monitor section
[225834.334] (II) intel(0): Output DP1 has no monitor section
[225834.579] (II) intel(0): Output HDMI2 has no monitor section
[225834.602] (II) intel(0): Output HDMI3 has no monitor section
[225834.640] (II) intel(0): Output DP2 has no monitor section
[225834.680] (II) intel(0): Output DP3 has no monitor section
[225835.499] (II) intel(0): Monitor name: Panasonic-TV

I then created this file:

$ vim /etc/X11/xorg.conf.d/90-monitor.conf
    Section "Monitor"
        Identifier             "<default monitor>"
        DisplaySize             930 520    # In millimeters
    EndSection

I now see this in Xorg.log:

$ grep monitor /var/log/Xorg.0.log
[226022.950] (**) |   |-->Monitor "<default monitor>"
[226022.951] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[226022.962] (II) intel(0): Output LVDS1 using monitor section <default monitor>
[226022.963] (II) intel(0): Output VGA1 has no monitor section
[226023.494] (II) intel(0): Output HDMI1 has no monitor section
[226023.534] (II) intel(0): Output DP1 has no monitor section
[226023.779] (II) intel(0): Output HDMI2 has no monitor section
[226023.802] (II) intel(0): Output HDMI3 has no monitor section
[226023.840] (II) intel(0): Output DP2 has no monitor section
[226023.880] (II) intel(0): Output DP3 has no monitor section
[226024.699] (II) intel(0): Monitor name: Panasonic-TV

But in the output of xrandr, I see no change to the display size:

LVDS1 connected 1366x768+0+0 (normal left inverted right x axis y axis) 277mm x 156mm
HDMI2 connected 1366x768+0+0 (normal left inverted right x axis y axis) 698mm x 392mm

I understand my laptop screen is LVDS1 but I was hoping to see have a
display size of 930mm x 520mm.

1) Does anyone know how to define HDMI2 in
/etc/X11/xorg.conf.d/90-monitor.conf ?

2) Does anyone know how to override the DisplaySize?

Maybe if I get '1' to work, '2' will follow, but I figured I'd ask.

-steve

Offline

#5 2013-07-08 15:47:44

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Setting Display Size in X

You'll need "Device" and "Screen" sections in 90-monitor.conf as well.

Offline

#6 2013-07-08 15:56:41

jdarnold
Member
From: Medford MA USA
Registered: 2009-12-15
Posts: 485
Website

Re: Setting Display Size in X

What video card do you have? If an nvidia, it is much easier to use the nvidia-settings utility

Offline

#7 2013-07-08 16:00:39

steve___
Member
Registered: 2008-02-24
Posts: 454

Re: Setting Display Size in X

@skottish - Okay I'll work on add those sections, thanks.

@jdarnold - 00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)

Offline

#8 2013-07-08 16:25:37

steve___
Member
Registered: 2008-02-24
Posts: 454

Re: Setting Display Size in X

I think I'm getting closer.

Here is what I have in 90-monitor.conf -- http://sprunge.us/WEaA

Here is what I see in Xorg.0.log:

$ grep monitor /var/log/Xorg.0.log                                                                
[230795.151] (**) |   |-->Monitor "HDMI2"
[230795.161] (II) intel(0): Output LVDS1 using monitor section LVDS1
[230795.162] (II) intel(0): Output VGA1 has no monitor section
[230795.693] (II) intel(0): Output HDMI1 has no monitor section
[230795.733] (II) intel(0): Output DP1 has no monitor section
[230795.978] (II) intel(0): Output HDMI2 using monitor section HDMI2
[230796.002] (II) intel(0): Output HDMI3 has no monitor section
[230796.040] (II) intel(0): Output DP2 has no monitor section
[230796.080] (II) intel(0): Output DP3 has no monitor section
[230796.899] (II) intel(0): Monitor name: Panasonic-TV
[230797.000] (WW) intel(0): Probed monitor is 280x160 mm, using Displaysize 930x520 mm

It seems to be trying to set LVDS1 to 930x520 mm

I see no change in the output of xrandr:

HDMI2 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 698mm x 392mm

Offline

Board footer

Powered by FluxBB