我正在运行 64 位 Ubuntu 16.04 并且有一个 NVIDIA GeForce 940M 显卡(为此安装了专有的 NVIDIA 驱动程序)。我有一个外部显示器,我想逆时针旋转(我怀疑这很重要,但具体来说这是我试图旋转其屏幕的 Oculus Rift)。它适用于我在其上运行的大多数游戏/程序,但由于我无法旋转显示器,所以我把所有东西都放在一边。
当我尝试通过运行从命令行执行此操作时xrandr --output HDMI-1 --rotate left,我得到输出:xrandr: output HDMI-1 cannot use rotation "left" reflection "none". 当我转到显示设置应用程序时,同样很明显,当我单击“旋转”下拉菜单时,唯一的选项是“正常”。当然,我在发布之前做了一些研究,但是从我xrandr在进行更改后再次尝试所知道的情况来看,它没有用。我的 xorg.conf 文件看起来像这样(从 NVIDIA X 服务器设置应用程序生成):
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"
EndSection
Section "Screen"
Identifier "intel"
Device "intel"
EndSection
Section "Device"
Identifier "nvidia"
Driver "nvidia"
BusID "PCI:1@0:0:0"
Option "RandRRotation" "on"
Option …Run Code Online (Sandbox Code Playgroud)