max*_*axi 6 thinkpad freeze intel 18.04 20.04
自从我升级到 20.04 以来,我的笔记本电脑开始频繁死机(每 15-60 分钟一次)。几年前,当我在笔记本电脑上安装 Windows 时,我就已经遇到过这个问题。切换到 Ubuntu 18.04 后,我不再遇到冻结问题。
\n\n它是 Lenovo Thinkpad Yoga 260,配备 Intel\xc2\xae Core\xe2\x84\xa2 i7-6500U CPU @ 2.50GHz \xc3\x97 4、Mesa Intel\xc2\xae HD Graphics 520 (SKL GT2)、8GB Samsung RAM、 ...
\n\n从 18.04 到 20.04 的哪些变化可能会导致问题。也许 20.04 和 windows 有,而 18.04 没有?
\n\n谢谢
\n\nls -al ~/.local/share/gnome-shell/extensions\n\nls: cannot access '/home/maximilian/.local/share/gnome-shell/extensions': No such file or directory\n\n\n\nls -al /usr/share/gnome-shell/extensions\n\ntotal 20\ndrwxr-xr-x 5 root root 4096 Apr 23 09:35 .\ndrwxr-xr-x 7 root root 4096 Mai 9 08:14 ..\ndrwxr-xr-x 2 root root 4096 Apr 23 09:35 desktop-icons@csoriano\ndrwxr-xr-x 3 root root 4096 Apr 23 09:35 ubuntu-appindicators@ubuntu.com\ndrwxr-xr-x 3 root root 4096 Apr 23 09:35 ubuntu-dock@ubuntu.com\n\n\n\nsudo dmidecode -s bios-version\n\nN1GET34W (1.11 )\n\n\n\n\nfree -h\n\n total used free shared buff/cache available\nMem: 7,7Gi 2,8Gi 938Mi 1,4Gi 3,9Gi 3,2Gi\nSwap: 2,0Gi 0,0Ki 2,0Gi\n\n\n\n\nsysctl vm.swappiness\n\nvm.swappiness = 60\n\n\n\n\ngrep -i swap /etc/fstab\n\n/swapfile none swap sw 0 0\nRun Code Online (Sandbox Code Playgroud)\n
BIOS
您有 BIOS N1GET34W (1.11)。
当前 BIOS 为 N1GETA0W (1.79)。请前往此处下载较新版本。
交换
对于您的工作环境来说,您的 /swapfile 可能有点小。让我们把它从2G增加到4G。
注意:命令使用不当dd可能会导致数据丢失。建议复制/粘贴。
sudo swapoff -a # turn off swap
sudo rm -i /swapfile # remove old /swapfile
sudo dd if=/dev/zero of=/swapfile bs=1M count=4096
sudo chmod 600 /swapfile # set proper file protections
sudo mkswap /swapfile # init /swapfile
sudo swapon /swapfile # turn on swap
free -h # confirm 8G RAM and 4G swap
reboot # reboot and verify operation
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
3501 次 |
| 最近记录: |