Монитор работает неправильно (LG W1934S 16:10 (широкоформатный), система Debian Lenny)

nVidia, ATI, SIS, VIA и др.

Модератор: Модераторы разделов

haku
Сообщения: 40
ОС: Debian GNU/Linux

Монитор работает неправильно

Сообщение haku »

Такая вот ситуация:есть монитор LG W1934S 16:10 (широкоформатный), система Debian Lenny, стоят проприетарные драйвера Nvidia.
X-ы запускаються без вопросов, НО некоторые игры при запуске заставляют монитор показывать некорректную частоту. хотя сама игра работает т.е. есть звук и т.д. а монитор гаснет и пишет что неправильная частота. Большая часть игр запускается без вопросов.например Doom3 ,Quake4demo пошли, а Teeworlds, Robin Hood, ppracer-нет.причем не работают игры в режиме fullscreen.
САМОЕ интересное: подключаю другой монитор Samsung SyncMaster 793df 4:3 (стандартный) - и все работает!
Подскажите в чем может быть причина в драйверах или может в прошивке самого монитора или из-за его "широкоформатности"?.Пробовал править xorg.conf на предмет разных разрешений и глубины цвета - результата не дало.
Привожу файл xorg.conf

Код: Выделить всё

# 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.
#
# 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"
    Identifier    "Generic Keyboard"
    Driver        "kbd"
    Option        "XkbRules"    "xorg"
    Option        "XkbModel"    "pc105"
    Option        "XkbLayout"    "us,ru"
    Option        "XkbVariant"    ","
    Option        "XkbOptions"    "grp:alt_shift_toggle,lv3:ralt_switch,grp_led:scroll"
EndSection

Section "InputDevice"
    Identifier    "Configured Mouse"
    Driver        "mouse"
EndSection

Section "Device"
    Identifier    "Configured Video Device"
        Driver          "nvidia"
EndSection

Section "Monitor"
    Identifier    "Configured Monitor"
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Monitor         "Configured Monitor"
        Device          "Configured Video Device"
        DefaultDepth    24
EndSection

Section "Module"
        Load    "glx"
EndSection
Спасибо сказали:
haku
Сообщения: 40
ОС: Debian GNU/Linux

Re: Монитор работает неправильно

Сообщение haku »

