[mdk-re] XFConfig-4
Vadim V. Zhytnikov
=?iso-8859-1?q?vvzhy_=CE=C1_mail=2Eru?=
Ср Авг 22 15:49:11 MSD 2001
Vladimir Karpinsky wrote:
> Здравствуйте,
>
> Я тут уже писал об этом, куда-то тема ускользнула, попробую
> повториться. Имеется ноутбук, соответственно с ТФТ монитором,
> видеокарта --- C&T45555, 4МБ видемозгов. В МДК 6.1 родном все работало
> и путем нехитрой правки моделайнов и конфиге удалось настроить штатное
> 1024х768 на 24 бит цвета. После установки "Весны" по умолчанию встали
> Х 4.0.3, для которых настроить более 8 бит цветности я не смог.
> Пытался пользоваться kvideogen, вставлял генерируемую ею строку в
> XFConfig-4, но Х ее напрочь игнорирует. Спрашивается:
>
> 1. Изменился ли формат представления моделайнов в конфиге? Если нет,
> то почему не принимается старая строка, если да, то как это должно
> быть прописано сейчас?
>
Сам формат ModeLine не изменился. Может поможет мой XF86Config-4
в роли примера. Обратите на UseModes в секции Monitor и сами моды
в конце файла.
--
[ Vadim V. Zhytnikov <vvzhy на mail.ru> <vvzhy на td.lpi.ac.ru> ]
----------- следующая часть -----------
# File generated by XFdrake.
# **********************************************************************
# Refer to the XF86Config(4/5) man page for details about the format of
# this file.
# **********************************************************************
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
# 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
# **********************************************************************
# Server flags section.
# **********************************************************************
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
# **********************************************************************
# Input devices
# **********************************************************************
# **********************************************************************
# Keyboard section
# **********************************************************************
Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "AutoRepeat" "250 30"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "ru"
Option "XkbVariant" "winkeys"
Option "XkbOptions" "grp:ctrl_shift_toggle"
EndSection
# **********************************************************************
# Pointer section
# **********************************************************************
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "MouseManPlusPS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
# Option "BaudRate" "1200"
Option "Resolution" "800"
# Option "Emulate3Buttons"
# Option "Emulate3Timeout" "50"
# ChordMiddle is an option for some 3-button Logitech mice
# Option "ChordMiddle"
EndSection
Section "Module"
# This loads the DBE extension module.
Load "dbe"
Load "glx"
Load "dri"
# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
SubSection "extmod"
#Option "omit xfree86-dga"
EndSubSection
# This loads the Type1 and FreeType font modules
Load "type1"
Load "freetype"
EndSection
Section "DRI"
Mode 0666
EndSection
# **********************************************************************
# Monitor section
# **********************************************************************
# Any number of monitor sections may be present
Section "Monitor"
Identifier "Iiyama|Iiyama MT-9017E/T, VisionMaster Pro"
VendorName "Iiyama"
ModelName "Unknown"
# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.
HorizSync 27-92
# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.
VertRefresh 50-160
UseModes "ati_radeon_iiyama"
EndSection
# **********************************************************************
# Graphics device section
# **********************************************************************
Section "Device"
Identifier "Generic VGA"
Driver "vga"
EndSection
Section "Device"
Identifier "ATI Radeon (generic)"
VendorName "Unknown"
BoardName "Unknown"
Driver "radeon"
# VideoRam 32768
# Clock lines
# Uncomment following option if you see a big white block
# instead of the cursor!
# Option "sw_cursor"
Option "DPMS"
EndSection
# **********************************************************************
# Screen sections
# **********************************************************************
Section "Screen"
Identifier "screen1"
Device "ATI Radeon (generic)"
Monitor "Iiyama|Iiyama MT-9017E/T, VisionMaster Pro"
DefaultColorDepth 24
Subsection "Display"
Depth 8
Modes "1024x768" "800x600" "640x400"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "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
Section "Modes"
Identifier "ati_radeon_iiyama"
# ATI Radeon with Iiyama Vision Master Pro 17 MT-9017
# 640x480-120-160Hz 800x600-120Hz 1024x768-100Hz
ModeLine "640x480" 52.425 640 684 748 848 480 481 484 515 -hsync +vsync
# ModeLine "640x480" 72.90 640 684 762 864 480 481 484 527 -hsync +vsync
ModeLine "800x600" 84.04 800 860 948 1088 600 601 604 643 -hsync +vsync
ModeLine "1024x768" 112.80 1024 1101 1213 1392 768 768 771 810 -hsync +vsync
EndSection
Подробная информация о списке рассылки community