ubuntu16.04安装后双显示器不能用了
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
-
- 帖子: 2
- 注册时间: 2016-04-24 23:56
- 系统: ubuntu
ubuntu16.04安装后双显示器不能用了
ubuntu14.04使用双显示器,分辨率不同,一切正常;重新下载了16.04安装包,发现双显示器只能使用一台,另外一个黑屏;
主板是H81T,CPUi3 3140t,用的是cpu内置显卡
dvi接口接的是1920X1080,HDMI接口转接DVI 1280X1024
切换到命令行看到错误提示:drm:intel_pipe_config_compare[i915] *error* mismatch in base.adjusted_mode.crtc_hdisplay (expected 1920,found 0)
主板是H81T,CPUi3 3140t,用的是cpu内置显卡
dvi接口接的是1920X1080,HDMI接口转接DVI 1280X1024
切换到命令行看到错误提示:drm:intel_pipe_config_compare[i915] *error* mismatch in base.adjusted_mode.crtc_hdisplay (expected 1920,found 0)
-
- 论坛版主
- 帖子: 18279
- 注册时间: 2009-08-04 16:33
Re: ubuntu16.04安装后双显示器不能用了
把下面指令 複製 貼進終端機 執行
1. sudo lshw -numeric -class video
2. xrandr -q
把結果直接複製 貼上來
1. sudo lshw -numeric -class video
2. xrandr -q
把結果直接複製 貼上來
-
- 帖子: 2
- 注册时间: 2016-04-24 23:56
- 系统: ubuntu
Re: ubuntu16.04安装后双显示器不能用了
谢谢楼上的热心答复!
解决了,更改配置文件
试了下,单显示器没有问题,可是不知道配置文件在什么位置;
双显示器始终不能正常显示,只有一个屏幕显示桌面,但也只是鼠标能动,点图标没有任何动作,心如死灰;
尝试ctrl+alt+F1,等了很久,命令行终于同时出现在两个屏幕上,还显示了一部分错误提示.
搜索各种答案,xrandr在命令行下没有响应,无果;
寻找各种在命令行下修改显示分辨率的命令,各种无效
随手输入startx,发现可以两个显示器可以同时进入桌面了,但是没有gnome。。。。。。
好困啊,在就要放弃的时候,找到了三个篇文章,
http://www.sudo-juice.com/dual-monitor- ... in-ubuntu/
http://www.xiebiao.com/blog/?p=806
http://askubuntu.com/questions/450767/m ... nome-14-04
双显示器时,~/.config/montiors.xml配置文件修改即可解决
备份后,再次进入命令行,startx,gedit ~./config/monitors.xml 修改配置,增加双显示器,修改副显示器x位置,更改文件,重启后,完美!!!!更改文件如下
主板H81T,CUP I33140T;
<monitors version="1">
<configuration>
<clone>no</clone>
<output name="DP1">
<vendor>???</vendor>
<product>0x0000</product>
<serial>0x00000000</serial>
</output>
<output name="HDMI1">
</output>
<output name="HDMI2">
<vendor>AOC</vendor>
<product>0x2491</product>
<serial>0x00000000</serial>
<width>1920</width>
<height>1080</height>
<rate>60</rate>
<x>0</x>
<y>0</y>
<rotation>normal</rotation>
<reflect_x>no</reflect_x>
<reflect_y>no</reflect_y>
<primary>yes</primary>
</output>
<output name="HDMI3">
</output>
<output name="VGA1">
</output>
<output name="VIRTUAL1">
</output>
</configuration>
<configuration>
<clone>no</clone>
<output name="DP1">
<vendor>???</vendor>
<product>0x0000</product>
<serial>0x00000000</serial>
</output>
<output name="HDMI1">
<vendor>PHL</vendor>
<product>0x081b</product>
<serial>0x0001f815</serial>
<width>1280</width>
<height>1024</height>
<rate>60</rate>
<x>1920</x>
<y>0</y>
<rotation>normal</rotation>
<reflect_x>no</reflect_x>
<reflect_y>no</reflect_y>
<primary>no</primary>
</output>
<output name="HDMI2">
<vendor>AOC</vendor>
<product>0x2491</product>
<serial>0x00000000</serial>
<width>1920</width>
<height>1080</height>
<rate>60</rate>
<x>0</x>
<y>0</y>
<rotation>normal</rotation>
<reflect_x>no</reflect_x>
<reflect_y>no</reflect_y>
<primary>yes</primary>
</output>
<output name="HDMI3">
</output>
<output name="VGA1">
</output>
<output name="VIRTUAL1">
</output>
</configuration>
</monitors>
解决了,更改配置文件
试了下,单显示器没有问题,可是不知道配置文件在什么位置;
双显示器始终不能正常显示,只有一个屏幕显示桌面,但也只是鼠标能动,点图标没有任何动作,心如死灰;
尝试ctrl+alt+F1,等了很久,命令行终于同时出现在两个屏幕上,还显示了一部分错误提示.
搜索各种答案,xrandr在命令行下没有响应,无果;
寻找各种在命令行下修改显示分辨率的命令,各种无效
随手输入startx,发现可以两个显示器可以同时进入桌面了,但是没有gnome。。。。。。
好困啊,在就要放弃的时候,找到了三个篇文章,
http://www.sudo-juice.com/dual-monitor- ... in-ubuntu/
http://www.xiebiao.com/blog/?p=806
http://askubuntu.com/questions/450767/m ... nome-14-04
双显示器时,~/.config/montiors.xml配置文件修改即可解决
备份后,再次进入命令行,startx,gedit ~./config/monitors.xml 修改配置,增加双显示器,修改副显示器x位置,更改文件,重启后,完美!!!!更改文件如下
主板H81T,CUP I33140T;
<monitors version="1">
<configuration>
<clone>no</clone>
<output name="DP1">
<vendor>???</vendor>
<product>0x0000</product>
<serial>0x00000000</serial>
</output>
<output name="HDMI1">
</output>
<output name="HDMI2">
<vendor>AOC</vendor>
<product>0x2491</product>
<serial>0x00000000</serial>
<width>1920</width>
<height>1080</height>
<rate>60</rate>
<x>0</x>
<y>0</y>
<rotation>normal</rotation>
<reflect_x>no</reflect_x>
<reflect_y>no</reflect_y>
<primary>yes</primary>
</output>
<output name="HDMI3">
</output>
<output name="VGA1">
</output>
<output name="VIRTUAL1">
</output>
</configuration>
<configuration>
<clone>no</clone>
<output name="DP1">
<vendor>???</vendor>
<product>0x0000</product>
<serial>0x00000000</serial>
</output>
<output name="HDMI1">
<vendor>PHL</vendor>
<product>0x081b</product>
<serial>0x0001f815</serial>
<width>1280</width>
<height>1024</height>
<rate>60</rate>
<x>1920</x>
<y>0</y>
<rotation>normal</rotation>
<reflect_x>no</reflect_x>
<reflect_y>no</reflect_y>
<primary>no</primary>
</output>
<output name="HDMI2">
<vendor>AOC</vendor>
<product>0x2491</product>
<serial>0x00000000</serial>
<width>1920</width>
<height>1080</height>
<rate>60</rate>
<x>0</x>
<y>0</y>
<rotation>normal</rotation>
<reflect_x>no</reflect_x>
<reflect_y>no</reflect_y>
<primary>yes</primary>
</output>
<output name="HDMI3">
</output>
<output name="VGA1">
</output>
<output name="VIRTUAL1">
</output>
</configuration>
</monitors>
- eagle5678
- 帖子: 1865
- 注册时间: 2006-07-08 14:07
Re: ubuntu16.04安装后双显示器不能用了
代码: 全选
sudo lshw -numeric -class video
[sudo] 密码:
*-display
description: VGA compatible controller
product: Core Processor Integrated Graphics Controller [8086:46]
vendor: Intel Corporation [8086]
physical id: 2
bus info: pci@0000:00:02.0
version: 02
width: 64 bits
clock: 33MHz
capabilities: msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:25 memory:b0000000-b03fffff memory:a0000000-afffffff ioport:3050(size=8)
- eagle5678
- 帖子: 1865
- 注册时间: 2006-07-08 14:07
Re: ubuntu16.04安装后双显示器不能用了
代码: 全选
xrandr -q
Screen 0: minimum 8 x 8, current 2390 x 768, maximum 32767 x 32767
LVDS1 connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
1366x768 60.04*+
1360x768 59.80 59.96
1280x720 60.00
1024x768 60.00
1024x576 60.00
960x540 60.00
800x600 60.32 56.25
864x486 60.00
640x480 59.94
720x405 60.00
680x384 60.00
640x360 60.00
DP1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
VGA1 connected 1024x768+1366+0 (normal left inverted right x axis y axis) 0mm x 0mm
1024x768 60.00*
800x600 60.32 56.25
848x480 60.00
640x480 59.94
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
- eagle5678
- 帖子: 1865
- 注册时间: 2006-07-08 14:07
Re: ubuntu16.04安装后双显示器不能用了
我把monitors.xml改了下,可是没效果?
代码: 全选
<output name="VGA1">
<vendor>samsung</vendor>
<product>0xa023</product>
<serial>0x30583853</serial>
<width>1280</width>
<height>1024</height>
<rate>60</rate>
<x>1366</x>
<y>0</y>
<rotation>normal</rotation>
<reflect_x>no</reflect_x>
<reflect_y>no</reflect_y>
<primary>no</primary>
</output>
- eagle5678
- 帖子: 1865
- 注册时间: 2006-07-08 14:07
- eagle5678
- 帖子: 1865
- 注册时间: 2006-07-08 14:07
Re: ubuntu16.04安装后双显示器不能用了
外接转接器的问题,怎强制设置呢
- eagle5678
- 帖子: 1865
- 注册时间: 2006-07-08 14:07
- omaidb
- 帖子: 104
- 注册时间: 2010-06-13 4:04
-
- 帖子: 1
- 注册时间: 2017-11-30 17:52
- 系统: lubuntu17.04
Re: ubuntu16.04安装后双显示器不能用了
我的系统是lubuntu15.10,有VGA和DVI两个接口的显示器。有天DVI接口的显示器忽然不能用,开始以为是15.10系统出了问题,因为老提示内部错误,就升级到了17.04,DVI显示器还是不能用。
后来尝试做法是:电脑关机,取下主机那头的VGA接头,重启电脑,此时DVI显示器亮了,再接上VGA头,此时两个显示都能用了,然后设置一下两个显示器的左右位置,完成!
后来尝试做法是:电脑关机,取下主机那头的VGA接头,重启电脑,此时DVI显示器亮了,再接上VGA头,此时两个显示都能用了,然后设置一下两个显示器的左右位置,完成!