....убил иксы: 'sudo /etc/init.d/gdm stop'
и создал новый xorg.conf: 'sudo Xorg -configure'
и Robin Hood запустился зато теперь Warzone2100 пишет :
error : [screenInitialise] Error: SDL_SetVideoMode failed (Couldn't find matching GLX visual)
значит наверное в иксах проблема
Кто-нибудь знает?????
вот новый xorg.conf :

Код: Выделить всё

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    RgbPath      "/etc/X11/rgb"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/X11/misc"
    FontPath     "/usr/share/fonts/X11/cyrillic"
    FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
    FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
    FontPath     "/usr/share/fonts/X11/Type1"
    FontPath     "/usr/share/fonts/X11/100dpi"
    FontPath     "/usr/share/fonts/X11/75dpi"
    FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
    Load  "record"
    Load  "glx"
    Load  "dri"
    Load  "dbe"
    Load  "extmod"
    Load  "xtrap"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
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   "Monitor Vendor"
    ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "SWcursor"               # [<bool>]
        #Option     "HWcursor"               # [<bool>]
        #Option     "NoAccel"                # [<bool>]
        #Option     "ShadowFB"               # [<bool>]
        #Option     "UseFBDev"               # [<bool>]
        #Option     "Rotate"                 # [<str>]
        #Option     "VideoKey"               # <i>
        #Option     "FlatPanel"              # [<bool>]
        #Option     "FPDither"               # [<bool>]
        #Option     "CrtcNumber"             # <i>
        #Option     "FPScale"                # [<bool>]
        #Option     "FPTweak"                # <i>
        #Option     "DualHead"               # [<bool>]
    Identifier  "Card0"
    Driver      "nv"
    VendorName  "nVidia Corporation"
    BoardName   "GeForce 7300 GT"
    BusID       "PCI:1:0:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    SubSection "Display"
        Viewport   0 0
        Depth     1
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     4
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     8
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     15
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     16
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection
Спасибо сказали:
Аватара пользователя
Juliette
Сообщения: 5058
Статус: ROSA Lab
ОС: Ubuntu LTS, Mandriva 2011

Re: Монитор работает неправильно

Сообщение Juliette »

А логи эти игры какие-нибудь дают? как вы их запускаете?
Спасибо сказали:
haku
Сообщения: 40
ОС: Debian GNU/Linux

Re: Монитор работает неправильно

Сообщение haku »

Juliette писал(а):
01.08.2009 23:52
А логи эти игры какие-нибудь дают? как вы их запускаете?

1.в том то и все дело что после этого приходиться перезапускать иксы Ctrl-Alt-Backspace (т.е. табличка такая выскакивает как если кабель монитора не подключен, только пишет "out of range".Сам монитор а не система)
2.запускаю стандартно из меню или из консоли
3.Игра работает и не в ней дело,я же писал что звук есть,реакция на мышь,дело все в общении системы с монитором(с другим монитором все работает ОК)
Это не только у меня такая проблема
вот тут
и тут
4.И еще понял одну весч, что возможно не работают игры кот. запускаются в разрешении 800x600....вообще не понятно....
Спасибо сказали:
haku
Сообщения: 40
ОС: Debian GNU/Linux

Re: Монитор работает неправильно

Сообщение haku »

Кажаться нашел причину, но как ее устранить.
В общем запустил панель управления nvidia, изменил разрешение на 800x600_60Hz, а там где частота обновления есть режим doublescan - именно в нем монитор пишет "out of range"
Теперь ясно, почему игры в разрешении 800х600 вырубают монитор.
Другая проблема, что такое ето "doublescan" и почему именно в этом режиме именно этот монитор не работает. когда-то под Гуиндовсом таких проблем не было, может лажа с дровами???
ПОМОГИТЕ-е-е!!!!
Спасибо сказали:
haku
Сообщения: 40
ОС: Debian GNU/Linux

Re: Монитор работает неправильно

Сообщение haku »

НАШЕЛ ответ ЗДЕСЬ
нужно добавить строки 'Option "ModeValidation" "NoXServerModes"' в обе секции "Device" и все работает....
Оказывается это проблема с дровами nvidia. И не только меня она мучила :wacko:
Спасибо сказали:
Аватара пользователя
(asper
Бывший модератор
Сообщения: 1661
Статус: nano vi sed awk !
ОС: Работает как часы !

Re: Монитор работает неправильно

Сообщение (asper »

Как вариант можно прописать Modeline-ы в секцию Monitor для всех режимов в которых вы бы хотели чтоб экран работал.
(Используя утилиту gtf для подсчёта)

Код: Выделить всё

$  cat /etc/X11/xorg.conf
Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
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/cyrillic"
    FontPath        "/usr/share/fonts/Type1"
    FontPath        "/usr/share/fonts/artwiz-fonts"
EndSection

Section "Module"
    Load           "glx"
    Load           "extmod"
    Load           "xtrap"
    Load           "record"
    Load           "dbe"
    Load           "freetype"
    Load           "type1"
EndSection

Section "ServerFlags"
    Option         "Xinerama" "0"
    Option         "standby time" "15"
    Option         "suspend time" "18"
    Option         "off time" "21"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "DFP-0"
    HorizSync       30.0 - 81.0
    VertRefresh     56.0 -  75.0
    Modeline "1440x900_60.00"  106.47  1440 1520 1672 1904  900 901 904 932  -HSync +Vsync
    Modeline "1360x768_60.00"  84.72  1360 1424 1568 1776  768 769 772 795  -HSync +Vsync
    Modeline "1024x768_50.00"  51.89  1024 1064 1168 1312  768 769 772 791  -HSync +Vsync
    Modeline "800x600_50.00"  31.15  800 824 904 1008  600 601 604 618  -HSync +Vsync
    Modeline "1024x768_60.00"  64.11  1024 1080 1184 1344  768 769 772 795  -HSync +Vsync
    Modeline "800x600_60.00"  38.22  800 832 912 1024  600 601 604 622  -HSync +Vsync
    Option         "DPMS" "true"
    Option         "DPI" "96 x 96"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8600 GT"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "NoLogo" "true"
    Option         "ConnectedMonitor" "DFP-0, TV-0"
    Option "HorizSync"   "DFP-0: 30.0-81.0;  TV-0: 30.0-50.0"
    Option "VertRefresh" "DFP-0: 56.0-75.0;  TV-0: 60.0-60.0"
    Option         "TVStandard" "PAL-B"
    Option         "TVOutFormat" "SVIDEO"
    Option         "TwinView" "1"
    Option         "TwinViewXineramaInfoOrder" "DFP-0"
    Option         "metamodes" "TV: 1024x768 +1440+0, DFP: 1440x900_60 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection
Сомнительно доброе привидение
Спасибо сказали:
haku
Сообщения: 40
ОС: Debian GNU/Linux

Re: Монитор работает неправильно

Сообщение haku »

(asper писал(а):
02.08.2009 23:09
Как вариант можно прописать Modeline-ы в секцию Monitor для всех режимов в которых вы бы хотели чтоб экран работал.
(Используя утилиту gtf для подсчёта)

Код: Выделить всё

$  cat /etc/X11/xorg.conf
Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
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/cyrillic"
    FontPath        "/usr/share/fonts/Type1"
    FontPath        "/usr/share/fonts/artwiz-fonts"
EndSection

Section "Module"
    Load           "glx"
    Load           "extmod"
    Load           "xtrap"
    Load           "record"
    Load           "dbe"
    Load           "freetype"
    Load           "type1"
EndSection

Section "ServerFlags"
    Option         "Xinerama" "0"
    Option         "standby time" "15"
    Option         "suspend time" "18"
    Option         "off time" "21"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "DFP-0"
    HorizSync       30.0 - 81.0
    VertRefresh     56.0 -  75.0
    Modeline "1440x900_60.00"  106.47  1440 1520 1672 1904  900 901 904 932  -HSync +Vsync
    Modeline "1360x768_60.00"  84.72  1360 1424 1568 1776  768 769 772 795  -HSync +Vsync
    Modeline "1024x768_50.00"  51.89  1024 1064 1168 1312  768 769 772 791  -HSync +Vsync
    Modeline "800x600_50.00"  31.15  800 824 904 1008  600 601 604 618  -HSync +Vsync
    Modeline "1024x768_60.00"  64.11  1024 1080 1184 1344  768 769 772 795  -HSync +Vsync
    Modeline "800x600_60.00"  38.22  800 832 912 1024  600 601 604 622  -HSync +Vsync
    Option         "DPMS" "true"
    Option         "DPI" "96 x 96"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8600 GT"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "NoLogo" "true"
    Option         "ConnectedMonitor" "DFP-0, TV-0"
    Option "HorizSync"   "DFP-0: 30.0-81.0;  TV-0: 30.0-50.0"
    Option "VertRefresh" "DFP-0: 56.0-75.0;  TV-0: 60.0-60.0"
    Option         "TVStandard" "PAL-B"
    Option         "TVOutFormat" "SVIDEO"
    Option         "TwinView" "1"
    Option         "TwinViewXineramaInfoOrder" "DFP-0"
    Option         "metamodes" "TV: 1024x768 +1440+0, DFP: 1440x900_60 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection


СПАСИБО modeline -ы не помогают я уже написал,что РЕШИЛ ПРОБЛЕМУ!
НАШЕЛ ответ ЗДЕСЬ
нужно добавить строки 'Option "ModeValidation" "NoXServerModes"' в обе секции "Device"
Спасибо сказали: