最近安装的ubuntu16.04系统 老卡机,每次都得重新启动

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
yxf460460
帖子: 1
注册时间: 2017-05-10 14:55
系统: ubuntu16.04

最近安装的ubuntu16.04系统 老卡机,每次都得重新启动

#1

帖子 yxf460460 » 2017-05-10 14:58

在公司安装了ubuntu16.04系统,经常卡死重启,找了好多方法都不行,更新了内核也不行,问问大家有什么好的方法吗,在不重新装系统的情况下如何能不死机呢 :Cry
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 最近安装的ubuntu16.04系统 老卡机,每次都得重新启动

#2

帖子 poloshiao » 2017-05-10 16:55

1. 優先檢查你的顯卡硬件及驅動
把下面指令 複製 貼進終端機 執行
1-1. uname -a
1-2. sudo lspci -knn
1-3. sudo lshw -numeric -class video
1-4. sudo ubuntu-drivers devices
1-5. sudo efibootmgr -v
把結果直接 選取/複製 貼上來
目的 要查正確的顯卡 Codename
不要擷圖 方便回文直接引用你貼上來的資料
方便你閱讀
smile-TT
帖子: 1
注册时间: 2017-11-08 18:19
系统: ubuntu 16.04

Re: 最近安装的ubuntu16.04系统 老卡机,每次都得重新启动

#3

帖子 smile-TT » 2017-11-08 18:22

代码: 全选

# smile @ smile-TT in ~/下载 [18:06:55] 
$ uname -a
Linux smile-TT 4.10.0-28-generic #32~16.04.2-Ubuntu SMP Thu Jul 20 10:19:48 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

# smile @ smile-TT in ~/下载 [18:12:05] 
$ sudo lspci -knn
[sudo] smile 的密码: 
00:00.0 Host bridge [0600]: Intel Corporation Device [8086:591f] (rev 05)
	Subsystem: ASUSTeK Computer Inc. Device [1043:8694]
00:01.0 PCI bridge [0604]: Intel Corporation Sky Lake PCIe Controller (x16) [8086:1901] (rev 05)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:14.0 USB controller [0c03]: Intel Corporation Device [8086:a2af]
	Subsystem: ASUSTeK Computer Inc. Device [1043:8694]
	Kernel driver in use: xhci_hcd
00:16.0 Communication controller [0780]: Intel Corporation Device [8086:a2ba]
	Subsystem: ASUSTeK Computer Inc. Device [1043:8694]
	Kernel driver in use: mei_me
	Kernel modules: mei_me
00:17.0 SATA controller [0106]: Intel Corporation Device [8086:a282]
	Subsystem: ASUSTeK Computer Inc. Device [1043:8694]
	Kernel driver in use: ahci
	Kernel modules: ahci
00:1c.0 PCI bridge [0604]: Intel Corporation Device [8086:a294] (rev f0)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1c.7 PCI bridge [0604]: Intel Corporation Device [8086:a297] (rev f0)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1d.0 PCI bridge [0604]: Intel Corporation Device [8086:a298] (rev f0)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1f.0 ISA bridge [0601]: Intel Corporation Device [8086:a2c8]
	Subsystem: ASUSTeK Computer Inc. Device [1043:8694]
00:1f.2 Memory controller [0580]: Intel Corporation Device [8086:a2a1]
	Subsystem: ASUSTeK Computer Inc. Device [1043:8694]
00:1f.3 Audio device [0403]: Intel Corporation Device [8086:a2f0]
	Subsystem: ASUSTeK Computer Inc. Device [1043:86c7]
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
00:1f.4 SMBus [0c05]: Intel Corporation Device [8086:a2a3]
	Subsystem: ASUSTeK Computer Inc. Device [1043:8694]
	Kernel modules: i2c_i801
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK208 [GeForce GT 730] [10de:1287] (rev a1)
	Subsystem: NVIDIA Corporation GK208 [GeForce GT 730] [10de:0000]
	Kernel driver in use: nouveau
	Kernel modules: nvidiafb, nouveau
