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 Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1763978 Title: nvidia-prime-boot.service: Main process exited, code=exited, status=2/INVALIDARGUMENT To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+bug/1763978/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
