Hi, I too had the same problem and after some digging I found out that the file from which the service runs is: /etc/systemd/system/display-manager.service.wants/nvidia-prime-boot.service
the service used vgaswitcheroo module to switch off the dGPU. However I think most of use i915 or modesetting driver which doesn't give the "vgaswitcheroo" module. I changed my file to the attached copy. Basically instead of using vgaswitcheroo, you can use "echo 'auto' > '/sys/bus/pci/devices/0000:01:00.0/power/control'" to switch off your dGPU. ** Attachment added: "Modified service file" https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+bug/1763978/+attachment/5118361/+files/nvidia-prime-boot.service -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to nvidia-prime in Ubuntu. https://bugs.launchpad.net/bugs/1763978 Title: nvidia-prime-boot.service: Main process exited, code=exited, status=2/INVALIDARGUMENT Status in nvidia-prime package in Ubuntu: New Bug description: Since this week (i believe April 9th) Nvidia-prime isn't working for me. Running: Distributor ID: Ubuntu Description: Ubuntu Bionic Beaver (development branch) Release: 18.04 Codename: bionic Nvidia-prime version: Nvidia-prime version: Installed: 0.8.7 Candidate: 0.8.7 Version table: *** 0.8.7 500 Error code: apr 14 11:56:33 Precision-7510 systemd[1]: nvidia-prime-boot.service: Main process exited, code=exited, status=2/INVALIDARGUMENT apr 14 11:56:33 Precision-7510 systemd[1]: nvidia-prime-boot.service: Failed with result 'exit-code'. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+bug/1763978/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp