ThinkPad E540, linux mint 17 插上副显示器后闪烁

笔记本/便携移动设备,手机平板等软硬件
回复
头像
persy
帖子: 11
注册时间: 2014-11-26 10:55
系统: linuxmint17 cinnamon

ThinkPad E540, linux mint 17 插上副显示器后闪烁

#1

帖子 persy »

ThinkPad E540,装的linux mint 17,安装系统时不插副显正常,插上就闪烁,并且副显无信号,求大神指点,重装win7,显示正常,再装linux mint又是这样,单系统
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: ThinkPad E540, linux mint 17 插上副显示器后闪烁

#2

帖子 poloshiao »

把下面指令 複製 貼進終端機 執行
sudo lshw -numeric -class video
把結果直接 選取/複製 貼上來
头像
persy
帖子: 11
注册时间: 2014-11-26 10:55
系统: linuxmint17 cinnamon

Re: ThinkPad E540, linux mint 17 插上副显示器后闪烁

#3

帖子 persy »

*-display UNCLAIMED
description: 3D controller
product: GM108M [GeForce 840M] [10DE:1341]
vendor: NVIDIA Corporation [10DE]
physical id: 0
bus info: pci@0000:01:00.0
version: a2
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress cap_list
configuration: latency=0
resources: memory:f0000000-f0ffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:5000(size=128)
*-display
description: VGA compatible controller
product: 4th Gen Core Processor Integrated Graphics Controller [8086:416]
vendor: Intel Corporation [8086]
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:45 memory:f1000000-f13fffff memory:e0000000-efffffff ioport:6000(size=64)
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: ThinkPad E540, linux mint 17 插上副显示器后闪烁

#4

帖子 poloshiao »

product: 4th Gen Core Processor Integrated Graphics Controller [8086:416]
configuration: driver=i915 latency=0
1. 目前作用中驅動 開源驅動 i915
1-1. Intel 公司提供專屬 Ubuntu 14.04 的安裝程式 安裝 開源驅動 i915 的配套開源程式
1-1-1. https://01.org/linuxgraphics/downloads/ ... inux-1.0.7
1-1-2. https://01.org/linuxgraphics/downloads/ ... ck-release
*-display UNCLAIMED
product: GM108M [GeForce 840M] [10DE:1341]
configuration: latency=0
2. 目前作用中 沒有
2-1. 預裝的開源驅動
http://nouveau.freedesktop.org/wiki/CodeNames/
GM108M [GeForce 840M] 並不在 支援名單

3. 從 nVidia 官網下載 安裝 參閱
3-1. http://www.nvidia.com/Download/driverRe ... 2250/en-us
Version: 331.38
Supported products
GeForce 840M 不在支援名單內
意思是
Ubuntu 套件庫 安裝的 nVidia-331 不支援
3-2. http://www.nvidia.com/Download/driverRe ... 4861/en-us
Version: 337.12 BETA
開始支援 GeForce 840M
意思是 只要比 337.12 版本新的版本 可能都支援 GeForce 840M
3-3. https://launchpad.net/~xorg-edgers/+archive/ubuntu/ppa
實驗性 Ubuntu 14.04 PPA 套件庫
nvidia-graphics-drivers-343 : 343.22-0ubuntu1~xedgers14.04.1
3-3-1. http://www.nvidia.com/Download/driverRe ... 7844/en-us
支援 GeForce 840M
nvidia-graphics-drivers-340 : 340.46-0ubuntu1~xedgers14.04.1
3-3-2. http://www.nvidia.com/Download/driverRe ... 8469/en-us
支援 GeForce 840M
3-4. 在 Ubuntu 14.04 安裝 PPA 套件庫 顯卡驅動
https://help.ubuntu.com/community/Binar ... wto/Nvidia

4. 從 nVidia 官網下載 顯卡驅動
4-1. 在 Ubuntu 14.04 安裝 參閱
https://help.ubuntu.com/community/NvidiaManual
4-2. nVidia 官網說明書
4-2-1. 343.22
http://us.download.nvidia.com/XFree86/L ... index.html
4-2-2. 340.46
http://us.download.nvidia.com/XFree86/L ... index.html

5. 額外安裝 Prime Indicator 切換顯卡及電源管理
http://www.webupd8.org/2014/01/prime-in ... .html#more
头像
persy
帖子: 11
注册时间: 2014-11-26 10:55
系统: linuxmint17 cinnamon

Re: ThinkPad E540, linux mint 17 插上副显示器后闪烁

#5

帖子 persy »

安装NVIDIA驱动总是报错,
lspci -vnn |grep VGA -A 12

00:02.0 VGA compatible controller [0300]: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller [8086:0416] (rev 06) (prog-if 00 [VGA controller])
Subsystem: Lenovo Device [17aa:5040]
Flags: bus master, fast devsel, latency 0, IRQ 45
Memory at f1000000 (64-bit, non-prefetchable)
Memory at e0000000 (64-bit, prefetchable)
I/O ports at 6000
Expansion ROM at <unassigned> [disabled]
Capabilities: <access denied>
Kernel driver in use: i915

00:03.0 Audio device [0403]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller [8086:0c0c] (rev 06)
Subsystem: Lenovo Device [17aa:5028]
Flags: bus master, fast devsel, latency 0, IRQ 48
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: ThinkPad E540, linux mint 17 插上副显示器后闪烁

#6

帖子 poloshiao »

安装NVIDIA驱动总是报错,
lspci -vnn | grep VGA -A 12
1. 試試
把下面指令 複製 貼進終端機 執行
lspci -vnn | grep -E 'VGA|3D'
Capabilities: <access denied>
2. 權限不夠 試試
把下面指令 複製 貼進終端機 執行
sudo lspci -vnn | grep -E 'VGA|3D'
头像
persy
帖子: 11
注册时间: 2014-11-26 10:55
系统: linuxmint17 cinnamon

Re: ThinkPad E540, linux mint 17 插上副显示器后闪烁

#7

帖子 persy »

lspci -vnn | grep -E 'VGA|3D'
00:02.0 VGA compatible controller [0300]: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller [8086:0416] (rev 06) (prog-if 00 [VGA controller])
01:00.0 3D controller [0302]: NVIDIA Corporation GM108M [GeForce 840M] [10de:1341] (rev a2)
头像
persy
帖子: 11
注册时间: 2014-11-26 10:55
系统: linuxmint17 cinnamon

Re: ThinkPad E540, linux mint 17 插上副显示器后闪烁

#8

帖子 persy »

安裝顯卡時報錯如下

The distribution-provided pre-install script failed! Continue installation anyway? (Answer: Yes)
-> Would you like to register the kernel module sources with DKMS? This will allow DKMS to automatically build a new module, if you install a different kernel later. (Answer: No)
ERROR: You do not appear to have libc header files installed on your system. Please install your distribution's libc development package.
ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
头像
persy
帖子: 11
注册时间: 2014-11-26 10:55
系统: linuxmint17 cinnamon

Re: ThinkPad E540, linux mint 17 插上副显示器后闪烁

#9

帖子 persy »

這樣可以嗎

apt-get update
apt-get install module-assistant linux-headers-`uname -r`
m-a a-i nvidia
apt-get install nvidia-glx
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: ThinkPad E540, linux mint 17 插上副显示器后闪烁

#10

帖子 poloshiao »

安裝顯卡時報錯如下
請先說明 你安裝哪個版本 ?
從哪裡安裝 ?
安裝程式或套件名稱 ?
头像
persy
帖子: 11
注册时间: 2014-11-26 10:55
系统: linuxmint17 cinnamon

Re: ThinkPad E540, linux mint 17 插上副显示器后闪烁

#11

帖子 persy »

. 從 nVidia 官網下載 安裝 參閱
3-1. http://www.nvidia.com/Download/driverRe ... 2250/en-us
Version: 331.38
Supported products
GeForce 840M

安裝成功了,但是不小心點了module的yes項後,黑屏,我就把 mdm 卸載了,裝了kdm,重啓後,cinnamon崩潰
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: ThinkPad E540, linux mint 17 插上副显示器后闪烁

#12

帖子 poloshiao »

linux mint 17
1. http://en.wikipedia.org/wiki/List_of_Li ... t_releases
linux mint 17 基於 Ubuntu 14.04
Version: 331.38
2. viewtopic.php?p=3116366#p3116366
Ubuntu 14.04 套件庫 安裝的 nVidia-331 不支援 因為 331.38
viewtopic.php?p=3116366#p3116366
3-2. http://www.nvidia.com/Download/driverRe ... 4861/en-us
Version: 337.12 BETA
開始支援 GeForce 840M
意思是 只要比 337.12 版本新的版本 可能都支援 GeForce 840M
3-3. https://launchpad.net/~xorg-edgers/+archive/ubuntu/ppa
實驗性 Ubuntu 14.04 PPA 套件庫
nvidia-graphics-drivers-343 : 343.22-0ubuntu1~xedgers14.04.1
3-3-1. http://www.nvidia.com/Download/driverRe ... 7844/en-us
支援 GeForce 840M
nvidia-graphics-drivers-340 : 340.46-0ubuntu1~xedgers14.04.1
3-3-2. http://www.nvidia.com/Download/driverRe ... 8469/en-us
支援 GeForce 840M
3. 從上面兩個 ppa 可以 安裝 nvidia-graphics-drivers-343 或 nvidia-graphics-drivers-340
viewtopic.php?p=3116366#p3116366
3-4. 在 Ubuntu 14.04 安裝 PPA 套件庫 顯卡驅動
https://help.ubuntu.com/community/Binar ... wto/Nvidia
4. 在 Ubuntu 14.04 套件庫 或 PPA 套件庫 安裝 顯卡驅動
https://help.ubuntu.com/community/Binar ... wto/Nvidia
头像
persy
帖子: 11
注册时间: 2014-11-26 10:55
系统: linuxmint17 cinnamon

Re: ThinkPad E540, linux mint 17 插上副显示器后闪烁

#13

帖子 persy »

多謝大神,我暫時逃逸到xfce下了,一切正常
回复