Форум русскоязычного сообщества Ubuntu


Считаете, что Ubuntu недостаточно дружелюбна к новичкам?
Помогите создать новое Руководство для новичков!

Автор Тема: Монитор Philips 246V5LHAB максимальное разрешение 1024х768  (Прочитано 818 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн pdragon

  • Автор темы
  • Любитель
  • *
  • Сообщений: 64
    • Просмотр профиля
    • Мой личный сайт
Здравствуйте!
Сегодня купил монитор и до сих пор не могу установить ему разрешение.

$ xrandr
Screen 0: minimum 8 x 8, current 1024 x 768, maximum 8192 x 8192
DVI-I-0 connected primary 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1024x768      60.00*+
   1360x768      59.96    59.80 
   1152x864      60.00 
   800x600       72.19    60.32    56.25 
   680x384       59.96    59.80 
   640x480       59.94 
   512x384       60.00 
   400x300       72.19 
   320x240       60.05 
DVI-I-1 disconnected (normal left inverted right x axis y axis)
TV-0 disconnected (normal left inverted right x axis y axis)
DVI-I-2 disconnected (normal left inverted right x axis y axis)
DVI-I-3 disconnected (normal left inverted right x axis y axis)
$ cvt 1920 1080 60
# 1920x1080 59.96 Hz (CVT 2.07M9) hsync: 67.16 kHz; pclk: 173.00 MHz
Modeline "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync
$ xrandr --newmode "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync$ xrandr --addmode DVI-I-0 1920x1080_60.00
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  140 (RANDR)
  Minor opcode of failed request:  18 (RRAddOutputMode)
  Serial number of failed request:  31
  Current serial number in output stream:  32

Создал файл /usr/share/X11/xorg.conf.d/60-monitors.conf Вставил в него:
Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
        Modes    "1920x1080" "1024x768"
    EndSubSection
EndSection
Перезагрузился, не помогло, разрешение осталось 1024х768
Через утилиту Нвидиа поменял насильственно разрешение - получилось, но так сильно размыто всё что ничего почти не видно и после перезагрузки вернулось 1024х768, хотя сохранял им в /etc/X11/xorg.conf ей же, вот что получилось в /etc/X11/xorg.conf (я праавда одну строчку решил поменять, но всё равно ничего не дало)
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 361.42  (buildd@lgw01-18)  Tue Apr  5 14:33:28 UTC 2016

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
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 "Monitor"
    # HorizSync source: builtin, VertRefresh source: builtin
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "CRT-0"
    HorizSync       28.0 - 55.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

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

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "CRT-0"
    #Option         "metamodes" "1360x768 +0+0 {viewportin=1920x1080}; 800x600 +0+0"
    Option         "metamodes" "1920x1080 +0+0 {viewportin=1920x1080}; 1920x1080 +0+0"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection
Подскажите пожалуйста куда плыть а то я в унынии ибо он думает что я CRT монитор подключил.

Пользователь добавил сообщение 15 Октября 2016, 15:15:39:
Всё решил сам, всем спасибо
« Последнее редактирование: 15 Октября 2016, 15:15:39 от pdragon »

Axa-Ru

  • Гость
А в чем дело то было?
Расскажи, другим тоже может понадобится.

Оффлайн AlexBKost

  • Старожил
  • *
  • Сообщений: 4073
  • Kubuntu 12.04, 24.04, 25.04, 25.10
    • Просмотр профиля
pdragon, нужно было замутить /usr/share/X11/xorg.conf.d/50-monitors.conf такого содержания:
Section "Monitor"
Identifier   "Monitor0"
        HorizSync    28.0 - 55.0
        VertRefresh  43.0 - 72.0
        Modeline     "1920x1080"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync
Option       "PreferredMode" "1920x1080_60.00"
EndSection
и не заморачиваться с /etc/X11/xorg.conf.
Я странен, а не странен кто ж? (С)

 

Страница сгенерирована за 0.017 секунд. Запросов: 20.