我有一台 Ubuntu 15.10 笔记本电脑,配有集成英特尔 VGA 和 Nvidia Geforce gtx 960m
lspci -nn | grep VGA
00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:191b] (rev 06)
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GM107M [GeForce GTX 960M] [10de:139b] (rev a2)
我还有第二台可以旋转的显示器,但我无法使用 xrandr 命令旋转屏幕:
xrandr --output HDMI-1-1 --rotate left
xrandr: output HDMI-1-1 cannot use rotation "left" reflection "none"
这是我的 xorg.conf 文件,我已经添加了选项“RandRRotation”“True”,但没有任何变化
Section "ServerLayout"
Identifier "layout"
Screen 0 "nvidia"
Inactive "intel"
EndSection
Section "Device"
Identifier "intel"
Driver "modesetting"
BusID "PCI:0@0:2:0"
Option "AccelMethod" "None"
Option "RandRRotation" "True"
EndSection
Section "Screen"
Identifier "intel"
Device "intel"
EndSection
Section "Device"
Identifier "nvidia"
Driver "nvidia"
BusID "PCI:1@0:0:0"
Option "ConstrainCursor" "off"
Option "RandRRotation" "True"
EndSection
Section "Screen"
Identifier "nvidia"
Device "nvidia"
Option "AllowEmptyInitialConfiguration" "on"
Option "IgnoreDisplayDevices" "CRT"
EndSection
我已经在两个 VGA 中添加了 randrrotation,但如果我只在 Nvidia 设备部分添加该选项,则什么也不会改变。
有人能帮助我吗?