LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-06-2004, 03:41 AM   #1
qanopus
Senior Member
 
Registered: Jul 2002
Location: New York
Distribution: Slackware
Posts: 1,358

Rep: Reputation: 45
Can someone help me with the XF86Config fle; resolution not going to 1024x768


Hi, I have popular Gforce 4 440 mx video card. I installed the lates driver from nvidia ( NVIDIA-Linux-x86-1.0-5336-pkg1.run), the install went fine. I'm running kernel 2.6.1 on an linux from scratch system. Because I'm running LFS, I pretty much have a bare bones XF86Config file. It's the one generated by XF86cfg.
I can't seem to switch to 1024x768 when using the nvidia driver. Here is my entire XF86Config file

Code:
 Section "ServerLayout"
        Identifier     "XFree86 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/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  "extmod"
        Load  "glx"
        Load  "dbe"
        Load  "record"
        Load  "xtrap"
        Load  "speedo"
        Load  "type1"
        Load  "freetype"
EndSection

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

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

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
        HorizSync    31.5 - 31.5
        VertRefresh  50.0 - 70.0
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     "SWcursor"                  # [<bool>]
        #Option     "HWcursor"                  # [<bool>]
        #Option     "NoAccel"                   # [<bool>]
        #Option     "ShowCache"                 # [<bool>]
        #Option     "ShadowFB"                  # [<bool>]
        #Option     "UseFBDev"                  # [<bool>]
        #Option     "Rotate"                    # [<str>]
        #Option     "VideoKey"                  # <i>
        #Option     "FlatPanel"                 # [<bool>]
        #Option     "FPDither"                  # [<bool>]
        #Option     "CrtcNumber"                # <i>
        Identifier  "Card0"
        Driver      "vesa"
        VendorName  "nVidia Corporation"
        BoardName   "NV17 [GeForce4 MX 440]"
        BusID       "PCI:1:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth 24

        SubSection "Display"
                Depth     1
                Modes    "1024x768"
        EndSubSection
        SubSection "Display"
                Depth     4
                Modes    "1024x768"
        EndSubSection
        SubSection "Display"
                Depth     8
                Modes    "1024x768"
        EndSubSection
        SubSection "Display"
                Depth     15
                Modes    "1024x768"
        EndSubSection
        SubSection "Display"
                Depth     24
                Modes    "1024x768" 
        EndSubSection
EndSection
Probebly my refresh rates are wrong. Can someone help me?

ps: In the above listing i'm using the vesa driver. When I do this I can go to 1024x768. So I can post my questions on this site in an comfortable manner But when I use "nvidia", the res. goes to 800x600.

Last edited by qanopus; 02-06-2004 at 03:45 AM.
 
Old 02-06-2004, 03:58 AM   #2
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
The problem may lie in Section "Monitor", specificly 'HorizSync 31.5 - 31.5'
What brand and model monitor do you have?
 
Old 02-06-2004, 04:20 AM   #3
qanopus
Senior Member
 
Registered: Jul 2002
Location: New York
Distribution: Slackware
Posts: 1,358

Original Poster
Rep: Reputation: 45
Thanks dude. You are right, changing that line to 'HorizSync 31.5 - 51.5' did the trick. Sorry, I should of done my homework better.
 
Old 02-06-2004, 05:04 AM   #4
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
YW schatoor, glad I could help :-)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
can't get screen resolution to 1024x768 marta Debian 18 03-26-2010 05:33 PM
Resolution Limited to 1024x768 lacyrhoades Linux - Hardware 10 10-12-2005 09:16 AM
stuck at 1024x768 resolution cboyd Linux - Laptop and Netbook 12 03-01-2005 12:49 PM
XF86Config: x windows not starting when changed to 1024x768 lakshg Red Hat 9 12-22-2004 12:37 AM
can't get 1024x768 resolution Culbert Slackware 7 03-24-2003 12:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:16 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