小米游戏本设置双屏问题【已解决】
Tofloor
poster avatar
186******38
deepin
2018-05-14 18:59
Author
本帖最后由 summertime-wu 于 2018-5-15 09:15 编辑

今天用笔记本连接外部显示器(vga转hdmi连笔记本的vga接口)无反应
外部显示器显示无信号输入,重启发现进入系统时两个屏幕都有显示deepin的logo,进入到登录界面另一个显示器就无信号输入

然后在论坛里面搜索了下相关帖子,找到了解决方法(https://bbs.deepin.org/post/37870##=1)

#18

  1. xrandr --listproviders
  2. 看下有几个provider,如果有多个,那么可能是不同显示口在不同显卡上,运行
  3. xrandr --setprovideroutputsource 0 1

  4. xrandr --setprovideroutputsource 1 0
  5. 做下链接,就可以看到所有硬件接口,然后
  6. xrandr --output xxxxx --auto
  7. 设置输出
Copy the Code


成功设置了双屏显示













虽然解决了问题,但是........

重启后会失效

求助各位deepin大佬,有什么办法解决这个问题吗,我不想放弃使用deepin啊啊啊


Reply Favorite View the author
All Replies
avatar
186******38
deepin
2018-05-14 19:03
#1
  1. Screen 0: minimum 320 x 200, current 3840 x 1080, maximum 8192 x 8192
  2. eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
  3.    1920x1080     60.03*+  59.93    48.00  
  4.    1680x1050     59.95    59.88  
  5.    1600x1024     60.17  
  6.    1400x1050     59.98  
  7.    1280x1024     60.02  
  8.    1440x900      59.89  
  9.    1280x960      60.00  
  10.    1360x768      59.80    59.96  
  11.    1152x864      60.00  
  12.    1024x768      60.04    60.00  
  13.    960x720       60.00  
  14.    928x696       60.05  
  15.    896x672       60.01  
  16.    960x600       60.00  
  17.    960x540       59.99  
  18.    800x600       60.00    60.32    56.25  
  19.    840x525       60.01    59.88  
  20.    800x512       60.17  
  21.    700x525       59.98  
  22.    640x512       60.02  
  23.    720x450       59.89  
  24.    640x480       60.00    59.94  
  25.    680x384       59.80    59.96  
  26.    576x432       60.06  
  27.    512x384       60.00  
  28.    400x300       60.32    56.34  
  29.    320x240       60.05  
  30. DP-1 disconnected (normal left inverted right x axis y axis)
  31. HDMI-1 disconnected (normal left inverted right x axis y axis)
  32. HDMI-1-2 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 256mm x 192mm
  33.    1024x768      60.00 +
  34.    1920x1080     60.00*   59.94  
  35.    1280x1024     85.02    60.02  
  36.    1440x900      74.98    59.90  
  37.    1280x960      60.00  
  38.    1360x768      60.02  
  39.    1280x800      59.91  
  40.    1280x720     119.99    60.00    59.94  
  41.    720x480       60.00    59.94  
  42.   1024x768 (0x65) 65.000MHz -HSync -VSync
  43.         h: width  1024 start 1048 end 1184 total 1344 skew    0 clock  48.36KHz
  44.         v: height  768 start  771 end  777 total  806           clock  60.00Hz
  45.   1280x1024 (0x69) 108.000MHz +HSync +VSync
  46.         h: width  1280 start 1328 end 1440 total 1688 skew    0 clock  63.98KHz
  47.         v: height 1024 start 1025 end 1028 total 1066           clock  60.02Hz
  48.   1280x960 (0x6c) 108.000MHz +HSync +VSync
  49.         h: width  1280 start 1376 end 1488 total 1800 skew    0 clock  60.00KHz
  50.         v: height  960 start  961 end  964 total 1000           clock  60.00Hz
Copy the Code
Reply View the author
avatar
186******38
deepin
2018-05-14 19:04
#2
这个是设置后的,没设置前是没有HDMI-1-2 的
Reply View the author
avatar
186******38
deepin
2018-05-14 19:06
#3
CPU:i7-7700HQ
GPU: GTX 1060
Reply View the author
avatar
yanbowen
deepin
Community Developer
2018-05-15 00:19
#4
https://bbs.deepin.org/post/156430
这个是设置后的,没设置前是没有HDMI-1-2 的

将你设置的几个命令保存到新建文件 10custom_init_xrandr 中,然后再把这个文件复制到 /etc/X11/Xsession.d/ 里面,然后重启试试
Reply View the author
avatar
186******38
deepin
2018-05-15 17:14
#5
https://bbs.deepin.org/post/156430
将你设置的几个命令保存到新建文件 10custom_init_xrandr 中,然后再把这个文件复制到 /etc/X11/Xsession ...

对的,我最后想到的解决方案也只有把它设成开机启动脚本。
虽然开机会卡一下,但是能解决也没什么。

当然,感谢你的热心帮助!
Reply View the author
avatar
lyf
deepin
2018-05-17 03:18
#6
本帖最后由 lyf 于 2018-5-16 19:19 编辑
https://bbs.deepin.org/post/156430
CPU:i7-7700HQ
GPU: GTX 1060

大佬,同样遇到了问题,我这个无法。。。。。。求救
root@workstation:/home/lyf# xrandr
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
   1920x1080     60.02*+  59.93  
   1680x1050     59.95    59.88  
   1600x1024     60.17  
   1400x1050     59.98  
   1280x1024     60.02  
   1440x900      59.89  
   1280x960      60.00  
   1360x768      59.80    59.96  
   1152x864      60.00  
   1024x768      60.04    60.00  
   960x720       60.00  
   928x696       60.05  
   896x672       60.01  
   960x600       60.00  
   960x540       59.99  
   800x600       60.00    60.32    56.25  
   840x525       60.01    59.88  
   800x512       60.17  
   700x525       59.98  
   640x512       60.02  
   720x450       59.89  
   640x480       60.00    59.94  
   680x384       59.80    59.96  
   576x432       60.06  
   512x384       60.00  
   400x300       60.32    56.34  
   320x240       60.05  root@workstation:/home/lyf# xrandr --setprovideroutputsource 1 0
Could not find provider with index 1
root@workstation:/home/lyf# xrandr --setprovideroutputsource 0 1
Could not find provider with index 1
root@workstation:/home/lyf#


Reply View the author
avatar
186******38
deepin
2018-07-05 05:29
#7
https://bbs.deepin.org/post/156430
大佬,同样遇到了问题,我这个无法。。。。。。求救
root@workstation:/home/lyf# xrandr
Screen 0: mini ...

我也GG了,搞了很久也没用呢

我在Ubuntu下使用xrandr命令有四个输出口,
在deepin下只有三个,少了一个HDMI-1-2

试了3个deepin版本都不行,最新版的一进入安装界面就黑屏...

可以试试这个
https://bbs.deepin.org/post/144542
Reply View the author
avatar
186******38
deepin
2018-07-05 05:30
#8
https://bbs.deepin.org/post/156430
大佬,同样遇到了问题,我这个无法。。。。。。求救
root@workstation:/home/lyf# xrandr
Screen 0: mini ...

Could not find provider with index 1


我现在执行上述命令也是这样
Reply View the author