LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   How to get 1400x1050 res on laptop with slackware 10.1? (http://www.linuxquestions.org/questions/slackware-14/how-to-get-1400x1050-res-on-laptop-with-slackware-10-1-a-302493/)

zitanos 03-16-2005 05:45 PM

How to get 1400x1050 res on laptop with slackware 10.1?
 
ok so i installed slackware, simple enough, got everything to work so far

1 problem though, how do i get it to run in 1400x1050 res, in the
install it only had up to 1024x768(leaves lots of space on the sides),
i installed the nvidia drivers... for my nvidia geforce2go card, btw
i'm running it on my DELL 8100 Inspiron Laptop

also added 1400x1050 in my xorg.conf file, no luck.

any comments on how to get it working?

Almighty-Bob 03-16-2005 07:43 PM

Do you have the correct horizontal and vertical refresh rates for your monitor in the xorg.conf file as well?

Here is what you will have to edit:

# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"

Identifier "Monitor"

# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

HorizSync 30 - 86

# HorizSync 30-64 # multisync
# HorizSync 31.5, 35.2 # multiple fixed sync frequencies
# HorizSync 15-25, 30-50 # multiple ranges of sync frequencies

# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

VertRefresh 50 - 160

EndSection

You will have to find the correct values for the monitor you are using in order for X toy use the resolutions you specified.


Hope this helps. Cheers

datadriven 03-16-2005 07:45 PM

I have a dell inspiron 7500 that's running at 1400x1050. here's my conf file

Code:

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

Section "Files"
        RgbPath      "/usr/X11R6/lib/X11/rgb"
        ModulePath  "/usr/X11R6/lib/modules"
        FontPath    "/usr/X11R6/lib/X11/fonts/misc/"
        FontPath    "/usr/X11R6/lib/X11/fonts/TTF/"
        FontPath    "/usr/X11R6/lib/X11/fonts/Speedo/"
        FontPath    "/usr/X11R6/lib/X11/fonts/Type1/"
        FontPath    "/usr/X11R6/lib/X11/fonts/CID/"
        FontPath    "/usr/X11R6/lib/X11/fonts/75dpi/"
        FontPath    "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
        Load  "record"
        Load  "extmod"
        Load  "dbe"
        Load  "dri"
        Load  "glx"
        Load  "xtrap"
        Load  "freetype"
        Load  "type1"
        Load  "speedo"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/psaux"
EndSection

Section "InputDevice"
        Identifier  "Mouse1"
        Driver      "mouse"
        Option      "Protocol" "IMPS/2"
        Option      "Device" "/dev/input/mice"
        option      "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
        Identifier  "Monitor0"
        VendorName  "Monitor Vendor"
        ModelName    "Monitor Model"
        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    "accel"                    # [<bool>]
        #Option    "crt_display"              # [<bool>]
        #Option    "composite_sync"            # [<bool>]
        #Option    "hw_cursor"                # [<bool>]
        #Option    "linear"                    # [<bool>]
        #Option    "mmio_cache"                # [<bool>]
        #Option    "test_mmio_cache"          # [<bool>]
        #Option    "panel_display"            # [<bool>]
        #Option    "probe_clocks"              # [<bool>]
        #Option    "reference_clock"          # <freq>
        #Option    "shadow_fb"                # [<bool>]
        #Option    "sw_cursor"                # [<bool>]
        Identifier  "Card0"
        Driver      "ati"
        VendorName  "ATI"
        BoardName  "Rage Mobility P/M AGP 2x"
        ChipSet    "ati"
        ChipId      0x4c4d
        ChipRev    0x64
        BusID      "PCI:1:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device    "Card0"
        Monitor    "Monitor0"
        DefaultDepth 16
        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
                Modes "1400x1050" "1024x768" "800x600"
                Virtual 1400 1050
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    24
        EndSubSection
EndSection


eeades 03-17-2005 06:29 AM

Try commenting-out the line "Virtual 1400 1050." Might help.

Eric

datadriven 03-17-2005 06:59 AM

Actually virtual is one of the key factors in making it work. My config is working, I'm not the one who had a problem.

IsaacKuo 03-17-2005 10:46 AM

My prefered method is to insert a Modeline into xorg.conf, under the "Monitor" section.

Here's a 1400x1050@60hz modeline generated by Colas XFree Modeline generator:

ModeLine "1400x1050" 125.04 1400 1464 1784 1912 1050 1052 1064 1090 #60Hz

I'd insert this into the "Monitor" section, and then in the "Display" section I'd remove all resolutions except for "1400x1050".

For KDE, this is enough to change the resolution. The next time KDE starts, it will automatically recognize that only 1400x1050 is a valid resolution and will adjust itself to that resolution.

For GNOME, you may have to go into GNOME's Control Center and explicitely force it to use 1400x1050.

zitanos 03-17-2005 10:56 AM

ok i'm at work now, as soon as i get home, in about 6hrs ill post up my xorg.conf file

jschiwal 03-17-2005 06:55 PM

There is a program called 'gtf' that you can use to generate modelines on your system.

gtf <horizontal resolution> <vertical resolution> <refresh> -x

carboncopy 03-17-2005 09:00 PM

Quote:

Originally posted by jschiwal
There is a program called 'gtf' that you can use to generate modelines on your system.

gtf <horizontal resolution> <vertical resolution> <refresh> -x

That's cool. Have been looking for something like this for sometime. :D


All times are GMT -5. The time now is 04:52 AM.