AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / unix / 问题 / 410688
Accepted
TatianaP
TatianaP
Asked: 2017-12-14 08:31:06 +0800 CST2017-12-14 08:31:06 +0800 CST 2017-12-14 08:31:06 +0800 CST

无法设置正确的显示分辨率

  • 772

我有当前的 Debian 测试,无法为显示 dell U2718Q 设置分辨率:

# inxi -Gxx
Graphics:  Card: Intel 2nd Generation Core Processor Family Integrated Graphics Controller
           bus-ID: 00:02.0 chip-ID: 8086:0116
           Display Server: x11 (X.Org 1.19.5 ) drivers: intel
           Resolution: [email protected]
           OpenGl: renderer: Mesa DRI Intel Sandybridge Mobile
           version: 3.3 Mesa 17.2.5 (compat-v: 3.0) Direct Render: yes

/etc/X11/xorg.conf:

Section "Device"
    Indentifier  "Intel Graphics"
    Driver       "intel"
    Option       "AccelMethod" "sna"
    Option       "TearFree" "true"
EndSection

但这对解决问题没有帮助。

我尝试设置:

# xrandr --output HDMI-1 --mode 3840x2160_60.00
xrandr: Configure crtc 0 failed

我也尝试了选项--crtc,但没有结果。

xrandr 输出:

# xrandr
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192 
LVDS-1 connected (normal left inverted right x axis y axis)
   1366x768      60.10 +
   1360x768      59.80    59.96  
   1024x768      60.04    60.00  
   960x720       60.00  
   928x696       60.05  
   896x672       60.01  
   960x600       60.00  
   960x540       59.99  
   800x600       60.00    60.32    56.25  
   840x525       60.01    59.88  
   800x512       60.17  
   700x525       59.98  
   640x512       60.02  
   720x450       59.89  
   640x480       60.00    59.94  
   680x384       59.80    59.96  
   576x432       60.06  
   512x384       60.00  
   400x300       60.32    56.34  
   320x240       60.05  
VGA-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 609mm x 349mm
   2048x1280     59.99  
   2048x1080     24.00  
   1920x1080     60.00*   60.00    50.00    59.94    30.00    25.00    24.00    29.97    23.98  
   1920x1080i    60.00    50.00    59.94    50.00  
   1600x1200     60.00  
   1600x900      60.00  
   1280x1024     75.02    60.02  
   1152x864      75.00  
   1280x720      60.00    50.00    59.94  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   720x576       50.00  
   720x576i      50.00  
   720x480       60.00    59.94  
   720x480i      60.00    59.94  
   640x480       75.00    60.00    59.94  
   720x400       70.08  
   3840x2160_60.00  59.98  
DP-1 disconnected (normal left inverted right x axis y axis)

我安装了 xserver-xorg-video-intel、xserver-xorg-video-all、xserver-xorg-core 软件包。

请任何帮助。

更新:

处理器:Intel Core i5-2467M CPU @ 1.60GHz x 2

端口:HDMI 2.0

/var/log/Xorg.0.log

[    18.449] (II) LoadModule: "intel"
[    18.456] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[    18.469] (II) Module intel: vendor="X.Org Foundation"
[    18.469]    compiled for 1.19.0, module version = 2.99.917
[    18.469]    Module class: X.Org Video Driver
[    18.469]    ABI class: X.Org Video Driver, version 23.0
[    18.469] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
        i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
        915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
        Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
        GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[    18.470] (II) intel: Driver for Intel(R) HD Graphics
[    18.470] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[    18.470] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[    18.490] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20170403
[    18.490] (II) intel(0): SNA compiled: xserver-xorg-video-intel 2:2.99.917+git20161206-1 (Timo Aaltonen <[email protected]>)
[    18.490] (II) intel(0): SNA compiled for use with valgrind
[    18.494] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics 3000
debian xorg
  • 1 1 个回答
  • 7741 Views

