我在 Ubuntu 18.04 LTS 中连接外接显示器时遇到问题。Xrandr 可以识别它(HDMI),但只显示光标。我在联想 P73(显卡:英特尔® UHD 显卡 630(Coffeelake 3x8 GT2))中使用 NVIDIA 驱动程序“X.Org X server - Nouveau...”。有人能帮我吗?
HDMI-1-1 connected 1680x1050+1920+0 (normal left inverted right x axis y axis) 474mm x 296mm
1680x1050 59.95*+ 59.88
1920x1080 60.00 59.94 59.93
1600x1024 60.17
1400x1050 74.76 70.00 59.98
1600x900 59.94 59.95 59.82
1280x1024 75.02 60.02
1440x900 59.89
1400x900 59.96 59.88
1280x960 60.00
1440x810 60.00 59.97
1368x768 59.88 59.85
1360x768 59.80 59.96
1280x800 59.99 59.97 59.81 59.91
1152x864 75.00 75.00 70.00 60.00
1280x720 60.00 59.99 59.86 60.00 59.94 59.74
1024x768 75.05 60.04 75.03 70.07 60.00
960x720 75.00 60.00
928x696 75.00 60.05
896x672 75.05 60.01
1024x576 59.95 59.96 59.90 59.82
960x600 59.93 60.00
832x624 74.55
960x540 59.96 59.99 59.63 59.82
800x600 75.00 70.00 65.00 60.00 72.19 75.00 60.32 56.25
840x525 74.96 69.88 60.01 59.88
864x486 59.92 59.57
800x512 60.17
700x525 74.76 70.06 59.98
800x450 59.95 59.82
720x480 60.00 59.94
640x512 75.02 60.02
720x450 59.89
700x450 59.96 59.88
640x480 60.00 75.00 72.81 75.00 60.00 59.94
720x405 59.51 58.99
720x400 70.08
684x384 59.88 59.85
680x384 59.80 59.96
640x400 59.88 59.98
576x432 75.00 75.00 70.00 60.06
640x360 59.86 59.83 59.84 59.32
512x384 75.03 70.07 60.00
512x288 60.00 59.92
416x312 74.66
480x270 59.63 59.82
400x300 72.19 75.12 60.32 56.34
432x243 59.92 59.57
320x240 72.81 75.00 60.05
360x202 59.51 59.13
320x180 59.84 59.32
更多系统信息:
System: Kernel: 5.0.0-37-generic x86_64 bits: 64 Desktop: Gnome 3.28.4
Distro: Ubuntu 18.04.3 LTS
Machine: Device: laptop System: LENOVO product: 20QSS0RM00 v: ThinkPad P73 serial: N/A
Mobo: LENOVO model: 20QSS0RM00 v: SDK0T08861 WIN serial: N/A
UEFI: LENOVO v: N2NET33W (1.18 ) date: 11/05/2019
Graphics: Card-1: Intel Device 3e9b
Card-2: NVIDIA Device 1eb6
Display Server: x11 (X.Org 1.20.4 ) drivers: i915,nouveau
Resolution: [email protected], [email protected]
OpenGL: renderer: Mesa DRI Intel UHD Graphics 630 (Coffeelake 3x8 GT2)
version: 4.5 Mesa 19.0.8
从journalctl
:
/usr/lib/gdm3/gdm-x-session[1700]: (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event18);
/usr/lib/gdm3/gdm-x-session[1700]: (II) No input driver specified, ignoring this device.
奇怪的是,显示器被检测到,我可以看到和移动光标,但背景却是漆黑一片。
答案1
我在 Dell precision 7550 上运行 Ubuntu 18.04 时也遇到了类似的问题。
对我有用的是:
关闭安全启动。
跑步 (谢谢 Pablo):
sudo ubuntu-drivers install
重新开始。
答案2
我遇到了同样的问题,但这种方法对我不起作用。解决方案是卸载所有 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}
重启后即可工作