首页 > 程序 > arch下GS65双显卡双显示器配置
作者:ghostry 发布时间:2021-07-22 浏览: 1619
转载注明出处: https://blog.ghostry.cn/program/1031.html双显卡双显示器的问题,困扰了很久,明明nvidia和intel的驱动都装了,也按照文档配置了20-intel.conf,就是不正常,只有外接显示器可以用.
今天终于解决了这个问题.
原来是少写了一些配置.
sudo nvidia-xconfig
sudo gedit /etc/X11/xorg.conf.d/20-intel.conf
先生成nvidia的配置,然后编辑intel的配置
Section "Device"
Identifier "intel"
Driver "intel"
EndSection
Section "Monitor"
Identifier "Monitor1"
VendorName "Unknown"
EndSection
Section "Screen"
Identifier "Screen1"
Device "intel"
Monitor "Monitor1"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Layout1"
Screen 0 "Screen1" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection
之前一直卡在这里,我参考的文档只写了Device段,Monitor,Screen,ServerLayout这三个都没写,
这三段是从xorg.conf拷贝的,把其中一些nvidia的配置删掉,把Identifier修改,最后的数字+1,三段中的引用要相互对应.
重启就完成了.
下一篇: openwrt 每天重新拨号