Получить 1024x768@85 или траблы с XF86Config.

Ответить
Аватара пользователя
Гость

Получить 1024x768@85 или траблы с XF86Config.

Сообщение Гость »

У меня

монитор 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&quotИзображение.  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
Аватара пользователя
Zar

Re: Получить 1024x768@85 или траблы с XF86Config.

Сообщение Zar »

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

Re: Получить 1024x768@85 или траблы с XF86Config.

Сообщение ruslandh »

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



ModeLine "1024x480"    78.00 1024 1032 1176 1344   480  488  494  563
Аватара пользователя
Zar

Re: Получить 1024x768@85 или траблы с XF86Config.

Сообщение Zar »

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

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

[/quote]



Так же получается разрешение 1024x480 (если я правильно понимаю).

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

Re: Получить 1024x768@85 или траблы с XF86Config.

Сообщение Zar »

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

Re: Получить 1024x768@85 или траблы с XF86Config.

Сообщение ruslandh »

Crazy kettle

Я говорю не о содержании строки ModeLine, а об её форме (синтаксисе).
Аватара пользователя
dIgItAL

Re: Получить 1024x768@85 или траблы с XF86Config.

Сообщение dIgItAL »

У меня таже проблема в 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 (server abort)

   #DontZoom # disable / (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  и никаких изменений в чистоте развертки



Подскажите что делать
Аватара пользователя
ruslandh

Re: Получить 1024x768@85 или траблы с XF86Config.

Сообщение ruslandh »

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

Re: Получить 1024x768@85 или траблы с XF86Config.

Сообщение Zur0 »

Решилась проблема довольно просто в /etc/X11/XF86Config

в Section "Device" заменой

Driver "vesa" --> Driver "s3virge"



Спасибо всем за ответы и поддержку.
Аватара пользователя
Zur0

Re: Получить 1024x768@85 или траблы с XF86Config.

Сообщение Zur0 »

Crazy kettle



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



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

Вернуться в «Железо в Linux»