Solved: xorg и Широкоформатный монитор
SMiX 27 июня, 2009 - 04:33
Вот уже неделя, как я переехал с ubuntu. Всё отлично, не справился только с одной проблемой:
xorg ни в какую не хочет видеть разрешение 1600x1050 для моего широкоформатного монитора.
nvidia-drivers установлены, разрешение это установлено в xorg.conf, а всё равно выставляется 1400x1050 и в nvidia-settings, и в гномовской настройке экрана.
xorg-x11 и xorg-server переставлял, world пересобирал, emerge nvidia-drivers делал.
localhost / # cat /etc/modules.autoload.d/kernel-2.6
nvidia
snd-als300
smix / $ cat /etc/X11/xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder62) Wed May 27 01:58:49 PDT 2009
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 1.0 (root@localhost) Вск Июн 14 20:27:23 Local time zone must be set--see zic manual page 2009
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# Note that some configuration settings that could be done previously
# in this file, now are automatically configured by the server and settings
# here are ignored.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
#Section "InputDevice"
# # generated from default
# Identifier "Keyboard0"
# Driver "kbd"
#EndSection
#Section "InputDevice"
# # generated from default
# Identifier "Mouse0"
# Driver "mouse"
# Option "Protocol" "auto"
# Option "Device" "/dev/psaux"
# Option "Emulate3Buttons" "no"
# Option "ZAxisMapping" "4 5"
#EndSection
#Section "InputDevice"
# # generated from default
# Identifier "Keyboard0"
# Driver "kbd"
#EndSection
#Section "InputDevice"
# # generated from data in "/etc/conf.d/gpm"
# Identifier "Mouse0"
# Driver "mouse"
# Option "Protocol"
# Option "Device" "/dev/input/mice"
# Option "Emulate3Buttons" "no"
# Option "ZAxisMapping" "4 5"
#EndSection
#Section "Monitor"
# Identifier "Configured Monitor"
#EndSection
#Section "Device"
# #Option "NoLogo" "True"
# Identifier "Configured Video Device"
# Driver "nvidia"
#EndSection
#Section "Screen"
# Identifier "Default Screen"
# Device "Device0"
# Monitor "Monitor0"
# DefaultDepth 24
#EndSection
Section "ServerLayout"
#InputDevice "Mouse0" "CorePointer"
#InputDevice "Mouse0" "CorePointer"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "AllowEmptyInput" "True"
#Option "AutoAddDevices" "False"
EndSection
Section "Module"
Load "glx"
EndSection
Section "ServerFlags"
Option "Xinerama" "0"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "keyboard"
EndSection
Section "InputDevice"
# generated from data in "/etc/conf.d/gpm"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Samsung SyncMaster"
HorizSync 30.0 - 81.0
VertRefresh 56.0 - 75.0
ModeLine "1680x1050" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 +hsync -vsync
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 9800 GT"
EndSection
Section "Screen"
# Removed Option "metamodes" "1680x1050 +0+0"
# Removed Option "metamodes" "1400x1050 +0+0"
# Removed Option "metamodes" "1280x1024 +0+0"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "1600x1050 +0+0; 1400x1050 +0+0; 1280x1024 +0+0"
Option "RenderAccel" "true" # nvidia
Option "backingstore" "true" # nvidia and Ati
SubSection "Display"
Depth 24
Modes "1600x1050"
EndSubSection
EndSection
Section "Extensions"
Option "Composite" "true"
EndSection
smix / $ emerge --info
Portage 2.2_rc33 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.10.1-r0, 2.6.29-gentoo-r5 x86_64)
=================================================================
System uname:
Timestamp of tree: Fri, 26 Jun 2009 20:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash: 4.0_p24
dev-java/java-config: 2.1.8-r1
dev-lang/python: 2.6.2-r1
dev-util/ccache: 2.4-r8
dev-util/cmake: 2.6.4
sys-apps/baselayout: 2.0.1
sys-apps/openrc: 0.4.3-r5
sys-apps/sandbox: 2.0
sys-devel/autoconf: 2.13, 2.63-r1
sys-devel/automake: 1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils: 2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 2.2.6a
virtual/os-headers: 2.6.29
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.yandex.ru/gentoo-distfiles"
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1"
LINGUAS="ru"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/desktop-effects /usr/local/portage/layman/sabayon /usr/portage/local"
SYNC="rsync://mirror.yandex.ru/gentoo-portage"
USE="X acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gdbm gif glitz gnome gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg ldap libnotify mad midi mikmod mmx mng mp3 mpeg mudflap multilib mysql ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis xcb xml xorg xulrunner xv zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse vmmouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" USERLAND="GNU" VIDEO_CARDS="nvidia fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
»
- Для комментирования войдите или зарегистрируйтесь

