LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-09-2005, 07:19 AM   #1
Genjix
Member
 
Registered: Oct 2003
Location: Pico
Distribution: SUSE 9.1
Posts: 83

Rep: Reputation: 15
[SOLVED] Gentoo and configuring my XOrg server for nvidia [SOLVED]


I have no idea how to configure an X server. Can someone copy and paste their X server config for their nvidia card (my mouse is just a normal mouse).

heres what I have but it doesn't work.

Code:
Section "Files"
    RgbPath "/usr/lib/X11/rgb"

    FontPath "/usr/share/fonts/local/"
    FontPath "/usr/share/fonts/misc/"
    FontPath "/usr/share/fonts/75dpi/:unscaled"
    FontPath "/usr/share/fonts/100dpi/:unscaled"
    FontPath "/usr/share/fonts/Type1/"
    FontPath    "/usr/share/fonts/TTF/"
    FontPath "/usr/share/fonts/CID/"
    FontPath "/usr/share/fonts/Speedo/"
    FontPath "/usr/share/fonts/75dpi/"
    FontPath "/usr/share/fonts/100dpi/"

EndSection


Section "Module"

    Load "dbe"
    Load        "glx"

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

    Load	"type1"
    Load	"freetype"

EndSection


Section "ServerFlags"

    Option	"blank time"	"10"	# 10 minutes

    Option	"standby time"	"20"
    Option	"suspend time"	"30"
    Option	"off time"	"60"

EndSection


Section "InputDevice"

    Identifier	"Keyboard1"
    Driver	"keyboard"

    Option	"AutoRepeat"	"500 5"

EndSection


Section "InputDevice"

    Identifier	"Mouse1"
    Driver	"mouse"

    Option	"Protocol"	"Microsoft"
    Option	"Device"	"/dev/mouse"

EndSection

Section "InputDevice"
    Identifier	"Mouse2"
    Driver	"mouse"
    Option	"Protocol"	"MouseMan"
    Option	"Device"	"/dev/mouse2"
EndSection


Section "Monitor"

    Identifier	"Generic Monitor"

    Mode "640x480"
        DotClock	25.175
        HTimings	640 664 760 800
        VTimings	480 491 493 525
    EndMode

#    Mode "1024x768i"
#        DotClock	45
#        HTimings	1024 1048 1208 1264
#        VTimings	768 776 784 817
#        Flags		"Interlace"
#    EndMode

EndSection

Section "Device"

    Identifier	"nVidia Inc. GeForce2"
    Driver	"nvidia"
    VideoRam	65536

EndSection

Section "Device"
    Identifier	"any supported Trident chip"
    Driver	"trident"
EndSection

Section "Device"
    Identifier	"MGA Millennium I"
    Driver	"mga"
    Option	"hw cursor" "off"
    BusID	"PCI:0:10:0"
EndSection

Section "Device"
    Identifier	"MGA G200 AGP"
    Driver	"mga"
    BusID	"PCI:1:0:0"
    Option	"pci retry"
EndSection


Section "Screen"

    Identifier	"Screen 1"
    Device	"nVidia Inc. GeForce2"
    Monitor	"Generic Monitor"

    DefaultDepth 16

    SubSection "Display"
        Depth		8
        Modes		"640x480"
        ViewPort	0 0
        Virtual 	800 600
    EndSubsection

    SubSection "Display"
	Depth		4
        Modes		"640x480"
    EndSubSection

    SubSection "Display"
	Depth		1
        Modes		"640x480"
    EndSubSection

EndSection


Section "Screen"
    Identifier		"Screen MGA1"
    Device		"MGA Millennium I"
    Monitor		"Generic Monitor"
    Option		"no accel"
    DefaultDepth	16

    SubSection "Display"
	Depth		8
	Modes		"1280x1024"
	Option		"rgb bits" "8"
	Visual		"StaticColor"
    EndSubSection
    SubSection "Display"
	Depth		16
	Modes		"1280x1024"
    EndSubSection
    SubSection "Display"
	Depth		24
	Modes		"1280x1024"
    EndSubSection
EndSection


Section "Screen"
    Identifier		"Screen MGA2"
    Device		"MGA G200 AGP"
    Monitor		"Generic Monitor"
    DefaultDepth	8

    SubSection "Display"
	Depth		8
	Modes		"1280x1024"
	Option		"rgb bits" "8"
	Visual		"StaticColor"
    EndSubSection
EndSection


Section "ServerLayout"

    Identifier "Main Layout"

    Screen "Screen MGA 1" "" "" "" "Screen MGA 2"
    Screen "Screen MGA 2" "" "" "Screen MGA 1" ""

    InputDevice "Mouse1" "CorePointer"
    InputDevice "Mouse2" "SendCoreEvents"
    InputDevice "Keyboard1" "CoreKeyboard"

EndSection


Section "ServerLayout"
    Identifier "another layout"
    Screen "Screen 1"
    Screen "Screen MGA 1"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection


Section "ServerLayout"
    Identifier "simple layout"
    Screen "Screen 1"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection
Thanks.

Last edited by Genjix; 07-09-2005 at 01:40 PM.
 
Old 07-09-2005, 07:20 AM   #2
Genjix
Member
 
Registered: Oct 2003
Location: Pico
Distribution: SUSE 9.1
Posts: 83

Original Poster
Rep: Reputation: 15
note that the above was just me filling in the sample config given under /etc/X11/xorg.conf.example
 
Old 07-09-2005, 01:40 PM   #3
Genjix
Member
 
Registered: Oct 2003
Location: Pico
Distribution: SUSE 9.1
Posts: 83

Original Poster
Rep: Reputation: 15
doesn't matter now - didn't realise there was a configuration tool. Thanks.
 
  


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
Gentoo / Nvidia / Xorg.conf GaMeS Linux - Newbie 8 10-29-2005 05:38 AM
hand configuring xorg redduck666 Linux - Software 2 04-17-2005 08:49 AM
Configuring Xorg for TV Out hussar Linux - Software 0 01-01-2005 05:16 AM
Xorg and Gentoo palmem Linux - Software 4 11-15-2004 10:55 AM
Re:Configuring xorg with twinview MunCH Slackware 2 06-22-2004 06:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:00 AM.

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