xrandr — 将多个显示器视为单独的屏幕

xrandr — 将多个显示器视为单独的屏幕

我有两台显示器:

  • 笔记本电脑显示器 1920x1080
  • 外接显示器 2560x1440,通过 Display Port 电缆连接

输出xrandr

Screen 0: minimum 8 x 8, current 4480 x 1440, maximum 32767 x 32767
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-0 connected 1920x1080+0+360 (normal left inverted right x axis y axis) 344mm x 194mm
   1920x1080    144.00*+  60.00  
DP-1 connected primary 2560x1440+1920+0 (normal left inverted right x axis y axis) 597mm x 336mm
   2560x1440    164.80*+ 120.00    99.95    84.98    60.00  
   1920x1080     60.00    59.94    50.00  
   1680x1050     59.95  
   1440x900      59.89  
   1440x576      50.00  
   1440x480      59.94  
   1280x1024     75.02    60.02  
   1280x960      60.00  
   1280x720      60.00    59.94    50.00  
   1152x864      75.00  
   1024x768      75.03    70.07    60.00  
   800x600       75.00    72.19    60.32    56.25  
   720x576       50.00  
   720x480       59.94  
   640x480       75.00    72.81    59.94    59.93  
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)

如您所见,xrandr将两个显示器合并为一个显示器Screen 0(4480x1440)。我想要两个独立的屏幕Screen 0笔记本Screen 1电脑显示器是第一个,外接显示器是第二个。我还想保留将窗口从一个显示器拖到另一个显示器的功能。

错误的4480x1440 分辨率与 Lutris 不兼容,游戏只能看到 4480x1440,而看不到 2560x1440。

相关内容