LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Xorg.conf, custom screen resolution (http://www.linuxquestions.org/questions/linux-newbie-8/xorg-conf-custom-screen-resolution-444052/)

tntcoder 05-12-2006 05:28 AM

Xorg.conf, custom screen resolution
 
Hi,

Im trying to get my widescreen monitor to work at its native res of 1440x900, I have installed the nvida drivers, and im using a 7800GT, my xorg.conf is below, any one got any ideas on what I have done wrong? In display manager the max res i can select is still 1024x768.

Code:

Section "Monitor"
    Identifier    "My Monitor"
    HorizSync 30-82
    Vertrefresh 56-76
    Modeline "1440x900" 106.5 1440 1520 1672 1904 900 901 904 932 -HSync +VSync
EndSection

Section "Device"

    #VideoRam    4096
    # Insert Clocks lines here if appropriate
    Identifier    "VESA Framebuffer"
    Driver        "nvidia"
EndSection

Section "Screen"

# If your card can handle it, a higher default color depth (like 24 or 32)
# is highly recommended.
#  DefaultDepth 8
#  DefaultDepth 16
#  DefaultDepth 32
# "1024x768" is also a conservative usable default resolution.  If you
# have a better monitor, feel free to try resolutions such as
# "1152x864", "1280x1024", "1600x1200", and "1800x1400" (or whatever your
# card/monitor can produce)
    Identifier    "Screen 1"
    Device        "VESA Framebuffer"
    Monitor        "My Monitor"
    DefaultDepth    24
    SubSection    "Display"
        Depth      8
        Modes      "1400x900" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection    "Display"
        Depth      16
        Modes      "1400x900" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection    "Display"
        Depth      24
        Modes      "1400x900" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection    "Display"
        Depth      32
        Modes      "1400x900" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection


Thanks for any help,
Jack

b0nd 05-12-2006 08:36 AM

Quote:

If your card can handle it, a higher default color depth (like 24 or 32)
# is highly recommended.
# DefaultDepth 8
# DefaultDepth 16
# DefaultDepth 32
hi,
removing the "#" from the front of DefaultDepth 32 will allow you to have 1400x900 resolution.

regards

ioerror 05-12-2006 10:07 AM

The default depth is already 24, so that's OK. That won't directly affect resolution anyway, since all the depths have the same list of resolutions.

The problem is that your modeline is called 1440x900 (1-4-4-0) but the resolution in the screen section is 1400x900 (1-4-0-0), and presumably the default 1400x900 modeline is causing a problem, causing it to fall back to your next resolution. Easy to miss. :)

b0nd 05-12-2006 11:19 AM

pardon me. I should have read the post properly.


All times are GMT -5. The time now is 11:47 AM.