xrandr 检测不到 HDMI 显示器

Tom*_*omG 5 multiple-monitors hdmi xrandr ubuntu nvidia-graphics-card

重新启动后,我的第二台显示器突然停止工作。

我在 Ubuntu 18.04 上使用 OpenBox 桌面和 nVidia 1060,使用 nVidia 396 驱动程序。由于不同的问题,我一直在摆弄我的显示设置,重新启动后,第二台显示器显示“无信号”,而我的双宽桌面已缩小为单个显示器。我不知道我做了什么!

尽管也插入了 HDMI-1,但 xrandr 仅报告一台显示器 (HDMI-0):

$ xrandr 
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
DVI-D-0 disconnected primary (normal left inverted right x axis y axis)
HDMI-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 477mm x 268mm
   1920x1080     59.93*+  60.00    59.94    50.00    60.05    60.00    50.04  
   1680x1050     59.95  
   1600x1200     60.00  
   1440x900      59.89  
   1440x576      50.00  
   1400x1050     59.98  
   1280x1024     75.02    60.02  
   1280x960      60.00  
   1280x720      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  
HDMI-1 disconnected (normal left inverted right x axis y axis)
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
Run Code Online (Sandbox Code Playgroud)

我尝试过的事情:

lxrandr、arandr 和 nvidia-settings 都无法检测到它。

有人告诉我xrandr --output HDMI-1 --auto可能会重新激活它,但它没有。

拔下和重新插入电缆没有区别。

任何帮助appeciated !