01:00.1 Audio device [0403]: NVIDIA Corporation GK208 HDMI/DP Audio Controller [10de:0e0f] (rev a1)
	Subsystem: NVIDIA Corporation GK208 HDMI/DP Audio Controller [10de:0000]
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
	Subsystem: ASUSTeK Computer Inc. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [1043:8677]
	Kernel driver in use: r8169
	Kernel modules: r8169

# smile @ smile-TT in ~/下载 [18:12:16] 
$ sudo lshw -numeric -class video
  *-display               
       description: VGA compatible controller
       product: GK208 [GeForce GT 730] [10DE:1287]
       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 bus_master cap_list rom
       configuration: driver=nouveau latency=0
       resources: irq:124 memory:f6000000-f6ffffff memory:e8000000-efffffff memory:f0000000-f1ffffff ioport:e000(size=128) memory:c0000-dffff

# smile @ smile-TT in ~/下载 [18:12:26] 
$ sudo ubuntu-drivers devices
== cpu-microcode.py ==
driver   : intel-microcode - distro non-free

== /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==
vendor   : NVIDIA Corporation
model    : GK208 [GeForce GT 730]
modalias : pci:v000010DEd00001287sv000010DEsd00000000bc03sc00i00
driver   : nvidia-384 - distro non-free recommended
driver   : xserver-xorg-video-nouveau - distro free builtin
driver   : nvidia-340 - distro non-free


# smile @ smile-TT in ~/下载 [18:12:40] 
$  sudo efibootmgr -v 
efibootmgr: EFI variables are not supported on this system.

我也碰到相同的问题。
comeon_0000
帖子: 3
注册时间: 2017-11-22 21:27
系统: ubuntu 16.04

Re: 最近安装的ubuntu16.04系统 老卡机,每次都得重新启动

#4

帖子 comeon_0000 » 2017-11-22 23:07

我页有次问题,求指教:

comeon_000@comeonsystem:~$ uname -a
Linux comeonsystem 4.10.0-40-generic #44~16.04.1-Ubuntu SMP Thu Nov 9 15:37:44 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
comeon_000@comeonsystem:~$ sudo lspci -knn
[sudo] comeon_000 的密码:
00:00.0 Host bridge [0600]: Intel Corporation 2nd Generation Core Processor Family DRAM Controller [8086:0100] (rev 09)
Subsystem: ASUSTeK Computer Inc. P8P67/P8H67 Series Motherboard [1043:844d]
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
Kernel modules: shpchp
00:16.0 Communication controller [0780]: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 [8086:1c3a] (rev 04)
Subsystem: ASUSTeK Computer Inc. P8 series motherboard [1043:844d]
Kernel driver in use: mei_me
Kernel modules: mei_me
00:19.0 Ethernet controller [0200]: Intel Corporation 82579V Gigabit Network Connection [8086:1503] (rev 05)
DeviceName: Onboard LAN
Subsystem: ASUSTeK Computer Inc. P8P67 Deluxe Motherboard [1043:849c]
Kernel driver in use: e1000e
Kernel modules: e1000e
00:1a.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 [8086:1c2d] (rev 05)
Subsystem: ASUSTeK Computer Inc. P8 series motherboard [1043:844d]
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 05)
Subsystem: ASUSTeK Computer Inc. 6 Series/C200 Series Chipset Family High Definition Audio Controller [1043:8410]
Kernel driver in use: snd_hda_intel
Kernel modules: 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 b5)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.1 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 [8086:1c12] (rev b5)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.3 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 [8086:1c16] (rev b5)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.4 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 [8086:1c18] (rev b5)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.6 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev b5)
00:1c.7 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 8 [8086:1c1e] (rev b5)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1d.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 [8086:1c26] (rev 05)
Subsystem: ASUSTeK Computer Inc. P8 series motherboard [1043:844d]
Kernel driver in use: ehci-pci
00:1f.0 ISA bridge [0601]: Intel Corporation Z68 Express Chipset Family LPC Controller [8086:1c44] (rev 05)
Subsystem: ASUSTeK Computer Inc. Z68 Express Chipset Family LPC Controller [1043:844d]
Kernel driver in use: lpc_ich
Kernel modules: lpc_ich
00:1f.2 IDE interface [0101]: Intel Corporation 6 Series/C200 Series Chipset Family 4 port SATA IDE Controller [8086:1c00] (rev 05)
Subsystem: ASUSTeK Computer Inc. 6 Series/C200 Series Chipset Family 4 port SATA IDE Controller [1043:844d]
Kernel driver in use: ata_piix
Kernel modules: pata_acpi
00:1f.3 SMBus [0c05]: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller [8086:1c22] (rev 05)
Subsystem: ASUSTeK Computer Inc. P8 series motherboard [1043:844d]
Kernel modules: i2c_i801
00:1f.5 IDE interface [0101]: Intel Corporation 6 Series/C200 Series Chipset Family 2 port SATA IDE Controller [8086:1c08] (rev 05)
Subsystem: ASUSTeK Computer Inc. 6 Series/C200 Series Chipset Family 2 port SATA IDE Controller [1043:844d]
Kernel driver in use: ata_piix
Kernel modules: pata_acpi
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Cayman PRO [Radeon HD 6950] [1002:6719]
Subsystem: Micro-Star International Co., Ltd. [MSI] Cayman PRO [Radeon HD 6950] [1462:2461]
Kernel driver in use: radeon
Kernel modules: radeon
01:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Cayman/Antilles HDMI Audio [Radeon HD 6900 Series] [1002:aa80]
Subsystem: Micro-Star International Co., Ltd. [MSI] Cayman/Antilles HDMI Audio [Radeon HD 6900 Series] [1462:aa80]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
03:00.0 USB controller [0c03]: ASMedia Technology Inc. ASM1042 SuperSpeed USB Host Controller [1b21:1042]
Subsystem: ASUSTeK Computer Inc. P8B WS Motherboard [1043:8488]
Kernel driver in use: xhci_hcd
04:00.0 SATA controller [0106]: JMicron Technology Corp. JMB362 SATA Controller [197b:2362] (rev 10)
Subsystem: ASUSTeK Computer Inc. P8P67 Deluxe Motherboard [1043:8460]
Kernel driver in use: ahci
Kernel modules: ahci
05:00.0 USB controller [0c03]: ASMedia Technology Inc. ASM1042 SuperSpeed USB Host Controller [1b21:1042]
Subsystem: ASUSTeK Computer Inc. P8B WS Motherboard [1043:8488]
Kernel driver in use: xhci_hcd
06:00.0 PCI bridge [0604]: ASMedia Technology Inc. ASM1083/1085 PCIe to PCI Bridge [1b21:1080] (rev 01)
07:00.0 Ethernet controller [0200]: Qualcomm Atheros AR2413/AR2414 Wireless Network Adapter [AR5005G(S) 802.11bg] [168c:001a] (rev 01)
Subsystem: Qualcomm Atheros Compex Wireless 802.11 b/g MiniPCI Adapter, Rev A1 [WLM54G] [168c:2052]
Kernel driver in use: ath5k
Kernel modules: ath5k
07:02.0 FireWire (IEEE 1394) [0c00]: VIA Technologies, Inc. VT6306/7/8 [Fire II(M)] IEEE 1394 OHCI Controller [1106:3044] (rev c0)
Subsystem: ASUSTeK Computer Inc. Motherboard [1043:81fe]
Kernel driver in use: firewire_ohci
Kernel modules: firewire_ohci
08:00.0 IDE interface [0101]: Marvell Technology Group Ltd. 88SE9172 SATA III 6Gb/s RAID Controller [1b4b:917a] (rev 11)
Subsystem: ASUSTeK Computer Inc. 88SE9172 SATA III 6Gb/s RAID Controller [1043:8477]
Kernel driver in use: ahci
Kernel modules: ahci, pata_acpi
comeon_000@comeonsystem:~$ sudo lshw -numeric -class video
*-display
description: VGA compatible controller
product: Cayman PRO [Radeon HD 6950] [1002:6719]
vendor: Advanced Micro Devices, Inc. [AMD/ATI] [1002]
physical id: 0
bus info: pci@0000:01:00.0
version: 00
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi vga_controller bus_master cap_list rom
configuration: driver=radeon latency=0
resources: irq:43 memory:e0000000-efffffff memory:f7e20000-f7e3ffff ioport:e000(size=256) memory:c0000-dffff
comeon_000@comeonsystem:~$ sudo ubuntu-drivers devices
== cpu-microcode.py ==
driver : intel-microcode - distro non-free

