「xrandr:出力のcrtcが見つかりません」を修正する方法は?

「xrandr:出力のcrtcが見つかりません」を修正する方法は?

出勤するたびにタイピングをします。

xrandr --auto
xrandr --output VGA1 --right-of LVDS1

これで2台目のモニターが正常に動作しましたが、今

xrandr: cannot find crtc for output VGA1

以下は参照用xrandrの出力です。

Screen 0: minimum 320 x 200, current 3286 x 1080, maximum 8192 x 8192
LVDS1 connected 1366x768+1920+0 (normal left inverted right x axis y axis) 277mm x 156mm
   1366x768       60.0*+
   1360x768       59.8     60.0  
   1024x768       60.0  
   800x600        60.3     56.2  
   640x480        59.9  
VGA1 connected (normal left inverted right x axis y axis)
   1680x1050      59.9 +
   1600x1200      60.0  
   1680x945       60.0  
   1400x1050      74.9     60.0  
   1600x900       60.0  
   1280x1024      75.0     60.0  
   1440x900       75.0     59.9  
   1280x960       60.0  
   1366x768       60.0  
   1360x768       60.0  
   1280x800       74.9     59.8  
   1152x864       75.0  
   1280x768       74.9     59.9  
   1280x720       60.0  
   1024x768       75.1     70.1     60.0  
   1024x576       60.0  
   832x624        74.6  
   800x600        72.2     75.0     60.3     56.2  
   848x480        60.0  
   640x480        72.8     75.0     66.7     60.0  
   720x400        70.1  
HDMI1 disconnected (normal left inverted right x axis y axis)
DP1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
HDMI3 disconnected (normal left inverted right x axis y axis)
DP2 disconnected 1920x1080+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
DP3 disconnected (normal left inverted right x axis y axis)
  1920x1080 (0x1df)  148.5MHz
        h: width  1920 start 2008 end 2052 total 2200 skew    0 clock   67.5KHz
        v: height 1080 start 1084 end 1089 total 1125           clock   60.0Hz

ベストアンサー1

これは他の画面がすでにアクティブになっているためです(この場合)DP2DP2これはDisplayPortを介して実行されるモニタです。ノートブックはLenovo x230で、次のように構築されています。スーパーベース3ドッキングステーション。

以下を使用して画面をオフにすると、この問題を解決できます。

xrandr --output DP2 --off

これで、XFCEなどのワークステーションではデスクトップ領域が縮小していることがわかります。その後、xrandr通常どおりコマンドを実行できます。

xrandr --auto
xrandr ...

おすすめ記事