外部显示器为黑色,仅光标可见且响应 -> 根据 xrandr 连接

Dio*_*sta 9 nvidia multiple-monitors

我在 Ubuntu 18.04 LTS 中连接外部显示器时遇到问题。Xrandr 可以识别它(HDMI),但只显示光标。我在 Lenovo P73(显卡:Intel\xc2\xae UHD Graphics 630 (Coffeelake 3x8 GT2))中使用 NVIDIA 驱动程序“X.Org X server - Nouveau...”。谁能帮我?

\n\n
HDMI-1-1 connected 1680x1050+1920+0 (normal left inverted right x axis y axis) 474mm x 296mm\n   1680x1050     59.95*+  59.88  \n   1920x1080     60.00    59.94    59.93  \n   1600x1024     60.17  \n   1400x1050     74.76    70.00    59.98  \n   1600x900      59.94    59.95    59.82  \n   1280x1024     75.02    60.02  \n   1440x900      59.89  \n   1400x900      59.96    59.88  \n   1280x960      60.00  \n   1440x810      60.00    59.97  \n   1368x768      59.88    59.85  \n   1360x768      59.80    59.96  \n   1280x800      59.99    59.97    59.81    59.91  \n   1152x864      75.00    75.00    70.00    60.00  \n   1280x720      60.00    59.99    59.86    60.00    59.94    59.74  \n   1024x768      75.05    60.04    75.03    70.07    60.00  \n   960x720       75.00    60.00  \n   928x696       75.00    60.05  \n   896x672       75.05    60.01  \n   1024x576      59.95    59.96    59.90    59.82  \n   960x600       59.93    60.00  \n   832x624       74.55  \n   960x540       59.96    59.99    59.63    59.82  \n   800x600       75.00    70.00    65.00    60.00    72.19    75.00    60.32    56.25  \n   840x525       74.96    69.88    60.01    59.88  \n   864x486       59.92    59.57  \n   800x512       60.17  \n   700x525       74.76    70.06    59.98  \n   800x450       59.95    59.82  \n   720x480       60.00    59.94  \n   640x512       75.02    60.02  \n   720x450       59.89  \n   700x450       59.96    59.88  \n   640x480       60.00    75.00    72.81    75.00    60.00    59.94  \n   720x405       59.51    58.99  \n   720x400       70.08  \n   684x384       59.88    59.85  \n   680x384       59.80    59.96  \n   640x400       59.88    59.98  \n   576x432       75.00    75.00    70.00    60.06  \n   640x360       59.86    59.83    59.84    59.32  \n   512x384       75.03    70.07    60.00  \n   512x288       60.00    59.92  \n   416x312       74.66  \n   480x270       59.63    59.82  \n   400x300       72.19    75.12    60.32    56.34  \n   432x243       59.92    59.57  \n   320x240       72.81    75.00    60.05  \n   360x202       59.51    59.13  \n   320x180       59.84    59.32  \n
Run Code Online (Sandbox Code Playgroud)\n\n

更多系统信息:

\n\n
System:    Kernel: 5.0.0-37-generic x86_64 bits: 64 Desktop: Gnome 3.28.4\n           Distro: Ubuntu 18.04.3 LTS\nMachine:   Device: laptop System: LENOVO product: 20QSS0RM00 v: ThinkPad P73 serial: N/A\n           Mobo: LENOVO model: 20QSS0RM00 v: SDK0T08861 WIN serial: N/A\n           UEFI: LENOVO v: N2NET33W (1.18 ) date: 11/05/2019\nGraphics:  Card-1: Intel Device 3e9b\n           Card-2: NVIDIA Device 1eb6\n           Display Server: x11 (X.Org 1.20.4 ) drivers: i915,nouveau\n           Resolution: 1920x1080@60.01hz, 1680x1050@59.95hz\n           OpenGL: renderer: Mesa DRI Intel UHD Graphics 630 (Coffeelake 3x8 GT2)\n           version: 4.5 Mesa 19.0.8\n
Run Code Online (Sandbox Code Playgroud)\n\n

journalctl

\n\n
/usr/lib/gdm3/gdm-x-session[1700]: (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event18);\n/usr/lib/gdm3/gdm-x-session[1700]: (II) No input driver specified, ignoring this device.\n
Run Code Online (Sandbox Code Playgroud)\n\n

奇怪的是,检测到显示器,我可以看到并移动光标,但背景是漆黑的。

\n

小智 4

我在 Dell Precision 7550 上使用 Ubuntu 18.04 时遇到了类似的问题。

对我有用的是:


小智 0

我遇到了同样的问题,但这对我不起作用。解决方案是卸载所有 nvidia 驱动程序并使用适用于我的 GPU 的开源驱动程序。转到Software & Updates-> Additional Drivers--> Using X.Org X Server (open source)

这个选项对我来说被阻止了,所以我不得不卸载我拥有的 nvidia 驱动程序(可能是问题的根本原因)。卸载我的 nvidea 驱动程序并选择开源驱动程序后,我能够解决该问题。也许重新安装 nvidea 驱动程序现在也可以工作。

为了找到我使用的已安装的 nvidia 驱动程序sudo dpkg -l | grep nvidia ,然后将其删除sudo dpkg -P {nvidia-driver-xxx}

重启后有效