You are not logged in.

#1 2009-08-14 05:44:52

NotMarkus
Member
Registered: 2008-12-24
Posts: 11

Can't get my new monitor to display widescreen resolutions correctly.

Just bought a new 19" widescreen monitor with a maximum resolution of 1440x900. 1280x960 and other normal resolutions work fine, but they're distorted. But when I try to start X with 1440x900 resolution, the entire screen seems as if it's been moved to the right 2 inches and up half an inch. That is to say, there are black bars on the left and bottom, and the desktop area goes off the screen to the top and right.

I've been googling and searching forums all day but I haven't found any solution to this problem. Changing the monitor geometry in the menu can help, but it can't shift it enough to actually fix it.

My xorg.conf is kind of sloppy, but it's almost entirely unedited since it was generated. Here it is:

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/TTF"
    FontPath     "/usr/share/fonts/Type1"
EndSection

Section "Module"
    Load  "glx"
    Load  "dri"
    Load  "extmod"
    Load  "dbe"
    Load  "xtrap"
    Load  "freetype"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/input/mice"
    Option        "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    #DisplaySize      340   270    # mm
    Identifier   "Monitor0"
    VendorName   "ACR"
    ModelName    "AL1716"
    HorizSync    31.0 - 83.0
    VertRefresh  56.0 - 75.0
    Option        "DPMS"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"                # [<bool>]
        #Option     "SWcursor"               # [<bool>]
        #Option     "ColorKey"               # <i>
        #Option     "CacheLines"             # <i>
        #Option     "Dac6Bit"                # [<bool>]
        #Option     "DRI"                    # [<bool>]
        #Option     "NoDDC"                  # [<bool>]
        #Option     "ShowCache"              # [<bool>]
        #Option     "XvMCSurfaces"           # <i>
        #Option     "PageFlip"               # [<bool>]
    Identifier  "Card0"
    Driver      "intel"
    VendorName  "Intel Corporation"
    BoardName   "82945G/GZ Integrated Graphics Controller"
    BusID       "PCI:0:2:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    SubSection "Display"
        Viewport   0 0
        Depth     1
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     4
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     8
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     15
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     16
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
        Modes "1440x900" "1280x960" "1024x768" "800x600"
    EndSubSection
EndSection

# Section "Extensions"
#    Option "Composite" "Enable"
# EndSection

I'm more than willing to try any suggestions, so thanks in advance!

Offline

#2 2009-08-14 06:35:33

mjheagle8
Member
From: /home/mjheagle8
Registered: 2009-07-12
Posts: 186

Re: Can't get my new monitor to display widescreen resolutions correctly.

NotMarkus wrote:

Just bought a new 19" widescreen monitor with a maximum resolution of 1440x900. 1280x960 and other normal resolutions work fine, but they're distorted. But when I try to start X with 1440x900 resolution, the entire screen seems as if it's been moved to the right 2 inches and up half an inch. That is to say, there are black bars on the left and bottom, and the desktop area goes off the screen to the top and right.

I've been googling and searching forums all day but I haven't found any solution to this problem. Changing the monitor geometry in the menu can help, but it can't shift it enough to actually fix it.

My xorg.conf is kind of sloppy, but it's almost entirely unedited since it was generated. Here it is:

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/TTF"
    FontPath     "/usr/share/fonts/Type1"
EndSection

Section "Module"
    Load  "glx"
    Load  "dri"
    Load  "extmod"
    Load  "dbe"
    Load  "xtrap"
    Load  "freetype"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/input/mice"
    Option        "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    #DisplaySize      340   270    # mm
    Identifier   "Monitor0"
    VendorName   "ACR"
    ModelName    "AL1716"
    HorizSync    31.0 - 83.0
    VertRefresh  56.0 - 75.0
    Option        "DPMS"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"                # [<bool>]
        #Option     "SWcursor"               # [<bool>]
        #Option     "ColorKey"               # <i>
        #Option     "CacheLines"             # <i>
        #Option     "Dac6Bit"                # [<bool>]
        #Option     "DRI"                    # [<bool>]
        #Option     "NoDDC"                  # [<bool>]
        #Option     "ShowCache"              # [<bool>]
        #Option     "XvMCSurfaces"           # <i>
        #Option     "PageFlip"               # [<bool>]
    Identifier  "Card0"
    Driver      "intel"
    VendorName  "Intel Corporation"
    BoardName   "82945G/GZ Integrated Graphics Controller"
    BusID       "PCI:0:2:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    SubSection "Display"
        Viewport   0 0
        Depth     1
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     4
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     8
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     15
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     16
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
        Modes "1440x900" "1280x960" "1024x768" "800x600"
    EndSubSection
EndSection

# Section "Extensions"
#    Option "Composite" "Enable"
# EndSection

I'm more than willing to try any suggestions, so thanks in advance!

try getting rid of all the other display subsections, i dont know why they are there.

also, you can try without a conf, the new x server doesnt need one.

Last edited by mjheagle8 (2009-08-14 06:36:41)


Desktop/Laptop - DWM :: VM - screen
Registered Linux User Number 483137 :: Victory! :: GitHub

Offline

#3 2009-08-14 18:31:37

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,694
Website

Re: Can't get my new monitor to display widescreen resolutions correctly.

Did you use the settings configurations of the monitor to set the screen position?
Your monitor should have a few buttons on the bottom (side or back, whatever) to adjust the position of the image on the screen, try to use them to center the image on the screen after you are running at the desired resolution.

r.

Offline

#4 2009-08-14 23:17:59

NotMarkus
Member
Registered: 2008-12-24
Posts: 11

Re: Can't get my new monitor to display widescreen resolutions correctly.

Thanks for the suggestions. Unfortunately neither solves the problem. I've tried changing the geometry in the monitor's menu, and while it makes it better, it doesn't solve the problem. The Horizontal Position is at 50 by default. At 0, the black bar on the left is still over an inch wide.

Neither removing the excess Displays in the conf file nor removing the file entirely changed anything.

I appreciate the input though! If you have any other ideas, let me know. smile

Offline

#5 2009-08-14 23:45:25

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,694
Website

Re: Can't get my new monitor to display widescreen resolutions correctly.

OK, then try to set your screen resolution via software.

Let's say, for argument's sake, that I want a resolution of 84 dpi at 1024x768.  I'll have to calculate 2 numbers...one for horizontal and one for vertical.  Assuming the stated resolution I will use this the formula

displaysize = (<pixelsize>/DPI-Desired)*25.4

In this case, displaysize = (1024/84)*25.4.  This equals 309,638 (round off to 310).  I'd write this down for later.  Now I need to use 768 (my vertical setting for resolution 1024x768) in the same formula (displaysize =(768/84)*25.4) which comes out to 232.228 (round off to 232). 

So, the numbers are 310 and 232 which is what we put in xorg.conf under Section "Monitor" , like this:

DisplaySize 310 232 # 84 DPI @ 1024x768

Then you exit your X session and restart it again ... and hopefully things will work better.

R.

Offline

Board footer

Powered by FluxBB