diff -Nru nvidia-prime-0.8.9/debian/changelog nvidia-prime-0.8.10/debian/changelog --- nvidia-prime-0.8.9/debian/changelog 2018-07-31 14:47:20.000000000 +0000 +++ nvidia-prime-0.8.10/debian/changelog 2018-10-01 09:06:55.000000000 +0000 @@ -1,3 +1,12 @@ +nvidia-prime (0.8.10) cosmic; urgency=medium + + * prime-switch: + - Give udev the time to add the drm device. Fixes a race + condition that causes problems when using lightdm and + sddm (LP: #1778011). + + -- Alberto Milone Mon, 01 Oct 2018 11:06:55 +0200 + nvidia-prime (0.8.9) cosmic; urgency=medium [ Alberto Milone ] diff -Nru nvidia-prime-0.8.9/prime-switch nvidia-prime-0.8.10/prime-switch --- nvidia-prime-0.8.9/prime-switch 2018-06-20 11:47:56.000000000 +0000 +++ nvidia-prime-0.8.10/prime-switch 2018-10-01 09:06:55.000000000 +0000 @@ -19,5 +19,7 @@ # # Call the GPU manager -/usr/bin/gpu-manager --log /var/log/gpu-manager.log +/usr/bin/gpu-manager --log /var/log/gpu-manager-switch.log +# Give udev the time to add back the drm device +udevadm settle --timeout=2 exit 0