AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题 / 1078758
Accepted
mmaceachran
mmaceachran
Asked: 2018-09-27 17:01:33 +0800 CST2018-09-27 17:01:33 +0800 CST 2018-09-27 17:01:33 +0800 CST

电脑进入睡眠模式,但无法唤醒

  • 772

我刚刚安装了新版本的 Ubuntu 18.04 Desktop。从那时起,当我的计算机进入睡眠/休眠状态时,它不会唤醒。5分钟。我曾尝试将睡眠时间更改为从不,但仍然如此。我的亮度滑块也对我的屏幕亮度没有影响,不知道这是否相关,但如果能解决这个问题也很好。

更新
我做了更新,但仍然没有运气。这是请求命令的输出:lspci

00:00.0 Host bridge: Intel Corporation Skylake Host Bridge/DRAM Registers (rev 07)
00:01.0 PCI bridge: Intel Corporation Skylake PCIe Controller (x16) (rev 07)
00:14.0 USB controller: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller (rev 31)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-H Thermal subsystem (rev 31)
00:16.0 Communication controller: Intel Corporation Sunrise Point-H CSME HECI #1 (rev 31)
00:17.0 SATA controller: Intel Corporation Sunrise Point-H SATA controller [AHCI mode] (rev 31)
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #1 (rev f1)
00:1c.6 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #7 (rev f1)
00:1c.7 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #8 (rev f1)
00:1d.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #9 (rev f1)
00:1d.4 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #13 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Sunrise Point-H LPC Controller (rev    31)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-H PMC (rev 31)
00:1f.3 Audio device: Intel Corporation Sunrise Point-H HD Audio (rev 31)
00:1f.4 SMBus: Intel Corporation Sunrise Point-H SMBus (rev 31)
01:00.0 VGA compatible controller: NVIDIA Corporation GM204M [GeForce GTX 970M] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GM204 High Definition Audio Controller (rev a1)
3b:00.0 Ethernet controller: Qualcomm Atheros Killer E2400 Gigabit Ethernet Controller (rev 10)
3c:00.0 SD Host controller: Realtek Semiconductor Co., Ltd. RTS5250 PCI Express Card Reader (rev 01)
3d:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM951/PM951 (rev 01)
3e:00.0 Network controller: Intel Corporation Wireless 8260 (rev 3a)


*-cpu                     
   description: CPU
   product: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
   vendor: Intel Corp.
   physical id: 1c
   bus info: cpu@0
   version: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
   serial: To Be Filled By O.E.M.
   slot: U3E1
   size: 2860MHz
   capacity: 4200MHz
   width: 64 bits
   clock: 100MHz
   capabilities: x86-64 fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp flush_l1d cpufreq
   configuration: cores=4 enabledcores=4 threads=8
*-display
   description: VGA compatible controller
   product: GM204M [GeForce GTX 970M]
   vendor: NVIDIA Corporation
   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:db000000-dbffffff memory:b0000000-bfffffff memory:c0000000-c1ffffff ioport:e000(size=128) memory:c0000-dffff
suspend hibernate brightness 18.04
  • 2 2 个回答
  • 7326 Views

2 个回答

  • Voted
  1. Best Answer
    Joshua Besneatte
    2018-09-28T07:54:18+08:002018-09-28T07:54:18+08:00

    为您的 MB/CPU 安装英特尔微码包

    看起来你有一块英特尔板,可能需​​要它的微码:

     sudo apt install intel-microdcode
    

    接下来,确保您拥有最新的视频驱动程序

    使用 NVIDIA 卡时更新的图形驱动程序将解决许多问题,因此这是一个很好的起点。我看到您正在使用开源“nouveau”驱动程序,所以我们将从更新它开始。首先添加 PPA 以提供最新的驱动程序:

    sudo add-apt-repository ppa:graphics-drivers/ppa
    sudo apt update
    sudo apt upgrade
    

    现在重新启动,看看它是否适合你。如果是这样,你就完成了!如果没有,请尝试使用 PRO 驱动程序:

    安装 NVIDIA Pro 驱动程序(可选)

    如果最新的 neoveau 驱动程序不起作用,您可以尝试使用 pro 驱动程序。有两个选项,390 和 396。396 破坏了我的系统,所以我将提供有关如何安装 390 以及如何尝试 396 的说明(并在需要时修复)。

    要安装 390 驱动程序:

    sudo apt install nvidia-driver-390
    

    然后重新启动以测试您的系统......如果它有效,您可以坚持使用或尝试 396 潜水员:

    sudo apt install nvidia-driver-396
    

    然后重新启动...如果此驱动程序阻止 X 启动,请使用“Ctrl+Alt+F3”切换到新的 TTY,登录并执行以下操作:

    sudo apt purge nvidia-driver-*
    sudo apt autoremove && sudo apt autoclean
    sudo apt install nvidia-driver-390
    sudo reboot
    
    • 2
  2. bogdanoff
    2021-02-14T07:45:18+08:002021-02-14T07:45:18+08:00

    如果你有nvidia显卡,这个问题很容易解决。只需更改GRUB_CMDLINE_LINUX=""为GRUB_CMDLINE_LINUX="nouveau.modeset=0" in /etc/default/grubfile即可sudo update-grub && reboot。还要检查应用商店,您可能需要安装其他驱动程序。

    如果仍然不能解决问题,试试这个cat /sys/power/mem_sleep。如果它不打印s2idle [deep],那么检查这个以解决问题。

    对于那些没有nvidia图形的人,运气不好。到2021年还没有解决。解决这个问题的唯一方法是降级内核,4.14.0-041400-generic这将解决盖子关闭时挂起的问题。

    注意:我说盖子关闭是因为此版本在盖子关闭时不会进入暂停模式,但有些方法可以关闭屏幕和背光。:) 这是我目前使用的版本。

    您可以使用ukuu工具或手动编译源来降级内核。对于 ukuu 工具,您需要付费,但如果您不想付费,请查看 github 发布部分并从那里下载。

    有一个问题页面仍未关闭,但我在 2021 年没有看到开发人员的任何回复。

    可以在此处和 此处找到一些错误的详细信息。

    我的系统规格:( lscpu)

    Architecture:        x86_64
    CPU op-mode(s):      32-bit, 64-bit
    Byte Order:          Little Endian
    CPU(s):              4
    On-line CPU(s) list: 0-3
    Thread(s) per core:  1
    Core(s) per socket:  4
    Socket(s):           1
    NUMA node(s):        1
    Vendor ID:           GenuineIntel
    CPU family:          6
    Model:               55
    Model name:          Intel(R) Pentium(R) CPU  N3510  @ 1.99GHz
    
    • 1

相关问题

  • 混合动力在哪里暂停?

  • 如何让我的电脑中的风扇在暂停时关闭?[关闭]

  • 为什么我的 Kubuntu 会话在恢复后需要相当长的时间才能响应?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve