2018年8月2日 星期四

Ubuntu 18.04 suspend problem on Zenbook UX410UQK + Nvidia 940M


在 ASUS Zenbook UX410UQK 筆電上 踩到 Nvidia 940MX ,在Ubuntu18.04上 suspend之後系統會掛掉。  目前的18.04.1依然無解。
只好改用最愛的 Debian Sid, kernel 4.17。 OK。

update:
https://wiki.archlinux.org/index.php/bumblebee#Failed_to_initialize_the_NVIDIA_GPU_at_PCI:1:0:0_.28Bumblebee_daemon_reported:_error:_.5BXORG.5D_.28EE.29_NVIDIA.28GPU-0.29.29
I ended up with this service in /etc/systemd/system/gpu-fix.service:

[Unit]
Description=Fix GPU after waking up from suspension
After=suspend.target
[Service]
User=root
Type=oneshot
# Sleep is because we want to ensure fastest wake up
ExecStart=/usr/bin/bash -c "sleep 2 && echo 1 > /sys/bus/pci/rescan"
TimeoutSec=0
[Install]
WantedBy=suspend.target

沒有留言: