首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Ubuntu20.04分辨率上的AOC G2460PG在Intel集成图形UHD 630上停留在640x480不能得到1920x1080

Ubuntu20.04分辨率上的AOC G2460PG在Intel集成图形UHD 630上停留在640x480不能得到1920x1080
EN

Ask Ubuntu用户
提问于 2021-06-16 02:59:09
回答 1查看 371关注 0票数 0

我使用英特尔集成图形UHD 630。我有一个AOC G2460PG显示器,似乎与驱动程序有问题,我的分辨率是640x480。我找到了一个可以工作的解决方案,但我不确定第二部分,因为我没有/usr/share/X11/xorg.conf目录。在查看了UbuntuWiki之后,我发现它位于/etc/X11中,但我不知道应该在其中设置什么设置,或者是否应该为Ubuntu创建相同的文件/路径/etc/X11/xorg.conf.d/10-headless.conf。这里的任何帮助都将不胜感激。到目前为止,由于设置不保存,所以在每次重新启动之后,我都要从cli执行第一步,但至少这样我可以获得1920x1080分辨率。

以下是我在重新启动后使用的命令:

代码语言:javascript
复制
$ 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中添加以下内容:

代码语言:javascript
复制
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的输出:

代码语言:javascript
复制
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)
EN

回答 1

Ask Ubuntu用户

发布于 2021-06-23 08:35:31

经过几次尝试/编辑后,下面的配置对我起了作用

代码语言:javascript
复制
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

有了英特尔的集成图形,我不得不保留Driver "amdgpu",原因不明。在我之前的尝试中,我使用了Driver "intel",但遗憾的是,这并没有奏效。

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1346159

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档