在Ubuntu上实现三屏有哪些满意的方案?我知道一些 ATI 卡 (Eyefinity) 可以从一张卡上支持 3 个显示器,但我不知道这在 Linux 下的支持情况如何,此外,我在 Linux 上使用 ATI 从来没有运气。
另一种方法是尝试两张卡,但那里似乎也有问题。在我看来,xrandr 不能支持 2 个 GPU。我相信你最终会得到两个单独的“屏幕”,你不能在它们之间移动应用程序或窗口,除非你启用 Xinerama,据我所知它会禁用一些加速并且可能也禁用合成。
我在网上发现了很多相互矛盾的信息,我真的很困惑。请指教!
当我停靠或取消停靠我的 ThinkPad 时,我有以下规则调用我的脚本:
# /lib/udev/rules.d/81-thinkpad-dock.rules
KERNEL=="dock.0", ATTR{docked}=="0", RUN+="/usr/bin/think-dock-hook off"
KERNEL=="dock.0", ATTR{docked}=="1", RUN+="/usr/bin/think-dock-hook on"
Run Code Online (Sandbox Code Playgroud)
这是将被调用的脚本:
# /usr/bin/think-dock-hook
# Find the user who is currently logged in on the primary screen.
user="$(who -u | grep -F '(:0)' | head -n 1 | awk '{print $1}')"
su -c "bash -x /usr/bin/think-dock $setto" "$user" >> /root/think-dock.log 2>&1 &
Run Code Online (Sandbox Code Playgroud)
然后调用的脚本对xrandr.
问题是我可以think-dock on作为我的用户 ( mu)运行并且它可以工作。我sudo -i能跑think-dock-hook on,它也能用。但是当我让它udev运行它时,它只是从以下错误中得到以下错误xrandr:
# output of bash -x think-dock …Run Code Online (Sandbox Code Playgroud) 我正在尝试在运行 ubuntu 12.04的ThinkPad E430笔记本电脑上调整对比度:
xcalib -co 70 -a
xrandr --output LVDS1 --brightness 0.7
Run Code Online (Sandbox Code Playgroud)
它们中的任何一个仅工作 1-2 秒,然后对比度下降到 Ubuntu 的正常设置。我应该怎么做才能阻止这种行为?
i915驱动支持“过扫描补偿”吗?如果是这样,我该如何启用它?
编辑:或者是否还有其他支持“过扫描补偿”的英特尔 HD4000 图形驱动程序?
我在一台机器上安装了 Ubuntu 12.04,我总是从 VNC 远程使用它。当我将显示器连接到这台机器时,我可以在以下行中更改 VNC 查看器的分辨率:
$vnc4server --geometry 1440x900
Run Code Online (Sandbox Code Playgroud)
这对我有用,但我总是远程使用这台机器,我拔掉显示器并重新启动。并且上面的命令行不再起作用。
然后我尝试了xrandr
SZ: Pixels Physical Refresh
*0 1024 x 768 ( 260mm x 195mm ) *60
Current rotation - normal
Current reflection - none
Rotations possible - normal
Reflections possible - none
Run Code Online (Sandbox Code Playgroud)
只有一个选项可用,所以我尝试添加一个新选项。
$cvt 1440 900
# 1440x900 59.89 Hz (CVT 1.30MA) hsync: 55.93 kHz; pclk: 106.50 MHz
Modeline "1440x900_60.00" 106.50 1440 1528 1672 1904 900 903 909 934 -hsync +vsync
$xrandr --newmode "1440x900_60.00" 106.50 1440 1528 1672 1904 …Run Code Online (Sandbox Code Playgroud) 我刚刚安装了一些更新并重新启动,然后 Ubuntu 没有检测到外部显示器。它与HDMI连接。我该怎么办?它不会出现在显示设置中。我使用笔记本电脑,内置显示器正在工作并检测到,但外部显示器在今天更新后退出工作。计算机是戴尔 Latitude E7450。
$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Broadwell-U Integrated Graphics (rev 09)
Run Code Online (Sandbox Code Playgroud)
~$ dmesg | grep -E 'VGA|HDMI'
[ 0.882972] fb0: VESA VGA frame buffer device
[ 5.718803] fb: switching to inteldrmfb from VESA VGA
[ 5.719040] [drm] Replacing VGA console driver
[ 6.224466] input: HDA Intel HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.0/sound/card0/input16
[ 6.224530] input: HDA Intel HDMI HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:03.0/sound/card0/input17
[ 6.224590] input: HDA Intel HDMI HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:03.0/sound/card0/input18
$ dmesg …Run Code Online (Sandbox Code Playgroud) 我有一台笔记本电脑使用 vga 端口连接到第二台显示器。没有使用专有驱动程序。当我转到 System Preferences --> Monitor 并打开它时,它看起来不像它应该的那样,它顺时针或逆时针旋转了 90 度。我无法在监视器首选项的旋转下拉菜单中选择正常。
我想知道是否有一种解决方法可以使它看起来正常。
我有一台带有外接显示器的笔记本电脑,并使用xrandr --auto和 来在两个屏幕之间切换xrandr --off。有时,当我更改屏幕时,程序中的字体大小突然变得异常大。这不会影响之前启动的程序。我正在使用 Lubuntu 16.04。
我能够多次使用此命令链重现错误:
xrandr --output eDP1 --off && sleep 1 && xrandr --output eDP1 --auto
Run Code Online (Sandbox Code Playgroud)
外接显示器与此无关,只需禁用笔记本电脑屏幕(eDP1)并再次启用它就足以解决这些奇怪的字体大小问题。
编辑:真正改变的xrandr --off是屏幕的 DPI,请参见此处:
$ xdpyinfo | grep dots
resolution: 96x96 dots per inch
$ xrandr --output eDP1 --off && sleep 1 && xrandr --output eDP1 --auto
$ xdpyinfo | grep dots
resolution: 204x205 dots per inch
Run Code Online (Sandbox Code Playgroud)
对于比例:按钮是正常大小的。后台正常的 VLC 窗口,前台更改了一个。
我尝试使用 Lubuntu 的(未修改的)字体设置,并且可以通过选择字体大小 6 将字体重置为正常(应该是 11),但是已经打开的应用程序(面板等)中的字体然后更改为 …
当我尝试更改分辨率时,会出现以下情况:
$ sudo xrandr --addmode LVDS1 1976x1080_60.00
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 140 (RANDR)
Minor opcode of failed request: 18 (RRAddOutputMode)
Serial number of failed request: 32
Current serial number in output stream: 33
Run Code Online (Sandbox Code Playgroud)
请帮我。
xrandr --brightness 在 Wayland 中不起作用。
最低亮度设置现在让我的眼睛灼痛。
xrandr ×10
xorg ×4
brightness ×2
display ×2
monitor ×2
17.10 ×1
appearance ×1
fonts ×1
graphics ×1
hdmi ×1
i915 ×1
resolution ×1
root ×1
wayland ×1
xcalib ×1