1 个回答

  • Voted
  1. Best Answer
    Stephen Kitt
    2017-12-15T00:25:20+08:002017-12-15T00:25:20+08:00

    Sandy Bridge 的输出没有足够的带宽来支持您的显示器在 60Hz 的全分辨率,但是应该可以创建一种模式来帮助您到达那里。

    本文详细介绍了计算过程。在您的情况下,重要的因素是您的显示器的原始分辨率为 3840×2160,并且 HDMI 1.4 的最大像素时钟为 340MHz。使用umc,我们可以使用它来确定合适的模式线:

    $ umc 3840 2160 340000000
    
        # 3840x2160x30.00 @ 65.994kHz
        Modeline "3840x2160x30.00"  340.000000  3840 4080 4496 5152  2160 2164 2168 2200  -HSync +VSync
    

    要试试这个,运行

    xrandr --newmode "3840x2160x30.00"  340.000000  3840 4080 4496 5152  2160 2164 2168 2200  -HSync +VSync
    xrandr --addmode HDMI-1 "3840x2160x30.00"
    xrandr --output HDMI-1 --mode "3840x2160x30.00"
    

    如果它对集成 GPU 来说太高了,或者显示器不喜欢它,你可以尝试减少像素时钟,或者减少消隐时间(在现代屏幕上应该没问题):

    $ umc 3840 2160 30 --rbt
    
        # 3840x2160x29.98 @ 65.688kHz
        Modeline "3840x2160x29.98"  262.750000  3840 3888 3920 4000  2160 2163 2167 2191  +HSync -VSync
    

    一旦你有了工作模式行,你可以通过添加一个配置文件来永久存储它,比如/etc/X11/xorg.conf.d/30-hdmi-4k.conf,包含:

    Section "Monitor"
        Identifier "HDMI-1"
        ModelName "Your monitor"
        Modeline "3840x2160x29.98"  262.750000  3840 3888 3920 4000  2160 2163 2167 2191  +HSync -VSync
    EndSection
    
    • 3

相关问题

  • GRUB 配置以识别同一 Linux 发行版的不同桌面环境(安装)

  • astyle 不会更改源文件格式

  • 接收有关全新 Debian 的电子邮件

  • Debian Stretch:libgs_plugin_systemd-updates.so 中的 gnome-software 段错误

  • 如何在拼音输入法中输入ü?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    JSON数组使用jq来bash变量

    • 4 个回答
  • Marko Smith

    日期可以为 GMT 时区格式化当前时间吗?[复制]

    • 2 个回答
  • Marko Smith

    bash + 通过 bash 脚本从文件中读取变量和值

    • 4 个回答
  • Marko Smith

    如何复制目录并在同一命令中重命名它?

    • 4 个回答
  • Marko Smith

    ssh 连接。X11 连接因身份验证错误而被拒绝

    • 3 个回答
  • Marko Smith

    如何下载软件包而不是使用 apt-get 命令安装它?

    • 7 个回答
  • Marko Smith

    systemctl 命令在 RHEL 6 中不起作用

    • 3 个回答
  • Marko Smith

    rsync 端口 22 和 873 使用

    • 2 个回答
  • Marko Smith

    以 100% 的利用率捕捉 /dev/loop -- 没有可用空间

    • 1 个回答
  • Marko Smith

    jq 打印子对象中所有的键和值

    • 2 个回答
  • Martin Hope
    EHerman JSON数组使用jq来bash变量 2017-12-31 14:50:58 +0800 CST
  • Martin Hope
    Christos Baziotis 在一个巨大的(70GB)、一行、文本文件中替换字符串 2017-12-30 06:58:33 +0800 CST
  • Martin Hope
    Drux 日期可以为 GMT 时区格式化当前时间吗?[复制] 2017-12-26 11:35:07 +0800 CST
  • Martin Hope
    AllisonC 如何复制目录并在同一命令中重命名它? 2017-12-22 05:28:06 +0800 CST
  • Martin Hope
    Steve “root”用户的文件权限如何工作? 2017-12-22 02:46:01 +0800 CST
  • Martin Hope
    Bagas Sanjaya 为什么 Linux 使用 LF 作为换行符? 2017-12-20 05:48:21 +0800 CST
  • Martin Hope
    Cbhihe 将默认编辑器更改为 vim for _ sudo systemctl edit [unit-file] _ 2017-12-03 10:11:38 +0800 CST
  • Martin Hope
    showkey 如何下载软件包而不是使用 apt-get 命令安装它? 2017-12-03 02:15:02 +0800 CST
  • Martin Hope
    youxiao 为什么目录 /home、/usr、/var 等都具有相同的 inode 编号 (2)? 2017-12-02 05:33:41 +0800 CST
  • Martin Hope
    user223600 gpg —list-keys 命令在将私钥导入全新安装后输出 uid [未知] 2017-11-26 18:26:02 +0800 CST

热门标签

linux bash debian shell-script text-processing ubuntu centos shell awk ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve