![Ubuntu 14.04 随机冻结(DRM)](https://linux22.com/image/861906/Ubuntu%2014.04%20%E9%9A%8F%E6%9C%BA%E5%86%BB%E7%BB%93%EF%BC%88DRM%EF%BC%89.png)
这种随机冻结已经持续了几个月。我认为问题出在直接渲染管理器 (DRM) 上。
从内核日志:
dalius@PC1124:~$ cat /var/log/kern.log | grep drm
Sep 8 17:23:44 PC1124 kernel: [ 25.515278] [drm] Initialized drm 1.1.0 20060810
Sep 8 17:23:44 PC1124 kernel: [ 26.027712] [drm] Memory usable by graphics device = 2048M
Sep 8 17:23:44 PC1124 kernel: [ 26.027719] fb: conflicting fb hw usage inteldrmfb vs VESA VGA - removing generic driver
Sep 8 17:23:44 PC1124 kernel: [ 26.072105] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
Sep 8 17:23:44 PC1124 kernel: [ 26.072108] [drm] Driver supports precise vblank timestamp query.
Sep 8 17:23:45 PC1124 kernel: [ 26.190925] fbcon: inteldrmfb (fb0) is primary device
Sep 8 17:23:45 PC1124 kernel: [ 26.265140] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
Sep 8 17:23:45 PC1124 kernel: [ 26.265742] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
Sep 8 18:21:25 PC1124 kernel: [ 3497.804013] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed... render ring idle
Sep 9 09:12:37 PC1124 kernel: [ 36.280400] [drm] Initialized drm 1.1.0 20060810
Sep 9 09:12:37 PC1124 kernel: [ 36.535447] [drm] Memory usable by graphics device = 2048M
Sep 9 09:12:37 PC1124 kernel: [ 36.535454] fb: conflicting fb hw usage inteldrmfb vs VESA VGA - removing generic driver
Sep 9 09:12:37 PC1124 kernel: [ 36.592545] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
Sep 9 09:12:37 PC1124 kernel: [ 36.592547] [drm] Driver supports precise vblank timestamp query.
Sep 9 09:12:37 PC1124 kernel: [ 36.711561] fbcon: inteldrmfb (fb0) is primary device
Sep 9 09:12:37 PC1124 kernel: [ 36.789513] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
Sep 9 09:12:37 PC1124 kernel: [ 36.791186] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
Sep 10 09:11:10 PC1124 kernel: [ 35.714929] [drm] Initialized drm 1.1.0 20060810
Sep 10 09:11:10 PC1124 kernel: [ 35.887189] [drm] Memory usable by graphics device = 2048M
Sep 10 09:11:10 PC1124 kernel: [ 35.887199] fb: conflicting fb hw usage inteldrmfb vs VESA VGA - removing generic driver
Sep 10 09:11:10 PC1124 kernel: [ 35.932129] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
Sep 10 09:11:10 PC1124 kernel: [ 35.932131] [drm] Driver supports precise vblank timestamp query.
Sep 10 09:11:10 PC1124 kernel: [ 36.060649] fbcon: inteldrmfb (fb0) is primary device
Sep 10 09:11:10 PC1124 kernel: [ 36.137382] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
Sep 10 09:11:10 PC1124 kernel: [ 36.147893] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
Sep 11 08:34:45 PC1124 kernel: [84264.804020] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed... render ring idle
Sep 11 09:07:46 PC1124 kernel: [ 24.695604] [drm] Initialized drm 1.1.0 20060810
Sep 11 09:07:47 PC1124 kernel: [ 25.412141] [drm] Memory usable by graphics device = 2048M
Sep 11 09:07:47 PC1124 kernel: [ 25.412150] fb: conflicting fb hw usage inteldrmfb vs VESA VGA - removing generic driver
Sep 11 09:07:47 PC1124 kernel: [ 25.456089] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
Sep 11 09:07:47 PC1124 kernel: [ 25.456092] [drm] Driver supports precise vblank timestamp query.
Sep 11 09:07:47 PC1124 kernel: [ 25.574852] fbcon: inteldrmfb (fb0) is primary device
Sep 11 09:07:47 PC1124 kernel: [ 25.649351] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
Sep 11 09:07:47 PC1124 kernel: [ 25.649523] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
冻结发生在以下情况:
dalius@PC1124:~$ cat /var/log/kern.log | grep drm | grep hang
Sep 8 18:21:25 PC1124 kernel: [ 3497.804013] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed... render ring idle
Sep 11 08:34:45 PC1124 kernel: [84264.804020] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed... render ring idle
在此之后,我无法切换到 tty1-tty6。我主要看到冻结的登录屏幕,但这在正常使用过程中也发生过(主要是在使用 alt+tab 时)。唯一的解决办法是硬重启。我已经找到了 REISUB,下次发生这种情况时我会尝试一下。
华硕 P5G41T-M LX2/GB(集成英特尔 GMA X4500 显卡)
英特尔(R) 赛扬(R) CPU E3400
完整硬件信息:http://pastebin.com/JSuVy8CU
对于如何解决/进一步调试此问题的任何建议都深表感谢。
答案1
英特尔一段时间以来一直在为其硬件提供 Linux 驱动程序的特殊部分,我认为你应该尝试最新的适用于 Ubuntu* 14.04、64 位的图形安装程序 1.0.6或者适用于 Ubuntu* 14.04 32 位的图形安装程序 1.0.6都可以找到在本页。
您可能还对该页面上的其他实用程序感兴趣,例如梅萨 - 10.2.2或者英特尔 GPU 工具 - 1.7。
我无法保证 Ubuntu 14.04 的图形安装程序能够正常工作,因为我从未测试过它,但是由于英特尔将它放在那里,我想它应该可以正常工作。