LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to Configure XFree86 (https://www.linuxquestions.org/questions/linux-software-2/how-to-configure-xfree86-47342/)

mervinoh 02-26-2003 10:59 PM

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.

rnturn 02-26-2003 11:08 PM

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''?

cuckoopint 02-26-2003 11:20 PM

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.)

mervinoh 02-26-2003 11:51 PM

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

cuckoopint 02-27-2003 08:56 PM

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?


All times are GMT -5. The time now is 08:55 PM.