惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Jina AI
Jina AI
T
The Blog of Author Tim Ferriss
B
Blog
L
LangChain Blog
Y
Y Combinator Blog
美团技术团队
博客园 - 三生石上(FineUI控件)
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
G
Google Developers Blog
量子位
博客园_首页
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
C
Check Point Blog
D
Docker
小众软件
小众软件
The Cloudflare Blog
大猫的无限游戏
大猫的无限游戏
T
Tailwind CSS Blog
Apple Machine Learning Research
Apple Machine Learning Research
博客园 - 聂微东
Blog — PlanetScale
Blog — PlanetScale
GbyAI
GbyAI
Google DeepMind News
Google DeepMind News
IT之家
IT之家

ABB00717

HTB - SpeedNet PHP Filter to RCE Redis HTB - Pollution HTB - Pollution 工具 常見服務 HTB - BroScience HTB - BroScience 如何把爛爛的 shell 升級成好用的 TTY 滲透筆記 HTB - Imagery HTB - Imagery HTB - Reset HTB - Reset HTB - Trick HTB - Trick HTB - Editorial HTB - Editorial 150. Evaluate Reverse Polish Notation droopescan 安裝找不到 module imp 解決「桌面背景被當成一個視窗不斷重新彈出並覆蓋其他視窗」的問題 桌面不斷彈出覆蓋其他視窗 medusa 找不到 ssh module 中文文案排版指北 BugBounty Playbook 小知識 透過 Ubuntu 26 設定 Windows 11 雙系統並使用 Image Recovery 之踩坑全紀錄 透過 Ubuntu 26 設定 Windows 11 雙系統並使用 Image Recovery 之踩坑全紀錄 清除 git history 中的機敏資料
解決 Ubuntu 待機後喚醒異常的問題
2026-01-11 · via ABB00717

思路

顯卡有專門的內顯(VRAM))儲存資料。在休眠以前,如果 VRAM 沒有正確保存、還原,喚醒後螢幕就會顯示異常。

說 Linux 系統設備在休眠,通常是指其進入 ACPI 定義的 S3 狀態。在此狀態下,CPU 停止、週邊設備斷電,但主機板會持續對 System RAM 供電。也就是說,強制系統在休眠以前把所有的 VRAM 內容寫入 RAM 或 Swap,並在喚醒時全數還原即可。可透過 NVIDIA 的設定檔調整。

操作

建立/編輯 /etc/modprobe.d/nvidia-power-management.conf,請系統保留所有 VRAM

options nvidia NVreg_PreserveVideoMemoryAllocations=1

啟用 NVIDIA 提供的 Systemd 電源管理的掛鉤(hooks)服務。

sudo systemctl enable nvidia-suspend.service
sudo systemctl enable nvidia-hibernate.service
sudo systemctl enable nvidia-resume.service

更新 initramfs

sudo update-initramfs -u
sudo reboot

參考資料

  1. https://forums.developer.nvidia.com/t/glitches-and-messed-up-colours-after-wake-up-on-gtx-1650-ti-ryzen-4800h-ubuntu-20-10/176380