所以我最近在 Ubuntu 18 上從 Gnome 切換到使用 KDE。覺得很煩)。這適用於使用 Gnome 3 的 Ubuntu 18.04,因為 Intel HD 630 在 DisplayPort 上支援多達 3 個 4k 顯示器(https://www.intel.com/content/www/us/en/support/articles/000025675/graphics-drivers.html)。
Ubuntu 17 (Gnome) 也有這個問題,並且在 Ubuntu 18 中得到了解決 - 第 7 代 Intel GPU 的最大分辨率邊界可以為 16384 x 16384,而不是 8192 x 8192。報告最大尺寸為8192 x 8192。
與 Gnome 相比,我真的更喜歡 KDE 5.6 - 一切似乎都工作得更好,包括 4k 顯示器上的顯示縮放。但由於軟體中存在這種明顯的限制,我要么必須聽取這些粉絲的意見,要么放棄顯示器。有人知道可能的修復方法嗎?
謝謝!
為了完整起見,新增了 i915 和 nvidia 驅動程式的 xrandr 輸出:
英特爾第一:
$ xrandr
Screen 0: minimum 320 x 200, current 7680 x 2160, maximum 8192 x 8192
eDP-1 connected primary 3840x2160+3840+0 (normal left inverted right x axis y axis) 346mm x 194mm
3840x2160 60.00*+ 59.98 59.97
3200x1800 59.96 59.94
2880x1620 59.96 59.97
2560x1600 59.99 59.97
2560x1440 59.99 59.99 59.96 59.95
2048x1536 60.00
1920x1440 60.00
1856x1392 60.01
1792x1344 60.01
2048x1152 59.99 59.98 59.90 59.91
1920x1200 59.88 59.95
1920x1080 60.01 59.97 59.96 59.93
1600x1200 60.00
1680x1050 59.95 59.88
1600x1024 60.17
1400x1050 59.98
1600x900 59.99 59.94 59.95 59.82
1280x1024 60.02
1440x900 59.89
1400x900 59.96 59.88
1280x960 60.00
1440x810 60.00 59.97
1368x768 59.88 59.85
1360x768 59.80 59.96
1280x800 59.99 59.97 59.81 59.91
1152x864 60.00
1280x720 60.00 59.99 59.86 59.74
1024x768 60.04 60.00
960x720 60.00
928x696 60.05
896x672 60.01
1024x576 59.95 59.96 59.90 59.82
960x600 59.93 60.00
960x540 59.96 59.99 59.63 59.82
800x600 60.00 60.32 56.25
840x525 60.01 59.88
864x486 59.92 59.57
800x512 60.17
700x525 59.98
800x450 59.95 59.82
640x512 60.02
720x450 59.89
700x450 59.96 59.88
640x480 60.00 59.94
720x405 59.51 58.99
684x384 59.88 59.85
680x384 59.80 59.96
640x400 59.88 59.98
576x432 60.06
640x360 59.86 59.83 59.84 59.32
512x384 60.00
512x288 60.00 59.92
480x270 59.63 59.82
400x300 60.32 56.34
432x243 59.92 59.57
320x240 60.05
360x202 59.51 59.13
320x180 59.84 59.32
DP-1 connected (normal left inverted right x axis y axis)
2560x1440 59.95 +
1280x720 59.86
HDMI-1 disconnected (normal left inverted right x axis y axis)
DP-2 connected 3840x2160+0+0 (normal left inverted right x axis y axis) 598mm x 336mm
3840x2160 24.00*
1024x768 60.00
800x600 60.32
640x480 60.00 59.94
HDMI-2 disconnected (normal left inverted right x axis y axis)
英偉達驅動程式:
$ xrandr
Screen 0: minimum 8 x 8, current 10240 x 2160, maximum 32767 x 32767
eDP-1-1 connected primary 3840x2160+3840+0 (normal left inverted right x axis y axis) 346mm x 194mm
3840x2160 60.00*+ 59.98 59.97
3200x1800 59.96 59.94
2880x1620 59.96 59.97
2560x1600 59.99 59.97
2560x1440 59.99 59.99 59.96 59.95
2048x1536 60.00
1920x1440 60.00
1856x1392 60.01
1792x1344 60.01
2048x1152 59.99 59.98 59.90 59.91
1920x1200 59.88 59.95
1920x1080 60.01 59.97 59.96 59.93
1600x1200 60.00
1680x1050 59.95 59.88
1600x1024 60.17
1400x1050 59.98
1600x900 59.99 59.94 59.95 59.82
1280x1024 60.02
1440x900 59.89
1400x900 59.96 59.88
1280x960 60.00
1440x810 60.00 59.97
1368x768 59.88 59.85
1360x768 59.80 59.96
1280x800 59.99 59.97 59.81 59.91
1152x864 60.00
1280x720 60.00 59.99 59.86 59.74
1024x768 60.04 60.00
960x720 60.00
928x696 60.05
896x672 60.01
1024x576 59.95 59.96 59.90 59.82
960x600 59.93 60.00
960x540 59.96 59.99 59.63 59.82
800x600 60.00 60.32 56.25
840x525 60.01 59.88
864x486 59.92 59.57
800x512 60.17
700x525 59.98
800x450 59.95 59.82
640x512 60.02
720x450 59.89
700x450 59.96 59.88
640x480 60.00 59.94
720x405 59.51 58.99
684x384 59.88 59.85
680x384 59.80 59.96
640x400 59.88 59.98
576x432 60.06
640x360 59.86 59.83 59.84 59.32
512x384 60.00
512x288 60.00 59.92
480x270 59.63 59.82
400x300 60.32 56.34
432x243 59.92 59.57
320x240 60.05
360x202 59.51 59.13
320x180 59.84 59.32
DP-1-1 connected 2560x1440+7680+360 (normal left inverted right x axis y axis) 597mm x 336mm
2560x1440 59.95*+
1280x720 59.86
HDMI-1-1 disconnected (normal left inverted right x axis y axis)
DP-1-2 connected 3840x2160+0+0 (normal left inverted right x axis y axis) 598mm x 336mm
3840x2160 24.00*
1024x768 60.00
800x600 60.32
640x480 60.00 59.94
HDMI-1-2 disconnected (normal left inverted right x axis y axis)
答案1
我在使用第 8 代 i7 GPU(還有 HD 630)的 Ubuntu 18.04 上遇到了這個問題。
它在 Ubuntu 18.04 上運行的原因是因為您在 Wayland 上運行 GNOME,由於某種原因,它會忽略驅動程式報告的最大解析度輸出。另一方面,X 則不然,因此超過 8192 邊界會導致 X 伺服器出現錯誤。
如果您查看核心原始碼,特別是i915 驅動程序,您會注意到英特爾開發人員在第3 代(幾年前)之後停止檢查GPU 版本,並且任何非第3 代或更低版本的GPU 預設最大輸出為8192x8192。儘管第 6 代及以上(或附近)都支援 16384x16384。
這個補丁簡單得可笑,所以奇怪的是它還沒有被修復。它實際上是用一個擴展 if 分支
/* maximum framebuffer dimensions */
if (IS_GEN2(dev_priv)) {
dev->mode_config.max_width = 2048;
dev->mode_config.max_height = 2048;
} else if (IS_GEN3(dev_priv)) {
dev->mode_config.max_width = 4096;
dev->mode_config.max_height = 4096;
} else if (IS_GEN4(dev_priv) || IS_GEN5(dev_priv)) {
dev->mode_config.max_width = 8192;
dev->mode_config.max_height = 8192;
} else {
dev->mode_config.max_width = 16384;
dev->mode_config.max_height = 16384;
}
以供參考:https://github.com/torvalds/linux/blob/master/drivers/gpu/drm/i915/intel_display.c