我最近遇到了图形问题,并且我的计算机运行相对较慢。我的内核出现以下错误:
cat /var/log/kern.log | grep failed
[121792.821076] [drm:intel_dp_start_link_train] *ERROR* failed to enable link training
[121792.827083] [drm:intel_dp_complete_link_train] *ERROR* failed to start channel equalization
[121796.838749] nouveau E[ PGRAPH][0000:01:00.0] init failed, -16
[166910.746085] [drm:intel_dp_start_link_train] *ERROR* failed to enable link training
[166910.752098] [drm:intel_dp_complete_link_train] *ERROR* failed to start channel equalization
[169118.271216] [drm:intel_dp_start_link_train] *ERROR* failed to enable link training
[169118.277014] [drm:intel_dp_complete_link_train] *ERROR* failed to start channel equalization
[169140.653737] Freezing of tasks failed after 20.006 seconds (1 tasks refusing to freeze, wq_busy=0):
[169140.727093] [drm:intel_dp_start_link_train] *ERROR* failed to enable link training
[169140.732969] [drm:intel_dp_complete_link_train] *ERROR* failed to start channel equalization
[169145.090743] nouveau E[ PGRAPH][0000:01:00.0] init failed, -16
[169155.277671] [drm:intel_dp_start_link_train] *ERROR* failed to enable link training
[169155.283461] [drm:intel_dp_complete_link_train] *ERROR* failed to start channel equalization
[169328.691935] Freezing of tasks failed after 20.007 seconds (1 tasks refusing to freeze, wq_busy=0):
[169328.770065] [drm:intel_dp_start_link_train] *ERROR* failed to enable link training
[169328.775894] [drm:intel_dp_complete_link_train] *ERROR* failed to start channel equalization
[169362.526724] Freezing of tasks failed after 20.005 seconds (1 tasks refusing to freeze, wq_busy=0):
[169362.633597] [drm:intel_dp_start_link_train] *ERROR* failed to enable link training
[169362.639387] [drm:intel_dp_complete_link_train] *ERROR* failed to start channel equalization
[169403.965727] Freezing of tasks failed after 20.007 seconds (1 tasks refusing to freeze, wq_busy=0):
[169404.042353] [drm:intel_dp_start_link_train] *ERROR* failed to enable link training
[169404.048149] [drm:intel_dp_complete_link_train] *ERROR* failed to start channel equalization
[ 0.235773] acpi PNP0A08:00: _OSC failed (AE_SUPPORT); disabling ASPM
[ 7.532302] nouveau E[ PGRAPH][0000:01:00.0] init failed, -16
[ 0.389624] acpi PNP0A08:00: _OSC failed (AE_SUPPORT); disabling ASPM
[ 85.143742] CIFS VFS: cifs_mount failed w/return code = -115
[ 0.235796] acpi PNP0A08:00: _OSC failed (AE_SUPPORT); disabling ASPM
[ 7.748205] nouveau E[ PGRAPH][0000:01:00.0] init failed, -16
[ 0.242944] acpi PNP0A08:00: _OSC failed (AE_SUPPORT); disabling ASPM
[ 0.238618] acpi PNP0A08:00: _OSC failed (AE_SUPPORT); disabling ASPM
[ 7.443180] nouveau E[ PGRAPH][0000:01:00.0] init failed, -16
[ 9.983506] nouveau E[ PGRAPH][0000:01:00.0] init failed, -16
[ 3345.671018] nouveau E[ PGRAPH][0000:01:00.0] init failed, -16
[ 0.238784] acpi PNP0A08:00: _OSC failed (AE_SUPPORT); disabling ASPM
[ 6.375705] nouveau E[ PGRAPH][0000:01:00.0] init failed, -16
[ 8.810912] nouveau E[ PGRAPH][0000:01:00.0] init failed, -16
[ 0.239961] acpi PNP0A08:00: _OSC failed (AE_SUPPORT); disabling ASPM
[ 6.412908] nouveau E[ PGRAPH][0000:01:00.0] init failed, -16
[ 8.835804] nouveau E[ PGRAPH][0000:01:00.0] init failed, -16
类似地,
sudo lshw -c video
是
*-display
description: VGA compatible controller
product: GK106GLM [Quadro K2100M]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
configuration: driver=nouveau latency=0
resources: irq:49 memory:b0000000-b0ffffff memory:80000000-8fffffff memory:90000000-91ffffff ioport:4000(size=128) memory:b1000000-b107ffff
*-display
description: VGA compatible controller
product: 4th Gen Core Processor Integrated Graphics Controller
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 06
width: 64 bits
clock: 33MHz
capabilities: msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:46 memory:b1400000-b17fffff memory:a0000000-afffffff ioport:5000(size=64)
输出
ubuntu-drivers devices
是
== /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==
modalias : pci:v000010DEd000011FCsv000017AAsd00002211bc03sc00i00
vendor : NVIDIA Corporation
driver : nvidia-352 - third-party free
driver : nvidia-355 - third-party free recommended
driver : nvidia-346 - third-party free
driver : nvidia-346-updates - distro non-free
driver : nvidia-340 - third-party free
driver : nvidia-340-updates - distro non-free
driver : xserver-xorg-video-nouveau - distro free builtin
最近我不得不修复因图形错误而冻结的笔记本电脑。您能找到错误的原因和解决方案吗?
答案1
从专有 GPU 驱动程序 PPA 安装最新的稳定 NVIDIA 驱动程序和 Optimus 支持:
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt-get update
sudo apt-get install nvidia-355 nvidia-prime
sudo reboot
答案2
您可以通过在终端中运行来安装驱动程序
sudo apt-get update
sudo apt-get install nvidia-346 nvidia-prime
答案3
您是否尝试过这个:
sudo apt-get install xorg-xserver-video-all
这样也许能很好地发挥作用。