我有当前的 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
答案1
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