无论我尝试哪种连接(VGA、通过 DisplayPort 的 HDMI、通过 DisplayPort 的 DVI),显示器都无法从笔记本电脑接收信号。我有 Ubuntu 20.04 和 Windows 10 双启动,所以我在 Windows 上尝试过,没有问题。我猜是 ubuntu 出了问题。所以我尝试向 xrandr 添加模式,尝试重新安装图形驱动程序,我尝试了较旧的内核版本,但都不起作用。
输出xrandr
:
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1920 x 1080, current 1920 x 1080, maximum 1920 x 1080
default connected primary 1920x1080+0+0 0mm x 0mm
1920x1080 77.00*
输出lshw -C -display
:
*-display UNCLAIMED
description: VGA compatible controller
product: HD Graphics 620
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 02
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm vga_controller bus_master cap_list
configuration: latency=0
resources: memory:f0000000-f0ffffff memory:e0000000-efffffff ioport:e000(size=64) memory:c0000-dffff
输出dpkg --get-selections | grep mesa
libegl-mesa0:amd64 install
libgl1-mesa-dri:amd64 install
libgl1-mesa-dri:i386 deinstall
libgl1-mesa-glx:amd64 install
libglapi-mesa:amd64 install
libglu1-mesa:amd64 install
libglx-mesa0:amd64 install
mesa-utils install
mesa-va-drivers:amd64 install
mesa-vdpau-drivers:amd64 install
mesa-vulkan-drivers:amd64 install
如果你能帮助我我会很高兴。
有任何想法吗?
答案1
我仔细观察了dmesg
一下,发现了以下情况:
[ 0.050136] You have booted with nomodeset. This means your GPU drivers are DISABLED
[ 0.050138] Any video related functionality will be severely degraded, and you may not even be able to suspend the system properly
[ 0.050141] Unless you actually understand what nomodeset does, you should reboot without enabling it
过去,我曾nomodeset
在 grub 中启用它,因为 Ubuntu 由于某种原因无法启动。
在我删除它并更新 grub 之后,一切都像往常一样正常工作。
非常感谢@Alex 帮助我解决这个问题。