LINUX.ORG.RU

не могу установить нужное разрешение экрана

 , , ,


0

1

Всем привет. Использую дисплей philips 236vl, видеоадаптер Radeon HD 6550D, разрешение по умолчанию 1280x1024 (изображение не влезает в экран по ширине. ), оно же максимальное, хотя для данного дисплея производитель рекомендует 1920x1080 (60Gz), но оно отсутствует в списке. правка xorg.conf не помогла.

xorg.conf(edited):

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

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

Section "Module"
        Load  "glx"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/sysmouse"
        Option      "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
        Identifier   "Monitor0"

        # 1920x1080 @ 60.00 Hz (GTF) hsync: 67.08 kHz; pclk: 172.80 MHz
        Modeline "1920x1080_60.00"  172.80  1920 2040 2248 2576  1080 1081 1084 1118  -HSync +Vsync

        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
        VertRefresh  56-75 
        HorizSync    30-83
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "ShadowFB"                  # [<bool>]
        #Option     "DefaultRefresh"            # [<bool>]
        #Option     "ModeSetClearScreen"        # [<bool>]
        Identifier  "Card0"
        Driver      "vesa"
        BusID       "PCI:0:1:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport   0 0
                Depth     1
                Modes "1920x1080"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
                Modes "1920x1080"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
                Modes "1920x1080"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
                Modes "1920x1080"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
                Modes "1920x1080"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes "1920x1080"
        EndSubSection
EndSection
xorg.0.log: https://pastebin.com/7iXE5Z00

Возможно, следует установить какие-то драйвера, но я не знаю какие и как правильно.



Последнее исправление: russian-turist-2019 (всего исправлений: 1)

cvt 1920 1080 60
xrandr --newmode
xrandr --addmode
xrandr --output 

Ну и там надо твой дисплей проставить и сгенерированный строку режима

jo_b1ack ★★★★★
()
Последнее исправление: jo_b1ack (всего исправлений: 1)
Ответ на: комментарий от jo_b1ack
root@x:/usr/home/x # 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
root@x:/usr/home/x # xrandr --newmode "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync
Invalid MIT-MAGIC-COOKIE-1 keyCan't open display :0
root@x:/usr/home/x # 
russian-turist-2019
() автор топика
Ответ на: комментарий от russian-turist-2019

Только сейчас прочитал что это фряха... Не мудрено что все так плохо, проблема в авторизации x11

Попробуй через su...

jo_b1ack ★★★★★
()
Ответ на: комментарий от jo_b1ack

без su

$ xrandr --newmode "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync
xrandr: Failed to get size of gamma for output default

russian-turist-2019
() автор топика
Ответ на: комментарий от jo_b1ack

удалил ~/.Xauthority*

root@x:/usr/home/x # xrandr --newmode "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync
No protocol specified
Can't open display :0
одинаково что под su что нет

russian-turist-2019
() автор топика
Ответ на: комментарий от russian-turist-2019

Invalid MIT-MAGIC-COOKIE-1 keyCan't open display :0

Попробуй через doas, ну или google://Invalid MIT-MAGIC-COOKIE-1

// ЕМНИП, это ошибка каких-то старых иксов, правилось одной строчкой.

IPR ★★★★★
()
Ответ на: комментарий от jo_b1ack

Дай выхлоп xrandr от юзера

$ xrandr --newmode "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync
xrandr: Failed to get size of gamma for output default

после удаления Xauthority:

$ xrandr --newmode "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync
xrandr: Failed to get size of gamma for output default
X Error of failed request:  BadName (named color or font does not exist)
  Major opcode of failed request:  139 (RANDR)
  Minor opcode of failed request:  16 (RRCreateMode)
  Serial number of failed request:  19
  Current serial number in output stream:  19

И ещё ты ставил дрова?

я использую pkgng:

root@x:/usr/home/x # pkg install radeon
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
pkg: No packages available to install matching 'radeon' have been found in the repositories

russian-turist-2019
() автор топика
Ответ на: комментарий от jo_b1ack
$ xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 640 x 400, current 1024 x 768, maximum 1280 x 1024
default connected 1024x768+0+0 0mm x 0mm
   1280x1024      0.00  
   1024x768       0.00* 
   800x600        0.00  
   640x480        0.00  
   720x400        0.00  
  1920x1080_60.00 (0x8b) 173.000MHz -HSync +VSync
        h: width  1920 start 2048 end 2248 total 2576 skew    0 clock  67.16KHz
        v: height 1080 start 1083 end 1088 total 1120           clock  59.96Hz

в настройках нет 1920x1080. перезагрузил комп - тотже вывод команды но уже без 1920

russian-turist-2019
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.