разрешение экрана 640х480, help!
locken 8 марта, 2010 - 19:23
Здравствуйте уважаемые знатоки, у меня вот такая беда. Давно не собирал мир и тут сделал это. После перезагрузки разрешение стало 640х480 вместо 1024 на 768. xorg.conf не трогал.
xorg.conf:
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
# RgbPath "/usr/lib64/X11/rgb"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/75dpi/"
FontPath "/usr/share/fonts/alee-fonts/"
FontPath "/usr/share/fonts/corefonts/"
FontPath "/usr/share/fonts/cronyx/"
FontPath "/usr/share/fonts/cyrillic/"
FontPath "/usr/share/fonts/default/"
FontPath "/usr/share/fonts/encodings/"
FontPath "/usr/share/fonts/freefonts/"
FontPath "/usr/share/fonts/intlfonts/"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/OTF/"
FontPath "/usr/share/fonts/Speedo/"
FontPath "/usr/share/fonts/terminus/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/ttf-bitstream-vera/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/util/"
# FontPath "/usr/share/fonts/winfonts/"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
# Load "type1"
# Load "freetype"
Load "glx"
Load "dri"
EndSection
Section "InputDevice"
# generated from data in "/etc/conf.d/gpm"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "Auto" # Auto detect
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "AutoRepeat" "500 30"
Option "XkbOptions" "grp:alt_shift_toggle, grp_led:scroll"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us,ru(winkeys)"
Option "XkbVariant" "winkeys"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
# Option "ReducedBlanking"
EndSection
Section "Device"
Identifier "nvidia"
Driver "nvidia"
# Driver "nv"
VendorName "NVIDIA Corporation"
BoardName "GeForce 8600 GT"
EndSection
Section "Screen"
Identifier "Screen0"
Device "nvidia"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "0"
Option "TwinViewXineramaInfoOrder" "CRT-0"
Option "metamodes" "1024x768_85 +0+0; 1024x768 +0+0"
SubSection "Display"
# Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
Modes "1024x768"
Depth 24
EndSubSection
EndSection
Section "ServerFlags"
# Option "AllowEmptyInput" "True"
Option "BlankTime" "0"
Option "AIGLX" "on"
Option "AutoAddDevices" "False"
Option "AllowEmptyInput" "False"
EndSection
cat /var/log/Xorg.0.log: NightNord: http://www.gentoo.ru/content/mne-neobhodimo-vylozhit-bolshoy-kusok-loga-ili-konfiguracionnogo-fayla-kak-postupit
в общем вот, прошу помощи.
»
- Для комментирования войдите или зарегистрируйтесь

Аааафигительная куча букоф...
ее типа прочесть перед сном надо?
по теме:
nvidia-xconfig не спасает?
(**) Option "AIGLX" "on" <- вы определитесь, че у вас за видеокарта
Gentoo - Symphony of Creations
nvidia-xconfig не спас.
nvidia-xconfig не спас. Он создал новый xorg.conf и результат тот же. Те доп. опции тоже закоментил. Прямо заколдованный круг. Я недавно полностью откатился до стабильной ветки с ~amd64 дабы избежать этих трабл. и на те..
Уберите (закоментируйте)
Уберите (закоментируйте)
modeline и hal
Я эту проблему решил так:
Во-первых, запретил использование hal (ну не нравиться он мне :))), для этого в секцию serverlayout добавил опцию:
Во-вторых для установки режима использовал modeline, для того, что бы сгенерировать нужные моделайны, я пользовал gtf, например, мне нужен был режим 800X600 с частотой 75 Гц, делаем вот так:
Копируем строку, которая начинается с Modeline и вставляем в секцию "Monitor"
В-третьих, в секции "Screen" и ее подсекции Display вставляем в опцию Modes нужный режим из моделайна в моем случае "800x600_75.00", у меня это выглядит вот так:
Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" SubSection "Display" Viewport 0 0 Depth 24 Modes "800x600_75.00" EndSubSection EndSectionВроде все.
ВАЖНО: Следует правильно выбирать глубину цвета, допустим, при параметре "Depth" равном 32 (в моем понимении это определяется видеокартой), у меня тоже все работало неверно, поставил 24, все стало ОК.
На всякий случай вот мой xorg.conf:
Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" Option "AutoAddDevices" "off" EndSection Section "Files" ModulePath "/usr/lib/xorg/modules" FontPath "/usr/share/fonts/misc/" FontPath "/usr/share/fonts/TTF/" FontPath "/usr/share/fonts/OTF" FontPath "/usr/share/fonts/Type1/" FontPath "/usr/share/fonts/100dpi/" FontPath "/usr/share/fonts/75dpi/" EndSection Section "Module" Load "glx" Load "extmod" Load "record" Load "dri2" Load "dbe" Load "dri" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" Option "XkbLayout" "us,ru(winkeys)" Option "XkbOptions" "grp:alt_shift_toggle" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/input/mice" Option "ZAxisMapping" "4 5 6 7" EndSection Section "Monitor" Identifier "Monitor0" VendorName "ViewSonic" ModelName "G55" Modeline "800x600_75.00" 48.91 800 840 920 1040 600 601 604 627 -HSync +Vsync EndSection Section "Device" Identifier "Card0" Driver "openchrome" VendorName "VIA Technologies, Inc." BoardName "CN700/P4M800 Pro/P4M800 CE/VN800 [S3 UniChrome Pro]" BusID "PCI:1:0:0" EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" SubSection "Display" Viewport 0 0 Depth 24 Modes "800x600_75.00" EndSubSection EndSectionНадеюсь, данное решение Вам поможет.
http://clearkbdbuf.livejournal.com
Спасибо всем все
Спасибо всем все решил.
поменял
на
ну и моделайны поправил.