LinuxForum.Fans
Тема

[Решено] Catalyst 10.4 игнорирует настройки ModeLine

Автор: kofeman 7 сообщений 6270 просмотров
#39142

ModeLine'ы настроены верно, потому что открытый драйвер для radeon всё настраивает правильно. Стоит archlinux, xorg-server 1.7.6. Рукодельные modelin'ы мне нужны чтоб повысить частоту развёртки на ЭЛТ. Помогите, пожалуйста, кто проблему такую встречал!

#39152

А вы создавали новый xorg.conf с помощью aticonfig?

Пётр.

#39415

Секцию Device да.

text

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    Option        "DontZap" "false"
    Option        "AllowMouseOpenFail" "true"
    Option        "AllowEmptyInput" "false"
EndSection

Section "Files" ModulePath "/usr/lib/xorg/modules" FontPath "/usr/share/fonts/misc" FontPath "/usr/share/fonts/100dpi:unscaled" FontPath "/usr/share/fonts/75dpi:unscaled" FontPath "/usr/share/fonts/TTF" FontPath "/usr/share/fonts/Type1" EndSection

Section "Module" Load "dri" Load "record" Load "glx" Load "dbe" Load "dri2" Load "extmod" Load "xtrap" Load "GLcore" Load "freetype" EndSection

Section "Monitor" Identifier "Monitor0" VendorName "SAM" ModelName "S/M 755DF" DisplaySize 320 240 HorizSync 30.0 - 85.0 VertRefresh 50.0 - 160.0 ModeLine "1152x864x85" 119.65 1152 1224 1352 1552 864 865 868 907 -hsync +vsync ModeLine "1024x768x100" 113.31 1024 1096 1208 1392 768 769 772 814 -hsync +vsync Option "DPMS" EndSection

Section "Device" Identifier "Card0" Driver "fglrx" BusID "PCI:1:5:0" EndSection

Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" DefaultDepth 24 SubSection "Display" Viewport 0 0 Depth 24 Modes "1152x864x85" "1280x1024" "1024x768x100" EndSubSection EndSection

#39490

У вас там в секции Screen есть режим, для которого нет ModeLine,
но я думаю, что в секции Device ещё чего-то не хватает.
Вот какой командой я получал xorg.conf для своей видеокарты:

text
aticonfig --initial -i /etc/X11/xorg3.conf -o /etc/X11/xorg.conf --tvf PAL-SECAM-D \
--ovon=0 --vs=on --force-monitor=crt1

Пётр.

#41482

Этот мод (1280x1024), должен автоматически создаваться. Но интерес представляют только 1-й и последний моды.
Вот причина:

text
...
(II) fglrx(0): Output DFP2 using monitor section Monitor0        <-- Вот тут собака зарыта )
(II) fglrx(0): Output CRT1 has no monitor section
(II) fglrx(0): Output DFP2 disconnected
(II) fglrx(0): Output CRT1 connected
(II) fglrx(0): Using exact sizes for initial modes
...

Я предполагал секцию Monitor0 для CRT1, а "цепляется" она к DFP2 (это, походу, DVI).
Отсюда вопрос: как прописать в секции Монитор0, что она должна цеплятся именно к VGA, а не к другим выхлопам карточки???

#41663

Я даже и слов таких не понимаю.
Во-первых, попробуйте создать xorg.conf с помощью aticonfig
с указанием всех необходимых опций,
во-вторых, вот мой xorg.conf:

text
# Xorg configuration created by system-config-display

Section "ServerLayout" Identifier "single head configuration" Screen 0 "aticonfig-Screen[0]-0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection

Section "Files"

# FontPath "unix/:7100" ModulePath "/usr/lib/xorg/modules" EndSection

Section "ServerFlags"

# Option "AllowEmptyInput" "no" # Option "AllowNonLocalModInDev" "on" # Option "AllowMouseOpenFail" "no" # Option "AIGLX" "on" Option "XkbDisable" "no" Option "AIGLX" "on" EndSection

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

Section "InputDevice" Identifier "Keyboard0" Driver "kbd" Option "Xleds" "1 2 3" Option "LeftAlt" "Meta" Option "RightAlt" "ModeShift" Option "RightCtl" "Control" Option "XkbModel" "pc104" Option "XkbLayout" "us,ru" Option "XkbOptions" "grp:shifts_toggle,grp_led:scroll" # Option "1" "on" EndSection

