Имя пользователя:
Пароль:  
Помощь | Регистрация | Забыли пароль?  | Правила  

Компьютерный форум OSzone.net » Linux и FreeBSD » Железо в Linux » Получить 1024x768@85 или траблы с XF86Config.

Ответить
Настройки темы
Получить 1024x768@85 или траблы с XF86Config.

Аватара для Guest

Guest



Профиль | Цитировать


У меня
монитор Dell P780 (держит 1024x768@100), видеокарта S3 Trio3D/2X 4Mb.
Red Hat 9, XFree-4.3.0;

И монитор в X-сах при различных разрешениях (1024x768, 800x600, 640x480) выдаёт только 60Hz refresh rate (видно это в BSOD меню монитора, да и мерцание заметно), хотя в Win2k и Win98SE спокойно пашут режимы 1024x768@85.

Прочитал, что это можно исправить с помощью, указания мод в XF86Config. Но что-то у меня ничего не получилось - XFree не видит их. Может кто, подскажет что не так.

Интересно, почему в /var/log/XF86Config.0.log пишется
(II) VESA(0): Not using mode "test" (no mode of this name) //(вроде она указана)
и
что значит строчка
(II) VESA(0): Attempting to use 85Hz refresh for mode "1024x768" (117)
Почему эта попытка проваливается, хотя ничего не сказано о провале (ведь монитор пашет в режиме 1024x768@60 см. выше).

Заранее благодарен.

P.S.
1) Я пробовал в Modeline и в Mode указывать имя "1024x768", но это также не помогло
2) Как узнать поддерживаемые Dot Clock моей видеокартой.
3) Кстати заметил любопытную строчку в /var/log/XFree86.0.log
(--) VESA(0): unexpected EDID version 255 revision 255
(Значит ли это, что XFree не может правитьно прочитать EDID моего моника. Прога Get-edid определяет его как V1.2, что хоть похоще на истину.)

Содержимое /etc/X11/XF86Config:
______________________________

# XFree86 4 configuration created by redhat-config-xfree86

Section "ServerLayout"
Identifier     "Default Layout"
Screen      0  "Screen0" 0 0
InputDevice    "Mouse0" "CorePointer"
InputDevice    "Keyboard0" "CoreKeyboard"
InputDevice    "DevInputMice" "AlwaysCore"
EndSection

Section "Files"

# RgbPath is the location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db".  There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
RgbPath      "/usr/X11R6/lib/X11/rgb"
FontPath     "unix/:7100"
EndSection

Section "Module"
Load  "dbe"
Load  "extmod"
Load  "fbdevhw"
Load  "glx"
Load  "record"
Load  "freetype"
Load  "type1"
Load  "dri"
EndSection

Section "InputDevice"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).  For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
# Or if you just want both to be control, use:
# Option "XkbOptions" "ctrl:nocaps"
#
Identifier  "Keyboard0"
Driver      "keyboard"
Option    "XkbRules" "xfree86"
Option    "XkbModel" "pc105"
Option    "XkbLayout" "us,ru"
Option    "XkbOptions" "grp:ctrl_shift_toggle,grp_led:scroll"
EndSection

Section "InputDevice"
Identifier  "Mouse0"
Driver      "mouse"
Option    "Protocol" "IMPS/2"
Option    "Device" "/dev/psaux"
Option    "ZAxisMapping" "4 5"
Option    "Emulate3Buttons" "no"
EndSection

Section "InputDevice"

# If the normal CorePointer mouse is not a USB mouse then
# this input device can be used in AlwaysCore mode to let you
# also use USB mice at the same time.
Identifier  "DevInputMice"
Driver      "mouse"
Option    "Protocol" "IMPS/2"
Option    "Device" "/dev/input/mice"
Option    "ZAxisMapping" "4 5"
Option    "Emulate3Buttons" "no"
EndSection

Section "Monitor"

