LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-26-2003, 11:59 PM   #1
mervinoh
LQ Newbie
 
Registered: Jan 2003
Distribution: Mandrake v9
Posts: 5

Rep: Reputation: 0
How to Configure XFree86


My display is off to the right, how do I configure XFree86 to correct that?

How do I decode the settings in XF86Config-4, especially the modes and resolution.
 
Old 02-27-2003, 12:08 AM   #2
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (Chicago area)
Distribution: Red Hat (8.0, RHEL5,6), CentOS, SuSE (10.x, 11.x, 12.2, 13.2), Solaris (8-10), Tru64, MacOS, Raspian
Posts: 1,113

Rep: Reputation: 65
Re: How to Configure XFree86

Quote:
Originally posted by mervinoh
My display is off to the right, how do I configure XFree86 to correct that?
Is it way off to the right or only a little bit? If it's only a little off-center, you can easily correct this with the monitor controls (well, usually). If the horizontal display is way out of whack, then you might need to tweak your XFree86 config file.

Did Mandrake and/or X correctly find you video adapter type and monitor type? Or did you have to select something ``close''?
 
Old 02-27-2003, 12:20 AM   #3
cuckoopint
Member
 
Registered: Feb 2003
Distribution: Debian
Posts: 797

Rep: Reputation: 30
also, you may want to check if you have a program called "xvidtune" which may be what you are looking for.

\edit
note that on my Debian setup this program can be found either at:
/usr/X11R6/bin/xvidtune or /usr/bin/X11/xvidtune
(vs. /usr/bin, etc.)

Last edited by cuckoopint; 02-27-2003 at 12:35 AM.
 
Old 02-27-2003, 12:51 AM   #4
mervinoh
LQ Newbie
 
Registered: Jan 2003
Distribution: Mandrake v9
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks guys!

I believe the settings are right for adapter and monitor. I use xf86cfg to select the right settings, XF86Config-4 is as below. I also have a different set of settings in XF86Config??
Which is X using?
Can I choose refresh rates.

I use xvidtune to center the display, should work well.

# File generated by XFdrake.
# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************

Section "ServerLayout"
Identifier "layout1"
Screen "screen1" 0 0
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
EndSection

Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:-1"
EndSection

Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "glx" # 3D layer
EndSection

Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
# allows the server to start up even if the mouse doesn't work
Option "allowmouseopenfail"
EndSection

Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "XkbModel" "itouch"
Option "XkbLayout" "us"
Option "XkbRules" "xfree86"
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "Microsoft"
Option "Device" "/dev/usbmouse"
Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
# Sony Vaio C1(X,XS,VE,VN)?
# 1024x480 @ 85.6 Hz, 48 kHz hsync
Identifier "monitor1"
VendorName "Plug'n Play"
ModelName "Dell E151FP"
HorizSync 31.0 - 60.0
VertRefresh 56.0 - 75.0
ModeLine "1024x480" 65.0 1024 1032 1176 1344 480 488 494 563 -hsync -vsync
ModeLine "768x576" 50.0 768 832 846 1000 576 590 595 630
ModeLine "768x576" 63.1 768 800 960 1024 576 578 590 616
EndSection

Section "Device"
Identifier "device1"
Driver "nv"
VendorName "nVidia Corporation"
BoardName "NVIDIA GeForce2 DDR (generic)"
ChipSet "GeForce DDR"
Option "DPMS"
EndSection

Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultDepth 24
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"
Group 0
EndSection
 
Old 02-27-2003, 09:56 PM   #5
cuckoopint
Member
 
Registered: Feb 2003
Distribution: Debian
Posts: 797

Rep: Reputation: 30
Quote:
I use xvidtune to center the display, should work well.
to make it permanent:
set it up correctly, and press "show" (this should be run from an xterm or the like). now a line like "1024x768" # # ..... is shown on the terminal.
add this line to your XF86Config-4 (XF86Config is used for XFree 3.3.x and older)

under "Monitor"
ModeLine "1024x768"....

Quote:
Can I choose refresh rates
...from your file:

Code:
Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultDepth 24
....
 Depth 24
Modes "1024x768" "800x600" "640x480"
the largest possible (ie. hardware/vid card capable) resolution is started w/ default depth (again if possible)

did I misunderstand the question?
 
  


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
what is the command for configure Xfree86 nazib Linux - Software 3 12-01-2004 04:13 AM
Cannot ./configure...problem with XFree86 PsychoBadBoy Linux - Software 8 09-21-2004 08:56 AM
Configure XFdrake to use XFree86 4.4 goodgod75 Linux - Laptop and Netbook 0 05-04-2004 10:40 AM
Help configuring XFree86 on YDL 2.3 (black screen & failed XFree86 -configure) EnVoy Linux - General 1 11-24-2003 05:32 PM
Your experience with 'XFree86 -configure' ? soda Linux - General 2 12-30-2002 01:25 PM


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