== /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.0 ==
model : RTL8812AU 802.11a/b/g/n/ac WLAN Adapter
modalias : usb:v0BDAp8812d0000dc00dsc00dp00icFFiscFFipFFin00
vendor : Realtek Semiconductor Corp.
driver : rtl8812au-dkms - distro free

comeon_000@comeonsystem:~$ sudo efibootmgr -v
efibootmgr: EFI variables are not supported on this system.
comeon_000@comeonsystem:~$
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 最近安装的ubuntu16.04系统 老卡机,每次都得重新启动

#5

帖子 poloshiao » 2017-11-23 14:22

@smile-TT
sudo lshw -numeric -class video
product: GK208 [GeForce GT 730] [10DE:1287]
...
configuration: driver=nouveau latency=0
1. 顯卡硬件 product: GK208 [GeForce GT 730] [10DE:1287]
1-1. 目前作用中驅動 開源 nouveau
1-2. GK208 [GeForce GT 730] 不在 支援名單內
https://nouveau.freedesktop.org/wiki/CodeNames/
sudo ubuntu-drivers devices
driver : nvidia-384 - distro non-free recommended
2. 推薦 安裝 Ubuntu 套件庫 提供的 閉源驅動 nvidia-384
2-1. https://packages.ubuntu.com/xenial/nvidia-384
套件: nvidia-384 (384.90-0ubuntu0.16.04.1) [security] [restricted]
2-2. GeForce GT 730 在 384.90 支援名單內
http://www.nvidia.com/Download/driverRe ... 3918/en-us
Linux x64 (AMD64/EM64T) Display Driver
Version: 384.90
Supported products
GeForce 700 Series:
GeForce GT 730
2-3. 建議安裝方法
https://help.ubuntu.com/community/Binar ... wto/Nvidia
BinaryDriverHowto/Nvidia
2-4. 進一步參閱
http://us.download.nvidia.com/XFree86/L ... index.html
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 最近安装的ubuntu16.04系统 老卡机,每次都得重新启动

#6

帖子 poloshiao » 2017-11-23 14:35

@comeon_0000
sudo lshw -numeric -class video
product: Cayman PRO [Radeon HD 6950] [1002:6719]
...
configuration: driver=radeon latency=0
1. 顯卡硬件 Radeon HD 6950
1-1. 目前 作用中 開源驅動 radeon
1-2. Radeon HD 6950 在 良好支援名單內
https://help.ubuntu.com/community/Radeo ... _supported
Fully supported
CAYMAN
Radeon HD 6950/6970/6990

2. 建議
就使用 目前 作用中的 開源驅動 radeon
2-1. 不要再安裝 閉源驅動 因為
http://forum.ubuntu.com.cn/viewtopic.ph ... 1#p3161841
如果你的 顯卡是 AMD/ATI
要升級或全新安裝 Ubuntu 16.04 LTS 以前
請先關心這個訊息
CN194910
帖子: 3
注册时间: 2017-08-05 15:48
系统: Ubuntu 16.04

Re: 最近安装的ubuntu16.04系统 老卡机,每次都得重新启动

#7

帖子 CN194910 » 2018-03-15 11:08

@poloshiao,你好,我同样出现了此问题,可否请你抽空看看,已按照你的命令执行,详细信息如下:

uname -a
Linux pan-ThinkPad-X260 4.13.0-37-generic #42~16.04.1-Ubuntu SMP Wed Mar 7 16:03:28 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

pan@pan-ThinkPad-X260:~$ sudo lspci -knn
[sudo] pan 的密码:
00:00.0 Host bridge [0600]: Intel Corporation Sky Lake Host Bridge/DRAM Registers [8086:1904] (rev 08)
Subsystem: Lenovo Skylake Host Bridge/DRAM Registers [17aa:504a]
Kernel driver in use: skl_uncore
00:02.0 VGA compatible controller [0300]: Intel Corporation Sky Lake Integrated Graphics [8086:1916] (rev 07)
Subsystem: Lenovo Skylake Integrated Graphics [17aa:504a]
Kernel driver in use: i915
Kernel modules: i915
00:14.0 USB controller [0c03]: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller [8086:9d2f] (rev 21)
Subsystem: Lenovo Sunrise Point-LP USB 3.0 xHCI Controller [17aa:504a]
Kernel driver in use: xhci_hcd
00:14.2 Signal processing controller [1180]: Intel Corporation Sunrise Point-LP Thermal subsystem [8086:9d31] (rev 21)
Subsystem: Lenovo Sunrise Point-LP Thermal subsystem [17aa:504a]
Kernel driver in use: intel_pch_thermal
Kernel modules: intel_pch_thermal
00:16.0 Communication controller [0780]: Intel Corporation Sunrise Point-LP CSME HECI [8086:9d3a] (rev 21)
Subsystem: Lenovo Sunrise Point-LP CSME HECI [17aa:504a]
Kernel driver in use: mei_me
Kernel modules: mei_me
00:17.0 SATA controller [0106]: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] [8086:9d03] (rev 21)
Subsystem: Lenovo Sunrise Point-LP SATA Controller [AHCI mode] [17aa:504a]
Kernel driver in use: ahci
Kernel modules: ahci
00:1c.0 PCI bridge [0604]: Intel Corporation Device [8086:9d10] (rev f1)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.2 PCI bridge [0604]: Intel Corporation Device [8086:9d12] (rev f1)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1f.0 ISA bridge [0601]: Intel Corporation Sunrise Point-LP LPC Controller [8086:9d48] (rev 21)
Subsystem: Lenovo Sunrise Point-LP LPC Controller [17aa:504a]
00:1f.2 Memory controller [0580]: Intel Corporation Sunrise Point-LP PMC [8086:9d21] (rev 21)
Subsystem: Lenovo Sunrise Point-LP PMC [17aa:504a]
Kernel driver in use: intel_pmc_core
00:1f.3 Audio device [0403]: Intel Corporation Sunrise Point-LP HD Audio [8086:9d70] (rev 21)
Subsystem: Lenovo Sunrise Point-LP HD Audio [17aa:504a]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel, snd_soc_skl
00:1f.4 SMBus [0c05]: Intel Corporation Sunrise Point-LP SMBus [8086:9d23] (rev 21)
Subsystem: Lenovo Sunrise Point-LP SMBus [17aa:504a]
Kernel modules: i2c_i801
00:1f.6 Ethernet controller [0200]: Intel Corporation Ethernet Connection I219-V [8086:1570] (rev 21)
Subsystem: Lenovo Ethernet Connection I219-V [17aa:2233]
Kernel driver in use: e1000e
Kernel modules: e1000e
02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS522A PCI Express Card Reader [10ec:522a] (rev 01)
Subsystem: Lenovo RTS522A PCI Express Card Reader [17aa:504a]
Kernel driver in use: rtsx_pci
Kernel modules: rtsx_pci
04:00.0 Network controller [0280]: Intel Corporation Wireless 8260 [8086:24f3] (rev 3a)
Subsystem: Intel Corporation Dual Band Wireless-AC 8260 [8086:0010]
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi

pan@pan-ThinkPad-X260:~$ sudo lshw -numeric -class video
*-display
description: VGA compatible controller
product: Sky Lake Integrated Graphics [8086:1916]
vendor: Intel Corporation [8086]
physical id: 2
bus info: pci@0000:00:02.0
version: 07
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:124 memory:d0000000-d0ffffff memory:c0000000-cfffffff ioport:e000(size=64) memory:c0000-dffff

pan@pan-ThinkPad-X260:~$ sudo ubuntu-drivers devices

pan@pan-ThinkPad-X260:~$ sudo efibootmgr -v
efibootmgr: EFI variables are not supported on this system.
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 最近安装的ubuntu16.04系统 老卡机,每次都得重新启动

#8

帖子 poloshiao » 2018-03-16 9:13

@CN194910
uname -a
Linux pan-ThinkPad-X260 4.13.0-37-generic #42~16.04.1-Ubuntu SMP Wed Mar 7 16:03:28 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
1. 是 Ubuntu 17.10 ?
1-1. 參見
https://packages.ubuntu.com/artful/linux-generic
套件: linux-generic (4.13.0.37.40 以及其他的)
sudo lshw -numeric -class video
*-display
description: VGA compatible controller
product: Sky Lake Integrated Graphics [8086:1916]
vendor: Intel Corporation [8086]
physical id: 2
bus info: pci@0000:00:02.0
version: 07
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:124 memory:d0000000-d0ffffff memory:c0000000-cfffffff ioport:e000(size=64) memory:c0000-dffff
2. 查看看 你的 CPU 型號 是否在此名單中
https://ark.intel.com/products/codename ... ylake#@All
Products formerly Skylake

3. 你也可以試試 新發表的開源驅動 vulkan
3-1. https://01.org/zh/linuxgraphics/blogs/j ... redirect=1
The Intel Open Source Technology 3D Graphics Team is excited to announce the availability of our Vulkan driver for fifth and sixth generation Intel Core processors (Broadwell and Skylake).
3-2. https://launchpad.net/~canonical-x/+arc ... /x-staging
vulkan
1.0.61.1+dfsg1-1ubuntu1~16.04.0
(Newer version available)
CN194910
帖子: 3
注册时间: 2017-08-05 15:48
系统: Ubuntu 16.04

Re: 最近安装的ubuntu16.04系统 老卡机,每次都得重新启动

#9

帖子 CN194910 » 2018-03-16 14:01

@poloshiaoUbuntu 17.10。
不好意思,刚刚才看到你的回复。我现在的系统版本是ubuntu 16.04 LTS,并不是Ubuntu 17.10。系统已经安装有很长一段时间了,死机的情况也是这周刚刚出现。后续我会去按照你所说的步骤,操作试试看。非常感谢,你给予的帮助。
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 最近安装的ubuntu16.04系统 老卡机,每次都得重新启动

#10

帖子 poloshiao » 2018-03-16 20:43

vulkan
這是很新的開源驅動
歡迎把心得發表出來跟大家分享
ubuntu_usr
帖子: 3
注册时间: 2018-09-13 21:34
系统: ubuntu 16.04

Re: 最近安装的ubuntu16.04系统 老卡机,每次都得重新启动

#11

帖子 ubuntu_usr » 2018-09-13 21:37

代码: 全选

luhengtong@luhengtong-MS-7A39:~$ uname -a
Linux luhengtong-MS-7A39 4.15.18-041518-generic #201804190330 SMP Thu Apr 19 07:34:21 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
luhengtong@luhengtong-MS-7A39:~$ sudo lspci -knn
[sudo] password for luhengtong: 
00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:1450]
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:7a39]
00:00.2 IOMMU [0806]: Advanced Micro Devices, Inc. [AMD] Device [1022:1451]
	Subsystem: Advanced Micro Devices, Inc. [AMD] Device [1022:1451]
00:01.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:1452]
00:01.3 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:1453]
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:02.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:1452]
00:03.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:1452]
00:03.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:1453]
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:04.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:1452]
00:07.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:1452]
00:07.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:1454]
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:08.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:1452]
00:08.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:1454]
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller [1022:790b] (rev 59)
	Subsystem: Micro-Star International Co., Ltd. [MSI] FCH SMBus Controller [1462:7a39]
	Kernel driver in use: piix4_smbus
	Kernel modules: i2c_piix4, sp5100_tco
00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge [1022:790e] (rev 51)
	Subsystem: Micro-Star International Co., Ltd. [MSI] FCH LPC Bridge [1462:7a39]
00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:1460]
00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:1461]
00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:1462]
00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:1463]
	Kernel driver in use: k10temp
	Kernel modules: k10temp
00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:1464]
00:18.5 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:1465]
00:18.6 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:1466]
00:18.7 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:1467]
03:00.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Device [1022:43bb] (rev 02)
	Subsystem: ASMedia Technology Inc. Device [1b21:1142]
	Kernel driver in use: xhci_hcd
03:00.1 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] Device [1022:43b7] (rev 02)
	Subsystem: ASMedia Technology Inc. Device [1b21:1062]
	Kernel driver in use: ahci
	Kernel modules: ahci
03:00.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43b2] (rev 02)
	DeviceName: Broadcom 5762
	Kernel driver in use: pcieport
	Kernel modules: shpchp
16:04.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43b4] (rev 02)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
16:05.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43b4] (rev 02)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
16:06.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43b4] (rev 02)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
16:07.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43b4] (rev 02)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
1b:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
	Subsystem: Micro-Star International Co., Ltd. [MSI] RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [1462:7a39]
	Kernel driver in use: r8169
	Kernel modules: r8169
1f:00.0 VGA compatible controller [0300]: NVIDIA Corporation Device [10de:1c03] (rev a1)
	Subsystem: NVIDIA Corporation Device [10de:11d7]
	Kernel driver in use: nvidia
	Kernel modules: nvidiafb, nouveau, nvidia_396, nvidia_396_drm
1f:00.1 Audio device [0403]: NVIDIA Corporation Device [10de:10f1] (rev a1)
	Subsystem: NVIDIA Corporation Device [10de:11d7]
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
20:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Device [1022:145a]
	Subsystem: Advanced Micro Devices, Inc. [AMD] Device [1022:145a]
20:00.2 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] Device [1022:1456]
	Subsystem: Advanced Micro Devices, Inc. [AMD] Device [1022:1456]
	Kernel driver in use: ccp
	Kernel modules: ccp
20:00.3 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Device [1022:145c]
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:7a39]
	Kernel driver in use: xhci_hcd
21:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Device [1022:1455]
	Subsystem: Advanced Micro Devices, Inc. [AMD] Device [1022:1455]
21:00.2 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] [1022:7901] (rev 51)
	Subsystem: Micro-Star International Co., Ltd. [MSI] FCH SATA Controller [AHCI mode] [1462:7a39]
	Kernel driver in use: ahci
	Kernel modules: ahci
21:00.3 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Device [1022:1457]
	DeviceName: Realtek ALC898
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:fa39]
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
luhengtong@luhengtong-MS-7A39:~$ sudo lshw -numeric -class video
  *-display               
       description: VGA compatible controller
       product: NVIDIA Corporation [10DE:1C03]
       vendor: NVIDIA Corporation [10DE]
       physical id: 0
       bus info: pci@0000:1f:00.0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
       configuration: driver=nvidia latency=0
       resources: irq:65 memory:fc000000-fcffffff memory:e0000000-efffffff memory:f0000000-f1ffffff ioport:e000(size=128) memory:c0000-dffff
luhengtong@luhengtong-MS-7A39:~$ sudo ubuntu-drivers devices
== /sys/devices/pci0000:00/0000:00:03.1/0000:1f:00.0 ==
modalias : pci:v000010DEd00001C03sv000010DEsd000011D7bc03sc00i00
vendor   : NVIDIA Corporation
driver   : nvidia-396 - third-party free recommended
driver   : nvidia-384 - third-party non-free
driver   : nvidia-390 - third-party free
driver   : xserver-xorg-video-nouveau - distro free builtin

luhengtong@luhengtong-MS-7A39:~$ sudo efibootmgr -v
BootCurrent: 0003
Timeout: 1 seconds
BootOrder: 0003,0000,0001
Boot0000* Windows Boot Manager	HD(1,GPT,0a891c06-f7ef-4b93-8cce-eca0abc1f523,0x1000,0x31000)/File(\EFI\MICROSOFT\BOOT\BOOTMGFW.EFI)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}....................
Boot0001  Hard Drive	BBS(HD,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0200)..GO..NO..........W.D.C. .W.D.1.0.E.Z.E.X.-.2.1.W.N.4.A.0...................\.,.@.r.d.=.X..........A.................................>..Gd-.;.A..MQ..L. . . . . . . . .C.W.6.C.0.Y.D.L.7.N.D.2........BO..NO..........T.O.S.H.I.B.A. .Q.2.0.0. .E.X. .M...2...................\.,.@.r.d.=.X..........A.................................>..Gd-.;.A..MQ..L. . . . . . . . .7.X.S.J.0.1.9.4.6.T.T.5........BO
Boot0003* ubuntu	HD(1,GPT,0a891c06-f7ef-4b93-8cce-eca0abc1f523,0x1000,0x31000)/File(\EFI\UBUNTU\SHIMX64.EFI)..BO
求助,系统经常无故卡住,鼠标键盘都没有反应,只能重启,更新了系统内核,更新了nvidia驱动,还是会出现问题。求助!
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 最近安装的ubuntu16.04系统 老卡机,每次都得重新启动

#12

帖子 poloshiao » 2018-09-14 10:04

sudo efibootmgr -v
BootCurrent: 0003
Timeout: 1 seconds
BootOrder: 0003,0000,0001
Boot0003* ubuntu HD(1,GPT,0a891c06-f7ef-4b93-8cce-eca0abc1f523,0x1000,0x31000)/File(\EFI\UBUNTU\SHIMX64.EFI)
1. 你的 Secure Boot 有沒有 設定為 disabled ?
sudo lshw -numeric -class video
*-display
description: VGA compatible controller
product: NVIDIA Corporation [10DE:1C03]
vendor: NVIDIA Corporation [10DE
configuration: driver=nvidia latency=0
2. 單顯卡 nvidia
2-1. 目前 作用中顯卡驅動 nvidia
2-2. NVIDIA Corporation [10DE:1C03]
http://pci-ids.ucw.cz/read/PC/10de/1c03
Name: GP106 [GeForce GTX 1060 6GB]
2-3. 開源驅動 nouveau 支援 GP106 [GeForce GTX 1060] 情形
https://nouveau.freedesktop.org/wiki/CodeNames/
General code names (supported cards)
NV130 GeForce 1060, GeForce 1070 Pascal
2-3-1. NV130 family (Pascal)
NV136 (GP106) GeForce GTX 1060

3. 意思是 安裝 Ubuntu 時 預裝 開源驅動 nouveau 就支援顯卡 (GP106) GeForce GTX 1060
你可以把已安裝驅動 nvidia 暫時移除 把 開源驅動 nouveau 從載入黑名單移除 重開機
試試 使用 開源驅動 nouveau
回复