这种情况最近才开始出现。但每当我关闭笔记本电脑并再次打开时,我都会看到一个空白的灰色屏幕。通常包含少量 GNOME shell 扩展的顶部栏被大大简化(没有扩展),并且电池电量下拉菜单不提供重新启动计算机的选项。大约 30 秒后,计算机将进入睡眠状态。在那之前,我必须按下电源按钮手动进入睡眠状态。然后,我必须再次按下电源按钮唤醒计算机。但是,我的登录页面也是灰色的(之前是使用 Bionic Beaver 主题的橙色),但有一个框让我输入密码,然后我就可以登录了。最后,一旦我从这种灰屏情况登录,我的顶部栏总是乱七八糟的,所以我必须重新启动 GNOME shell 才能使其恢复正常。
或者,有时当我重新打开笔记本电脑时,会显示正确的桌面背景,但正确的 GNOME Shell(顶部栏)和灰屏上的缩小版 GNOME Shell 都存在,并且所有内容都在闪烁,导致计算机无法使用。我不得不强制重启。
有人知道为什么会发生这种情况吗?我正在运行带有片上 Intel HD 显卡和 Linux 4.15.0-1030-oem 内核的 Ubuntu 18.04 LTS。我确实有一个 PCIe NVMe SED SSD(缩写时间),其他遇到类似问题的人似乎也对此感到疑惑。每次关闭笔记本电脑屏幕时,都必须破解它,这非常烦人。 :(
我在 /var/log/syslog 中发现了关闭笔记本电脑并重新打开时出现的这些日志:
Jan 20 23:16:20 <my-comp> gnome-shell[1844]: Failed to read EDID from 'eDP-1': No such file or directory
Jan 20 23:16:20 <my-comp> gnome-shell[1844]: message repeated 2 times: [ Failed to read EDID from 'eDP-1': No such file or directory]
Jan 20 23:16:20 <my-comp> gsd-color[1943]: failed to set screen _ICC_PROFILE: Failed to open file “/home/<my-home>/.local/share/icc/edid-6659083584814522f0fa1e7e1ebd8650.icc”: Permission denied
Jan 20 23:16:20 <my-comp> gnome-shell[2540]: Object St.BoxLayout (0x55969cf07dd0), has been already deallocated - impossible to access it. This might be caused by the object having been destroyed from C code usin
g something such as destroy(), dispose(), or remove() vfuncs
...
Jan 20 23:16:07 <my-comp> gnome-shell[2540]: Object Shell.GenericContainer (0x55969dfd1310), has been already finalized. Impossible to set any property to it.
Jan 20 23:16:07 <my-comp> gnome-shell[2540]: Object Shell.GenericContainer (0x55969dfd1310), has been already deallocated - impossible to access it. This might be caused by the object having been destroyed from C
code using something such as destroy(), dispose(), or remove() vfuncs