LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-29-2004, 07:00 PM   #1
Algernon
LQ Newbie
 
Registered: Jul 2004
Posts: 15

Rep: Reputation: 0
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
 
Old 07-29-2004, 07:14 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

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


Cheers,
Tink
 
Old 07-29-2004, 08:12 PM   #3
Algernon
LQ Newbie
 
Registered: Jul 2004
Posts: 15

Original Poster
Rep: Reputation: 0
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?
 
Old 07-29-2004, 08:40 PM   #4
Algernon
LQ Newbie
 
Registered: Jul 2004
Posts: 15

Original Poster
Rep: Reputation: 0
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
 
Old 07-29-2004, 09:14 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Congratulations mate :)


Cheers,
Tink
 
Old 08-06-2004, 09:24 AM   #6
agaspar
LQ Newbie
 
Registered: Aug 2004
Posts: 9

Rep: Reputation: 0
Question

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

Last edited by agaspar; 08-06-2004 at 09:26 AM.
 
Old 08-06-2004, 12:51 PM   #7
Genesee
Member
 
Registered: Dec 2002
Distribution: Slackware
Posts: 927

Rep: Reputation: 30
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.
 
Old 08-06-2004, 02:24 PM   #8
agaspar
LQ Newbie
 
Registered: Aug 2004
Posts: 9

Rep: Reputation: 0
Unhappy

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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
high resolution webcam ahz10 Linux - Hardware 6 05-24-2005 04:55 PM
High Horizontal Resolution on X - How do I? nitrousoxide82 Linux - General 2 05-23-2005 10:50 PM
[n] Slackware High Resolution Problem nirav_patel Slackware 9 05-13-2005 04:08 AM
High Resolution Timers swinchen Programming 2 07-22-2004 10:34 AM
High resolution on booting spank Linux - Newbie 4 08-26-2003 03:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration