Comment 9 for bug 1268217

Revision history for this message
Bruno Pagani (b-pagani) wrote :

Sorry for the long delay.

After a bit more looking at this, I agree with you. To know whether Bumblebee is in use, you can simply check for the existence of /var/run/bumblebee.socket I think.

But we need to add more documentation for end users on this (else some might report optirun is not working while on a PRIME session or being unable to switch to a PRIME session while bumblebeed is running).

On Bumblebee side, we might want to add a detection to see if the system is currently running X only on the Intel card and else fail to start. Because it won’t work if running on the nvidia card (don’t know in what it results currently when you try to start bumblebeed while on a PRIME session), and it won’t work if the primary X server allready took possession of the nvidia card.