我使用以下xrandr命令将我的17“笔记本电脑镜像为一个27”外部监视器,这样我就可以使用它来做演示了:
xrandr --output LVDS1 --mode 1600x900 --output HDMI1 --mode 1920x1080 --same-as LVDS1
但是,外部监视器(HDMI1)返回到1600x900分辨率,而不是1920x1080。
X射线输出:
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
LVDS1 connected primary (normal left inverted right x axis y axis
1600x900 60.0 +
1024x768 60.0
800x600 60.3 56.2
640x480 59.9
VGA1 disconnected (normal left inverted right x axis y axis)
HDMI1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 598mm x 336mm
1920x1080 60.0*+
1680x1050 59.9
1280x1024 75.0 60.0
1440x900 75.0 59.9
1280x960 60.0
1152x864 75.0
1024x768 75.1 70.1 60.0
832x624 74.6
800x600 72.2 75.0 60.3 56.2
640x480 72.8 75.0 66.7 60.0
720x400 70.1
DP1 disconnected (normal left inverted right x axis y axis)发布于 2015-07-15 15:26:20
如果您不介意在笔记本电脑上进行摇摄,请尝试如下:
xrandr --output LVDS1 --rate 60 --mode 1920x1080 --fb 1920x1080 --panning 1920x1080* --output HDMI1 --mode 1920x1080 --same-as LVDS1发布于 2016-02-19 00:09:07
xrandr --fb 1920x1080 --output LVDS1 --mode 1600x900 --scale-from 1920x1080 --output HDMI1 --mode 1920x1080 --scale 1x1 --same-as LVDS1或者您可以用另一种方法来使用LVDS1的分辨率作为基本分辨率,但这样就可以降低HDMI1的质量。
发布于 2015-12-15 08:29:38
当监视器没有相同的分辨率时,xrandr似乎不能很好地处理--same-as配置中的双监视器。除了回到两个监视器的最高公共分辨率(这种分辨率可能不令人满意,甚至不存在),解决方法是使用--scale选项。如果您希望[monitor 1]具有分辨率[resx1]x[resy1]和[monitor 2]具有分辨率[resx2]x[resy2],您可以使用例如
xrandr --output [monitor 1] --mode [resx1]x[resy1] --output [monitor 2] --same-as [monitor 1] --scale `echo "[resx1]/[resx2]" | bc -l`x`echo "[resy1]/[resy2]" | bc -l`
其中`echo "[res*1]/[res*2]" | bc -l`计算所需的比率。但是,不能保证完美的质量;而且,请记住,上述决议的质量受到[monitor 1]分辨率的限制。
https://unix.stackexchange.com/questions/101490
复制相似问题