![在 kubuntu 上强制第二台显示器提高分辨率](https://linux22.com/image/1133400/%E5%9C%A8%20kubuntu%20%E4%B8%8A%E5%BC%BA%E5%88%B6%E7%AC%AC%E4%BA%8C%E5%8F%B0%E6%98%BE%E7%A4%BA%E5%99%A8%E6%8F%90%E9%AB%98%E5%88%86%E8%BE%A8%E7%8E%87.png)
我有一台 nvidia GTX 260 896 MB 和一台支持 1680x1050 原生分辨率的 Samsung 225 BW 显示器。我需要将分辨率添加并应用到 nvidia x 服务器设置视口输出到 1920x1080,但当我单击应用(模糊)时,它不允许我恢复到 1680x1050。我尝试使用 addmode 和 newmode 命令,但分辨率没有出现。在 Windows 10 上,它运行良好,可以将显示器保持在 1920x1080。
操作系统:Ubuntu KDE 14.04 LTS
这是我在 /etc/x11/xorg.conf 中所拥有的内容
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 331.20 (buildd@roseapple) Mon Feb 3 15:07:22 UTC 2014
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 340.96 (buildmeister@swio-display-x86-rhel47-05) Sun Nov 8 22:50:27 PST 2015
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Samsung S22C300"
HorizSync 30.0 - 81.0
VertRefresh 56.0 - 75.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 260"
EndSection
Section "Screen"
# Removed Option "metamodes" "DVI-I-0: 1920x1080 +0+0, DVI-I-3: 1920x1080 +1920+0 {viewportin=1920x1080}; {viewportout=1920x1080}"
# Removed Option "metamodes" "DVI-I-0: 1920x1080 +0+0, DVI-I-3: nvidia-auto-select +1920+0 {viewportin=1920x1080}"
# Removed Option "metamodes" "DVI-I-0: 1920x1080 +0+0, DVI-I-3: 1680x1050 +1680+0"
# Removed Option "metamodes" "DVI-I-0: 1920x1080 +0+0, DVI-I-3: nvidia-auto-select +1920+0 {viewportin=1920x1080}"
# Removed Option "metamodes" "DVI-I-0: 1920x1080 +0+0, DVI-I-3: 1680x1050_60 +1920+0"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "CRT-0"
Option "metamodes" "DVI-I-0: 1920x1080 +0+0, DVI-I-3: 1680x1050_60 +1920+0 {viewportin=1920x1080}"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection
答案1
我会安装 ARandR 并使用该 GUI,而不是 NVIDIA 或其他。对我来说,在 Ubuntu 版本的 Linux 上使用多台显示器设置和保持分辨率效果很好。
打开终端窗口并安装:
sudo apt-get update && sudo apt-get install arandr
然后要开始使用,只需在应用程序菜单中找到 arandr 作为应用程序列出即可。
安装后,在菜单中找到它:系统->首选项->ARandR
ARandR 的主页:http://christian.amsuess.com/tools/arandr/