[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: X 4.1.0 (woody) stuck in 640x480



On Sun Apr 14, 2002 at 01:32:39PM -0700, Ryan Jordan wrote:
> OK, mouse works in X and i don't really care about
> console so I'm leaving gpm out.I still can't change my
> resolution even though it's defined in XF86Config-4,
> so that's what I need help with now :(.
> 
> I'm attaching my config file again, I couldn't find
> any problems with it but somebody else might. For
> those who missed the original post, I accidentally
> told debconf not to configure X, so i ran xf86config
> and edited it myself.
> Or, if you can tell me how to make debconf
> re-configure X, I could try that and see if it works.
> I really don't want to reinstall, because I installed
> over FTP and this is the first time I've gotten NVIDIA
> drivers to compile.
> 
X will choose the best mode it can use, and I suspect it is running in
its lowest common denominator because your XF86Config has no HorizSync,
VertRefresh, or Modelines.

You might want to check your monitor's specs first, but there's a fair
chance you can just copy these 5 lines from mine and put them in the
Monitor section: (they'll get broken by line wrapping for email)

    HorizSync  30-70
    VertRefresh 50-150

ModeLine "1024x480"    65.00 1024 1032 1176 1344   480  488  494
        563 -hsync -vs
ModeLine "768x576"     50.00  768  832  846 1000   576  590  595
        630
ModeLine "768x576"     63.07  768  800  960 1024   576  578  590
        616
        
mine is attached.

CraigW



Section "Files"

    RgbPath	"/usr/X11R6/lib/X11/rgb"


    FontPath   "unix/:-1"

EndSection


Section "ServerFlags"

    # Uncomment this to cause a core dump at the spot where a signal is
    # received.  This may leave the console in an unusable state, but may
    # provide a better stack trace in the core dump to aid in debugging
    #NoTrapSignals

    # Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
    # This allows clients to receive this key event.
    #DontZap

    # Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
    # sequences.  This allows clients to receive these key events.
    #DontZoom

    # This  allows  the  server  to start up even if the
    # mouse device can't be opened/initialised.
    AllowMouseOpenFail

EndSection



Section "InputDevice"

    Identifier "Keyboard1"
    Driver      "Keyboard"
    Option "AutoRepeat"  "250 30"

    Option "XkbRules" "xfree86"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "us"

EndSection


Section "InputDevice"

    Identifier  "Mouse1"
    Driver      "mouse"
    Option "Protocol"    "IMPS/2"
    Option "Device"      "/dev/psaux"
    Option "ZAxisMapping" "4 5"



EndSection



Section "Module"

    Load	"dbe"

    Load        "v4l"



    SubSection	"extmod"
	#Option	"omit xfree86-dga"
    EndSubSection


    Load	"type1"
    Load	"freetype"
EndSection



Section "Monitor"
    Identifier "monitor1"
    VendorName "Unknown"
    ModelName  "Unknown"


    HorizSync  30-70


    VertRefresh 50-150



ModeLine "1024x480"    65.00 1024 1032 1176 1344   480  488  494  563 -hsync -vsync

ModeLine "768x576"     50.00  768  832  846 1000   576  590  595  630
ModeLine "768x576"     63.07  768  800  960 1024   576  578  590  616


EndSection




Section "Device"
    Identifier "Generic VGA"
    Driver     "vga"
EndSection

Section "Device"
    Identifier  "RIVA TNT2"
    VendorName  "Unknown"
    BoardName   "Unknown"
    Driver      "nv"
    # Clock lines


    # Uncomment following option if you see a big white block        
    # instead of the cursor!                                          
    #    Option      "sw_cursor"

    Option      "DPMS"  "on"
EndSection





Section "Screen"
    Identifier "screen1"
    Device      "RIVA TNT2"
    Monitor     "monitor1"
    DefaultColorDepth 16
    Subsection "Display"
        Depth       8
        Modes       "1280x1024" "1024x768" "800x600" "640x400"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       32
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
EndSection


Section "ServerLayout"
    Identifier "layout1"
    Screen     "screen1"

    InputDevice "Mouse1" "CorePointer"

    InputDevice "Keyboard1" "CoreKeyboard"
EndSection

Reply to: