AOC G2460PG на Ubuntu 20.04 разрешение застряло на 640x480 на Intel Integrated Graphics UHD 630 не может получить 1920x1080

Я использую интегрированную графику Intel UHD 630. У меня есть монитор AOC G2460PG, который, похоже, имеет проблемы с драйвером, и мое разрешение застряло на 640x480. Я нашел решение, которое работает, но я не уверен насчет второй части, потому что у меня нет каталога /usr/share/X11/xorg.conf. Просмотрев UbuntuWiki, я вижу, что он находится в /etc/X11, но я не знаю, какие настройки я должен туда поместить и должен ли я вообще сделать тот же файл/путь /etc/X11/xorg.conf.d/10-headless.conf для Ubuntu. Любая помощь здесь будет оценена по достоинству. На данный момент я прибегаю к выполнению первого шага из cli после каждой перезагрузки, потому что настройки не сохраняются, но, по крайней мере, я могу получить разрешение 1920x1080 таким образом.

Вот команды, которые я использую после перезагрузки:

$ xrandr --newmode "1920x1080_85.00" 198.500 1920 1968 2000 2080 1080 1083 1088 1124 +Hsync -Vsync
$ xrandr --addmode DP-1 "1920x1080_85.00"
$ xrandr --output DP-1 --mode "1920x1080_85.00"

Я попробовал добавить следующее в /usr/share/X11/xorg.conf.d/20-monitor.conf:

Section "Monitor"
    Identifier "DP-1"
    Modeline "1920x1080_85.00" 198.500 1920 1968 2000 2080 1080 1083 1088 1124 +hsync -vsync
    Option "PreferredMode" "1920x1080_85.00"
EndSection

Section "Screen"
    Identifier "Screen0"
    Monitor "DP-1"
    DefaultDepth 24
    SubSection "Display"
        Modes "1920x1080_85.00"
    EndSubSection
EndSection

Section "Device"
    Identifier "Device0"
    Driver "intel"
EndSection

Это не помогло. Вот мой вывод для xrandr --query --verbose :

Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
DP-1 connected primary 1920x1080+0+0 (0x765) normal (normal left inverted right x axis y axis) 0mm x 0mm
    Identifier: 0x42
    Timestamp:  45604
    Subpixel:   unknown
    Gamma:      1.0:1.0:1.0
    Brightness: 1.0
    Clones:     HDMI-1
    CRTC:       0
    CRTCs:      0 1 2
    Transform:  1.000000 0.000000 0.000000
                0.000000 1.000000 0.000000
                0.000000 0.000000 1.000000
               filter: 
    HDCP Content Type: HDCP Type0 
        supported: HDCP Type0, HDCP Type1
    Content Protection: Undesired 
        supported: Undesired, Desired, Enabled
    Colorspace: Default 
        supported: Default, RGB_Wide_Gamut_Fixed_Point, RGB_Wide_Gamut_Floating_Point, opRGB, DCI-P3_RGB_D65, BT2020_RGB, BT601_YCC, BT709_YCC, XVYCC_601, XVYCC_709, SYCC_601, opYCC_601, BT2020_CYCC, BT2020_YCC
    max bpc: 12 
        range: (6, 12)
    Broadcast RGB: Automatic 
        supported: Automatic, Full, Limited 16:235
    audio: auto 
        supported: force-dvi, off, auto, on
    link-status: Good 
        supported: Good, Bad
    CONNECTOR_ID: 95 
        supported: 95
    non-desktop: 0 
        range: (0, 1)
  1024x768 (0x46) 65.000MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock  48.36KHz
        v: height  768 start  771 end  777 total  806           clock  60.00Hz
  800x600 (0x47) 40.000MHz +HSync +VSync
        h: width   800 start  840 end  968 total 1056 skew    0 clock  37.88KHz
        v: height  600 start  601 end  605 total  628           clock  60.32Hz
  800x600 (0x48) 36.000MHz +HSync +VSync
        h: width   800 start  824 end  896 total 1024 skew    0 clock  35.16KHz
        v: height  600 start  601 end  603 total  625           clock  56.25Hz
  848x480 (0x49) 33.750MHz +HSync +VSync
        h: width   848 start  864 end  976 total 1088 skew    0 clock  31.02KHz
        v: height  480 start  486 end  494 total  517           clock  60.00Hz
  640x480 (0x4a) 25.175MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.47KHz
        v: height  480 start  490 end  492 total  525           clock  59.94Hz
  1920x1080_85.00 (0x765) 198.500MHz +HSync -VSync *current
        h: width  1920 start 1968 end 2000 total 2080 skew    0 clock  95.43KHz
        v: height 1080 start 1083 end 1088 total 1124           clock  84.90Hz
HDMI-1 disconnected (normal left inverted right x axis y axis)
    Identifier: 0x43
    Timestamp:  45604
    Subpixel:   unknown
    Clones:     DP-1
    CRTCs:      0 1 2
    Transform:  1.000000 0.000000 0.000000
                0.000000 1.000000 0.000000
                0.000000 0.000000 1.000000
               filter: 
    HDCP Content Type: HDCP Type0 
        supported: HDCP Type0, HDCP Type1
    Content Protection: Undesired 
        supported: Undesired, Desired, Enabled
    max bpc: 12 
        range: (8, 12)
    content type: No Data 
        supported: No Data, Graphics, Photo, Cinema, Game
    Colorspace: Default 
        supported: Default, SMPTE_170M_YCC, BT709_YCC, XVYCC_601, XVYCC_709, SYCC_601, opYCC_601, opRGB, BT2020_CYCC, BT2020_RGB, BT2020_YCC, DCI-P3_RGB_D65, DCI-P3_RGB_Theater
    aspect ratio: Automatic 
        supported: Automatic, 4:3, 16:9
    Broadcast RGB: Automatic 
        supported: Automatic, Full, Limited 16:235
    audio: auto 
        supported: force-dvi, off, auto, on
    link-status: Good 
        supported: Good, Bad
    CONNECTOR_ID: 105 
        supported: 105
    non-desktop: 0 
        range: (0, 1)

0
задан 22 June 2021 в 01:07

1 ответ

После нескольких попыток / правок у меня сработала следующая конфигурация

Section "Monitor"
    Identifier "Displayport-1"
    Modeline "1920x1080_85.00" 198.500 1920 1968 2000 2080 1080 1083 1088 1124 >
    Option "PreferredMode" "1920x1080_85.00"
EndSection

Section "Screen"
    Identifier "Screen0"
    Monitor "Displayport-1"
    DefaultDepth 24
    SubSection "Display"
        Modes "1920x1080_85.00"
    EndSubSection
EndSection

Section "Device"
    Identifier "Device0"
    Driver "amdgpu"
EndSection

Со встроенной графикой Intel мне пришлось сохранить Driver » amdgpu " по неизвестной причине. В своей предыдущей попытке я поставил драйвер "intel" , и, к сожалению, это не сработало.

0
ответ дан 28 July 2021 в 11:28

Другие вопросы по тегам:

Похожие вопросы: