当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 10 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 主机是戴尔optiplex 990,系统kubuntu14.04,装了显卡之后切换到字符界面就黑屏,怎么破?
帖子发表于 : 2015-07-15 22:29 

注册: 2015-07-15 22:21
帖子: 7
系统: kubuntu14.04
送出感谢: 0 次
接收感谢: 0 次
显卡型号是Geforce GTX 960,主机型号是戴尔optiplex 990,系统是kubuntu14.04,没装独显的时候本来可以ctrl+alt+f1切换到文字界面,装了显卡后可以有图形界面,但是一按ctrl+alt+f1就黑屏,f2,f3,f4都试过都不行,但是一按ctrl+alt+f7可以回到图形界面。我也是醉了


页首
 用户资料  
 
2 楼 
 文章标题 : Re: 主机是戴尔optiplex 990,系统kubuntu14.04,装了显卡之后切换到字符界面就黑屏,怎么破?
帖子发表于 : 2015-07-16 8:34 

注册: 2009-08-04 16:33
帖子: 17783
送出感谢: 21
接收感谢: 1914
把下面指令 複製 貼進終端機 執行
1. uname -r
2. sudo lspci -knn
3. sudo lshw -numeric -class video
4. sudo ubuntu-drivers devices
把結果直接 選取/複製 貼上來


页首
 用户资料  
 
3 楼 
 文章标题 : Re: 主机是戴尔optiplex 990,系统kubuntu14.04,装了显卡之后切换到字符界面就黑屏,怎么破?
帖子发表于 : 2015-07-16 9:57 

注册: 2015-07-15 22:21
帖子: 7
系统: kubuntu14.04
送出感谢: 0 次
接收感谢: 0 次
lin@lin-OptiPlex-990:~$ uname -r
3.16.0-30-generic
lin@lin-OptiPlex-990:~$ sudo lspci -knn
[sudo] password for lin:
00:00.0 Host bridge [0600]: Intel Corporation 2nd Generation Core Processor Family DRAM Controller [8086:0100] (rev 09)
Subsystem: Dell Device [1028:047e]
Kernel driver in use: snb_uncore
00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port [8086:0101] (rev 09)
Kernel driver in use: pcieport
00:16.0 Communication controller [0780]: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 [8086:1c3a] (rev 04)
Subsystem: Dell Device [1028:047e]
Kernel driver in use: mei_me
00:16.3 Serial controller [0700]: Intel Corporation 6 Series/C200 Series Chipset Family KT Controller [8086:1c3d] (rev 04)
Subsystem: Dell Device [1028:047e]
Kernel driver in use: serial
00:19.0 Ethernet controller [0200]: Intel Corporation 82579LM Gigabit Network Connection [8086:1502] (rev 04)
Subsystem: Dell Device [1028:047e]
Kernel driver in use: e1000e
00:1a.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 [8086:1c2d] (rev 04)
Subsystem: Dell Device [1028:047e]
Kernel driver in use: ehci-pci
00:1b.0 Audio device [0403]: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller [8086:1c20] (rev 04)
Subsystem: Dell Device [1028:047e]
Kernel driver in use: snd_hda_intel
00:1c.0 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 [8086:1c10] (rev b4)
Kernel driver in use: pcieport
00:1c.2 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 3 [8086:1c14] (rev b4)
Kernel driver in use: pcieport
00:1d.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 [8086:1c26] (rev 04)
Subsystem: Dell Device [1028:047e]
Kernel driver in use: ehci-pci
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev a4)
00:1f.0 ISA bridge [0601]: Intel Corporation Q67 Express Chipset Family LPC Controller [8086:1c4e] (rev 04)
Subsystem: Dell Device [1028:047e]
Kernel driver in use: lpc_ich
00:1f.2 RAID bus controller [0104]: Intel Corporation 82801 SATA Controller [RAID mode] [8086:2822] (rev 04)
Subsystem: Dell Device [1028:047e]
Kernel driver in use: ahci
00:1f.3 SMBus [0c05]: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller [8086:1c22] (rev 04)
Subsystem: Dell Device [1028:047e]
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation Device [10de:1401] (rev a1)
Subsystem: Device [1b4c:1138]
01:00.1 Audio device [0403]: NVIDIA Corporation Device [10de:0fba] (rev a1)
Subsystem: Device [1b4c:1138]
Kernel driver in use: snd_hda_intel
lin@lin-OptiPlex-990:~$ sudo lshw -numeric -class video
*-display UNCLAIMED
description: VGA compatible controller
product: NVIDIA Corporation [10DE:1401]
vendor: NVIDIA Corporation [10DE]
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller cap_list
configuration: latency=0
resources: memory:e3000000-e3ffffff memory:d0000000-dfffffff memory:e0000000-e1ffffff ioport:3000(size=128) memory:e4000000-e407ffff
lin@lin-OptiPlex-990:~$ sudo ubuntu-drivers devices


页首
 用户资料  
 
4 楼 
 文章标题 : Re: 主机是戴尔optiplex 990,系统kubuntu14.04,装了显卡之后切换到字符界面就黑屏,怎么破?
帖子发表于 : 2015-07-16 10:34 

注册: 2015-07-15 22:21
帖子: 7
系统: kubuntu14.04
送出感谢: 0 次
接收感谢: 0 次
lin@lin-OptiPlex-990:~$ uname -r
3.16.0-30-generic
lin@lin-OptiPlex-990:~$ sudo lspci -knn
[sudo] password for lin:
00:00.0 Host bridge [0600]: Intel Corporation 2nd Generation Core Processor Family DRAM Controller [8086:0100] (rev 09)
Subsystem: Dell Device [1028:047e]
Kernel driver in use: snb_uncore
00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port [8086:0101] (rev 09)
Kernel driver in use: pcieport
00:16.0 Communication controller [0780]: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 [8086:1c3a] (rev 04)
Subsystem: Dell Device [1028:047e]
Kernel driver in use: mei_me
00:16.3 Serial controller [0700]: Intel Corporation 6 Series/C200 Series Chipset Family KT Controller [8086:1c3d] (rev 04)
Subsystem: Dell Device [1028:047e]
Kernel driver in use: serial
00:19.0 Ethernet controller [0200]: Intel Corporation 82579LM Gigabit Network Connection [8086:1502] (rev 04)
Subsystem: Dell Device [1028:047e]
Kernel driver in use: e1000e
00:1a.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 [8086:1c2d] (rev 04)
Subsystem: Dell Device [1028:047e]
Kernel driver in use: ehci-pci
00:1b.0 Audio device [0403]: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller [8086:1c20] (rev 04)
Subsystem: Dell Device [1028:047e]
Kernel driver in use: snd_hda_intel
00:1c.0 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 [8086:1c10] (rev b4)
Kernel driver in use: pcieport
00:1c.2 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 3 [8086:1c14] (rev b4)
Kernel driver in use: pcieport
00:1d.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 [8086:1c26] (rev 04)
Subsystem: Dell Device [1028:047e]
Kernel driver in use: ehci-pci
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev a4)
00:1f.0 ISA bridge [0601]: Intel Corporation Q67 Express Chipset Family LPC Controller [8086:1c4e] (rev 04)
Subsystem: Dell Device [1028:047e]
Kernel driver in use: lpc_ich
00:1f.2 RAID bus controller [0104]: Intel Corporation 82801 SATA Controller [RAID mode] [8086:2822] (rev 04)
Subsystem: Dell Device [1028:047e]
Kernel driver in use: ahci
00:1f.3 SMBus [0c05]: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller [8086:1c22] (rev 04)
Subsystem: Dell Device [1028:047e]
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation Device [10de:1401] (rev a1)
Subsystem: Device [1b4c:1138]
01:00.1 Audio device [0403]: NVIDIA Corporation Device [10de:0fba] (rev a1)
Subsystem: Device [1b4c:1138]
Kernel driver in use: snd_hda_intel
lin@lin-OptiPlex-990:~$ sudo lshw -numeric -class video
*-display UNCLAIMED
description: VGA compatible controller
product: NVIDIA Corporation [10DE:1401]
vendor: NVIDIA Corporation [10DE]
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller cap_list
configuration: latency=0
resources: memory:e3000000-e3ffffff memory:d0000000-dfffffff memory:e0000000-e1ffffff ioport:3000(size=128) memory:e4000000-e407ffff
lin@lin-OptiPlex-990:~$ sudo ubuntu-drivers devices


页首
 用户资料  
 
5 楼 
 文章标题 : Re: 主机是戴尔optiplex 990,系统kubuntu14.04,装了显卡之后切换到字符界面就黑屏,怎么破?
帖子发表于 : 2015-07-16 11:40 

注册: 2009-08-04 16:33
帖子: 17783
送出感谢: 21
接收感谢: 1914
引用:
没装独显的时候本来可以ctrl+alt+f1切换到文字界面,装了显卡后可以有图形界面

引用:
sudo lspci -knn
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation Device [10de:1401] (rev a1)

1. 單顯卡 沒有偵測到 內建顯卡 ?
1-1. 請查閱 使用說明書 主板是否支援雙顯卡
引用:
sudo lshw -numeric -class video
*-display UNCLAIMED
product: NVIDIA Corporation [10DE:1401]
configuration: latency=0

2. 偵測到的顯卡
[10DE:1401]
http://pciids.sourceforge.net/v2.2/pci.ids
10de NVIDIA Corporation
1401 GM206 [GeForce GTX 960]

