我有一段时间遇到这个问题了。在玩某些游戏(不是特别费力的游戏)时,我的电脑会随机重启。
对我来说,似乎 GPU 以某种方式关闭了...我不知道。
有些游戏运行完美。例如,我玩 GTA 5 玩了很多个小时,没有出现过一次崩溃或延迟。而有些对硬件来说并不“困难”的游戏,如 Stronghold: Warlords,经常会导致崩溃,然后系统重启。
我尝试在网上查找类似的问题,但我不明白的是,GTA 5 和巫师 3 对硬件的要求比 Stronghold(例如)更高,但第三款游戏却导致崩溃。
总是一样,过一段时间后就会重新启动。在那个屏幕上,计算机不响应任何命令。
我认为这可能与 GPU 驱动程序有关......
操作系统:Ubuntu 21.10
内存:16GB / 交换 2GB
CPU:AMD® Ryzen 7 2700x 八核处理器×16
显卡:Radeon RX 590
根据建议,这是来自sudo journalctl -b -1 -e
命令的日志:
дец 27 20:17:39 ubuntu at-spi2-registr[1804]: Failed to register client: GDBus.Error:org.gnome.SessionManager.AlreadyRegistered: Unable t>
дец 27 20:17:39 ubuntu at-spi2-registr[1804]: Unable to register client with session manager
дец 27 20:17:39 ubuntu gnome-shell[1666]: amdgpu: The CS has been cancelled because the context is lost.
дец 27 20:17:39 ubuntu gnome-shell[1666]: amdgpu: The CS has been cancelled because the context is lost.
дец 27 20:17:39 ubuntu gnome-shell[1666]: amdgpu: The CS has been cancelled because the context is lost.
дец 27 20:17:39 ubuntu gnome-shell[1666]: amdgpu: The CS has been cancelled because the context is lost.
дец 27 20:17:39 ubuntu gnome-shell[1666]: amdgpu: The CS has been cancelled because the context is lost.
дец 27 20:17:39 ubuntu gnome-shell[1666]: amdgpu: The CS has been cancelled because the context is lost.
дец 27 20:17:39 ubuntu gnome-shell[1666]: amdgpu: The CS has been cancelled because the context is lost.
дец 27 20:17:39 ubuntu gnome-shell[1666]: amdgpu: The CS has been cancelled because the context is lost.
дец 27 20:17:39 ubuntu gnome-shell[1666]: amdgpu: The CS has been cancelled because the context is lost.
дец 27 20:17:39 ubuntu systemd[1525]: Started Application launched by gsd-media-keys.
дец 27 20:17:39 ubuntu gnome-shell[1666]: amdgpu: The CS has been cancelled because the context is lost.
дец 27 20:17:39 ubuntu systemd[1525]: app-gnome-gnome\x2dsession\x2dquit-12756.scope: Deactivated successfully.
дец 27 20:17:39 ubuntu gnome-shell[1666]: amdgpu: The CS has been cancelled because the context is lost.
дец 27 20:17:39 ubuntu gnome-shell[1666]: amdgpu: The CS has been cancelled because the context is lost.
дец 27 20:17:39 ubuntu gnome-shell[1666]: amdgpu: The CS has been cancelled because the context is lost.
дец 27 20:17:39 ubuntu gnome-shell[1666]: amdgpu: The CS has been cancelled because the context is lost.
дец 27 20:17:39 ubuntu gnome-shell[1666]: amdgpu: The CS has been cancelled because the context is lost.
дец 27 20:17:39 ubuntu gnome-shell[1666]: amdgpu: The CS has been cancelled because the context is lost.
дец 27 20:17:40 ubuntu gnome-shell[1666]: amdgpu: The CS has been cancelled because the context is lost.
дец 27 20:17:41 ubuntu gnome-session-binary[1648]: Entering running state
дец 27 20:17:41 ubuntu at-spi2-registr[1804]: Failed to register client: GDBus.Error:org.gnome.SessionManager.AlreadyRegistered: Unable t>
дец 27 20:17:41 ubuntu at-spi2-registr[1804]: Unable to register client with session manager
дец 27 20:17:41 ubuntu systemd[1525]: Started Application launched by gsd-media-keys.
дец 27 20:17:41 ubuntu gnome-shell[1666]: amdgpu: The CS has been cancelled because the context is lost.
дец 27 20:17:41 ubuntu systemd[1525]: app-gnome-gnome\x2dsession\x2dquit-12762.scope: Deactivated successfully.
дец 27 20:17:41 ubuntu gnome-shell[1666]: amdgpu: The CS has been cancelled because the context is lost.
дец 27 20:17:41 ubuntu gnome-shell[1666]: amdgpu: The CS has been cancelled because the context is lost.
дец 27 20:17:41 ubuntu gnome-shell[1666]: amdgpu: The CS has been cancelled because the context is lost.
дец 27 20:17:41 ubuntu gnome-shell[1666]: amdgpu: The CS has been cancelled because the context is lost.
дец 27 20:17:41 ubuntu gnome-shell[1666]: amdgpu: The CS has been cancelled because the context is lost.
дец 27 20:17:41 ubuntu gnome-shell[1666]: amdgpu: The CS has been cancelled because the context is lost.
дец 27 20:17:41 ubuntu gnome-shell[1666]: amdgpu: The CS has been cancelled because the context is lost.