- - -
Удалите xorg.conf и выполните
# nvidia-xconfig --composite --add-argb-glx-visuals
это создаст правильный xorg.conf, а необходимое разрешение драйвер будет получать автоматически чере ddc.
Потом перенестие "InputDevice" (или настройте через HAL)
Сделал как вы сказали, всё
Сделал как вы сказали, всё равно nvidia-settings не видит нужного расширения :(
Может, из убунты что-то перенести? Она видела. Мой xorg.conf - практически весь из неё.
Сейчас залез в убунту - нужно
Сейчас залез в убунту - нужно разрешение 1680x1050
Видит кстати ещё и 1920x1200
Видит кстати ещё и 1920x1200
modeline пропиши
modeline пропиши
modeline прописан в секции
modeline прописан в секции monitor
Вот кусок моего xorg.conf
Вот кусок моего xorg.conf
Section "Monitor"
Identifier "Monitor"
VendorName "NEC"
ModelName "LCD2070WNX"
HorizSync 31.5 - 155.0
VertRefresh 60.0 - 85.0
ModeLine "1680x1050_60" 147.14 1680 1784 1968 2256 1050 1051 1054 1087 +hsync +vsync
Option "DPMS" "on"
Option "UseEDID" "true"
EndSection
Section "Device"
Option "PixmapCacheSize" "1000000"
Option "AllowSHMPixmaps" "0"
Identifier "GeForce 8800 GT"
Driver "nvidia"
BoardName "ASUS GeForce 8800 GT"
Screen 0
EndSection
Section "Screen"
Identifier "Monitor"
Device "GeForce 8800 GT"
Monitor "Monitor"
DefaultDepth 24
Option "UseEDID" "true"
Option "MetaModes" "1680x1050"
Option "ModeValidation" "NoMaxPClkCheck"
Option "AllowSHMPixmaps" "0"
Option "NvAGP" "3"
Option "NoLogo" "on"
Option "RenderAccel" "true"
Option "AllowGLXWithComposite" "true"
SubSection "Display"
Depth 4
Modes "1680x1050" "1280x800" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1680x1050" "1280x800" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1680x1050" "1280x800" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1680x1050" "1280x800" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1680x1050" "1280x800" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 32
Modes "1680x1050" "1280x800" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Хм. А что это за режим --
Хм. А что это за режим -- 1600x1050? Бывает, вроде бы, 1400x1050 и 1680x1050. Гляньте в /var/log/Xorg.0.log, что ли, на предмет не опечатка ли.
:}
Да, я ошибся. Вот кусок
Да, я ошибся.
Вот кусок Xorg.0.log:
Теперь файл xorg.conf такой:
# nvidia-settings: X configuration file generated by nvidia-settings # nvidia-settings: version 1.0 (root@localhost) Вск Июн 14 20:27:23 Local time zone must be set--see zic manual page 2009 # nvidia-xconfig: X configuration file generated by nvidia-xconfig # nvidia-xconfig: version 1.0 (buildmeister@builder62) Wed May 27 01:58:49 PDT 2009 Section "ServerLayout" Identifier "Layout0" Screen 0 "Screen0" 0 0 InputDevice "Keyboard0" "CoreKeyboard" InputDevice "Mouse0" "CorePointer" EndSection Section "Files" EndSection Section "ServerFlags" Option "Xinerama" "0" EndSection Section "InputDevice" # generated from data in "/etc/conf.d/gpm" Identifier "Mouse0" Driver "mouse" Option "Protocol" Option "Device" "/dev/input/mice" Option "Emulate3Buttons" "no" Option "ZAxisMapping" "4 5" EndSection Section "InputDevice" # generated from default Identifier "Keyboard0" Driver "kbd" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Unknown" ModelName "Samsung SyncMaster" HorizSync 30.0 - 81.0 VertRefresh 56.0 - 75.0 ModeLine "1680x1050" 181.96 1680 1752 2112 2256 1050 1052 1064 1090 ModeLine "1680x1050" 147.54 1680 1752 2112 2256 1050 1052 1064 1090 ModeLine "1680x1050" 135.24 1680 1752 2112 2256 1050 1052 1064 1090 Option "DPMS" EndSection Section "Device" Identifier "Device0" Driver "nvidia" VendorName "NVIDIA Corporation" BoardName "GeForce 9800 GT" EndSection Section "Screen" # Removed Option "metamodes" "1680x1050 +0+0" Identifier "Screen0" Device "Device0" Monitor "Monitor0" DefaultDepth 24 Option "AddARGBGLXVisuals" "True" Option "TwinView" "0" Option "metamodes" "1680x1050 +0+0" SubSection "Display" Depth 24 EndSubSection EndSection Section "Extensions" Option "Composite" "Enable" EndSectionИ какой результат? Кстати, в
И какой результат?
Кстати, в секции Screen в подсекции Display вижу только Depth, а бывшего там параметра Modes -- нет. Может, стоит его вернуть?
:}
Проблема решена добавлением в
Проблема решена добавлением в секцию Screen опции
Option "UseEDID" "FALSE"
И modeline'а, сгенерированного командой
gtf 1680 1050 60
Остаётся вопрос, каким таким волшебным образом в убунте это работает со стандартным xorg.conf.
SMiX, у меня тоже SyncMaster.
SMiX, у меня тоже SyncMaster. У него 1680х1050 - дефолтное разрешение, поэтому никаких ModeLine и Modes в конфиге иксов у меня вобще нету ( и не надо )
Можете выложить свой
Можете выложить свой xorg.conf?
XRandr
а чем xrandr не устраивает?
У меня NEC 24WMGX. Стандартное разрешение 1920х1200. Один раз xrandr'ом вытсавил разрешение и уже год без пролем юзаю... Есть графический интерфейс для KDE... попробуйте ;-)