3. 在 開源驅動 nouveau 支援名單內
http://nouveau.freedesktop.org/wiki/CodeNames/
NV110 family (Maxwell)
NV126 (GM206) GeForce GTX (960)
3-1. 安裝 Ubuntu 時 預裝 開源驅動 nouveau

4. 閉源驅動 nvidia
自 346.35 開始支援 GeForce GTX 960
http://www.nvidia.com/Download/driverRe ... 1252/en-us
Version: 346.35
4-1. 安裝方法 參見
https://help.ubuntu.com/community/Binar ... wto/Nvidia
https://help.ubuntu.com/community/NvidiaManual
引用:
sudo lshw -numeric -class video
configuration: latency=0

5. 看不出 目前作用中的驅動
引用:
没装独显的时候本来可以ctrl+alt+f1切换到文字界面,装了显卡后可以有图形界面,但是一按ctrl+alt+f1就黑屏,

6. 裝了独显以後 有另外安裝閉源驅動嗎

7. 看看 能否登入 Recovery Mode
https://wiki.ubuntu.com/RecoveryMode
7-1. 如果可以 看看能否登入 tty1 ~ tty6


页首
 用户资料  
 
6 楼 
 文章标题 : Re: 主机是戴尔optiplex 990,系统kubuntu14.04,装了显卡之后切换到字符界面就黑屏,怎么破?
帖子发表于 : 2015-07-16 19:17 

注册: 2015-07-15 22:21
帖子: 7
系统: kubuntu14.04
送出感谢: 0 次
接收感谢: 0 次
前辈,你好,谢谢你的提醒。自从装了系统之后,我就没装过显卡驱动,之前想装nvidia 352.21驱动,但是也装失败了,装cuda也装不上。也就是说现在电脑里的驱动就是装系统时自带的nouveau


页首
 用户资料  
 
7 楼 
 文章标题 : Re: 主机是戴尔optiplex 990,系统kubuntu14.04,装了显卡之后切换到字符界面就黑屏,怎么破?
帖子发表于 : 2015-07-16 19:30 

注册: 2015-07-15 22:21
帖子: 7
系统: kubuntu14.04
送出感谢: 0 次
接收感谢: 0 次
我现在想在bios里切换成集显,但是没找到这个选项,这个系列的机子好像不支持切换显卡


页首
 用户资料  
 
8 楼 
 文章标题 : Re: 主机是戴尔optiplex 990,系统kubuntu14.04,装了显卡之后切换到字符界面就黑屏,怎么破?
帖子发表于 : 2015-07-16 21:19 

注册: 2009-08-04 16:33
帖子: 17783
送出感谢: 21
接收感谢: 1914
引用:
我现在想在bios里切换成集显,但是没找到这个选项

1. 把獨顯 拔除 重新開機
sudo lshw -numeric -class video
把結果複製/貼上來看看
引用:
NV126 (GM206) GeForce GTX (960)

2. GeForce GTX 960 不支援 Optimus (雙顯卡) 功能
2-1. http://www.geforce.com/hardware/noteboo ... m/features
GeForce GTX 960M
Features
NVIDIA Optimus Technology
2-2. http://www.geforce.com/hardware/desktop ... 0/features
GeForce GTX 960
Features
沒有
NVIDIA Optimus Technology


页首
 用户资料  
 
9 楼 
 文章标题 : Re: 主机是戴尔optiplex 990,系统kubuntu14.04,装了显卡之后切换到字符界面就黑屏,怎么破?
帖子发表于 : 2015-07-17 18:01 

注册: 2015-07-15 22:21
帖子: 7
系统: kubuntu14.04
送出感谢: 0 次
接收感谢: 0 次
很感谢前辈的指点,不过我主要问题还是在于切换到tty就黑屏的问题上,刚刚已经找到解决的方案了,现在贴在这里让大家共享一下:
nvidia的显卡:
修改/etc/initramfs-tools/modules
加入
fbcon
vesafb
nvidiafb三行
再修改/etc/modprobe.d/blacklist-framebuffer文件
把nvidiafb,vesafb,vga16fb三行注释掉
运行sudo update-initramfs -u重启电脑就好

—————————————————————————
我的没vga16fb这一行,就无视掉了。


页首
 用户资料  
 
10 楼 
 文章标题 : Re: 主机是戴尔optiplex 990,系统kubuntu14.04,装了显卡之后切换到字符界面就黑屏,怎么破?
帖子发表于 : 2015-07-17 21:23 

注册: 2009-08-04 16:33
帖子: 17783
送出感谢: 21
接收感谢: 1914
引用:
nvidia的显卡:
修改/etc/initramfs-tools/modules
加入
fbcon
vesafb
nvidiafb三行
再修改/etc/modprobe.d/blacklist-framebuffer文件
把nvidiafb,vesafb,vga16fb三行注释掉
运行sudo update-initramfs -u重启电脑就好

這是比較早期的方法
grub 2 參數 另外有較新的選項
有興趣 再研究


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 10 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 4 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译