xrandr 多屏幕不工作

xrandr 多屏幕不工作

昨天我更新了 Arch Linux(内核:5.10.3-arch1-1),现在 xrandr 出现了一个奇怪的问题。第二台显示器不工作。xrandr显示 HDMI 已连接并显示可用的分辨率。xrandr --listmonitors确实检测到了它:

$ xrandr --listmonitors

Monitors: 1
 0: +*eDP1 1920/340x1080/190+0+0  eDP1

$ xrandr
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
eDP1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 340mm x 190mm

1920x1080     59.98*+  59.93
...
640x360       59.84    59.32    60.00


VIRTUAL1 disconnected (normal left inverted right x axis y axis)
DP-1-0 disconnected
DP-1-1 disconnected
DP-1-2 disconnected
DP-1-3 disconnected
HDMI-1-0 connected
   1440x900      59.89 +  74.98
   1920x1080     59.94
   1280x720      59.94
...

arandr可以在 HDMI 上找到屏幕,但是当我尝试激活它时,它给出了此错误:

XRandr failed:
Xrandr returned error code 1:b'
xrandr: Configure crtc 4 failed
X error of failed request: BadValue (integer parameter out of range for operation)
 Major opcode of failed request: 140 (RANDR)
 Minor opcode of failed request: 21 (RRSetCrtcConfig)
 Value in failed request: 0x0
 Serial number of failed request: 69
 Current serial number in output stream 69

输出xrandr --output HDMI-1-0 --auto

xrandr: Configure crtc 4 failed
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  140 (RANDR)
  Minor opcode of failed request:  21 (RRSetCrtcConfig)
  Value in failed request:  0x0
  Serial number of failed request:  68
  Current serial number in output stream:  68

有人能帮忙吗?非常感谢

如果有用的话,这是输出xrandr --listproviders

Providers: number : 2
Provider 0: id: 0x45 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 4 outputs: 2 associated providers: 1 name:Intel
Provider 1: id: 0x220 cap: 0x2, Sink Output crtcs: 4 outputs: 5 associated providers: 1 name:NVIDIA-G0

相关内容