Section "Monitor" Identifier "aticonfig-Monitor[0]-0" DisplaySize 280 210 ModeLine "1024x768" 80.0 1024 1048 1152 1328 768 769 779 803 Option "VendorName" "ATI Proprietary Driver" Option "ModelName" "Generic Autodetecting Monitor" Option "DPMS" "true" EndSection

Section "Device" Identifier "aticonfig-Device[0]-0" Driver "fglrx" Option "TVFormat" "PAL-SECAM-D" Option "OverlayOnCRTC2" "0" Option "Capabilities" "0x00000800" Option "ForceMonitors" "crt1" BusID "PCI:7:0:0" EndSection

Section "Screen" Identifier "aticonfig-Screen[0]-0" Device "aticonfig-Device[0]-0" Monitor "aticonfig-Monitor[0]-0" DefaultDepth 24 SubSection "Display" Viewport 0 0 Depth 24 EndSubSection EndSection

Section "DRI" Mode 0666 EndSection

Section "Extensions" Option "Composite" "Enable" EndSection

В-третьих, я бы убрал неиспользуемую Mode.

Пётр.

#41907

Попробовал твои рекомендации, повертел во всех комбинациях - увы, не помогло. Но проблема разрешена! Взяли, что называется, измором )
Нашёл в man-странице xorg.conf опцию, которая позволяет привязать секцию Monitor к определённому выходу в видеокартах с несколькими выходами (у меня два выхода: один VGA, второй можно выбрать либо HDMI, либо DVI):

text
...
With RandR 1.2-enabled drivers, monitor sections may be tied to specific outputs of the video card. Using the name of the output defined by the video driver plus the identifier of a monitor section, one associates a monitor section with an output by adding an option to the Device section in the following format: 
Option "Monitor-outputname" "monitorsection" 
 (for example, Option "Monitor-VGA" "VGA monitor" for a VGA output) 
...

То что нужно, ведь у меня проблема в том что секция Monitor0 трактуется иксами как описание монитора на DVI (которого там нет) и нужно чтоб оно трактовалось как описание монитора на VGA выхлопе. Частично сработало. Стали доступны требуемые режимы, но иксы напрочь отказывались устанавливать режим указанный мной по-умолчанию. Плюс ещё ошибки непонятные в логе обнаруживались - "ошибка модлайна" или чтото вроде этого.
Дальше из области вуду, поэтому привожу конечный xorg.conf - изменения не поддаются логике %)

text

Section "ServerLayout"
    Identifier    "kfmn_vudu_xorg_conf"
    Screen    0  "Screen0" 0 0
    Option    "DontZap" "false"
    Option    "AllowMouseOpenFail" "true"
    Option    "AllowEmptyInput" "false"
EndSection

Section "Files" ModulePath "/usr/lib/xorg/modules" FontPath "/usr/share/fonts/misc" FontPath "/usr/share/fonts/100dpi:unscaled" FontPath "/usr/share/fonts/75dpi:unscaled" FontPath "/usr/share/fonts/TTF" FontPath "/usr/share/fonts/Type1" EndSection

Section "Module" Load "freetype" EndSection

Section "Monitor" Identifier "Monitor0" VendorName "SAM" ModelName "S/M 755DF" HorizSync 30.0 - 85.0 VertRefresh 50.0 - 160.0 ModeLine "1152x864" 119.0 1152 1224 1352 1552 864 865 868 907 -hsync +vsync ModeLine "1024x768" 113.0 1024 1096 1208 1392 768 769 772 814 -hsync +vsync Option "PreferredMode" "1152x864" Option "DPMS" "true" EndSection

Section "Device" Identifier "Device0" Driver "fglrx" Option "Monitor-CRT1" "Monitor0" BusID "PCI:1:5:0" EndSection

Section "Screen" Identifier "Screen0" Device "Device0" DefaultDepth 24 SubSection "Display" Viewport 0 0 Depth 24 Modes "1152x864" "1280x1024" "1024x768" EndSubSection EndSection

Спасибо, Peter, что не оставил меня одного с проблемой воевать!

Войдите или зарегистрируйтесь, чтобы ответить.