# VendorName   "DELL"
Identifier   "Monitor0"
VendorName   "Monitor Vendor"
ModelName    "Dell P780"
DisplaySize  330 240
HorizSync    30.0 - 85.0
VertRefresh  48.0 - 120.0
Option    "dpms"
# ModeLine    "test1" 78.75 1024 1040 1136 1312 768 769 772 800
# ModeLine    "test2" 94.5 1024 1072 1168 1376 768 769 772 808
# Modes    "test1" "test2"
# EDID version 1 revision 2
Mode "test" # vfreq 75.029Hz, hfreq 60.023kHz
DotClock 78.750000
HTimings 1024 1040 1136 1312
VTimings 768 769 772 800
Flags "+HSync" "+VSync"
EndMode
EndSection

Section "Device"
Identifier  "Videocard0"
Driver      "vesa"
VendorName  "Videocard vendor"
BoardName   "S3 Trio3D/2X"
VideoRam    4096
EndSection

Section "Screen"
Identifier "Screen0"
Device     "Videocard0"
Monitor    "Monitor0"
DefaultDepth     16
SubSection "Display"
Depth     16
Modes    "1024x768" "test" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth     8
Modes    "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"
Group        0
Mode         0666
EndSection
______________________________



Если надо могу выслать /var/log/XFree86.0.log


Отправлено: 23:52, 02-08-2004

 
Zar Zar вне форума

Новый участник


Сообщения: 49
Благодарности: 0

Профиль | Отправить PM | Цитировать


Нужно прогой  videogen сгенерить моделайны. потом вписать их в /etc/X11/XF86config. потом прогой xvidtune поправить

-------
Slackware 9.1


Отправлено: 17:46, 03-08-2004 | #2



Для отключения данного рекламного блока вам необходимо зарегистрироваться или войти с учетной записью социальной сети.

Если же вы забыли свой пароль на форуме, то воспользуйтесь данной ссылкой для восстановления пароля.


Аватара для ruslandh

info man howto


Сообщения: 6958
Благодарности: 384

Профиль | Сайт | Отправить PM | Цитировать


По-моему у Вас неправильно прописан ModeLine, должно быть что-то типа :

ModeLine "1024x480"    78.00 1024 1032 1176 1344   480  488  494  563

-------
Поспешай не торопясь


Отправлено: 22:21, 03-08-2004 | #3

Crazy kettle


Сообщения: n/a

Профиль | Цитировать


[qoute=ruslandh] По-моему у Вас неправильно прописан ModeLine, должно быть что-то типа :
ModeLine "1024x480"    78.00 1024 1032 1176 1344   480  488  494  563
[/quote]

Так же получается разрешение 1024x480 (если я правильно понимаю).
Если насчёт "test" --> "1024x480". То такое пробовалось, но результата не дала (всё равно 1024x768@60).

Отправлено: 13:36, 04-08-2004 | #4

Zar Zar вне форума

Новый участник


Сообщения: 49
Благодарности: 0

Профиль | Отправить PM | Цитировать


А откуда взялись эти моделайны?, Может они и соответствуют 60 Герцам,

-------
Slackware 9.1


Отправлено: 18:54, 04-08-2004 | #5


Аватара для ruslandh

info man howto


Сообщения: 6958
Благодарности: 384

Профиль | Сайт | Отправить PM | Цитировать


Crazy kettle
Я говорю не о содержании строки ModeLine, а об её форме (синтаксисе).

-------
Поспешай не торопясь


Отправлено: 20:20, 04-08-2004 | #6


Новый участник


Сообщения: 9
Благодарности: 0

Профиль | Отправить PM | Цитировать


У меня таже проблема в Mandrake Linux 9.0

[root@localhost root]# umane -r
2.4.19-16mdk

прогой videogen (взял из Frenzy 0.3) сгенерил моделин, вот

содержание XF86Config-4
============================
# File generated by XFdrake.

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

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 "ServerFlags"
   #DontZap # disable <Crtl><Alt><BS> (server abort)
   #DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
   AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
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 "InputDevice"
   Identifier "Keyboard1"
   Driver "Keyboard"
   Option "XkbModel" "pc105"
   Option "XkbLayout" "ru(winkeys)"
   Option "XkbOptions" "grp:alt_shift_toggle"
EndSection

