![Xrandr 显示没有当前/活动分辨率的屏幕](https://linux22.com/image/109915/Xrandr%20%E6%98%BE%E7%A4%BA%E6%B2%A1%E6%9C%89%E5%BD%93%E5%89%8D%2F%E6%B4%BB%E5%8A%A8%E5%88%86%E8%BE%A8%E7%8E%87%E7%9A%84%E5%B1%8F%E5%B9%95.png)
我的电脑上连接了 2 个屏幕。一根通过 HDMI,一根通过 DisplayPort。
当我执行 xrandr (v1.5.0) 时,通过显示端口连接的屏幕没有活动分辨率(它也处于待机状态,选择了正确的输入)。
当我重新启动 xinit 时,屏幕变为活动状态......
我想知道在什么情况下会发生这种情况,以及当屏幕没有活动模式时这实际上意味着什么?杀死 xinit 是解决这个问题的最好方法吗?
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
DP1 connected (normal left inverted right x axis y axis)
3840x2160 60.00 + 29.98
2560x1440 59.95
2048x1280 59.99
1920x1200 59.88
1920x1080 60.00 60.00 50.00 59.94 30.00 25.00 24.00 29.97 23.98
1920x1080i 60.00 50.00 59.94
1600x1200 60.00
1600x900 60.00
1280x1024 75.02 60.02
1152x864 75.00
1280x720 60.00 50.00 59.94
1024x768 75.08 60.00
800x600 75.00 60.32
720x576 50.00
720x480 60.00 59.94
640x480 75.00 60.00 59.94
720x400 70.08
HDMI1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 509mm x 286mm
1920x1080 60.00*+ 50.00 59.94
1920x1080i 60.00 50.00 59.94
1600x900 60.00
1280x1024 75.02 60.02
1152x864 75.00
1280x720 60.00 50.00 59.94
1024x768 75.08 60.00
800x600 75.00 60.32
720x576 50.00
720x576i 50.00
720x480 60.00 59.94
720x480i 60.00 59.94
640x480 75.00 60.00 59.94
720x400 70.08
HDMI2 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)