LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can't get high resolution in Slackware (https://www.linuxquestions.org/questions/linux-newbie-8/cant-get-high-resolution-in-slackware-211222/)

Algernon 07-29-2004 07:00 PM

Can't get high resolution in Slackware
 
Hi,
im the distro im running is Slackware 10.0. My monitor is able to run 1400x1050 easiley in Windows and other linux distro's. I can't get any higher then 640x480 though in slackware.
my graphics card is Nvidia MX440-8x 64mb.

I have updated my drivers and still nothing works. I have also tried to "force it" to higher resolution by editing my xorg.conf and xorg.conf-vesa files. but when i start KDE it goes back to 640-480.

here's a copy of my xorg.conf file
Code:

Section "ServerLayout"
Identifier    "X.org Configured"
Screen      0  "Screen0" 0 0
InputDevice    "Mouse0" "CorePointer"
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  "glx"
Load  "record"
Load  "extmod"
Load  "dbe"
Load  "xtrap"
Load  "freetype"
Load  "type1"
Load  "freetype"
Load  "speedo"
EndSection

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

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

Section "Monitor"
Identifier  "Monitor0"
VendorName  "Monitor Vendor"
ModelName    "Monitor Model"
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    "DigitalVibrance"            # <i>
#Option    "NoFlip"                    # [<bool>]
#Option    "Dac8Bit"                    # [<bool>]
#Option    "NoLogo"                    # [<bool>]
#Option    "UBB"                        # [<bool>]
#Option    "Stereo"                    # <i>
#Option    "SWcursor"                  # [<bool>]
#Option    "HWcursor"                  # [<bool>]
#Option    "VideoKey"                  # <i>
#Option    "NvAGP"                      # <i>
#Option    "IgnoreEDID"                # [<bool>]
#Option    "NoDDC"                      # [<bool>]
#Option    "ConnectedMonitor"          # <str>
#Option    "ConnectedMonitors"          # <str>
#Option    "TVStandard"                # <str>
#Option    "TVOutFormat"                # <str>
#Option    "RenderAccel"                # [<bool>]
#Option    "CursorShadow"              # [<bool>]
#Option    "CursorShadowAlpha"          # <i>
#Option    "CursorShadowXOffset"        # <i>
#Option    "CursorShadowYOffset"        # <i>
#Option    "UseEdidFreqs"              # [<bool>]
#Option    "FlatPanelProperties"        # <str>
#Option    "TwinView"                  # [<bool>]
#Option    "TwinViewOrientation"        # <str>
#Option    "SecondMonitorHorizSync"        # <str>
#Option    "SecondMonitorVertRefresh"        # <str>
#Option    "MetaModes"                  # <str>
#Option    "UseInt10Module"            # [<bool>]
#Option    "NoTwinViewXineramaInfo"        # [<bool>]
#Option    "NoRenderExtension"          # [<bool>]
#Option    "Overlay"                    # [<bool>]
#Option    "CIOverlay"                  # [<bool>]
#Option    "ForceEmulatedOverlay"        # [<bool>]
#Option    "TransparentIndex"          # <i>
#Option    "OverlayDefaultVisual"        # [<bool>]
#Option    "NvEmulate"                  # <i>
#Option    "NoBandWidthTest"            # [<bool>]
#Option    "CustomEDID-CRT-0"          # <str>
#Option    "CustomEDID-CRT-1"          # <str>
#Option    "CustomEDID-DFP-0"          # <str>
#Option    "CustomEDID-DFP-1"          # <str>
#Option    "CustomEDID-TV-0"            # <str>
#Option    "CustomEDID-TV-1"            # <str>
#Option    "TVOverScan"                # <f>
#Option    "IgnoreDisplayDevices"        # <str>
#Option    "MultisampleCompatibility"        # [<bool>]
#Option    "RegistryDwords"            # <str>
#Option    "NoPowerConnectorCheck"        # [<bool>]
#Option    "AllowDFPStereo"            # [<bool>]
#Option    "XvMCUsesTextures"          # [<bool>]
#Option    "HorizSync"                  # <str>
#Option    "VertRefresh"                # <str>
Identifier  "Card0"
Driver      "nvidia"
VendorName  "nVidia Corporation"
BoardName  "NV18 [GeForce4 MX 440 AGP 8x]"
BusID      "PCI:2:0: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
EndSubSection
EndSection

here is also a copy of my xorg.conf -vesa file

Code:

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

# Any number of monitor sections may be present

Section "Monitor"

    Identifier  "My 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-64

#    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-60

EndSection


# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

Section "Device"
    Identifier  "VESA Framebuffer"
    Driver      "vesa"
    #VideoRam    4096
    # Insert Clocks lines here if appropriate
