昨天我的 Linux Mint 17.1 (Rebecca) 安装开始变得不稳定。 X 登录屏幕上到处都有一些视觉瑕疵,并且整个系统在登录到 Cinnamon 桌面后不久就变得没有响应。当启动器中的“跳动”图标动画或窗口打开动画时,似乎会出现问题。
现在我似乎根本无法进入肉桂。输入我的凭据后,只是出现带有光标的黑屏。最终,甚至光标也会停止响应鼠标移动。
其他时候,动画登录屏幕本身会挂起。
有时,我可以切换到不同的 TTY 并登录 CLI。这里没有问题。我已经成功了apt-get update
和apt-get upgrade
。在再次无法让 Cinnamon 运行之后,我以 root 身份进入 CLI 并运行dmesg
(其输出似乎渲染速度很慢)。最后几条消息让我深感困扰:
[ 12.296499] nvidia-modeset: Allocated GPU:0 (GPU-22663de9-024b-cd1f-e5e6-a4da4cff39d0) @ PCI:0000:03:00.0
[ 12.358654] nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device DVI-I-0
[ 12.625846] nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device DVI-I-0
[ 13.003536] init: plymouth-stop pre-start process (1938) terminated with status 1
[ 42.258367] NVRM: GPU at PCI:0000:03:00: GPU-22663de9-024b-cd1f-e5e6-a4da4cff39d0
[ 42.258375] NVRM: Xid (PCI:0000:03:00): 8, Channel 00000001
[ 44.258062] NVRM: os_schedule: Attempted to yield the CPU while in atomic or interrupt context
[ 48.252652] NVRM: os_schedule: Attempted to yield the CPU while in atomic or interrupt context
[ 50.249958] NVRM: os_schedule: Attempted to yield the CPU while in atomic or interrupt context
[ 50.258736] NVRM: Xid (PCI:0000:03:00): 69, Class Error: ChId 0001, Class 0000902d, Offset 00000220, Data 00007f62, ErrorCode 0000000c
[ 50.271930] NVRM: Xid (PCI:0000:03:00): 13, Graphics SM Warp Exception on (GPC 0, TPC 0): Out Of Range Register
[ 50.271936] NVRM: Xid (PCI:0000:03:00): 13, Graphics SM Global Exception on (GPC 0, TPC 0): Physical Multiple Warp Errors
[ 50.271940] NVRM: Xid (PCI:0000:03:00): 13, Graphics Exception: ESR 0x504648=0x1000d 0x504650=0x4 0x504644=0x1beff2 0x50464c=0xf
[ 50.271956] NVRM: Xid (PCI:0000:03:00): 13, Graphics SM Warp Exception on (GPC 0, TPC 1): Out Of Range Register
[ 50.271959] NVRM: Xid (PCI:0000:03:00): 13, Graphics SM Global Exception on (GPC 0, TPC 1): Physical Multiple Warp Errors
[ 50.271962] NVRM: Xid (PCI:0000:03:00): 13, Graphics Exception: ESR 0x504e48=0xd 0x504e50=0x4 0x504e44=0x1beff2 0x504e4c=0xf
[ 50.271978] NVRM: Xid (PCI:0000:03:00): 13, Graphics SM Warp Exception on (GPC 0, TPC 2): Out Of Range Register
[ 50.271982] NVRM: Xid (PCI:0000:03:00): 13, Graphics SM Global Exception on (GPC 0, TPC 2): Physical Multiple Warp Errors
[ 50.271985] NVRM: Xid (PCI:0000:03:00): 13, Graphics Exception: ESR 0x505648=0x24000d 0x505650=0x4 0x505644=0x1beff2 0x50564c=0xf
[ 50.272002] NVRM: Xid (PCI:0000:03:00): 13, Graphics SM Warp Exception on (GPC 1, TPC 0): Out Of Range Register
[ 50.272006] NVRM: Xid (PCI:0000:03:00): 13, Graphics SM Global Exception on (GPC 1, TPC 0): Physical Multiple Warp Errors
[ 50.272009] NVRM: Xid (PCI:0000:03:00): 13, Graphics Exception: ESR 0x50c648=0xd 0x50c650=0x4 0x50c644=0x1beff2 0x50c64c=0xf
[ 50.272024] NVRM: Xid (PCI:0000:03:00): 13, Graphics SM Warp Exception on (GPC 1, TPC 1): Out Of Range Register
[ 50.272028] NVRM: Xid (PCI:0000:03:00): 13, Graphics SM Global Exception on (GPC 1, TPC 1): Physical Multiple Warp Errors
[ 50.272031] NVRM: Xid (PCI:0000:03:00): 13, Graphics Exception: ESR 0x50ce48=0x1a000d 0x50ce50=0x4 0x50ce44=0x1beff2 0x50ce4c=0xf
[ 50.272047] NVRM: Xid (PCI:0000:03:00): 13, Graphics SM Warp Exception on (GPC 1, TPC 2): Out Of Range Register
[ 50.272050] NVRM: Xid (PCI:0000:03:00): 13, Graphics SM Global Exception on (GPC 1, TPC 2): Physical Multiple Warp Errors
[ 50.272053] NVRM: Xid (PCI:0000:03:00): 13, Graphics Exception: ESR 0x50d648=0x1000d 0x50d650=0x4 0x50d644=0x1beff2 0x50d64c=0xf
[ 50.272069] NVRM: Xid (PCI:0000:03:00): 13, Graphics SM Warp Exception on (GPC 1, TPC 3): Out Of Range Register
[ 50.272072] NVRM: Xid (PCI:0000:03:00): 13, Graphics SM Global Exception on (GPC 1, TPC 3): Physical Multiple Warp Errors
[ 50.272076] NVRM: Xid (PCI:0000:03:00): 13, Graphics Exception: ESR 0x50de48=0x1000d 0x50de50=0x4 0x50de44=0x1beff2 0x50de4c=0xf
[ 50.272093] NVRM: Xid (PCI:0000:03:00): 13, Graphics SM Warp Exception on (GPC 2, TPC 0): Out Of Range Register
[ 50.272096] NVRM: Xid (PCI:0000:03:00): 13, Graphics SM Global Exception on (GPC 2, TPC 0): Physical Multiple Warp Errors
[ 50.272100] NVRM: Xid (PCI:0000:03:00): 13, Graphics Exception: ESR 0x514648=0x19000d 0x514650=0x4 0x514644=0x1beff2 0x51464c=0xf
[ 50.272113] NVRM: Xid (PCI:0000:03:00): 13, Graphics SM Warp Exception on (GPC 2, TPC 1): Out Of Range Register
[ 50.272117] NVRM: Xid (PCI:0000:03:00): 13, Graphics SM Global Exception on (GPC 2, TPC 1): Physical Multiple Warp Errors
[ 50.272120] NVRM: Xid (PCI:0000:03:00): 13, Graphics Exception: ESR 0x514e48=0x2000d 0x514e50=0x4 0x514e44=0x1beff2 0x514e4c=0xf
[ 50.272131] NVRM: Xid (PCI:0000:03:00): 13, Graphics SM Warp Exception on (GPC 2, TPC 2): Out Of Range Register
[ 50.272134] NVRM: Xid (PCI:0000:03:00): 13, Graphics SM Global Exception on (GPC 2, TPC 2): Physical Multiple Warp Errors
[ 50.272137] NVRM: Xid (PCI:0000:03:00): 13, Graphics Exception: ESR 0x515648=0x1000d 0x515650=0x4 0x515644=0x1beff2 0x51564c=0xf
[ 50.272148] NVRM: Xid (PCI:0000:03:00): 13, Graphics SM Warp Exception on (GPC 2, TPC 3): Out Of Range Register
[ 50.272152] NVRM: Xid (PCI:0000:03:00): 13, Graphics SM Global Exception on (GPC 2, TPC 3): Physical Multiple Warp Errors
[ 50.272155] NVRM: Xid (PCI:0000:03:00): 13, Graphics Exception: ESR 0x515e48=0xd 0x515e50=0x4 0x515e44=0x1beff2 0x515e4c=0xf
[ 50.272174] NVRM: Xid (PCI:0000:03:00): 13, Graphics Exception: ChID 0001, Class 00009097, Offset 00001b0c, Data 1000f010
[ 80.453445] nvidia-modeset: Freed GPU:0 (GPU-22663de9-024b-cd1f-e5e6-a4da4cff39d0) @ PCI:0000:03:00.0
我有一个 Palit GTX 465,并且正在使用专有的 nvidia 驱动程序。该机器(自行构建)现已使用超过 6 年,并且一直运行某种风格的 Linux;这个版本的 Mint 已经有两年了。
如果这不是问题的话,我不想花钱购买新的 GFX 卡,所以有人能给我任何有关诊断的提示吗?或者谁能告诉我这是硬件问题吗?
为让我重新振作起来的人准备的啤酒。*
*仅限收藏
答案1
我已通过以下步骤完全重新安装解决了 nvidia 驱动程序的工件问题:
- apt-get purge nvidia-driver nvidia-kernel-dkms # 清除,而不是删除
- apt-get 安装 nvidia-driver nvidia-kernel-dkms
- apt-get install [其他 nvidia 软件包,我在底部使用的列表]
使用的其他 nvidia 软件包:
nvidia-egl-icd
libegl1-glvnd-nvidia
libcuda1
libegl-nvidia0
libgldispatch0-nvidia
libnvcuvid1
libnvidia-compiler
libnvidia-eglcore
libnvidia-encode1
libnvidia-fatbinaryloader
libnvidia-glcore
libnvidia-ifr1
libnvidia-ml1
libnvidia-ptxjitcompiler
nvidia-alternative
nvidia-driver
nvidia-driver-bin
nvidia-driver-libs
nvidia-egl-common
nvidia-egl-icd
nvidia-kernel-dkms
nvidia-kernel-support
nvidia-opencl-icd
nvidia-smi
nvidia-vdpau-driver
xserver-xorg-video-nvidia
libgl1-nvidia-glx
nvidia-cuda-mps
nvidia-detect
nvidia-kernel-source
nvidia-legacy-check
nvidia-modprobe
nvidia-opencl-common
nvidia-settings
nvidia-xconfig
libcuda1-i386
nvidia-cuda-mps
nvidia-opencl-common
答案2
ubuntu 20.04 上可能的解决方案,重新安装 nvidia 驱动程序,请参阅https://linuxconfig.org/how-to-install-the-nvidia-drivers-on-ubuntu-20-04-focal-fossa-linux
以下对我有用:
sudo ubuntu-drivers autoinstall
reboot