Section "InputDevice"
   Identifier "Mouse1"
   Driver "mouse"
   Option "Protocol" "ExplorerPS/2"
   Option "Device" "/dev/psaux"
   Option "ZAxisMapping" "6 7"
EndSection

Section "Monitor"
   Identifier "monitor1"
   VendorName "Generic"
   ModelName "1024x768 @ 70 Hz"
   HorizSync 31.5-68.0
   VertRefresh 50-120

   # 1024x768 @ 86 Hz, 68 kHz hsync
   ModeLine "1024x768"    86.50 1024 1056 1240 1272 768 770 806 808
   
   # Sony Vaio C1(X,XS,VE,VN)?
   # 1024x480 @ 85.6 Hz, 48 kHz hsync
   ModeLine "1024x768"    86.50 1024 1056 1240 1272 768 770 806 808
   
   # TV fullscreen mode or DVD fullscreen output.
   # 768x576 @ 79 Hz, 50 kHz hsync
   ModeLine "1024x768"    86.50 1024 1056 1240 1272 768 770 806 808
   
   # 768x576 @ 100 Hz, 61.6 kHz hsync
   ModeLine "1024x768"    86.50 1024 1056 1240 1272 768 770 806 808
EndSection

Section "Device"
   Identifier "device1"
   Driver "vesa"
   Option "DPMS"
EndSection

Section "Screen"
   Identifier "screen1"
   Device "device1"
   Monitor "monitor1"
   DefaultColorDepth 16
   
   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 "ServerLayout"
   Identifier "layout1"
   InputDevice "Keyboard1" "CoreKeyboard"
   InputDevice "Mouse1" "CorePointer"
   Screen "screen1"
EndSection

============================

видеокарта GF4Ti 4200 неопределяется (монитор Samsung SuncMaster 755DF, такого нет в списке я другой самый близкий выбрал... 750 помоему), во всякие "TV fullscreen..." моделины я поставил, раньше другие были

делаю рестарт ctrl+alt+backspace  и никаких изменений в чистоте развертки

Подскажите что делать


Отправлено: 21:44, 05-08-2004 | #7


Аватара для ruslandh

info man howto


Сообщения: 6958
Благодарности: 384

Профиль | Сайт | Отправить PM | Цитировать


Попробуйте с помощью xvidtune сформировать нужный моделине

-------
Поспешай не торопясь


Отправлено: 23:06, 05-08-2004 | #8

Crazy kettle


Сообщения: n/a

Профиль | Цитировать


Решилась проблема довольно просто в /etc/X11/XF86Config
в Section "Device" заменой
Driver "vesa" --> Driver "s3virge"

Спасибо всем за ответы и поддержку.

Отправлено: 20:36, 07-08-2004 | #9


Старожил


Сообщения: 345
Благодарности: 0

Профиль | Отправить PM | Цитировать


Crazy kettle

Тока хотел запостить... vesa не держит более 60 или 70 герц. точно не помню.

А modline можно еще генирировать с помощью gtf

-------
Лучше молчать и казаться идиотом, чем заговорить и развеять сомнения...


Отправлено: 07:39, 10-08-2004 | #10



Компьютерный форум OSzone.net » Linux и FreeBSD » Железо в Linux » Получить 1024x768@85 или траблы с XF86Config.

Участник сейчас на форуме Участник сейчас на форуме Участник вне форума Участник вне форума Автор темы Автор темы Шапка темы Сообщение прикреплено

Похожие темы
Название темы Автор Информация о форуме Ответов Последнее сообщение
Доступ - Восстановить XP или получить доступ к папке Haskel Microsoft Windows 2000/XP 1 06-06-2009 19:20
Не ставятся разрешения монитора 1024x768! Halloween Непонятные проблемы с Железом 5 18-02-2008 21:58
Не удалось получить доступ или установить принадлежность процесса? GifuN Microsoft Windows NT/2000/2003 0 14-01-2008 14:03
[решено] "Ntldr is missing" или траблы в установке Win2k Compozitron Microsoft Windows NT/2000/2003 4 11-09-2006 10:37
XF86Config-4 DenDim Железо в Linux 24 07-06-2004 23:58




 
Переход