LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-18-2002, 06:00 PM   #1
glock19
Member
 
Registered: Aug 2001
Distribution: Debian Etch
Posts: 510

Rep: Reputation: 31
XF86Config help


I just installed XFree86, and I ran XFree86 -configure. When I run startx, I get a really low resolution, low color depth, low vertical refresh rate X-Windows. I tried editing my /etc/X11/XF86Config file to increase the settings, but nothing works. Here is my XF86Config file after running XFree86 -configure:

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  "dri"
	Load  "dbe"
	Load  "record"
	Load  "xtrap"
	Load  "speedo"
	Load  "type1"
EndSection

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

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

Section "Monitor"
	#DisplaySize	  380   290	# mm
	Identifier   "Monitor0"
	VendorName   "DEL"
	ModelName    "5314"
	Option	    "DPMS"
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>]
	Identifier  "Card0"
	Driver      "nv"
	VendorName  "NVidia"
	BoardName   "GeForce2 MX/MX 400"
	BusID       "PCI:0:13:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Depth     1
	EndSubSection
	SubSection "Display"
		Depth     4
	EndSubSection
	SubSection "Display"
		Depth     8
	EndSubSection
	SubSection "Display"
		Depth     15
	EndSubSection
	SubSection "Display"
		Depth     16
	EndSubSection
	SubSection "Display"
		Depth     24
	EndSubSection
EndSection
 
Old 03-18-2002, 06:02 PM   #2
jetblackz
Member
 
Registered: Mar 2002
Location: Debian Galaxy
Distribution: Debian
Posts: 711

Rep: Reputation: 30
startx. Run "xvidtune" in terminal. Adjust it to your heart's content. Display. Copy and paste that with middle mouse button or both buttons. Paste 'em in XF86Config-4 file under "monitor" section. Restartx.
 
Old 03-18-2002, 06:08 PM   #3
KayJay
Member
 
Registered: Mar 2002
Location: dev/null
Distribution: redhat, mandrake
Posts: 218

Rep: Reputation: 30
hmmm did u tried /usr/X11R6/bin/xf86config ???
because it looks like u didnt change any settings of your screensize.:
 
Old 03-18-2002, 06:16 PM   #4
glock19
Member
 
Registered: Aug 2001
Distribution: Debian Etch
Posts: 510

Original Poster
Rep: Reputation: 31
No I ran XFree86 -configure, it set things up automatically.

I tried to do xf86config, but I don't know how much memory I have on my video card, and some of the questions I didn't know the answer to, so I just did the XFree86 -configure instead, and now I'm trying to manually edit my XF86Config file to increase the resolution, color depth, and vertical refresh rate. But when I make changes, and restartx, the changes don't happen.
 
Old 03-18-2002, 06:42 PM   #5
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 59
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 16

SubSection "Display"
Depth 16
Modes "1024x768"
ViewPort 0 0
EndSubSection

That's probably what you should have in there (probably with a better default depth and higher mode than mine. Offhand does RH do that same silliness as Mandrake and the real XF86Config file has a -4 at the end of it?

Cheers,

Finegan
 
Old 03-18-2002, 06:48 PM   #6
glock19
Member
 
Registered: Aug 2001
Distribution: Debian Etch
Posts: 510

Original Poster
Rep: Reputation: 31
Weird, I added the lines to my monitor section:

HorizSync 31.5 - 82.0
VertRefresh 85

And it increased my resolution to 1024x768.
 
Old 03-18-2002, 09:31 PM   #7
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Quote:
Originally posted by finegan
--<snip>--
Offhand does RH do that same silliness as Mandrake and the real XF86Config file has a -4 at the end of it?

Cheers,

Finegan
I have a theory........I think they do the -4 because they include both 3.3.6 and 4.x.x rpm's, but they package all the config files in one rpm. 4x defaults to -4 when both are there.
 
Old 03-18-2002, 10:16 PM   #8
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 59
I'm certain that you're right, and the logic holds. I was just curious as to whether RedHat subscribes to the same flavor of logic. I guess the silliness I was referring to was the overabundance of diversification between the distros as time goes on, but really I'm a hipocrit in preferring Slackware, the farthest from the cabal of concensus.

Cheers

Finegan
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
root@localhost:~# xf86config -bash: xf86config: command not found klemen Slackware 17 01-06-2005 02:56 AM
where is the XF86config-4 or XF86config file in the fedora? u2911 Fedora 4 07-24-2004 08:38 PM
where can I find the XF86Config and XF86Config-4 files? souaw Mandriva 4 04-21-2004 09:30 AM
XF86Config compared to XF86Config-4 rberry88 Linux - Newbie 2 09-21-2003 10:29 AM
Diff btw XF86Config-4 and XF86Config BorgKing Linux - Newbie 1 06-12-2002 01:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:00 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration