![Ubuntu 16.04 暂停存在严重一致性问题 - Nvidia 驱动程序](https://linux22.com/image/1139807/Ubuntu%2016.04%20%E6%9A%82%E5%81%9C%E5%AD%98%E5%9C%A8%E4%B8%A5%E9%87%8D%E4%B8%80%E8%87%B4%E6%80%A7%E9%97%AE%E9%A2%98%20-%20Nvidia%20%E9%A9%B1%E5%8A%A8%E7%A8%8B%E5%BA%8F.png)
这是我的系统规格,我感觉这是 System76 或 Nvidia GTX 970M 特有的:
- System76-Serval WS(serw8)
- Ubuntu 16.04.1 LTS(64 位)
- 6 GB GeForce GTX 970M – 1280 CUDA 核心
- 3.6 GHz i7-4790(8MB 缓存 – 4 核 – 8 线程)
- 16 GB HyperX 双通道 DDR3,1866MHz(2× 8GB)
- PCIe (M.2)、SSD、HDD
我遇到了不一致的暂停问题,当从暂停状态唤醒时,它有时但频繁地醒来后发现屏幕变黑。
在 systemd suspend 和 suspend 中都发生过这种情况pm-suspend
。
当屏幕变黑时,按下电源按钮、按下睡眠按钮、尝试任何组合键以及关闭并重新打开盖子都不起作用。我唯一能做的就是硬关机或Alt+ SysRq+ ( RIESUB) 进行硬重置。
我尝试了一些不同的 Nvidia 驱动程序,但都无济于事。我尝试使用开源 nouveau 驱动程序,但它们的分辨率不佳,而且非常坏的。
这是我当前的驱动程序版本(通过system76-driver-nvidia
包提供):367.27 from nvidia-367 (open source)
我曾就此问题咨询过 System76,但很遗憾,他们也束手无策。他们认为这与 systemd 有关,但我不确定,他们也不确定。
/var/log/pm-suspend
我在崩溃后检查过,它是空的。这是它正常工作时显示的内容:
Initial commandline parameters:
Tue Aug 23 12:29:55 CDT 2016: Running hooks for suspend.
Running hook /usr/lib/pm-utils/sleep.d/000kernel-change suspend suspend:
/usr/lib/pm-utils/sleep.d/000kernel-change suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/00logging suspend suspend:
Linux Serval-WS 4.4.0-34-generic #53-Ubuntu SMP Wed Jul 27 16:06:39 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Module Size Used by
drbg 32768 1
ansi_cprng 16384 0
ctr 16384 2
ccm 20480 2
nvram 16384 0
msr 16384 0
vmnet 53248 9
vmw_vsock_vmci_transport 28672 0
vsock 36864 1 vmw_vsock_vmci_transport
vmw_vmci 65536 1 vmw_vsock_vmci_transport
vmmon 86016 0
uvcvideo 90112 0
videobuf2_vmalloc 16384 1 uvcvideo
videobuf2_memops 16384 1 videobuf2_vmalloc
videobuf2_v4l2 28672 1 uvcvideo
videobuf2_core 36864 2 uvcvideo,videobuf2_v4l2
v4l2_common 16384 1 videobuf2_v4l2
videodev 176128 4 uvcvideo,v4l2_common,videobuf2_core,videobuf2_v4l2
media 24576 2 uvcvideo,videodev
btusb 45056 0
btrtl 16384 1 btusb
btbcm 16384 1 btusb
btintel 16384 1 btusb
pci_stub 16384 1
vboxpci 24576 0
vboxnetadp 28672 0
vboxnetflt 28672 0
vboxdrv 454656 3 vboxnetadp,vboxnetflt,vboxpci
bluetooth 520192 5 btbcm,btrtl,btusb,btintel
binfmt_misc 20480 1
snd_hda_codec_hdmi 53248 1
mxm_wmi 16384 0
arc4 16384 2
intel_rapl 20480 0
x86_pkg_temp_thermal 16384 0
intel_powerclamp 16384 0
kvm_intel 172032 0
kvm 540672 1 kvm_intel
irqbypass 16384 1 kvm
crct10dif_pclmul 16384 0
crc32_pclmul 16384 0
aesni_intel 167936 4
aes_x86_64 20480 1 aesni_intel
lrw 16384 1 aesni_intel
gf128mul 16384 1 lrw
glue_helper 16384 1 aesni_intel
ablk_helper 16384 1 aesni_intel
cryptd 20480 2 aesni_intel,ablk_helper
snd_hda_codec_realtek 86016 1
snd_hda_codec_generic 77824 1 snd_hda_codec_realtek
iwlmvm 311296 0
snd_seq_midi 16384 0
snd_hda_intel 36864 5
mac80211 737280 1 iwlmvm
snd_seq_midi_event 16384 1 snd_seq_midi
snd_hda_codec 135168 4 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel
joydev 20480 0
input_leds 16384 0
serio_raw 16384 0
snd_hda_core 73728 5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
snd_hwdep 16384 1 snd_hda_codec
snd_rawmidi 32768 1 snd_seq_midi
snd_pcm 106496 4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_core
iwlwifi 200704 1 iwlmvm
snd_seq 69632 2 snd_seq_midi_event,snd_seq_midi
cfg80211 565248 3 iwlwifi,mac80211,iwlmvm
snd_seq_device 16384 3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer 32768 2 snd_pcm,snd_seq
snd 81920 21 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_seq_device
nvidia_uvm 630784 0
mei_me 36864 0
soundcore 16384 1 snd
mei 98304 1 mei_me
lpc_ich 24576 0
shpchp 36864 0
wmi 20480 1 mxm_wmi
tpm_crb 16384 0
acpi_pad 20480 0
mac_hid 16384 0
coretemp 16384 0
parport_pc 32768 0
ppdev 20480 0
lp 20480 0
parport 49152 3 lp,ppdev,parport_pc
autofs4 40960 2
btrfs 987136 0
xor 24576 1 btrfs
raid6_pq 102400 1 btrfs
hid_logitech_hidpp 20480 0
hid_logitech_dj 20480 0
usbhid 49152 0
hid 118784 4 usbhid,hid_logitech_dj,hid_logitech_hidpp
nvidia_drm 45056 1
nvidia_modeset 765952 6 nvidia_drm
drm_kms_helper 147456 1 nvidia_drm
syscopyarea 16384 1 drm_kms_helper
sysfillrect 16384 1 drm_kms_helper
sysimgblt 16384 1 drm_kms_helper
fb_sys_fops 16384 1 drm_kms_helper
r8169 81920 0
drm 364544 4 drm_kms_helper,nvidia_drm
mii 16384 1 r8169
psmouse 126976 0
ahci 36864 3
libahci 32768 1 ahci
nvidia 11075584 94 nvidia_modeset,nvidia_uvm
sdhci_pci 28672 0
sdhci 45056 1 sdhci_pci
video 40960 0
fjes 28672 0
total used free shared buff/cache available
Mem: 16388560 2477524 12216160 40292 1694876 13504604
Swap: 16783356 0 16783356
/usr/lib/pm-utils/sleep.d/00logging suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/00powersave suspend suspend:
/usr/lib/pm-utils/sleep.d/00powersave suspend suspend: success.
Running hook /etc/pm/sleep.d/10_grub-common suspend suspend:
/etc/pm/sleep.d/10_grub-common suspend suspend: success.
Running hook /etc/pm/sleep.d/10_unattended-upgrades-hibernate suspend suspend:
/etc/pm/sleep.d/10_unattended-upgrades-hibernate suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/40inputattach suspend suspend:
/usr/lib/pm-utils/sleep.d/40inputattach suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/49tlp suspend suspend:
/usr/lib/pm-utils/sleep.d/49tlp suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/50unload_alx suspend suspend:
/usr/lib/pm-utils/sleep.d/50unload_alx suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/60_wpa_supplicant suspend suspend:
Selected interface 'p2p-dev-wlan0'
OK
/usr/lib/pm-utils/sleep.d/60_wpa_supplicant suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/75modules suspend suspend:
/usr/lib/pm-utils/sleep.d/75modules suspend suspend: not applicable.
Running hook /usr/lib/pm-utils/sleep.d/90clock suspend suspend:
/usr/lib/pm-utils/sleep.d/90clock suspend suspend: not applicable.
Running hook /usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend:
/usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/95anacron suspend suspend:
/usr/lib/pm-utils/sleep.d/95anacron suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/95hdparm-apm suspend suspend:
/usr/lib/pm-utils/sleep.d/95hdparm-apm suspend suspend: not applicable.
Running hook /usr/lib/pm-utils/sleep.d/95led suspend suspend:
/usr/lib/pm-utils/sleep.d/95led suspend suspend: not applicable.
Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend:
nVidia binary video drive detected, not using quirks.
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/99video suspend suspend:
kernel.acpi_video_flags = 0
/usr/lib/pm-utils/sleep.d/99video suspend suspend: success.
Running hook /etc/pm/sleep.d/compiz-fix.sh suspend suspend:
/etc/pm/sleep.d/compiz-fix.sh suspend suspend: success.
Running hook /etc/pm/sleep.d/novatel_3g_suspend suspend suspend:
/etc/pm/sleep.d/novatel_3g_suspend suspend suspend: success.
Tue Aug 23 12:29:56 CDT 2016: performing suspend
所以这是一个非常棘手的问题,我愿意尝试任何方法(在合理范围内),所以如果你有任何想法,请告诉我。我真的很想解决这个问题,因为我在大学使用我的笔记本电脑,当从挂起状态唤醒时,必须随机进行硬重置,就像掷骰子一样,这非常令人失望和危险。