ThinkPad t540p,运行 Ubuntu 14.10 和内核 3.18.1。尝试安装 bumblebee,据我所知,它让 nvidia-331 工作...
安装 nvidia-331 会出现错误,并且 dpkg-reconfigure 也会出现同样的错误:
sindri@sindri-tp:~$ sudo dpkg-reconfigure nvidia-331
Removing all DKMS Modules
Done.
INFO:Enable nvidia-331
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
Loading new nvidia-331-331.113 DKMS files...
Building only for 3.18.1-031801-lowlatency
Building for architecture x86_64
Building initial module for 3.18.1-031801-lowlatency
ERROR (dkms apport): kernel package linux-headers-3.18.1-031801-lowlatency is not supported
Error! Bad return status for module build on kernel: 3.18.1-031801-lowlatency (x86_64)
Consult /var/lib/dkms/nvidia-331/331.113/build/make.log for more information.
内核包不受支持?
sindri@sindri-tp:/usr/src/nvidia-331-331.113$ uname -a
Linux sindri-tp 3.18.1-031801-lowlatency #201412170637 SMP PREEMPT Wed Dec 17 11:46:57 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
我反复尝试使用 xorg-edgers 的 ppa,从 nvidia 网站下载的驱动程序,但在构建 DKMS 模块时总是出现一些错误。
更新 #1
尝试安装 nvidia-340,似乎运行良好,至少没有出现任何错误。但是重新启动后只显示空白屏幕,因此我不得不恢复为 nvidia-current。
更新 #2
屏幕空白后,我抓取了 Xorg.8.log。这些是内容:
sindri@sindri-tp:~$ grep EE Xorg.8.log
[ 61517.833] Current Operating System: Linux sindri-tp 3.18.1-031801-lowlatency #201412170637 SMP PREEMPT Wed Dec 17 11:46:57 UTC 2014 x86_64
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 61517.861] (EE) Failed to load module "kbd" (module does not exist, 0)
[ 61517.861] (EE) No devices detected.
[ 61517.866] (EE) Failed to load module "kbd" (module does not exist, 0)
[ 61520.061] (EE) intel(0): [drm] failed to set drm interface version: Permission denied [13].
[ 61520.061] (EE) intel(0): Failed to claim DRM device.
[ 61520.061] (EE) Screen(s) found, but none have a usable configuration.
[ 61520.061] (EE)
[ 61520.061] (EE) no screens found(EE)
[ 61520.061] (EE)
[ 61520.061] (EE) Please also check the log file at "/var/log/Xorg.8.log" for additional information.
[ 61520.061] (EE)
[ 61520.061] (EE) Server terminated with error (1). Closing log file.
答案1
经过多次尝试,我终于安装了 3.17 内核。我清除了 xorg-edgers,并从 apt-get 安装了 nvidia-331,现在我有一个可以正常工作的设置。
我遇到了两个问题,第一个问题是我无法将笔记本电脑显示器的分辨率从 640x320 更改为 640x320。删除/etc/X11/xorg.conf
解决了这个问题。第二个问题是当我登录时,Unity 崩溃了。删除~/.config/dconf/user
重置了我的所有设置,但 Unity 正常工作。