EndSection

# **********************************************************************
# Screen sections
# **********************************************************************

# Any number of screen sections may be present.  Each describes
# the configuration of a single screen.  A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
    Identifier  "Screen 1"
    Device      "VESA Framebuffer"
    Monitor    "My Monitor"

# If your card can handle it, a higher default color depth (like 24 or 32)
# is highly recommended.

#  DefaultDepth 8
#  DefaultDepth 16
  DefaultDepth 24
#  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)

    Subsection "Display"
        Depth      8
        Modes "1024x768" "1280x1024"
    EndSubsection
    Subsection "Display"
        Depth      16
        Modes "1024x768" "1280x1024"
    EndSubsection
    Subsection "Display"
        Depth      24
        Modes "1024x768" "1280x1024"
    EndSubsection
    Subsection "Display"
        Depth      32
        Modes "1024x768" "1280x1024"
    EndSubsection

EndSection

is there any other files that im supposed to mess with? im new to this because it's never been a problem in other distros. any help is greatly appreciated

Tinkster 07-29-2004 07:14 PM

Have a look at /var/log/Xorg.0.log to see why it does
what it does?


Cheers,
Tink

Algernon 07-29-2004 08:12 PM

ok, i checked out the log file and i'm getting a bunch of "hsync out of range" errors.
I dont know what the hsync rate should be on my monitor. I also dont have the manual that came with it either. How could i find out what my Hsync is in Windows?

Algernon 07-29-2004 08:40 PM

hurray,
i looked on the back of my monitor and it told me what the Hsync range is
i put it in the xorg.conf file and Viola!!

thanks Tinkster

Tinkster 07-29-2004 09:14 PM

Congratulations mate :)


Cheers,
Tink

agaspar 08-06-2004 09:24 AM

I am having a similar problem. I have a monitor that is capable of 1280x1024 (Dell FP1900), but I can only get 640x480. I used kxconfig to set my hsync to 30-80kHz and my vrefresh to 56-76Hz and my resolution to 1280x1024. I am using the generic vesa for my graphics card. I don't see a /var/log/Xorg.0.log, but I do see an XFree86.0.log. In it I see this error: 'Not using mode "1280x1024/74Hz" (No mode of this name)'. It is repeated for 800x600 and then it apparently defaults to 640x480 with something about attempting a refresh rate of 73Hz and then "Using shadow framebuffer".

I am confused kxconfig forced me to pick 74Hz (the specs for the monitor recommend 75, but I wasn't given the option). Any ideas, how I get around this.

Thanks much--

Al

Genesee 08-06-2004 12:51 PM

I don't know what kxconfig is, and you didn't list your distro - but apparently you're using XFree - so you can modify the file XF86Config (or XF86Config-4, depending on distro) and add in the correct specs for your monitor for HorizSync and VertRefresh. (don't guess at these - find the specs online if you don't have the manual - wrong values can damage h/w)

then make sure you have "1280x1024" as the first option in the display subsection for your default depth.

agaspar 08-06-2004 02:24 PM

Sorry. The distribution is Slackware 9.1. kxconfig seems to be a KDE interface to xconfig.

I got the figures that I entered into kxconfig from the Dell support site; so they should be accurate for the monitor.

How the monitor and screen sections of my /etc/X11/XF86Config look like right now is listed below.

Thanks--

Al

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

# Any number of monitor sections may be present

Section "Monitor"

Identifier "My 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-80

# 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 56-76

vendorname "Dell"
modelname "FP1900"
ModeLine "1280x1024/74Hz" 135 1280 1312 1456 1712 1024 1027 1030 1064
EndSection


# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

Section "Device"
Identifier "VESA Framebuffer"
Driver "vesa"
#VideoRam 4096
# Insert Clocks lines here if appropriate
vendorname "Generic"
boardname "vesa"
EndSection

# **********************************************************************
# Screen sections
# **********************************************************************

# Any number of screen sections may be present. Each describes
# the configuration of a single screen. A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
Identifier "Screen 1"
Device "VESA Framebuffer"
Monitor "My Monitor"

# If your card can handle it, a higher default color depth (like 24 or 32)
# is highly recommended.

# DefaultDepth 8
# DefaultDepth 16
DefaultDepth 24
# 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)

Subsection "Display"
Depth 8
Modes "1280x1024/74Hz" "800x600" "640x480"
Virtual 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x1024/74Hz" "800x600" "640x480"
Virtual 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x1024/74Hz" "800x600" "640x480"
Virtual 0 0
EndSubsection
Subsection "Display"
Depth 32
Modes "1280x1024/74Hz" "800x600" "640x480"
Virtual 0 0
EndSubsection

EndSection


All times are GMT -5. The time now is 02:39 AM.