答案1
我通过安装推荐的 Nvidia 驱动程序解决了这个问题:
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt-get update
检查推荐的驱动程序:ubuntu-drivers devices
== cpu-microcode.py ==
driver : intel-microcode - distro non-free
== /sys/devices/pci0000:00/0000:00:01.2/0000:02:00.0 ==
model : GM108M [GeForce 940MX]
modalias : pci:v000010DEd0000134Dsv000017AAsd00005050bc03sc02i00
vendor : NVIDIA Corporation
driver : xserver-xorg-video-nouveau - distro free builtin
driver : nvidia-370 - third-party free recommended
driver : nvidia-367 - distro non-free
driver : nvidia-364 - third-party free
就我而言是nvidia-370 - third-party free recommended
。所以我安装了它:
sudo apt-get install nvidia-370 nvidia-prime
reboot